Sha256: fc00eacb3d66e5dfd7f359073a302d36c75292ca3be9b159a7d44b376217d224
Contents?: true
Size: 1.65 KB
Versions: 8
Compression:
Stored size: 1.65 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="1.3.6.1.4.1.115" extension="<%= 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> <%== render(:partial => 'medication_details', :locals => {:entry => entry}) %> <% 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, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM', 'RxNorm'], '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
8 entries across 8 versions & 1 rubygems