{% extends "base.html" %} {% set active_nav = "patients" %} {% block title %}{{ patient.full_name }} - LSMC Hub{% endblock %} {% block content %}

Demographics

Full Name
{{ patient.first_name }} {% if patient.middle_name %}{{ patient.middle_name }} {% endif %}{{ patient.last_name }}
Date of Birth
{{ patient.date_of_birth or "Not provided" }}
Biologic Sex
{% if patient.sex == 'F' %}Female{% elif patient.sex == 'M' %}Male{% elif patient.sex == 'O' or patient.sex == 'Other' %}Other{% elif patient.sex == 'U' or patient.sex == 'Unknown' %}Unknown{% else %}{{ patient.sex or "Not provided" }}{% endif %}
MRN
{{ patient.mrn or "Not provided" }}

Contact Information

Email
{{ patient.email or "Not provided" }}
Phone
{{ patient.phone or "Not provided" }}
{% if patient.address %}
Address
{% if patient.address.address_line1 %}{{ patient.address.address_line1 }}
{% endif %} {% if patient.address.address_line2 %}{{ patient.address.address_line2 }}
{% endif %} {% if patient.address.city %}{{ patient.address.city }}, {% endif %} {% if patient.address.state %}{{ patient.address.state }} {% endif %} {% if patient.address.postal_code %}{{ patient.address.postal_code }}{% endif %}
{% endif %}
{% if family and (family.families or family.father or family.mother or family.siblings) %}

Family

View Families
Families
{% if family.families %} {% for fam in family.families %} {{ fam.name }}{% if not loop.last %}, {% endif %} {% endfor %} {% else %} — {% endif %}
Father
{% if family.father %} {{ family.father.name }} {% else %} — {% endif %}
Mother
{% if family.mother %} {{ family.mother.name }} {% else %} — {% endif %}
Siblings
{% if family.siblings %} {% for sib in family.siblings %} {{ sib.name }}{% if not loop.last %}, {% endif %} {% endfor %} {% else %} — {% endif %}
{% endif %} {% if patient.clinical_notes %}

Clinical Notes

{{ patient.clinical_notes }}

{% endif %}

TRFs

{% if user.can_write %} + New TRF {% endif %}
{% if linked_orders %}
{% for order in linked_orders %} {% endfor %}
TRF Status Created
{{ order.trf_number }} {{ order.status|replace('_', ' ') }} {{ order.created_at }} View
{% else %}

No TRFs for this patient

{% if user.can_write %} Create TRF {% endif %}
{% endif %}

Collection Events

View All
{% if collection_events %}
{% for event in collection_events %} {% endfor %}
Event Tube Site Collected
{{ event.id }} {{ event.container_euid }} {{ event.site_name }} {{ event.collected_at or "—" }} Open
{% else %}

No collection events for this patient

{% endif %}

Revision History

{% for rev in revisions|reverse %} {% endfor %}
Rev # Name MRN Date Note
{{ rev.revision_no }} {{ rev.first_name }} {{ rev.last_name }} {{ rev.mrn or "—" }} {{ rev.created_at }} {{ rev.note or "—" }}
{% endblock %}