Clinic Project
Here is a tutorial for creating a "Clinic" project in Accelerator Platform -
Sign-in as root user in the accelerator platform instance.
As a root user, create a Clinic organization using the below code
Two user types will be created in the Clinic organization : Providers and Patients.
Create Provider Object with fields like Name and Email using the below code -
Create Patient Object with fields like name, email, provider using the below code -
Both Providers and Patients will have different policies to accommodate their respective requirements. Create Provider's data access policy using the below code -
As Providers can access the data of Patient, create Provider's Access To Patients Data using the below code -
Create Patient's data access policy using the below code -
As Patient's can access the basic information of the Provider, create Patient’s Access to Providers using the below code -
As root user, add data into Provider's Object using below code -
View the list of providers in Provider's Object using the below code
As root user, invite Providers who can later invite Patients using the below code
Once Provider receives the invite, they can register and login into the platform using the below code -
Once registration is complete, provider can authorize them using below code -
Once Provider login into the platform, they can start adding patients data using the below code-
View the list of patient using the below code
Last updated