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
| USCore Data Element | FHIR Resource Field |
|---|---|
| status | Goal.achievementStatus |
| goal description | Goal.description |
| patient | Goal.subject |
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| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
Goal By Id
Get Goal by ID. METHOD GET| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
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.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
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.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |
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.
| Header | Type | Required/Optional | Value |
|---|---|---|---|
| Authorization | string | required | Bearer <token> |
| Code | Description | Comment |
|---|---|---|
| 200 | OK | The request was processed successfully |
| 400 | Bad request | Invalid request parameters or FHIR operation outcome resource returned |
| 401 | Unauthorized | This code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource |
| 404 | No route matched with those values | The request was able to communicate with a given server, but the server could not find what was requested |
| 500 | Internal Server Error | The server has encountered a situation it doesn’t know how to handle |