Can I get some help with enabling patient registr...
# general
k
Can I get some help with enabling patient registration on my project? Project Id:
c700e180-d341-410a-a7d2-977e003fc4d5
https://www.medplum.com/docs/tutorials/security/access-control#patient-access I've added an AccessPolicy called Patient Access Policy: Guid:
bbda74a8-2fd2-48f8-8b01-d69b742373d4
Thanks in advance!
r
I'll add that to your project now 🙂
This should be done!
k
Thank you!
This worked great! Open sign up now works, but the newly created patient account doesn't seem to have access to much: e.g. health-record care-plan get-care messages work though
i'm getting a 403 error via the network when accessing resources
c
Hi Kevn -- good question. The patient access policy template needs to include resources for the patient. For example, here is the template we use in FooMedical: https://gist.github.com/codyebberson/3cc779c7fbdbbe580e5dcef7dd31d50c
Let us know if you'd like to schedule some time to go over that
k
Thank you so much! Got it working! 🙂 I understand what
resource[]
is referring to. What are
compartment
? https://gist.github.com/codyebberson/3cc779c7fbdbbe580e5dcef7dd31d50c#file-example-patient-access-policy-json-L5
nvm > If this field is set, any resources created by a user with this access policy will automatically be included in the specified compartment. understood, thanks!
follow up question, in the UI, I Can set a compartment referencing a patient: What does this do? 😛 it seems like I can't "clear the selection" from the UI
179 Views