{% extends "base.html" %} {% set active_nav = "trfs" %} {% block title %}Test {{ test.euid }} - LSMC Atlas{% endblock %} {% block content %}

Test Status

{{ test.status_label }} {% if user.can_write %}
{% endif %}
Product Code
{{ test.product_code or '—' }}
Specimen Type
{{ test.specimen_type or '—' }}
Fulfillment Routes
{% for fulfillment_route_code in test.fulfillment_route_codes %} {{ fulfillment_route_code }}{% if not loop.last %}, {% endif %} {% endfor %}
Notes
{{ test.clinical_notes or '—' }}

Linked Patients

{% if linked_patients %}
    {% for patient in linked_patients %}
  • {{ patient.name }} ({{ patient.role|lower }})
  • {% endfor %}
{% else %}

No patients linked yet.

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

Bloom Material Request

{% if effective_bloom_config %}

Effective config source: {{ 'site override' if effective_bloom_config_source == 'site' else 'organization default' }}

{{ effective_bloom_config.bloom_base_url }}

{% elif org_bloom_config %}

Organization Bloom config exists but no site override is currently selected.

{% else %}

No enabled Bloom configuration is available yet for this organization or its sites.

{% endif %}

Configure Bloom under {% if user.is_internal or user.is_admin %} the organization and site admin pages {% else %} My Organization and the relevant site detail page {% endif %} before requesting material for this Test.

{% if user.can_write %}

Optional direct kit link. Shipment and test kit links can both be set on the same tube.

Optional override when shipment/test kit does not already carry an origin site.

{% endif %}

Linked Bloom Material

{% if linked_materials %} {% for material in linked_materials %} {% endfor %}
Type EUID Status Relation
{{ material.object_type }} {{ material.external_euid }} {{ material.status }} {{ material.relation_type }}
{% else %}

No Bloom container or specimen is linked to this Test yet.

{% endif %}
{% include "partials/tube_panel.html" %} {% endblock %}