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
| Parameter | Type | Description |
|---|---|---|
_id | token | The resource id. Comma-separate for several. |
patient | reference | Patient/{id}. |
category | token | Category code, as system|code or code. |
clinical-status | token | active, inactive or resolved. |
code | token | Code, as system|code or code (ICD-10-CM, SNOMED CT, CPT, LOINC or RxNorm). |
onset-date | date | Onset date (FHIR date, with prefixes). |
abatement-date | date | Resolution date (FHIR date, with prefixes). |
recorded-date | date | Date recorded (FHIR date, with prefixes). |
asserted-date | date | Date asserted (not recorded in Soma). |
encounter | reference | Encounter/{id}. |
_lastUpdated | date | Last change (FHIR date, with prefixes). |
_count | number | Results 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
curl "https://dev3.somahealth.com/api/fhir/r4/your-practice/Condition?" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/fhir+json"{}Examples use made-up data. Elements appear only when the practice has recorded them.