{% extends "base.html" %} {% load static %} {% block title %}Encounter Details - {{ block.super }}{% endblock %} {% block content %}
{{ encounter.patient.get_full_name }} • {{ encounter.start_datetime|date:"M d, Y H:i" }}
| Start Time | {{ encounter.start_datetime|date:"M d, Y H:i" }} |
| End Time | {{ encounter.end_datetime|date:"M d, Y H:i" }} |
| Duration | {{ encounter.duration_minutes }} minutes |
| Type | {{ encounter.get_encounter_type_display }} |
| Status | {% if encounter.status == 'SCHEDULED' %} {{ encounter.get_status_display }} {% elif encounter.status == 'ARRIVED' %} {{ encounter.get_status_display }} {% elif encounter.status == 'TRIAGED' %} {{ encounter.get_status_display }} {% elif encounter.status == 'IN_PROGRESS' %} {{ encounter.get_status_display }} {% elif encounter.status == 'ON_HOLD' %} {{ encounter.get_status_display }} {% elif encounter.status == 'FINISHED' %} {{ encounter.get_status_display }} {% elif encounter.status == 'CANCELLED' %} {{ encounter.get_status_display }} {% elif encounter.status == 'NO_SHOW' %} {{ encounter.get_status_display }} {% endif %} |
| Priority | {{ encounter.get_priority_display }} |
| Documentation Complete | {% if encounter.documentation_complete %} Yes {% else %} No {% endif %} |
{{ encounter.chief_complaint }}
{{ encounter.history_of_present_illness|linebreaks }}
{{ encounter.assessment_and_plan|linebreaks }}
| Name | {{ encounter.patient.get_full_name }} |
| MRN | {{ encounter.patient.mrn }} |
| Date of Birth | {{ encounter.patient.date_of_birth|date:"M d, Y" }} |
| Age | {{ encounter.patient.age }} |
| Gender | {{ encounter.patient.get_gender_display }} |
| Phone | {{ encounter.patient.phone_number|default:"Not provided" }} |
| {{ encounter.patient.email|default:"Not provided" }} |
| Name | {{ encounter.provider.get_full_name }} |
| Role | {{ encounter.provider.get_role_display }} |
| Department | {{ encounter.provider.department|default:"Not specified" }} |
| Phone | {{ encounter.provider.phone_number|default:"Not provided" }} |
| {{ encounter.provider.email|default:"Not provided" }} |
| Time | Temperature | Blood Pressure | Heart Rate | Respiratory Rate | O2 Saturation | Measured By |
|---|---|---|---|---|---|---|
| {{ vitals.measured_datetime|date:"M d H:i" }} | {% if vitals.temperature %} {{ vitals.temperature }}°{{ vitals.temperature_unit }} {% else %} - {% endif %} | {% if vitals.systolic_bp and vitals.diastolic_bp %} {{ vitals.systolic_bp }}/{{ vitals.diastolic_bp }} {% else %} - {% endif %} | {% if vitals.heart_rate %} {{ vitals.heart_rate }} bpm {% else %} - {% endif %} | {% if vitals.respiratory_rate %} {{ vitals.respiratory_rate }} /min {% else %} - {% endif %} | {% if vitals.oxygen_saturation %} {{ vitals.oxygen_saturation }}% {% else %} - {% endif %} | {{ vitals.measured_by.get_full_name }} |
{{ note.content|truncatewords:50|linebreaks }}
| Problem | Type | Priority | Status | Diagnosed By | Date |
|---|---|---|---|---|---|
|
{{ problem.problem_name }}
{% if problem.problem_code %}
{{ problem.problem_code }} {% endif %} |
{{ problem.get_problem_type_display }} | {% if problem.priority == 'HIGH' %} High {% elif problem.priority == 'MEDIUM' %} Medium {% else %} Low {% endif %} | {% if problem.status == 'ACTIVE' %} Active {% elif problem.status == 'RESOLVED' %} Resolved {% elif problem.status == 'INACTIVE' %} Inactive {% endif %} | {{ problem.diagnosing_provider.get_full_name }} | {{ problem.onset_date|date:"M d, Y" }} |