Sha256: 007130463440f1e4be5fef35ca44b5deb323b721ef79076edb3be9c22887221e

Contents?: true

Size: 1.23 KB

Versions: 17

Compression:

Stored size: 1.23 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"/>
    <!-- Diagnostic Study, Performed template -->
    <templateId root="2.16.840.1.113883.10.20.24.3.18"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <%== code_display(entry,'value_set_map' => value_set_map, 'preferred_code_sets' => ['SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM', 'LOINC'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
    <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>
    <%== render(:partial => 'result_value', :locals => {:values => [value], :result_oids=>result_oids}) %>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
  </observation>
</entry>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.5.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.5.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.5.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.5.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.4.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.2.12 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.3.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.2.11 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.2.10 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb
health-data-standards-3.2.8 templates/cat1/_2.16.840.1.113883.10.20.24.3.18.cat1.erb