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.5.3 templates/gc32/_encounter.gc32.erb
health-data-standards-3.5.2 templates/gc32/_encounter.gc32.erb
health-data-standards-3.5.1 templates/gc32/_encounter.gc32.erb
health-data-standards-3.5.0 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.6 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.5 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.4 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.3 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.2 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.1 templates/gc32/_encounter.gc32.erb
health-data-standards-3.4.0 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.12 templates/gc32/_encounter.gc32.erb
health-data-standards-3.3.0 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.11 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.10 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.8 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.7 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.6 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.5 templates/gc32/_encounter.gc32.erb
health-data-standards-3.2.4 templates/gc32/_encounter.gc32.erb