Maintaining the set of CareTeams in an Episode of Care
Technical description of how to maintain the set of CareTeams in an Episode of Care
Over the lifecycle of an EpisodeOfCare, the set of CareTeam involved might change. Adjustment of CareTeam involved can be performed a number of ways:
Through EpisodeOfCare Patch
Setting the
EpisodeOfCare.team
Setting the scheduled team changes in
EpisodeOfCare.ehealth-teamschedule
Through EpisodeOfCare$update-care-teams
CareTeam Handover and Unhandled Tasks
The CareTeams involved in an EpisodeOfCare have access to the EpisodeOfCare, all CarePlan related to it, and all measurements related to ServiceRequest related to the CarePlan and so on (provided the appropriate Role-based access privileges are present for a user using the CareTeam). For Task resources currently created automatically by the infrastructure, the set of CareTeam involved in an EpisodeOfCare are not designated as Task responsible.
There might, however, still exist Task created by other means, for instance Task created on user initiative in a solution. For these, it should be considered whether a change in the set of CareTeam involved in the EpisodeOfCare should also result in adjusting of Task.taskResponsible
(by adding CareTeam added to the EpisodeOfCare).