Closed sjathin closed 3 years ago
User attributes can be added and enrolled.
While registering doctor the body must look like:
{ "hospitalId": 1, "role": "doctor", "userId": "HOSP001-DOC004", "firstName": "DoctorName", "lastName": "LastName" }
For registering patient the body must look like
{ "hospitalId": 2, "role": "patient", "userId":"HOSP002-PAT003", ... }
The output for /doctors/:hospitalId/_all :
[ { "id": "HOSP001-DOC004", "role": "doctor", "firstName": "DoctorName", "lastName": "LastName" } ]
Task linked: CU-d54c0c Get all doctors filtered by hosp
User attributes can be added and enrolled.
While registering doctor the body must look like:
For registering patient the body must look like
The output for /doctors/:hospitalId/_all :