SSoma HealthFHIR API
API reference

GETGoal

The patient's goals.

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

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

Search parameters

ParameterTypeDescription
_idtokenThe resource id. Comma-separate for several.
patientreferencePatient/{id}.
lifecycle-statustokenGoal status.
target-datedateGoal target date.
descriptiontokenGoal code.
_countnumberResults per page (default 50, at most 200). See paging.

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

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

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