Skip to content

User/Patient Relationship #108

Answered by cbaker6
wmfeuvrel asked this question in Q&A
Mar 27, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi Michael, thanks for your question. Below I will discuss how the relationships can be established, but they will differ depending on your app requirements:

While the entity Task has a pointer to care plan, and carePlan a pointer to Patient, no such relationship appears to exist for User/Patient.

This is true. The following relationships are all based on CareKit only (I don't add anything custom to these because everyone will use CareKit differently):

  • OCKPatient <-> Patient
  • OCKCarePlan <-> CarePlan
  • OCKTask <-> Task
  • OCKHealthKitTask <-> HealthKitTask
  • OCKContact <-> Contact
  • OCKOutcome <-> Outcome
  • OCKRevisionRecord.Clock <-> Clock

So any links between them are based on whatever CareKit'…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wmfeuvrel
Comment options

Answer selected by cbaker6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #107 on March 27, 2021 18:55.