On this page

Labs & Imaging

Designing an ordering and results workflow?

The Diagnostic Orders Decision Guide helps you choose integration, fulfillment, result-matching, and review approaches for your application.

Lab orders and imaging results in FHIR follow a request-and-report pattern. A ServiceRequest represents the order, and a DiagnosticReport captures the results. Individual measurements are stored as Observation resources linked to the report.

  
flowchart RL
    patient[<table><thead><tr><th>Patient</th></tr></thead><tbody><tr><td>Lisa Simpson</td></tr></tbody></table>]
    order[<table><thead><tr><th>ServiceRequest</th></tr></thead><tbody><tr><td>Basic Metabolic Panel</td></tr></tbody></table>]
    specimen[<table><thead><tr><th>Specimen</th></tr></thead><tbody><tr><td>Whole Blood</td></tr><tr><td><em>Collected: 2020-01-01T14:12</em></td></tr></tbody></table>]
    obs1[<table><thead><tr><th>Observation</th></tr></thead><tbody><tr><td>Glucose in Blood</td></tr><tr><td>4.0 mmol/L</td></tr></tbody></table>]
    obs2[<table><thead><tr><th>Observation</th></tr></thead><tbody><tr><td>Urea nitrogen in Blood</td></tr></tbody></table>]
    report[<table><thead><tr><th>DiagnosticReport</th></tr></thead></table>]

    subgraph Order
    order -->|subject| patient
    order -->|specimen| specimen
    end

    subgraph Result
    report -->|result| obs1
    report -->|result| obs2
    report -->|basedOn| order
    obs1 -->|basedOn| order
    obs2 -->|basedOn| order
    end

Key Resources​

ResourceDescription
ServiceRequestA record of an order for services such as diagnostic investigations, treatments, or operations to be performed.
DiagnosticReportThe findings and interpretations of diagnostic tests performed on a patient.
SpecimenA record of a sample to be used for analysis.
ObservationA structured representation of measurements and simple assertions made about a Patient.

Key Code Systems​

Code SystemDescription
UCUMUsed to define measurement units on a Specimen resource.
ICD-10Used to annotate Observation resources for tracking.
SNOMEDUsed to define Specimen types and retrieval methods.
LOINCUsed to annotate Observation resources for tracking.

Workflow Guides​

Configuration​

Catalog and coding setup for diagnostic ordering is covered under Clinical Configuration:

  • Diagnostic Catalog — defining test menus, panels, specimen requirements, and administrative resources (ObservationDefinition, SpecimenDefinition, ActivityDefinition, PlanDefinition)
  • Observation Reference Ranges — configuring reference, critical, and absolute value ranges for observations
  • LOINC Codes — standardized coding for laboratory, clinical, and imaging observations

Integrations​

OpenOrchid is provider-agnostic and supports connecting to lab and imaging providers of all types. For organizations connecting directly to a performing lab, see the HL7 Interface and Medplum Agent docs.