Labs may be found from the DiagnosticReport resource. DiagnosticReports with category=LAB
may contain one or more results (lab values) as Observation resources. Lab results should be queried by DiagnosticReport
rather than from the Observation
resource directly in order to:
Contents
DiagnosticReport
Lab results can be queried via DiagnosticReport. Multiple results, such as from a lab panel, may be grouped within each DiagnosticReport
resource.
DiagnosticReport.category=LAB
to limit results to laboratory._include=DiagnosticReport:result
which will return a list of Observation and/or Binary resources.Observation
resource as significant context may be missing for many labs. Additionally, it is recommended to query with DiagnosticReport.category=LAB
rather than DiagnosticReport.result.category=laboratory
.
Observation
Vital signs (e.g., Blood Pressure, Height, Weight, Temperature, Resipiratory Rate, Oxygen Saturation) can be queried via Observation. Each result will be returned as a separate Observation
.
Observation.category=vital-signs
.ValueSet
DiagnosticReport
and Observation
resources can be filtered by Value Set by code:in=[ValueSet URI]
.https://[YOUR_FHIR_ENDPOINT]/ValueSet?version=[LOINC Part Type]&name=[LOINC Part Value]
to retrieve the [ValueSet URI]
. The following are are the strings to use for the [LOINC Part Type]
, aligned with those you’ll see as column headers in the LOINC Search results:
[ValueSet URI]
in the DiagnosticReport or Observation query.[ValueSet URI]
within a comma-delimited list, e.g., code:in=[ValueSet URI 1],[ValueSet URI 2],[ValueSet URI 3]
[ValueSet URI]
within a separate parameter, e.g., code:in=[ValueSet URI 1]&code:in=[ValueSet URI 2]&code:in=[ValueSet URI 3]
.Test | Resource | Query Parameters |
---|---|---|
Cholesterol: | Observation | ?category=LAB &code:in=https://rosetta.careevolution.com/subsets/LOINC-Component/Cholesterol [Component] |
Glucose: | Observation | ?category=LAB &code:in=https://rosetta.careevolution.com/subsets/LOINC-Component/Glucose [Component] |
Complete Blood Count (CBC): | DiagnosticReport | ?category=LAB &code:in=https://rosetta.careevolution.com/subsets/LOINC-Component/Complete blood count W Differential panel [Component] |
Basic Metabolic Panel: | DiagnosticReport | ?category=LAB &code:in=https://rosetta.careevolution.com/subsets/LOINC-Component/Basic Metabolic Panel [Component] |
Hemoglobin/Hematocrit: | Observation | ?category=LAB &code:in=https://rosetta.careevolution.com/subsets/LOINC-Component/Hematocrit [Component], https://rosetta.careevolution.com/subsets/LOINC-Component/Hematocrit/Hemoglobin [Component], https://rosetta.careevolution.com/subsets/LOINC-Component/Hemoglobin A/Hemoglobin.total [Component] |
DiagnosticReport resources can be used to group Lab results into panels. In addition, many clinical use cases group results by Observation.code
(where system=http://loinc.org
) or Observation.code.text
to enable trending over time.
DiagnosticReport
and Observation
to provide sufficient context for users
DiagnosticReport
and little information in the Observation
(e.g., report lists ‘Blood Glucose’ and observation lists ‘CHEMISTRY’)DiagnosticReport
(e.g., report lists ‘presence in urine’ and observation lists ‘glucose’)DiagnosticReport
(e.g., report lists ‘complete metabolic panel - blood’ and observations include ‘glucose’, ‘sodium’, etc)DiagnosticReport.code
and/or .display
lists things such as ‘Misc’, ‘Other’, or ‘Observation’ or if there is a single child Observation
which has the same .code
and/or .display
as those in the reportDiagnosticReport.code.coding.display
and Observation.code.coding.display
where userselected=false
AND system=http://loinc.org
DiagnosticReport.code.coding.display
and Observation.code.coding.display
where userselected=true
Observation.performer
which gives a Reference(
Practitioner)
.Observation.extension('http://careevolution.com/fhirextensions#observation-reportReference')
Reference(DiagnosticReport.basedon)
Reference(ServiceRequest.requester)
Reference(Practitioner)
category=LAB
, depending on how HIEBus received the source data. Radiology reports, and some lab reports, will be returned as a document in a Binary resource, . For detail on how to use Binary resources, see Discharge Summary