Sha256: c3657032b67d153991529b23906242205694a09376afd42a36adea41684cf27e

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

<% if entry.supply %>
<entryRelationship typeCode="REFR">
  <supply classCode="SPLY" moodCode="EVN">
    <!-- 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="<%= UUID.generate %>"/>
    <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>
    <repeatNumber value="1"/>
    <quantity value="<%= entry.supply[:scalar] %>" <% if entry.supply[:units] %>unit="<%= entry.supply[:units] %>"<% end %>/>
    <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>
  </supply>
</entryRelationship>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

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