Sha256: 72f55edfceab0f6816d9f232d1a3cac9383985ab650ec18f6756939ddbe7fbd1

Contents?: true

Size: 1.04 KB

Versions: 10

Compression:

Stored size: 1.04 KB

Contents

<encounter xmlns="urn:hl7-org:greencda:c32">
  <id><%= encounter.id %></id>
  <%== code_display encounter, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT'] %>
  <% if encounter.status %>
    <status code="completed"/>
  <% end %>
  <%== gc32_effective_time(encounter)%>
  <%== code_display encounter, "tag_name" => "dishcargeDisposition", 'attribute' => "discharge_disposition" %>
  <%== code_display encounter, "tag_name" => "admissionType", 'attribute' => "admit_type" %>
  <% if provider %>
  <%= render partial: 'provider', locals: {provider: encounter.performer, tag_name: 'performer'}%>
  <% end %>
  <% facility = encounter.facility %>
  <% if facility %>
  <facility>
      <id><%= facility.id%></id>
      <name><%= facility.name%></name>
      <% facility.addresses.each do |addr| %>
        <%= render :partial => "address", locals: {address: addr} %>
      <% end %>
      <% facility.telecoms.each do |tele| %>
        <%= render :partial => "telecom", locals: {telecom: tele} %>
      <% end %>
    <% end %>
  </facility>
</encounter>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
health-data-standards-2.2.1 templates/_encounter.gc32.erb
health-data-standards-2.2.0 templates/_encounter.gc32.erb
health-data-standards-2.1.4 templates/_encounter.gc32.erb
health-data-standards-2.1.3 templates/_encounter.gc32.erb
health-data-standards-2.1.2 templates/_encounter.gc32.erb
health-data-standards-2.1.1 templates/_encounter.gc32.erb
health-data-standards-2.1.0 templates/_encounter.gc32.erb
health-data-standards-2.0.0 templates/_encounter.gc32.erb
health-data-standards-1.0.1 templates/_encounter.gc32.erb
health-data-standards-1.0.0 templates/_encounter.gc32.erb