The FHIR R4 Goal resource is used to capture a patient’s health goals, including both clinical and non-clinical objectives. It allows the tracking of a goal’s status, target date, achievement, and other relevant details, providing a structured way to monitor progress towards health improvement.
Health Gorilla exposes Goal as part of its FHIR R4 API to support patient-centric tracking of clinical and wellness objectives.
Use Cases
- Creating a new treatment goal for a patient
- Retrieving patient progress toward a specific health goal
- Updating a patient's health goal as their treatment plan evolves
Scope and Behavior
This documentation describes the FHIR R4 API interface for Goal. Health Gorilla’s platform may use additional internal services and data standards to acquire, normalize, and route clinical information. Only the FHIR R4–exposed behavior is documented here.
Health Gorilla supports a subset of the HL7 FHIR R4 Goal resource. Not all optional elements defined in the HL7 specification may be stored, indexed, or returned. Unsupported or unrecognized elements may be ignored or normalized during processing.
In Health Gorilla, Goal is most commonly accessed as part of patient record retrieval workflows, where care objectives may be aggregated and normalized for longitudinal review. This resource supports care planning, progress tracking, and outcome evaluation use cases.
Authentication
All requests to the FHIR R4 API require OAuth 2.0 authentication using a bearer token. Unauthorized requests return 401 Unauthorized responses.
Required Scopes
goal.readfor GETgoal.writefor POST, PUT, DELETE
For more information, go to: OAuth 2.0 Authentication.
Search Behavior
Searches are scoped to the authenticated tenant. The patient parameter is required for patient-scoped searches and is recommended for most search use cases.
Results are returned as a FHIR Bundle. Pagination may be applied. Use standard FHIR pagination links (Bundle.link) to retrieve additional result pages.
Note: Supported parameters and behavior may vary by configuration.
Search Parameters
Searches are scoped to a single patient. Provide patient, or search on _lastUpdated alone to retrieve records by when they were written.
| Parameter | Required | Description |
|---|---|---|
patient | Yes | The patient whose records you want, as Patient/{id}. You can also search by a patient identifier using patient.identifier. |
_lastUpdated | No | Filters on when the record was last written in the Health Gorilla FHIR server. Accepts a comparison prefix, for example ge2025-01-01. |
_offset | No | Skips the given number of results. A Health Gorilla pagination parameter, separate from _count with the next link. |
_count | No | Limits the number of results returned per page. |
_tag | No | Filters on meta.tag. |
_security | No | Filters on meta.security. |
The search also accepts _revinclude=Provenance:target, which returns the Provenance records describing where the results came from.
Resource Attributes
| Attribute | Description | Example Values | FHIR Data Type |
|---|---|---|---|
status | Current lifecycle status of the goal | active, completed | code |
category | Category of the goal | clinical | CodeableConcept[] |
priority | Priority of the goal | high | CodeableConcept |
description | Description of the goal | Improve cardiovascular health | CodeableConcept |
startDate | Date the goal began | 2024-01-01 | date |
target | Target criteria for achieving the goal | Structured target entries | BackboneElement[] |
achievementStatus | Measure of goal achievement | achieved, in-progress | CodeableConcept |
Notifications
The FHIR R4 API does not provide direct resource-change subscriptions for Goal. Changes to goal information may surface through broader notification workflows, depending on enabled Health Gorilla products and configuration.
Error Handling
All Goal operations follow standard Health Gorilla error handling, including use of FHIR OperationOutcome for structured responses. For more information, go to: Error Handling.

