templates/cat1/_2.16.840.1.113883.10.20.24.3.34.cat1.erb in health-data-standards-3.1.1 vs templates/cat1/_2.16.840.1.113883.10.20.24.3.34.cat1.erb in health-data-standards-3.2.0

- old
+ new

@@ -2,11 +2,11 @@ <act classCode="ACT" moodCode="EVN"> <!-- Consolidation CDA: Procedure Activity Act template --> <templateId root="2.16.840.1.113883.10.20.22.4.12"/> <templateId root="2.16.840.1.113883.10.20.24.3.34"/> <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/> - <%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> + <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> <statusCode code="completed"/> <effectiveTime> <low <%= value_or_null_flavor(entry.start_time) %>/> <high <%= value_or_null_flavor(entry.end_time) %>/> </effectiveTime> @@ -15,10 +15,10 @@ <!-- Result Observation template (consolidation) --> <templateId root="2.16.840.1.113883.10.20.22.4.2"/> <!-- Result template --> <templateId root="2.16.840.1.113883.10.20.24.3.87"/> <id root="<%= UUID.generate %>"/> - <%== code_display(entry, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> + <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> <statusCode code="completed"/> <effectiveTime <%= value_or_null_flavor(entry.start_time) %>/> <% ev = entry.values.first if ev.present? if ev.respond_to?(:codes) -%> \ No newline at end of file