SSoma HealthFHIR API
API reference

GETObservation

Smoking status from intake forms; sexual orientation and pronouns from the patient's demographics; vital signs, lab results and pregnancy status / intent from Chart › Clinical.

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

GET[base]/Observation/{id}Read one Observation.
GET[base]/Observation?{parameters}Search Observation. Returns a Bundle.
POST[base]/Observation/_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.

Observation must be searched by patient: Observation?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://dev3.somahealth.com/api/fhir/r4/your-practice/Observation?" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/fhir+json"
Observation (an entry in the response Bundle)
{}

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