Get a list of care plans
get
/CarePlan
Retrieves a list of care plans that meet supplied query parameters.
Note:
- The CarePlan.activity element is not supported and not returned. As a result, the CarePlan.activity.detail.status and CarePlan.activity.detail.prohibited modifier elements are not returned.
- The description of the care plan is included in the CarePlan.text.div element as ASCII text.
- In DSTU2, CareTeam is not a standalone resource. A care team is a care plan with participants. A care team is returned only if a care team-specific category code is supplied.
- CareTeam.participant may have a reference to a contained RelatedPerson resource.
Authorization Types
This operation supports the following authorization types:
- Provider
- Patient
- System
Request
Query Parameters
-
_count: string
The number of results per page.
Example:_count=50
-
_id(required): string
The logical resource ID associated with the resource.
- This parameter is required if the
category
parameter is not used. - May not be provided with the
category
,context
,date
,patient
, orsubject
parameters. - When provided,
_count
is ignored.
_id=12345
- This parameter is required if the
-
category(required): string
The scope of the care plan being searched for.
- This parameter is required if the
_id
parameter is not used. - Only supports the
careteam
,assess-plan
,longitudinal
, andencounter
codes. - The
careteam
andassess-plan
codes belong to the Argonaut system.longitudinal
andencounter
are defined by the CareTeam category system.
category=assess-plan
,category=http://argonaut.hl7.org|careteam
,category=http://hl7.org/fhir/care-team-category|longitudinal
, orcategory=careteam
- This parameter is required if the
-
context(required): string
The encounter ID of the care plan.
- This parameter is required if the
category
parameter is present and set toencounter
. - Cannot be set if the
category
parameter is set tocareteam
,assess-plan
, orlongitudinal
.
context=1138
- This parameter is required if the
-
date: string
The time period that the plan covers.
- May be provided up to two times, and must use the
ge
orle
prefixes. - When provided twice, the lower value must have the
ge
prefix and the higher value must have thele
prefix. - Will be ignored if
category
is set toencounter
.
date=ge2016-08
ordate=le2017-01-24T12:00:00.000Z
- May be provided up to two times, and must use the
-
patient(required): string
Who the care plan is for.
- This parameter is required if the
category
parameter is present and set tocareteam
,assess-plan
, orlongitudinal
, and thesubject
parameter is not used. - Cannot be provided with the
subject
parameter.
patient=12345
- This parameter is required if the
-
subject(required): string
Who care plan is for.
- Must represent a Patient resource.
- May use the
:Patient
modifier. - This parameter is required if the
category
parameter is present and set tocareteam
,assess-plan
, orlongitudinal
, and thepatient
parameter is not used. - Cannot be provided with the
patient
parameter.
subject=Patient/12345
orsubject:Patient=12345
Header Parameters
-
accept(required): string
The media type to be requested. See what the resource's operation produces for what is supported.
-
authorization(required): string
Contains the credentials to authenticate a consumer to the service. This should be the OAuth2 Bearer Token.
Response
Supported Media Types
- application/json+fhir
Default Response
Example search for a care plan.
Example Request:
Example Request:
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan?patient=12724066&category=assess-plan
Example Response:
{
'resourceType': 'Bundle',
'id': '7ea66921-b1a3-4719-9e06-83b8ffd91e02',
'type': 'searchset',
'link': [
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan'\
'?patient=12724066&category=assess-plan&_count=10'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan/197286315',
'resource': DSTU2_CARE_PLAN_ENTRY
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.
x-search-for-care-team Response
Example search for a care team.
Example Request:
Example Request:
GET https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan?patient=12724066&category=careteam
Example Response:
{
'resourceType': 'Bundle',
'id': '3f0248ed-05e3-4194-889e-f843a9a0d9a0',
'type': 'searchset',
'total': 1,
'link': [
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan'\
'?patient=12724066&category=careteam'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/CarePlan/L12724066',
'resource': {
'resourceType': 'CarePlan',
'id': 'L12724066',
'meta': {
'versionId': '12724066',
'lastUpdated': '2019-12-26T15:41:55Z'
},
'text': {
'status': 'generated',
'div': '<div><p><b>Care Team</b></p><p><b>Patient</b>: SMART, NANCY</p><p><b>Status</b>: '\
'Active</p><p><b>Category</b>: CareTeam</p><p><b>Participants</b>:</p><p><b>Name</b>: '\
'Cerner Test, Physician - Hospitalist Cerner</p><p><b>Role</b>: Primary Care Physician'\
'</p></div>'
},
'subject': {
'reference': 'Patient/12724066',
'display': 'SMART, NANCY'
},
'status': 'active',
'modified': '2019-12-26T15:41:55Z',
'category': [
{
'coding': [
{
'system': 'http://argonaut.hl7.org',
'code': 'careteam',
'display': 'CareTeam'
}
]
}
],
'participant': [
{
'member': {
'reference': 'Practitioner/4122622',
'display': 'Cerner Test, Physician - Hospitalist Cerner'
},
'role': {
'text': 'Primary Care Physician'
}
}
]
}
}
]
}
Headers
-
X-Request-Id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
X-Request-Id
, if present. -
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the
opc-Request-Id
, if present.