Sha256: b9cb56c5a0c567b89175aee6eb15af15a41e7710a4b378cbdc86e4ff2be861c4

Contents?: true

Size: 1.87 KB

Versions: 7

Compression:

Stored size: 1.87 KB

Contents

<entry>
  <observation classCode="OBS" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Lab test performed -->
    <templateId root="2.16.840.1.113883.10.20.24.3.38" 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>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.end_time) %>/>
    </effectiveTime>
    <%== render(:partial => 'author_qdm', :locals => {:entry => entry}) %>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
    <%if !entry.values.empty? %>
      <%== render(:partial => 'results', :locals => {:entry => entry, :result_oids => result_oids, :value_set_oid => value_set_oid}) %>
    <% end %>
    <% if entry.components -%>
      <%== render(:partial => 'components', :locals => {:entry => entry} ) %>
    <% end %>
    <% if entry.referenceRangeHigh || entry.referenceRangeLow %>
    <referenceRange>
      <observationRange>
        <value xsi:type="IVL_PQ">
        <% if entry.referenceRangeLow %>
          <low value="<%= entry.referenceRangeLow['scalar'] %>" <% if entry.referenceRangeLow['units'] && (entry.referenceRangeLow['units'] != "") -%>unit="<%= entry.referenceRangeLow['units'] %>"<% else -%>unit="1"<% end -%>/>
        <% end %>
        <% if entry.referenceRangeHigh %>
          <high value="<%= entry.referenceRangeHigh['scalar'] %>" <% if entry.referenceRangeHigh['units'] && (entry.referenceRangeHigh['units'] != "") -%>unit="<%= entry.referenceRangeHigh['units'] %>"<% else -%>unit="1"<% end -%>/>
        <% end %>
        </value>
      </observationRange>
    </referenceRange>
    <% end %>
  </observation>
</entry>

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.38.cat1.erb
health-data-standards-4.3.4 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
health-data-standards-4.3.3 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
health-data-standards-4.3.2 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
health-data-standards-4.3.1 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
health-data-standards-4.3.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb
health-data-standards-4.2.0 templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.38.cat1.erb