<@963922231224844359> I sent you an email about Pa...
# general
b
@rahul1 I sent you an email about Patient Access: https://www.medplum.com/docs/tutorials/security/access-control#patient-access Do you need to setup an default access policy to allow an open signup?
r
Yes! If you create a new "AccessPolicy" resource, and send me the link to the resource, I can install that into you're account as the "Default Patient Access Policy"
b
And then can I just change the policy? Or do you have to reinstall it every time I change it?
r
You can just change it 🙂 I'll just establish a link to that specific resource Id
One thing to note - teh Access Policy currently gets cloned for every patient when they register - so changes won't affect patients who have already signed up
We're working on changing that behavior
While we're at it, do you mind I ask a little bit about your use case? What company are you working for, and what kind of application are you building?
b
No company yet. I'm experimenting with some ideas of sharing exams between patients and doctors. Basically from some observation by doctors that health insurance plans (in Brazil) spend a lot of unnecessary money from repeated exams. I found Medplum promising because of your FHIR implementation (also some free components), that can simplify the integration with clinics if the idea makes sense in the future.
r
Sounds amazing! So you plan to have patients log into your application?
b
Yes, and they can also upload their own exams.
r
Got it. Yep so as soon as you create that Access policy resource, I'll hook it up and you should be good to go with patient registration
b
Just sent you an email with the policy.
r
actually nvm, i do not need that
b
Could you let me know when you have it ready?
r
Yes . It will be a bit later today
b
Sounds good.
r
Sorry for the delay, this policy should be active 🙂
b
Patient registering worked like a charm. Thanks.
Hi @rahul1 one question here. I'm trying to run medplum myself. Do you set the
defaultAccessPolicy
straight on the database or do you have a nice script to set it?
c
Hi @brunofonseca5428 - In the short term, you can sign-in as a "Super Admin" (the super admin account was created when you first initialized the server). As a Super Admin, you can set the defaultAccessPolicy by browsing to http://localhost:3000/Project , selecting the project, clicking "Edit", etc. We're preparing to add "default access policy" to the project admin page, so that project admins will be able to self administer without super admin involvement. Hopefully that will be available next week.
b
Thanks nice. Thanks @cody
186 Views