Sha256: 10f9d5337325b87f01e8e72442205222bd5aa30c61c48dbfb96596b54fb8b744

Contents?: true

Size: 1011 Bytes

Versions: 7

Compression:

Stored size: 1011 Bytes

Contents

<% entry.values.each do |value| %>
  <entryRelationship typeCode="REFR">
   <observation classCode="OBS" moodCode="EVN">
     <!-- Conforms to C-CDA R2 Result Observation (V2) -->
     <templateId root="2.16.840.1.113883.10.20.22.4.2" extension="2015-08-01"/>
     <id root="1.3.6.1.4.1.115" extension="<%= identifier_for(value) %>"/>
      <%== code_display(entry, 'value_set_map' => filtered_vs_map, 'preferred_code_sets' => ['*']) %>
      <statusCode code="completed"/>
      <effectiveTime>
        <% if entry.result_date_time? %>
        <low <%= value_or_null_flavor(entry.result_date_time) %>/>
        <high <%= value_or_null_flavor(entry.result_date_time) %>/>
        <% else %>
        <low <%= value_or_null_flavor(entry.start_time) %>/>
        <high <%= value_or_null_flavor(entry.end_time) %>/>
        <% end %>
      </effectiveTime>
     <%== render(:partial=> 'result_value', :locals => {:values => [value], :result_oids=>result_oids}) %>
   </observation>
  </entryRelationship>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.3.4 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.3.3 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.3.2 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.3.1 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.3.0 templates/cat1/r5/_results.cat1.erb
health-data-standards-4.2.0 templates/cat1/r5/_results.cat1.erb