{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% block title %}Journey {{ journey.encounter_id }} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
Back to Journeys

{{ journey.journey_template.name }}

Encounter ID: {{ journey.encounter_id }} | Patient: {{ journey.patient.get_full_name }} (MRN: {{ journey.patient.mrn }})

Hospital: {{ journey.hospital.name_en }} {% if journey.department %} | Department: {{ journey.department.name_en }} {% endif %}

{{ completion_percentage }}%

Complete
Stage Progress
{% for stage in stages %}
{% if stage.status == 'completed' %} {% elif stage.status == 'in_progress' %} {% elif stage.status == 'skipped' %} {% else %} {{ forloop.counter }} {% endif %}
{{ stage.stage_template.name }} {{ stage.get_status_display }}
{% if stage.stage_template.description %}

{{ stage.stage_template.description }}

{% endif %}
{% if stage.completed_at %}
{{ stage.completed_at|date:"M d, Y H:i" }}
{% endif %} {% if stage.physician %}
Dr. {{ stage.physician.first_name }} {{ stage.physician.last_name }}
{% endif %} {% if stage.department %}
{{ stage.department.name_en }}
{% endif %} {% if stage.survey_instance %}
Survey: {{ stage.survey_instance.get_status_display }} {% if stage.survey_instance.total_score %} ({{ stage.survey_instance.total_score }}/5.0) {% endif %}
{% elif stage.stage_template.survey_template %}
Survey: Pending
{% endif %}
{% empty %}

No stages defined

{% endfor %}
{% trans "Journey Information" %}
Journey Type
{{ journey.journey_template.get_journey_type_display }}
Template
{{ journey.journey_template.name }}
Status
{{ journey.get_status_display }}
Started
{{ journey.started_at|date:"M d, Y H:i" }}
{% if journey.completed_at %}
Completed
{{ journey.completed_at|date:"M d, Y H:i" }}
{% endif %}
{% trans "Patient Information" %}
Name:
{{ journey.patient.get_full_name }}
MRN:
{{ journey.patient.mrn }}
{% if journey.patient.phone %}
Phone:
{{ journey.patient.phone }}
{% endif %} {% if journey.patient.email %}
Email:
{{ journey.patient.email }}
{% endif %}
{% endblock %}