Description |
Codes |
Time |
Status |
Value |
<%= encounter.description %> |
<%= encounter.codes_to_s %> <%= encounter.specifics %> |
<%= encounter.times_to_s %> |
|
|
<% patient.allergies.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_allergies==0 -%>
Allergies |
<% encounter_allergies=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>
<% patient.care_goals.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_care_goals==0 -%>
Care Goals |
<% encounter_care_goals=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>
<% patient.vital_signs.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_vital_signs==0 -%>
Vital Signs |
<% encounter_vital_signs=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
<%= entry.value["scalar"] %> |
<% end %>
<% end %>
<% patient.results.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_results==0 -%>
Lab Results |
<% encounter_results=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
<%= entry.value["scalar"] %> |
<% end %>
<% end %>
<% patient.conditions.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_conditions==0 -%>
Problems |
<% encounter_conditions=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
<%= entry.status %> |
|
<% end %>
<% end %>
<% patient.procedures.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_procedures==0 -%>
Procedures |
<% encounter_procedures=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>
<% patient.medications.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_medications==0 -%>
Medications |
<% encounter_medications=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
<%= entry.status %> |
|
<% end %>
<% end %>
<% patient.social_history.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_social_history==0 -%>
Social History |
<% encounter_social_history=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>
<% patient.immunizations.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_immunizations==0 -%>
Immunizations |
<% encounter_immunizations=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>
<% patient.medical_equipment.each_with_index do |entry, i| %>
<% if encounter.times_to_s == entry.times_to_s -%>
<% if encounter_medical_equipment==0 -%>
Medical Equipment |
<% encounter_medical_equipment=1 %>
<% end %>
<%= entry.description %> |
<%= entry.codes_to_s %> <%= entry.specifics %> |
<%= entry.times_to_s %> |
|
|
<% end %>
<% end %>