{% set results = results or {} %}

Match Results

{{ results.query or 'Enter a search term' }}
{% if not results.query %}

Search by TRF, Test, patient, DOB, shipment, kit, tube, or XID.

{% else %}
{% if results.tests %}
Tests
{% for row in results.tests %}
{{ row.euid }} TRF {{ row.trf_euid }} · {{ row.product_code or 'TEST' }}
{% endfor %}
{% endif %} {% if results.trfs %}
TRFs
{% for row in results.trfs %}
{{ row.euid }} {{ row.number }} · {{ row.status }}
{% endfor %}
{% endif %} {% if results.patients %}
Patients
{% for row in results.patients %}
{{ row.euid }} {{ row.name }} {% if row.mrn %} · {{ row.mrn }}{% endif %} {% if row.date_of_birth %} · DOB {{ row.date_of_birth }}{% endif %}
{% endfor %}
{% endif %} {% if results.shipments %}
Shipments
{% for row in results.shipments %}
{{ row.number }} {{ row.euid }} · {{ row.status }}
{% endfor %}
{% endif %} {% if results.testkits %}
Test Kits
{% for row in results.testkits %}
{{ row.display_label or row.barcode or row.euid }} {{ row.euid }}{% if row.barcode and row.display_label != row.barcode %} · Barcode {{ row.barcode }}{% endif %}
{% endfor %}
{% endif %} {% if results.external_objects %}
Bloom Materials
{% for row in results.external_objects %}
{{ row.external_euid }} {{ row.object_type }} · {{ row.status }}
{% endfor %}
{% endif %} {% if results.search_items %}
Unified Search
{% for row in results.search_items %}
{{ row.euid or row.uid }} {{ row.scope }} · {{ row.name or row.template_code or row.relationship_type or 'result' }}
{% endfor %}
{% endif %} {% if not results.tests and not results.trfs and not results.patients and not results.shipments and not results.testkits and not results.external_objects and not results.search_items %}

No Atlas matches found.

{% endif %}
{% endif %}