Open Patient Registration
Introduction
Most patient facing healthcare apps ask patients to self-enroll through a registration flow.
OpenOrchid projects can be easily configured to allow open patient registration so that patients can sign up for OpenOrchid accounts without being invited by a project administrator.
Enabling Open Patient Registration
Open registration stays off until the project opts in and has a Patient access policy:
- Turn on
openPatientRegistration- Add an entry toProject.settingwithnameopenPatientRegistrationandvalueBooleantrue. - Set the Patient access policy - Self-registered patients receive the
Patiententry inProject.defaultAccessPolicies. New projects already have that entry, scoped to the patient's own data. Replace it to use a differentAccessPolicy. If thePatiententry is absent, registration falls back to the deprecatedProject.defaultPatientAccessPolicyfield.
Anyone who knows the project ID can then register as a Patient and receives that policy. To turn open registration off, set openPatientRegistration to false or remove it. Removing the Patient policy also turns it off. Changes affect future registrations only, not existing patients.
{
"resourceType": "Project",
"setting": [
{
"name": "openPatientRegistration",
"valueBoolean": true
}
],
"defaultAccessPolicies": [
{
"profileType": "Patient",
"accessPolicy": { "reference": "AccessPolicy/example-patient-policy" }
}
]
}
defaultPatientAccessPolicy is deprecated. Open registration, patient invites that omit an access policy, and SCIM patient provisioning all prefer the Patient entry in defaultAccessPolicies, and use defaultPatientAccessPolicy only when that entry is absent. The openPatientRegistration setting is what turns self-registration on. A Patient policy by itself does not. Invites and SCIM do not require the setting. SCIM refuses to create a Patient when neither policy is set.