Skip to main content

Care Team

Care teams are used for data sharing between patients and practitioners.

A care team consists of a group of participants (caregivers) fulfilling specific roles for a specific subject (patient). In the future, we would like to add support for subject groups, but today every patient has their own team. A patient can have multiple care teams. In that case, it makes sense to name them explicitly, for example one team named "Knee revalidation" and one team named "Mental coaching".

Data privacy. Care teams are essential for data sharing, without a care team, patient data is 100% private by default. Administrators can manage the care team for any user though, thereby opening up their data to care givers. Another way to access patient data is using integrations.

A member does not have a care team when starting out, so let's create it. A name is optional but recommended. If the member already has a care team with the provided name, the existing team is returned and the creation is cancelled. This means you don't have to worry about duplicates.

axios.post('/api/careteam', { subjectId: 11, name: 'Mental coaching' })

Next step is to add participants.

axios.post('/api/careteam-participant', {
careteamId: 4,
memberId: 12,
roleIds: [2],
})