Endpoints that begin with /profile/patient give access to resources based on the currently authenticated user and its role patient.
The Profile Scope provides the following endpoints:
Read the currently authenticated Patient
GET /profile/patient
Access Level: Authorized
Parameters: none
Return Value: Patient
Update the currently authenticated Patient
POST /profile/patient
Access Level: Authorized
Parameters: Patient
Return Value: Patient (updated)
Create an appointment for the currently authenticated Patient
POST /profile/patient/appointments
Access Level: Authorized
Parameters:
Return Value: Appointment (including id)