Sha256: 947ba57f36e81fb30a2ec9e8659d3461eb845536661321b98fc7fbc7bf0ffa36

Contents?: true

Size: 1.59 KB

Versions: 7

Compression:

Stored size: 1.59 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 => 'method', :locals => {:entry => entry, :method_oids=>field_oids["METHOD"]}) %>
    <%== render(:partial => 'facility', :locals => {:entry => entry,:facility_oids=>field_oids["FACILITY_LOCATION"]}) %>
    <%== 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

7 entries across 7 versions & 1 rubygems

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