CarePlan

The FHIR R4 CarePlan resource outlines a patient's overall care plan, including goals, interventions, and the expected outcomes. It helps coordinate care between healthcare providers and ensures that patient care is managed and delivered in a structured manner.

Use Cases

  • Retrieve a patient's care plan to track ongoing treatments and interventions
  • Update a care plan to reflect changes in the patient's goals or care strategies
  • Remove outdated or incorrect care plans
  • Filter care plans by intent, status, or clinical category

Base URLs

  • Production: https://api.healthgorilla.com/fhir/R4/CarePlan
  • Sandbox: https://sandbox.api.healthgorilla.com/fhir/R4/CarePlan

Authentication

All requests require OAuth 2.0 authentication using a Bearer Token. Unauthorized requests return 401 Unauthorized responses.

Required Scopes

  • careplan.read – Required for reading CarePlan resources via GET
  • careplan.write – Required for creating, updating, or deleting CarePlans via POST, PUT, or DELETE

For more information, see OAuth 2.0 Authentication.

Supported Methods

MethodOperationDescription
GETRead CarePlanRetrieves a specific CarePlan record by its FHIR ID.
GETSearch CarePlanSearches for CarePlan records for a specified patient.
POSTCreate CarePlanSubmits a new CarePlan record to the Health Gorilla FHIR server.
PUTUpdate CarePlanUpdates an existing CarePlan record by full resource replacement.
DELETEDelete CarePlanRemoves an existing CarePlan record from the system by full resource deletion.

Frequently Used Search Parameters

ParameterTypeRequiredDescription
patientstringYesFilters by patient ID (Patient/{id})
statusstringNoFilters by care plan status (CarePlanStatus)
categorystringNoFilters by clinical category (CarePlanCategory) (example only)
intentstringNoFilters by intent (CarePlanIntent)

Commonly Returned Resource Attributes

AttributeDescriptionExample ValuesFHIR Data TypeRequired
idLogical ID of the CarePlancareplan-12345idYes
statusCurrent lifecycle status of the planactivecodeYes
intentPurpose behind the creation of the planplan, proposal, ordercodeYes
subjectReference to the patient (or group) this care plan is forPatient/12345`Reference(PatientGroup)`Yes
categoryHigh-level classification of the planchronic care (example)CodeableConcept[]No
titleHuman-readable title for the plan"Asthma Management Plan"stringNo
descriptionNarrative description of the care plan"Patient will use inhaler twice daily..."stringNo
periodTime period the plan coversstart: 2023-01-01, end: 2023-12-31PeriodNo
authorWho created or is responsible for the planPractitioner/789Reference(Practitioner)No
careTeamIndividuals and organizations involved in executing the planCareTeam/123Reference(CareTeam[])No
goalGoals the plan is intended to achieveGoal/456Reference(Goal[])No
activity.detail.statusStatus of a specific activity within the planin-progresscodeNo
activity.detail.codeDescription of planned activityTake medication, Refer to specialistCodeableConceptNo
activity.detail.descriptionFree-text description of the activity"Patient will begin physical therapy twice weekly"stringNo

Webhooks

Clients may subscribe to webhook notifications to monitor CarePlan activity, such as when new plans are added or updated by external systems. For more information, go to Webhooks & Polling.

Error Handling

All CarePlan operations follow standard Health Gorilla error handling conventions using the FHIR OperationOutcome resource. For more information, go to Error Handling.

Additional Resources

FHIR R4 CarePlan