Sha256: 5683352d483829a23b4e22d37e746ff55baef95d98a8e8ac639d7de494292da2

Contents?: true

Size: 741 Bytes

Versions: 3

Compression:

Stored size: 741 Bytes

Contents

<result xmlns="urn:hl7-org:greencda:c32">
    <id><%= result.id %></id>
    
    <%== code_display result, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
    <% if result.status %>
      <status code="completed"/>
    <% end %>
    
    <effectiveTime><%= Time.at(result.time) %></effectiveTime>


    <value amount="<%= result.value['scalar']%>" unit="<%= result.value['units'] %>" />
    <% if result.interpretation%>
      <% code = result.interpretation.first%>
      <interpretation code="<%= code.last %>" codeSystem="<%= CodeSystemHelper.oid_for_code_system(code.first) %>">
    <% end %>
    <% if result.reference_range %>
      <referenceRange><%= result.reference_range %></referenceRange>
    <% end %>
</result>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
health-data-standards-0.8.1 templates/_result.gc32.erb
health-data-standards-0.8.0 templates/_result.gc32.erb
health-data-standards-0.7.1 templates/_result.gc32.erb