Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

scope

resource

Опис

service_request:read_impersonal

GET /api/specimens/{specimen_id}/service_requests

 

confidant_person_relationship_request:write

POST /api/persons/{id}/confidant_person_relationship_requests
POST /api/persons/{id}/confidant_person_relationship_requests/deactivate
PATCH /api/persons/{id}/confidant_person_relationship_requests/{confidant_person_relationship_request_id}/actions/approve
POST /api/persons/{id}/confidant_person_relationship_requests/{confidant_person_relationship_request_id}/actions/resend_otp

Створення звʼязку з довіреною особою

confidant_person_relationship:read

GET /api/persons/{id}/confidant_person_relationships

Отримати лист існуючих зв'язків з довіреними особами

device_definition:write

CreateDeviceDefinition (GraphQL)

 

Client scopes

This scopes is set for each client according to client type. And controlled by client API key (secret)

name

scope

MSP

confidant_person_relationship_request:write confidant_person_relationship:read

PRIMARY_CARE

confidant_person_relationship_request:write confidant_person_relationship:read

OUTPATIENT

confidant_person_relationship_request:write confidant_person_relationship:read

Roles scopes

This scopes is set for each client according to client role. And controlled by client API key.

...

role

...

role

scopes

DOCTOR

confidant_person_relationship_request:write confidant_person_relationship:read

ASSISTANT

confidant_person_relationship:read

SPECIALIST

confidant_person_relationship_request:write confidant_person_relationship:read

 

RECEPTIONIST

confidant_person_relationship:read

 

MED_COORDINATOR

confidant_person_relationship:read