eHealth Infrastructure (v2020.8)

is-context-allowed

OPERATION: is-context-allowed

The official URL for this operation definition is:

http://ehealth.sundhed.dk/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed

Checks that it is allowed to set an EpisodeOfCare as context. If the user requesting context is a patient, then the patient input parameter should be specified. If the user requesting context is a practitioner, then the careTeam input parameter should be specified. Throws an exception if it is not allowed to select the Episode Of Care context.

Output

For valid Episode of Care is returned references that cause the Episode of Care to be valid context. For a practitioner, two output parameters will be returned on success: - CareTeam: The Careteam that gave access - EpisodeOfCare/CarePlan: The EpisodeOfCare or CarePlan that referenced the CareTeam

URL: [base]/EpisodeOfCare/[id]/$is-context-allowed

Parameters

UseNameCardinalityTypeBindingDocumentation
INpatient0..1Reference
INcareTeam0..1Reference
OUTreturn0..1Parameters