API Reference

Overview

Care Team Members addresses to the CareTeam HL7® FHIR® resource.
The CareTeam includes all the people, teams, and organizations who plan to participate in the coordination and delivery of care for a single patient or a group.

Care team members or participants include practitioners (physicians, nurses, technicians, etc.), family members, friends, guardians, and the patient. The care team can be specific to an encounter or to the patient across all encounters (longitudinal).

Each CareTeam has next elements:

  • a patient
  • a participant role for each care team members
  • a reference to each care team member which can be:
    • a practitioner or practitioner type (doctor, nurse, therapist)
    • the patient
    • a relative or friend or guardian
    • an organization

Each CareTeam must support:

  • a status code

Profile specific implementation guidance:

In order to access care team member’s names, identifiers, locations, and contact information, the CareTeam profile supports several types of care team participants. They are represented as references to other profiles and include the following four profiles which are marked as must support:

  • US Core Practitioner Profile
  • US Core PractitionerRole Profile
  • US Core Patient Profile
  • US Core RelatedPerson Profile

Although both US Core Practitioner Profile and US Core PractitionerRole are must support, the server system is not required to support both types of references (and _include search parameters), but SHALL support at least one of them.

The client application SHALL support all four profile references.
Because the US Core PractitionerRole Profile supplies the provider’s location and contact information and a reference to the Practitioner, server systems SHOULD reference it instead of the US Core Practitioner Profile. An example of how to access the practitioner name and identifier is shown in the quick start section below.

Servers that support only US Core Practitioner Profile SHALL provide implementation specific guidance how to access a provider’s location and contact information using only the Practitioner resource.

This resource conforms to USCDI V2 profile for CareTeam - refers to US Core CareTeam Profile. CareTeam response will be provided in JSON (refers to Capability Statement) format as per FHIR standard R4 version.

USCDIUSCore Data ElementFHIR Resource Field
Care Team Member NameUS Core Practitioner ProfileCarePlan.participant.member.name
Care Team Member IdentifierUS Core Practitioner ProfileCarePlan.participant.member.identifier
Care Team Member LocationUS Core Practitioner ProfileCarePlan.participant.member.address
Care Team Member TelecomUS Core Practitioner ProfileCareTeam.participant.member.telecom
Care Team Member RoleUS Core Practitioner ProfileCareTeam.participant.role

Must support elements, mandatory and optional search parameters

CareTeam must support these elements:

  • status
  • subject
  • participant
    • role
    • member

The following search parameters and search parameter combinations SHALL be supported:

The syntax used to describe the interactions is described here.

SHALL support searching using the combination of the patient and status search parameters:

  • including optional support for these _include parameters:
    CareTeam:participant:PractitionerRole,CareTeam:participant:Practitioner,CareTeam:participant:Patient,CareTeam:participant:RelatedPerson
  • including optional support for OR search on status (e.g. status={system|}[code],{system|}[code],...)

GET [base]/CareTeam?patient={Type/}[id]&status=active

The following search parameter combinations SHOULD be supported:
SHOULD support searching using the combination of the patient and role search parameters:

  • including optional support for these _include parameters:
    CareTeam:participant:PractitionerRole,CareTeam:participant:Practitioner,CareTeam:participant:Patient,CareTeam:participant:RelatedPerson
  • including optional support for OR search on role (e.g. role={system|}[code],{system|}[code],...)

GET [base]/CareTeam?patient={Type/}[id]&role={system|}[code]{,{system|}[code],...}

The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.

CareTeam by Patient and Status

Get CareTeam by combination patient and status

METHOD GET

`GET [base url]/CareTeam?patient={Type/}[id]&status=active`

PARAMS
[base url] - FHIR base url
{Type/} - optional parameter for reference type
[id] - Patient's id

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Go to Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.

EXAMPLES:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/CareTeam?patient=Patient/05b87542-b50e-4f19-8a87-2da2e6959bfb&status=active' \
--header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'
  • with optional parameter _include:
    This fetch a bundle of all CareTeam resources for the specified patient and status=active and may include CareTeam PractitionerRole participant:
curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/CareTeam?patient=Patient/05b87542-b50e-4f19-8a87-2da2e6959bfb&status=active&_include=CareTeam:participant:PractitionerRole' \
--header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'

CareTeam by Patient and role and optional parameters

Get CareTeam by combination patient and role

METHOD GET

GET [base url]/CareTeam?patient={Type/}[id]&role={system|}[code]{,{system|}[code],...}

PARAMS
[base url] - FHIR base url
{Type/} - optional parameter for reference type
[id] - Patient's id
{system|} - The system for the category, e.g. http://snomed.info/sct
[code] - code for observation in the system, e.g. 17561000

HEADERS

The Authorization token SHALL be obtained during Authentication and Authorization process. Go to Authentication and Authorization for further details.

HeaderTypeRequired/OptionalValue
Authorizationstringrequired'Bearer'

RESPONSES

CodeDescriptionComment
200OKThe request was processed successfully
400Bad requestInvalid request parameters or FHIR operation outcome resource returned
401UnauthorizedThis code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource
404no Route matched with those valuesThe request was able to communicate with a given server, but the server could not find what was requested
500Internal Server ErrorThe server has encountered a situation it doesn't know how to handle

The response to any search operation is always a list of resources in a Bundle or an Operation Outcome.

EXAMPLE:

curl --location --request GET 'https://sandbox.fhir.elationemr.com/fhir/CareTeam?patient=Patient/05b87542-b50e-4f19-8a87-2da2e6959bfb2&role=http://snomed.info/sct|17561000' \
--header 'Authorization: Bearer fe1cd986-1ac7-4c26-b8b3-d632a48408fd'