/
RCC_Scopes model (CR-183, CSI-3528)
  • In progress
  • ЕСОЗ - публічна документація

    RCC_Scopes model (CR-183, CSI-3528)

    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

    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

    scopes

    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

     

    ЕСОЗ - публічна документація