Sha256: 611c021358789785f4dd366f271b350beee2438bdfebc0e8b5b584af7b5c26f4
Contents?: true
Size: 1.61 KB
Versions: 6
Compression:
Stored size: 1.61 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, '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
6 entries across 6 versions & 1 rubygems