CarePlan
Overview
The CarePlan resource describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.
Use Cases:
- Treatment planning and coordination
- Care team communication
- Patient care management
- Clinical workflow documentation
Relationships:
- References Patient resources for care recipients
- May reference Practitioner, Organization, and other care team members
- Can be linked to Condition, Goal, and other clinical resources
Resource Schema
Key fields in the CarePlan resource:
{
"resourceType": "CarePlan",
"id": "example-careplan",
"status": "active",
"intent": "plan",
"category": [
{
"coding": [
{
"system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category",
"code": "assess-plan",
"display": "Assessment and Plan of Treatment"
}
]
}
],
"subject": {
"reference": "Patient/123",
"display": "John Doe"
},
"period": {
"start": "2023-01-01",
"end": "2023-12-31"
},
"author": {
"reference": "Practitioner/456",
"display": "Dr. Smith"
}
}
Operations
The CarePlan resource supports Read and Search operations. Support varies by CareRecord or solution:
| CareRecord / Solution | Create | Read | Update | Search |
|---|---|---|---|---|
| GEHRIMED | - | Yes | - | Yes |
| myAvatar | - | Yes | - | Yes |
| myEvolv | - | Yes | - | Yes |
| myUnity | - | Yes | - | Yes |
| TheraOffice | - | Yes | - | Yes |
Read
Retrieve a specific CarePlan by ID:
GET [base]/CarePlan/[id]
Search
Search for care plans using various criteria.
GET Method
Use GET for simple searches with parameters in the query string.
- Production
- Preview
GET /CarePlan?parameter=value
GET /CarePlan?parameter=value
POST Method
Use POST for complex searches with form-encoded parameters.
- Production
- Preview
POST /CarePlan/_search
POST /CarePlan/_search
Not all Netsmart solutions support CarePlan search. See supported operations table above and consult your target solution's documentation for more information.
Search Parameters
Patient-based Search:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
patient | reference | Yes | REQUIRED Who the care plan is for | patient=value |
category | token | No | Type of plan | category=value |
date | date | No | Time period plan covers | date=value |
page | string | No | Zero-based page index | page=value |
status | token | No | draft | status=value |
_lastUpdated | date | No | Only return resources which were last updated as specified by the given range | _lastUpdated=value |
_revinclude | special | No | Include Provenance resource(s) that reference the matched search results. Allowed: "Provenance:target" | _revinclude=value |
ID-based Search:
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
_id | token | No | Only return resources with the provided id | _id=value |
_lastUpdated | date | No | Only return resources which were last updated as specified by the given range | _lastUpdated=value |
_revinclude | special | No | Include Provenance resource(s) that reference the matched search results. Allowed: "Provenance:target" | _revinclude=value |
Examples
Read CarePlan
- Production
- Preview
curl -X GET "https://fhir.netsmartcloud.com/uscore/v1/CarePlan/123" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"
curl -X GET "https://fhirtest.netsmartcloud.com/uscore/v1/CarePlan/123" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"
Search CarePlans
Via POST (Recommended)
- Production
- Preview
curl -X POST https://fhir.netsmartcloud.com/uscore/v1/CarePlan/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "patient=Patient/123" \
-d "category=http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"
curl -X POST https://fhirtest.netsmartcloud.com/uscore/v1/CarePlan/_search \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "patient=Patient/123" \
-d "category=http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan"
Via GET
- Production
- Preview
curl -X GET "https://fhir.netsmartcloud.com/uscore/v1/CarePlan?patient=Patient/123&category=http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"
curl -X GET "https://fhirtest.netsmartcloud.com/uscore/v1/CarePlan?patient=Patient/123&category=http://hl7.org/fhir/us/core/CodeSystem/careplan-category|assess-plan" \
-H "Authorization: {Bearer Token}" \
-H "Accept: application/fhir+json"
Integration Patterns
Common Workflows
- Patient Care Planning: Retrieve CarePlans for a specific patient to understand their treatment approach
- Care Coordination: Access CarePlans to coordinate care across multiple providers
- Treatment Monitoring: Review CarePlans to track progress against planned interventions
Related Resources
- Patient: Subject of the care plan
- Practitioner: Care plan authors and contributors
- Condition: Medical conditions addressed by the care plan
- Goal: Treatment goals defined in the care plan
- Provenance: Audit trail for care plan changes
Error Handling
For detailed error codes and handling, see the Error Handling Guide.
Supported Profiles
This API supports the following FHIR profiles: