Sha256: 150c5a2845b858bff3492a6c63784ffdc454ff5d6aba6895801dfaea94b71221

Contents?: true

Size: 1.88 KB

Versions: 8

Compression:

Stored size: 1.88 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}) %>
        <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}) %>
  </act>
</entry>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
health-data-standards-3.2.7 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.2.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb