eHealth Infrastructure
2.7.0 - Release 14

eHealth Infrastructure - Local Development build (v2.7.0). See the Directory of published versions

OperationDefinition: Is context allowed

Official URL: https://careplan.devtest.systematic-ehealth.com/fhir/OperationDefinition/EpisodeOfCare-i-is-context-allowed Version: 2.7.0
Active as of 2023-03-20 Computable Name: 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