Overview
The Goal resource describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. Each Goal has next elements:- a status
- text description of the goal
- a patient
- target date(s)
- start date
- expressed by (who identified the goal)
- Free text goals can be used in Goal.description.text when a concept isn’t available or a legacy goal is not mapped to a LOINC or SNOMED concept.
- See the SDOH guidance page for more information when exchanging Social Determinants of Health (SDOH) Goals
Must support elements, mandatory and optional search parameters
Goalmust support these elements:lifecycleStatusdescriptionsubjecttargetdueDate
startDate
GET [base url]/Goal?patient={Type/}[id]
The following search parameter combinations SHOULD be supported (optional):
SHOULD support searching using the combination of the patient and lifecycle-status search parameters:
GET [base url]/Goal?patient={Type/}[id]&lifecycle-status={system|}[code]
SHOULD support searching using the combination of the patient and target-date search parameters:
- including support for these target-date comparators: gt,lt,ge,le
- including optional support for AND search on target-date (e.g.target-date={date}&target-date={date}&…)
GET [base url]/Goal?patient={Type/}[id]&target-date={gt|lt|ge|le}{date}
GET [base url]/Goal?patient={Type/}[id]&description={system|}[code]
The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.
Goal By Patient Id
Search for Goal by patient. METHOD GET
RESPONSES
EXAMPLE:
Goal By Id
Get Goal by ID. METHOD GET
RESPONSES
EXAMPLE:
Goal by patient and lifecycle-status
Get Goals using the combination of the patient and lifecycle-status search parameters METHOD GETPatient
[id] - patient id
{system|} - an identity of the terminology system, used to specify the state of the goal throughout its lifecycle
[code] - the state of the goal throughout its lifecycle
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
RESPONSES
EXAMPLE:
Goal by patient and target-date search parameters
Get Goals using the combination of the patient and target-date search parameters METHOD GETPatient
[id] - patient id
[date] - indicates either the date or the duration after start by which the goal should be met
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
RESPONSES
EXAMPLE:
Goal by patient and description search parameters
Get Goals using the combination of the patient and description search parameters METHOD GETPatient
[id] - patient id
{system|} - an identity of the terminology system for goal description codes
[code] - a coded value for the goal description
HEADERS
The Authorization token SHALL be obtained during the Authentication and Authorization process. Go to Authentication and Authorization for further details.
RESPONSES
EXAMPLE: