SSoma HealthFHIR API
API reference

GETCondition

Diagnoses from the patient's cases (encounter diagnoses, ICD-10-CM), the problem list and health concerns.

Conforms to US Core Condition Problems Health Concerns. Scope: system/Condition.rs (or system/Condition.read).

GET[base]/Condition/{id}Read one Condition.
GET[base]/Condition?{parameters}Search Condition. Returns a Bundle.
POST[base]/Condition/_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.
clinical-statustokenactive, inactive or resolved.
codetokenCode, as system|code or code (ICD-10-CM, SNOMED CT, CPT, LOINC or RxNorm).
onset-datedateOnset date (FHIR date, with prefixes).
abatement-datedateResolution date (FHIR date, with prefixes).
recorded-datedateDate recorded (FHIR date, with prefixes).
asserted-datedateDate asserted (not recorded in Soma).
encounterreferenceEncounter/{id}.
_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.

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

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