Sha256: ff76eb30f0f6bec79635cecd5d8e39afff822044e5fc94641d15b8cf7924b2eb
Contents?: true
Size: 1.11 KB
Versions: 16
Compression:
Stored size: 1.11 KB
Contents
<% vals = entry.values.empty? ? [nil] : entry.values vals.each do |value| %> <entry> <!--Laboratory test, result --> <observation classCode="OBS" moodCode="EVN"> <!-- Result Observation (consolidation) template --> <templateId root="2.16.840.1.113883.10.20.22.4.2" <% if !r2_compatibility %>extension="2014-06-09"<%end%>/> <!-- Laboratory Test, Result template --> <templateId root="2.16.840.1.113883.10.20.24.3.40" <% if !r2_compatibility %>extension="2014-12-01"<%end%>/> <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/> <%== code_display(entry, 'value_set_map' => filtered_vs_map,'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %> <text><%= entry.description %></text> <statusCode code="completed"/> <effectiveTime> <low <%= value_or_null_flavor(entry.start_time) %>/> <high <%= value_or_null_flavor(entry.end_time) %>/> </effectiveTime> <%== render(:partial => 'result_value', :locals => {:values => [value], :result_oids=>result_oids}) %> </observation> </entry> <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems