Shared Care Planning (SCP) Implementation Guide
0.2.0 - ci-build
Shared Care Planning (SCP) Implementation Guide, published by Santeon. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/santeonnl/shared-care-planning/ and changes regularly. See the Directory of published versions
Shared Care Planning involves authorizations to resources that are part of a) the Shared Care Planning data model, and b) data that is use case specific. Authorizations are described in an access policy. It is the responsibility of the systems of the Care Plan Contributor and Care Plan Service to adhere to the policy when resources are being requested in the context of Shared Care Planning.
Shared Care Planning involves two different access policies.
The Care Plan Service Policy describes access to the resources stored in the Care Plan Service.
CareTeam.participant
.
CareTeam.participant.period
of the memberships falls within the current time.CareTeam.participant.period
of the memberships falls outside the current timeCarePlan.author
Task.requester
or Task.owner
When requesting an access token from the authorization server of the Care Plan Service, attributes of both the requesting organization and requesting person MUST be presented (see page Authentication for the exact requirements). Note that for all transactions an active user session is required and the use MUST be identifiable, either direct by user interaction or indirect by cryptographic proof, by all involved parties.
Resource(.element) | CRUDS | Audience/attributes |
---|---|---|
CarePlan | C | All healthcare providers with atributes organization-identifier, practitioner-identifier, practitioner-role ?AND having an active service contract with the Care Plan Service? |
CarePlan | RS | All healthcare providers (active and inactive) in the CareTeam |
CarePlan.all, .Condition, .Goal, .todo | U | All active healthcare providers in the CareTeam |
CarePlan.subject, .todo | U | not allowed |
CarePlan | D | Head Practitioner (equals CarePlan Author) |
Task | C | All active healthcare providers in the CareTeam |
Task | RS | All healthcare providers (active en inactive) in the CareTeam, MAYBE: All healthcare providers that are Task.owner can acccess that specific Task (only when notification does not contain enough info) |
Task | U | All healthcare providers that are Task.requester or Task.owner can access that specific Task |
CareTeam | RS | All healthcare providers (active and inactive) in the CareTeam |
Operations that are not mentioned in the above table MUST not be supported.
The Care Plan Contributor policy describes access to resources of which the Care Plan Contributor is Data Holder and describes access to notification service endpoints the Care Plan Contributor exposes.
Access token requirements
When requesting an access token from the authorization server of the Care Plan Service for access to resources of which the Care Plan Contributor is Data Holder, verifiable attestations of both the requesting organization and requesting person MUST be presented (see page Authentication for the exact requirements). The credentials MUST proof the attestation of the following attributes:
Request
Each data request MUST include the access token AND an absolute reference to the CarePlan-resource that defines the context in which the data request takes place. The reference to the CarePlan-resource has to be included in HTTP header field as follows:
http request
GET /Condition HTTP/1.1
X-SCP-Context: https://careplan-service.example.com/fhir/CarePlan/73012d35
Authorization: Bearer 03c90ce0-fe7b-44fb-aff7-b09ef4e45863
Resource access
Resource | CRUDS | Audience/attributes |
---|---|---|
Resources* | RS | All active PractitionerRoles in the CareTeam |
*The list of which resources are accessible depends on the context of the CarePlan (Patient, Condition, Request) and possibly the role of the requesting healthcare provider. Condition-Request-Resource lists MUST be specified for each use case that uses Shared Care Planning.
Operations that are not mentioned in the above table MUST not be supported.
Access token requirements
When requesting an access token from the authorization server of the Care Plan Service for access to notification service endpoints of the Care Plan Contributor, attributes of the requesting organization MUST be presented (see page Authentication for the exact requirements). Attributes of a requesting person MUST NOT be presented.
Request
Each notification request MUST include the access token. An abolute reference to the CarePlan-resource that defines the context in which the data request takes place MUST NOT be included.
Resource access
Resource | CRUDS | Audience/attributes/rules |
---|---|---|
Incoming notification | C | All (healthcare)organizations that expose a Care Plan Service endpoint |
* | RUDS | Not allowed |
Operations that are not mentioned in the above table MUST not be supported.
The Care Plan Contributor shares use case specific data with the other Care Plan Contributor(s) or Care Plan User(s)
within the use case. This data is read-only by nature. Access rules are not so much defined on resource type level,
instead, they are defined in resource instance level, where resources relative to the CarePlan and related entities are
filtered within the scope of the request. The X-SCP-Context
header provided the context of the request. The Data
Holder SHOULD use the following content to apply the access rules:
The access and filtering rules COULD be articulated in a tabular format that make use of specific data related to this context, for example:
CarePlan.subject
The patient
related to the resource.CarePlan.addresses[Condition].code
The type of condition
, like COPD.CarePlan.activity[ServiceRequest].code
The type of service
, like Home monitoring.An example rules for home monitoring could look like the following:
Condition.code | Request.code | Resource |
---|---|---|
* | * | Patient?id=patient.id |
13645005 (Chronic obstructive pulmonary disease (disorder)) | 719858009 (Telehealth monitoring) | Condition?subject=patient&category=[all somatic conditions] |
* | 719858009 (Telehealth monitoring) | CarePlan?id=CarePlan.id |
* | 719858009 (Telehealth monitoring) | CareTeam?subject=patient.id |