Sha256: 3f427e6970af182b3ff7251e214b17f0da4e97712f3b66a70ec9fe29efcfd77e
Contents?: true
Size: 912 Bytes
Versions: 15
Compression:
Stored size: 912 Bytes
Contents
<% if entry.negation_reason.present? vset = oid_for_code(entry.negation_reason,reason_oids, entry.record["bundle_id"]) -%> <entryRelationship typeCode="RSON"> <observation classCode="OBS" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.24.3.88"/> <code code="410666004" codeSystem="2.16.840.1.113883.6.96" displayName="reason" codeSystemName="SNOMED CT"/> <statusCode code="completed"/> <effectiveTime <%= value_or_null_flavor(entry.start_time) %>/> <value xsi:type="CD" code="<%= entry.negation_reason['code'] %>" codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.negation_reason['codeSystem'] || entry.negation_reason['code_system']) %>" <% if vset -%> sdtc:valueSet="<%= vset %>" <% end -%> /> </observation> </entryRelationship> <% end -%>
Version data entries
15 entries across 15 versions & 1 rubygems