{% extends "base.html" %} {% load static %} {% block title %}Lab Results - {{ block.super }}{% endblock %} {% block content %}
| Patient | Test | Result | Reference Range | Flag | Analyzed | Status | Actions |
|---|---|---|---|---|---|---|---|
|
{{ result.order.patient.get_full_name }} MRN: {{ result.order.patient.mrn }} • Order: {{ result.order.order_number }} |
{{ result.test.test_name }}
{% if result.test.test_code %}
{{ result.test.test_code }} {% endif %} |
{% if result.numeric_result %} {{ result.numeric_result }} {{ result.test.unit }} {% elif result.text_result %} {{ result.text_result }} {% else %} Pending {% endif %} | {% if result.reference_range %} {{ result.reference_range }} {% else %} - {% endif %} |
{% if result.abnormal_flag == 'NORMAL' %}
Normal
{% elif result.abnormal_flag == 'HIGH' %}
High
{% elif result.abnormal_flag == 'LOW' %}
Low
{% elif result.abnormal_flag == 'CRITICAL_HIGH' %}
Critical High
{% elif result.abnormal_flag == 'CRITICAL_LOW' %}
Critical Low
{% endif %}
{% if result.is_critical %}
{% endif %} |
{{ result.analyzed_datetime|date:"M d, Y H:i" }}
{% if result.analyzed_by %}
By: {{ result.analyzed_by.get_full_name }} {% endif %} |
{% if result.status == 'PENDING' %} Pending {% elif result.status == 'IN_PROGRESS' %} In Progress {% elif result.status == 'COMPLETED' %} {% if result.verified %} Verified {% else %} Completed {% endif %} {% elif result.status == 'VERIFIED' %} Verified {% elif result.status == 'CANCELLED' %} Cancelled {% endif %} |
{% if result.status == 'COMPLETED' and not result.verified %}
{% endif %}
{% if result.is_critical and not result.critical_called %}
{% endif %}
|
No lab results foundNo lab results match your current filters. |
|||||||