Sha256: 5b05351fdeb17521528e480104d358dce8a2a385127f82333834c8fd5d3b0fce

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

<entry>
  <!--Diagnosis active: diabetes-->
  <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="<%= 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>
    <%== code_display(entry, {'tag_name' => 'value', '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
qrda_generator-1.0.1 templates/_2.16.840.1.113883.10.20.24.3.11.cat1.erb
qrda_generator-1.0.0 templates/_2.16.840.1.113883.10.20.24.3.11.cat1.erb