Sha256: b7ba896ba58889f24341ed99cf4120e21dada109b059b96312e879ce4156c9f3

Contents?: true

Size: 1.14 KB

Versions: 8

Compression:

Stored size: 1.14 KB

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Consolidation Assessment Scale Observation templateId -->
    <templateId root="2.16.840.1.113883.10.20.22.4.69"/>
    <!-- Risk Category Assessment -->
    <templateId root="2.16.840.1.113883.10.20.24.3.69"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <%== code_display(entry, 'value_set_map' => value_set_map,'preferred_code_sets' => ['LOINC', 'SNOMED-CT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
    <statusCode code="completed"/>

    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>

    <% ev = entry.values.first
       if ev.present? && ev.respond_to?(:scalar) 
        if is_num?(ev.scalar) -%>
    <value xsi:type="INT" value="<%= ev.scalar %>"/>
        <% else -%>
        <value xsi:type="ST"><%= ev.scalar%></value>
        <% end %>  
    <% else -%>
    <value  xsi:type="CD" nullFlavor="UNK"/>
    <% end -%>
    <%== render(:partial => 'reason', :locals => {:entry => entry}) %>
  </observation>
</entry>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
health-data-standards-3.2.7 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb
health-data-standards-3.2.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.69.cat1.erb