Sha256: e11480b853ab61f8f013e3ff3321ccd0fa1fa925e45d0688b6b9e5d38694092d

Contents?: true

Size: 1.82 KB

Versions: 8

Compression:

Stored size: 1.82 KB

Contents

<entry>
  <act classCode="ACT" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Medication Dispensed Act -->
    <templateId root="2.16.840.1.113883.10.20.24.3.139" extension="2017-08-01"/>
    <id root="<%= UUID.generate %>" />
    <code code="SPLY" codeSystem="2.16.840.1.113883.5.6" displayName="supply" codeSystemName="ActClass"/>
    <entryRelationship typeCode="SUBJ">
      <!--Medication dispensed -->
      <supply classCode="SPLY" moodCode="EVN">
        <!--  Medication Dispensed template -->
        <templateId root="2.16.840.1.113883.10.20.24.3.45" extension="2017-08-01"/>
        <!-- Medication Dispense template -->
        <templateId root="2.16.840.1.113883.10.20.22.4.18" extension="2014-06-09"/>
        <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
        <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>
        <product>
          <manufacturedProduct classCode="MANU">
            <!-- Medication Information (consolidation) template -->
            <templateId root="2.16.840.1.113883.10.20.22.4.23" extension="2014-06-09"/>
            <id root="<%= UUID.generate %>"/>
            <manufacturedMaterial>
              <%== code_display(entry, 'preferred_code_sets' =>["RxNorm"], 'value_set_map' => filtered_vs_map) %>
            </manufacturedMaterial>
          </manufacturedProduct>
        </product>
        <%== render(:partial => 'author_qdm', :locals => {:entry => entry}) %>
      </supply>
    </entryRelationship>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"], :r2_compatibility => r2_compatibility}) %>
  </act>
</entry>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.3.4 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.3.3 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.3.2 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.3.1 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.3.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.2.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb
health-data-standards-4.1.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.45.cat1.erb