Sha256: dbac71620a30582f0fe187ff8c7e627bbd26cf844e220203edb0a797c5e624da
Contents?: true
Size: 1.81 KB
Versions: 2
Compression:
Stored size: 1.81 KB
Contents
<entry> <substanceAdministration classCode="SBADM" moodCode="EVN" <%== negation_indicator(entry) %>> <!-- Medication Activity (consolidation) template --> <templateId root="2.16.840.1.113883.10.20.22.4.16"/> <!-- Medication, Active template --> <templateId root="2.16.840.1.113883.10.20.24.3.41"/> <id root="<%= entry.id %>"/> <text><%= entry.description %></text> <statusCode code="active"/> <effectiveTime xsi:type="IVL_TS"> <low <%= value_or_null_flavor(entry.start_time) %>/> <high <%= value_or_null_flavor(entry.end_time) %>/> </effectiveTime> <% if entry.route.present? -%> <!-- Attribute: route --> <routeCode code="<%= entry.route['code'] %>" codeSystem="<%= entry.route['codeSystem'] %>"/> <% end -%> <!-- Attribute: dose --> <% if entry.dose.present? -%> <doseQuantity value="<%= entry.dose['value']%>"/> <% end -%> <% if entry.product_form.present? -%> <administrationUnitCode code="<%= entry.product_form['code'] %>" codeSystem="<%= entry.product_form['codeSystem'] %>"/> <% end -%> <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' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> </manufacturedMaterial> <manufacturerOrganization> <name>Medication Factory Inc.</name> </manufacturerOrganization> </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.41.cat1.erb |
qrda_generator-1.0.0 | templates/_2.16.840.1.113883.10.20.24.3.41.cat1.erb |