templates/_vital_signs.c32.erb in health-data-standards-0.3.0 vs templates/_vital_signs.c32.erb in health-data-standards-0.5.0

- old
+ new

@@ -6,11 +6,11 @@ <templateId root="1.3.6.1.4.1.19376.1.5.3.1.1.5.3.2" assigningAuthorityName="IHE PCC"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.25" assigningAuthorityName="IHE PCC"/> <!--Vital Signs section template--> <code code="8716-3" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Vital signs"/> <title>Vital Signs</title> - <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'vitals'} %> + <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'vitals', :value=>true} %> <entry typeCode="DRIV"> <organizer classCode="CLUSTER" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.1.32" assigningAuthorityName="CCD"/> <templateId root="2.16.840.1.113883.10.20.1.35" assigningAuthorityName="CCD"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.1" assigningAuthorityName="IHE PCC"/> @@ -26,10 +26,10 @@ <templateId root="2.16.840.1.113883.10.20.1.31" assigningAuthorityName="CCD"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.2" assigningAuthorityName="IHE PCC"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13" assigningAuthorityName="IHE PCC"/> <!-- Result observation template --> <id root="<%= UUID.generate %>"/> - <%== code_display(entry) %> + <%== code_display(entry, {'preferred_code_sets' => ['LOINC']}) %> <text> <reference value="vitals-desc-<%= i %>"/> </text> <statusCode code="completed"/> <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/> \ No newline at end of file