Sha256: 015acd46c7bbd40a9ea92bc06490f5a10734abc62657ed2cac3afaf6a17a456a

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

<% vals = entry.values.empty? ? [nil] : entry.values 
   vals.each do |value| 
 %>   
<entry>
  <observation classCode="OBS" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Consolidated Procedure Activity Observation templateId 
       (Implied Template) -->
    <templateId root="2.16.840.1.113883.10.20.22.4.13" extension="2014-06-09"/>
    <!-- Diagnostic Study, Performed template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.18" extension="2017-08-01"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <%== code_display(entry,'value_set_map' => filtered_vs_map, 'preferred_code_sets' => ['*']) %>
    <text><%= entry.description %></text>
    <statusCode code="completed"/>
    <effectiveTime>
      <!-- Attribute: Start Datetime -->
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <!-- Attribute: End Datetime -->
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <value nullFlavor="NA" xsi:type="CD" />
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
    <%== render(:partial => 'results', :locals => {:entry => entry, :result_oids => result_oids, :value_set_oid => value_set_oid}) %>
    <% if entry.components -%>
      <%== render(:partial => 'components', :locals => {:entry => entry} ) %>
    <% end %>
  </observation>
</entry>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-4.1.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.18.cat1.erb