Sha256: 34b889492a64c2d34fb80213eb5b0d3f3440ab4a4142ede9210f7e9f07580f7e

Contents?: true

Size: 1.13 KB

Versions: 2

Compression:

Stored size: 1.13 KB

Contents

<entry>
  <!--Medication Order -->
  <substanceAdministration classCode="SBADM" moodCode="RQO" <%== negation_indicator(entry) %>>
    <templateId root="2.16.840.1.113883.10.20.22.4.42"/>
    <!-- Medication, Order template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.47"/>
    <id root="<%= entry.id %>"/>
    <text><%= entry.description %></text>
    <statusCode code="new"/>
    <effectiveTime xsi:type="IVL_TS">
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <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', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
        </manufacturedMaterial>
      </manufacturedProduct>
    </consumable>
    <%== render(:partial => 'reason', :locals => {:entry => entry}) %>
  </substanceAdministration>
</entry>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qrda_generator-1.0.1 templates/_2.16.840.1.113883.10.20.24.3.47.cat1.erb
qrda_generator-1.0.0 templates/_2.16.840.1.113883.10.20.24.3.47.cat1.erb