Sha256: 8ed6121604f011f0629a5a8459354cb059bc1e95020161f17484cfc1246e0556

Contents?: true

Size: 1.85 KB

Versions: 6

Compression:

Stored size: 1.85 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, '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

6 entries across 6 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.1.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.0.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.0.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.0.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb
health-data-standards-3.0.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.42.cat1.erb