Sha256: fba8ecb1772da71c5da67569306f2c0df8813f3f3c212632c2e40603e6876247

Contents?: true

Size: 1.95 KB

Versions: 17

Compression:

Stored size: 1.95 KB

Contents

<entry>
  <act classCode="ACT" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Medication, Administered template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.42"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="416118004" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Administration"/>
    <statusCode code="completed"/>
    <effectiveTime xsi:type="IVL_TS">
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <entryRelationship typeCode="COMP">
      <substanceAdministration classCode="SBADM" moodCode="EVN">
        <!-- Medication Activity (consolidation) template -->
        <templateId root="2.16.840.1.113883.10.20.22.4.16"/>
        <id root="<%= UUID.generate %>"/>
        <text><%= entry.description %></text>
        <statusCode code="completed"/>
        <effectiveTime xsi:type="IVL_TS">
          <low <%= value_or_null_flavor(entry.start_time) %>/>
          <high <%= value_or_null_flavor(entry.end_time) %>/>
        </effectiveTime>
        <%== render(:partial => 'medication_details', :locals => {:entry => entry, :route_oids=>field_oids["ROUTE"]}) %>
        <consumable>
          <manufacturedProduct classCode="MANU">
            <!-- Medication Information (consolidation) template -->
            <templateId root="2.16.840.1.113883.10.20.22.4.23"/>
            <id root="<%= UUID.generate %>"/>
            <manufacturedMaterial>
              <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['RxNorm', 'CVX', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
            </manufacturedMaterial>
          </manufacturedProduct>
        </consumable>
      </substanceAdministration>
    </entryRelationship>
    <%== render(:partial => 'reason', :locals => {:entry => entry,:reason_oids=>field_oids["REASON"]}) %>
  </act>
</entry>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.5.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.5.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.5.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.5.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.4.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.12 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.3.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.11 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.10 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.8 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb