Sha256: ad1920ceb0c65b38ab591078dde2bc33a7492aa7f8ba915a652617f3d2d55691

Contents?: true

Size: 1.9 KB

Versions: 2

Compression:

Stored size: 1.9 KB

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN">
    <!--  Problem observation template -->
    <templateId root="2.16.840.1.113883.10.20.22.4.4"/>
    <!--  Diagnosis active template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.11"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="282291009" displayName="diagnosis" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT"/>
    <text><%= entry.description %></text>
    <statusCode code="completed"/>
    <effectiveTime>
      <!-- Attribute: admission datetime -->
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <!-- Attribute: discharge datetime -->
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <%== render(:partial => 'ordinality', :locals => {:entry => entry, :reason_oids=>field_oids["ORDINALITY"]}) %>
    
    <%== code_display(entry, {'tag_name' => 'value', 'value_set_map' => value_set_map,'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'],
                                                    'extra_content' => "xsi:type=\"CD\" sdtc:valueSet=\"#{value_set_oid}\""}) %>

    <entryRelationship typeCode="REFR">
      <observation classCode="OBS" moodCode="EVN">
        <!-- Problem Status (consolidation) template -->
        <templateId root="2.16.840.1.113883.10.20.22.4.6"/>
        <!-- Problem Status, Active template -->
        <templateId root="2.16.840.1.113883.10.20.24.3.94"/>
        <id root="<%= UUID.generate %>"/>  
        <code code="33999-4" 
          codeSystem="2.16.840.1.113883.6.1"
          codeSystemName="LOINC" 
          displayName="status"/>
        <statusCode code="completed"/>
        <value xsi:type="CD" code="55561003" 
           displayName="active"
           codeSystem="2.16.840.1.113883.6.96" 
           codeSystemName="SNOMED CT"/>
      </observation>
    </entryRelationship>
  </observation>
</entry>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
health-data-standards-3.2.10 templates/cat1/_2.16.840.1.113883.10.20.24.3.11.cat1.erb
health-data-standards-3.2.8 templates/cat1/_2.16.840.1.113883.10.20.24.3.11.cat1.erb