SSoma HealthFHIR API
API reference

GETAllergyIntolerance

The patient's allergies (or no known allergies), with reaction and severity when recorded.

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

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

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
clinical-statustokenactive, inactive or resolved.
_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.

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

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