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

Specimens

{{ total_specimens|default:0 }}
Total Specimens
{{ collected_today|default:0 }}
Collected Today
{{ processing|default:0 }}
Processing
{{ rejected|default:0 }}
Rejected

Specimens {% if object_list %} {{ object_list|length }} {% endif %}

{% if object_list %}
{% for specimen in object_list %} {% endfor %}
Specimen ID Patient Type Collection Date Collected By Status Priority Tests Actions
{% if specimen.barcode %}
{{ specimen.barcode }}
{% endif %}
{{ specimen.patient.get_full_name }}
MRN: {{ specimen.patient.medical_record_number }}
{{ specimen.get_specimen_type_display }}
{% if specimen.volume %}
{{ specimen.volume }}
{% endif %}
{{ specimen.collection_date|date:"M d, Y" }}
{{ specimen.collection_date|date:"g:i A" }}
{{ specimen.collected_by.get_full_name }} {{ specimen.get_status_display }} {% if specimen.condition and specimen.condition != 'good' %}
{{ specimen.condition|title }}
{% endif %}
{{ specimen.get_priority_display }} {% if specimen.fasting_status %}
Fasting
{% endif %}
{% if specimen.associated_tests_count %} {{ specimen.associated_tests_count }} test{{ specimen.associated_tests_count|pluralize }} {% else %} No tests {% endif %}
{% if is_paginated %} {% endif %} {% else %}
No Specimens Found

No specimens match your current filters.

Collect First Specimen
{% endif %}
{% endblock %}