Sha256: 4ca63361468d5d4e3a79131f8a6e560b0fdde11148a1c6310cfbbce409817c14

Contents?: true

Size: 1.27 KB

Versions: 30

Compression:

Stored size: 1.27 KB

Contents

<encounter xmlns="urn:hl7-org:greencda:c32" id="<%= encounter.id %>">
  <%== render partial: "entry_attributes", locals: {entry: encounter, code_sets: ["CPT", "SNOMED-CT"]}%>
  <% if encounter.discharge_disposition %>
  <%== gc32_code_display encounter, "tag_name" => "dischargeDisposition", 'attribute' => "discharge_disposition", 'preferred_code_sets' => ["NUBC"] %>
  <% end %>
  <% if encounter.admit_type%>
  <%== gc32_code_display encounter, "tag_name" => "admissionType", 'attribute' => "admit_type", 'preferred_code_sets' => ["NUBC"] %>
  <% end %>
  <% if provider %>
  <%== render partial: 'provider', locals: {provider: encounter.performer, tag_name: 'performer'}%>
  <% end %>
  <% facility = encounter.facility %>
  <% if facility %>
  <facility>
      <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 %>
    <%== gc32_interval(encounter, "duration", :admit_time, :discharge_time) %>
  </facility>
  <% end %>
  <% if encounter.performer %>
  <%== render partial: 'provider', locals: {provider: encounter.performer} %>
  <% end %>
</encounter>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
health-data-standards-3.2.3 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.2 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.1 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.0 templates/gc32/_encounter.gc32.erb
health-data-standards-3.1.1 templates/gc32/_encounter.gc32.erb
health-data-standards-3.1.0 templates/gc32/_encounter.gc32.erb
health-data-standards-3.0.6 templates/gc32/_encounter.gc32.erb
health-data-standards-3.0.5 templates/gc32/_encounter.gc32.erb
health-data-standards-3.0.4 templates/gc32/_encounter.gc32.erb
health-data-standards-3.0.3 templates/gc32/_encounter.gc32.erb