Sha256: 3b31a915092d3a0f1d4b1fad5442178978741075c3a1d0995fa88cf12c237d4a

Contents?: true

Size: 1.48 KB

Versions: 40

Compression:

Stored size: 1.48 KB

Contents

<entry>
  <!-- Patient characteristic expired -->
  <observation classCode="OBS" moodCode="EVN">
    <!-- Consolidation Deceased Observation templateId -->
    <templateId root="2.16.840.1.113883.10.20.22.4.79" extension="2015-08-01"/>
    <!-- Patient Characteristic Expired -->
    <templateId root="2.16.840.1.113883.10.20.24.3.54" extension="2016-02-01"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="ASSERTION" codeSystem="2.16.840.1.113883.5.4" codeSystemName="HL7ActCode"/>
    <statusCode code="completed"/>
    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
    </effectiveTime>
    <value code="419099009" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Dead" xsi:type="CD"/>
    <% if entry.respond_to? :code 
       # Currently, Record does not support coded cause of death, but this should allow it to work
       # when Record supports it.
    -%>
    <entryRelationship typeCode="CAUS">
      <observation classCode="OBS" moodCode="EVN">
        <id root="<%= UUID.generate %>"/>
        <code code="ASSERTION" 
              codeSystem="2.16.840.1.113883.5.4"
              codeSystemName="HL7ActCode"/>
        <statusCode code="completed"/>
        <%== code_display(entry, 'tag_name' => 'value', 'preferred_code_sets' => ['SNOMED-CT'], 'extra_content' => "xsi:type=\"CD\"") %>
        <text><%= entry.description %></text>
      </observation>
    </entryRelationship>
    <% end -%>
  </observation>
</entry>

Version data entries

40 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.5 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.5 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.4 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.4 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.4 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.3 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.3 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.3 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.2 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.2 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.2 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.1 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.1 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.1 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.0 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.3.0 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.2.0 templates/cat1/r4/_2.16.840.1.113883.10.20.24.3.54.cat1.erb
health-data-standards-4.2.0 templates/cat1/r3_1/_2.16.840.1.113883.10.20.24.3.54.cat1.erb