Overview
Laboratory Results Information addresses:- Laboratory Results DiagnosticReport HL7® FHIR® resource with US Core Profile 6.1.0
- a status
- a category code of ‘LAB’
- a code (preferably a LOINC code) which tells you what is being measured
- a patient
- the diagnostically relevant time (known as the “effective time” and typically the time of specimen collection)*
- when the report was released
- who issues the report
- a result
- Additional codes that translate or map to the DiagnosticReport codes or category codes are allowed. For example:
- providing both a local system codes and a LOINC code that it map to
- providing a more specific category codes to the “LAB” category code, such as “CH” (chemistry), in an additional coding element.
- Results that are free text or report form are represented using the ‘presentedForm’ element in DiagnosticReport.
| USCore Data Element | FHIR Resource Field |
|---|---|
| status | Observation.status |
| category | Observation.category |
| LOINC code | Observation.code |
| patient | Observation.subject |
Must support elements, mandatory and optional search parameters
DiagnosticReport must support these elements:statusSlices for category-category:LaboratorySlicecodesubjecteffective[x]issuedperformerresult
patient search parameter:
GET [base url]/DiagnosticReport?patient={Type/}[id]
SHALL support searching for all DiagnosticReports for a patient using the patient and category search parameters:
GET [base url]/DiagnosticReport?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB
SHALL support searching for all DiagnosticReports for a patient using the patient and code search parameters
- including optional support for OR search on code (e.g.code={system|}[code],{system|}[code],…)
GET [base url]/DiagnosticReport?patient={Type/}[id]&code={system|}[code],{system|}[code]
patient and category and date search parameters
- including support for these date comparators: gt,lt,ge,le
- including optional support for AND search on date (e.g.date=[date]&date=[date])
GET [base url]/DiagnosticReport?patient={Type/}[id]&category=http://terminology.hl7.org/CodeSystem/v2-0074|LAB&date={gt|lt|ge|le}[date]
patient and status search parameters:
- including support for OR search on status (e.g.status={system|}[code],{system|}[code])
GET [base url]/DiagnosticReport?patient={Type/}[id]&status={system|}[code],{system|}[code]
patient and code and date search parameters:
- including optional support for OR search on code (e.g.code={system|}[code],{system|}[code],…)
- including support for these date comparators: gt,lt,ge,le
- including optional support for AND search on date (e.g.date=[date]&date=[date]&…)
GET [base url]/DiagnosticReport?patient={Type/}[id]&code={system|}[code]{,{system|}[code],...}&date={gt|lt|ge|le}[date]
DiagnosticReport By Patient Id
Search for DiagnosticReport by patient. METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport By Id
Get DiagnosticReport by ID. METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport by patient and category
Get DiagnosticReports using the combination of the patient and category search parameters: METHOD GETPatient
[id] - patient id
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport by patient and code
Get DiagnosticReports using the combination of the patient and code search parameters: METHOD GETPatient
[id] - patient id
{system|} - an identity of the terminology system, used to specify DiagnosticReport code
[code] - DiagnosticReport code
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport by patient and category and date
Get DiagnosticReports using the combination of the patient and category and date search parameters METHOD GETPatient
[id] - patient id
[date] - DiagnosticReport effective date
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport by patient and status
Get DiagnosticReports using the combination of the patient and status search parameters METHOD GETPatient
[id] - patient id
{system|} - an identity of the terminology system, used to specify status
[code] - DiagnosticReport status
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
DiagnosticReport by patient and code and date
Get DiagnosticReports using the combination of the patient and code and date search parameters METHOD GETPatient
[id] - patient id
[date] - DiagnosticReport effective date
{system|} - an identity of the terminology system, used to specify DiagnosticReport code
[code] - DiagnosticReport code
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |