Sha256: f602bbc3c9fe389b601dddb161411dc7aaeedfdc63024ead4df40a474b3498ef

Contents?: true

Size: 1.3 KB

Versions: 16

Compression:

Stored size: 1.3 KB

Contents

<% vals = entry.values.empty? ? [nil] : entry.values 
   vals.each do |value| 
 %>   
<entry>
  <observation classCode="OBS" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Consolidated Result Observation templateId (Implied Template) -->
    <templateId root="2.16.840.1.113883.10.20.22.4.2" <% if !r2_compatibility %>extension="2014-06-09"<%end%>/>
    <!-- Diagnostic Study, Result template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.20" <% 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' => ['SNOMED-CT', 'LOINC'],
                             'extra_content' => "xsi:type=\"CD\" 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}) %>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"], :r2_compatibility => r2_compatibility}) %>
  </observation>
</entry>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.3.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.3.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.3.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.3.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.3.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.2.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.1.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.6 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-4.0.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb
health-data-standards-3.7.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.20.cat1.erb