Sha256: 0800cad32d201ad618b6e327553b7ead63e28c18edb544341d34cbba50bf0458

Contents?: true

Size: 1016 Bytes

Versions: 2

Compression:

Stored size: 1016 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"/>
    <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"/>
        <id root="<%= UUID.generate %>"/>
        <manufacturedMaterial>
          <%== code_display(entry, 'preferred_code_sets' =>["RxNorm"], 'value_set_map' => value_set_map, 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
        </manufacturedMaterial>
      </manufacturedProduct>
    </product>
  </supply>
</entryRelationship>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_medication_dispense.cat1.erb
health-data-standards-3.5.3 templates/cat1/_medication_dispense.cat1.erb