Sha256: 5383a40e2882aba359d2b7d78905c4545df9f284fb691fe966c85e66bb58e7b7

Contents?: true

Size: 1007 Bytes

Versions: 1

Compression:

Stored size: 1007 Bytes

Contents

<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 <%= value_or_null_flavor(medication_dispense.dispense_date) %>/>
    <repeatNumber value="1"/>
    <quantity <%= fulfillment_quantity(entry.codes, medication_dispense, entry.dose) %>/>
    <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>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-4.1.0 templates/cat1/r5/_medication_dispense.cat1.erb