SSoma HealthFHIR API
API reference

GETSpecimen

The specimen each lab report was run on.

Conforms to US Core Specimen. Scope: system/Specimen.rs (or system/Specimen.read).

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

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
typetokenprov (the practice) or pay (insurance payers).
identifiertokenAn identifier, as system|value or just value (MRN for Patient, NPI for Practitioner, Location and Organization).
_countnumberResults per page (default 50, at most 200). See paging.

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

Specimen must be searched by patient: Specimen?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/Specimen?" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
Specimen (an entry in the response Bundle)
{}

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