{% extends "base.html" %} {% load static %} {% block title %}Specimens - {{ block.super }}{% endblock %} {% block content %}

Specimen Management

{% for specimen in page_obj %} {% empty %} {% endfor %}
Specimen # Patient Order # Type Collected Quality Status Actions
{{ specimen.specimen_number }} {% if specimen.container_type %}
{{ specimen.container_type }} {% endif %}
{{ specimen.order.patient.get_full_name }}
MRN: {{ specimen.order.patient.mrn }} • {{ specimen.order.patient.age }}y {{ specimen.order.patient.get_gender_display }}
{{ specimen.order.order_number }} {{ specimen.get_specimen_type_display }} {{ specimen.collected_datetime|date:"M d, Y H:i" }} {% if specimen.collected_by %}
By: {{ specimen.collected_by.get_full_name }} {% endif %}
{% if specimen.quality == 'ACCEPTABLE' %} Acceptable {% elif specimen.quality == 'HEMOLYZED' %} Hemolyzed {% elif specimen.quality == 'CLOTTED' %} Clotted {% elif specimen.quality == 'INSUFFICIENT' %} Insufficient {% elif specimen.quality == 'CONTAMINATED' %} Contaminated {% endif %} {% if specimen.status == 'COLLECTED' %} Collected {% elif specimen.status == 'RECEIVED' %} Received {% elif specimen.status == 'PROCESSING' %} Processing {% elif specimen.status == 'COMPLETED' %} Completed {% elif specimen.status == 'REJECTED' %} Rejected {% endif %}
{% if specimen.status == 'COLLECTED' %} {% elif specimen.status == 'RECEIVED' and specimen.quality == 'ACCEPTABLE' %} {% endif %} {% if specimen.quality != 'ACCEPTABLE' and specimen.status != 'REJECTED' %} {% endif %}
No specimens found

No specimens match your current filters.

{% if page_obj.has_other_pages %} {% endif %}
{% endblock %}