SSoma HealthFHIR API
API reference

GETDiagnosticReport

Lab reports (entered or imported from HL7 results), with their results as Observations.

Conforms to US Core Diagnosticreport Lab. Scope: system/DiagnosticReport.rs (or system/DiagnosticReport.read).

GET[base]/DiagnosticReport/{id}Read one DiagnosticReport.
GET[base]/DiagnosticReport?{parameters}Search DiagnosticReport. Returns a Bundle.
POST[base]/DiagnosticReport/_searchSearch with the parameters in a form body.

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
categorytokenCategory code, as system|code or code.
codetokenCode, as system|code or code (ICD-10-CM, SNOMED CT, CPT, LOINC or RxNorm).
datedateDate (FHIR date, with prefixes; repeat for a range).
statustokenStatus code; comma-separate for several.
_lastUpdateddateLast change (FHIR date, with prefixes).
_countnumberResults per page (default 50, at most 200). See paging.

Repeat a parameter to AND its values; separate values with commas to OR them.

DiagnosticReport must be searched by patient: DiagnosticReport?patient=Patient/{id} (or by _id).

Ids start with the patient's key, so reads work directly. Add _revinclude=Provenance:target to get each resource's Provenance.

Example

Search request
curl "https://qa3.somahealth.com/api/fhir/r4/your-practice/DiagnosticReport?" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
DiagnosticReport (an entry in the response Bundle)
{}

Examples use made-up data. Elements appear only when the practice has recorded them.