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

Scopes model (CR-207)

Roles and scopes are used to simplify Users access management to system services and resources.

Role scopes limits list of scopes that User can have. By changing Role scopes this change will immediately propagate to all users within role.

There are three groups of Role scopes

All scopes

scope

resource

Опис

scope

resource

Опис

otp:read

GET /api/verifications/phone_number

Перевірка чи веріфікований номер телефону в системі

authentication_method_request:write

POST /api/persons/id/authentication_methods
PATCH /api/persons/id/authentication_methods/request_id/actions/approve
POST /api/persons/id/authentication_methods/request_id/actions/resend_otp

Зміна методів автентифікації.

authentication_factor:write

PATCH /api/users/{user_id}/authentication_factors{2fa_id}/actions/reset
PATCH mithril/api/users/{user_id}/authentication_factors{2fa_id}/actions/disable
PATCH mithril/api/users/{user_id}/authentication_factors{2fa_id}/actions/enable
POST api/mithril/users/{user_id}/authentication_factors

Зміна двофакторної авторизації.

authentication_factor:read

GET /api/users/{user_id}/authentication_factors

Отримання даних двофакторної авторизації.

allergy_intolerance:read

GET /api/patients/{{patient_id}}/allergy_intolerances/{{allergy_intolerance_id}}
GET /api/patients/{{patient_id}}/allergy_intolerances

Отримання деталей алергії.

bl_user:write

POST /black_list_users

Блокування користувача системи.

bl_user:read

GET /black_list_users

Отримання інформації про заблокованих користувачів.

bl_user:deactivate

PATCH /black_list_users/{id}/actions/deactivate

Деактивація блокування користувача.

composition:create

POST /patients/composition

Створення медичного висновку.

composition:sign

PATCH /patients/composition/{compositionId}/sign

Підписання медичного висновку.

composition:cancel

PATCH /patients/composition/{compositionId}/cancel

Відміна медичного висновку.

composition:read

GET /patients/{patientId}/composition/{compositionId}/episode/{episodeId}/encounter/{encounterId}

Отримання медичного висновку.

composition:search

GET /patients/{patientId}/composition

Пошук медичного висновку.

employee:deactivate

PATCH /api/employees/:id/actions/deactivate

Деактивація співробітника.

division:write

POST /api/divisions

Створення підрозділу.

division:read

GET /api/divisions

Отримання інформації про підрозділ.

division:details

GET /api/divisions/:id

Отримання деталей підрозділу.

division:activate

PATCH /api/divisions/:id/actions/activate

Активування підрозділу.

division:deactivate

PATCH /api/divisions/:id/actions/deactivate

Деактивація підрозділу.

 

POST /api/declaration_requests

 

declaration_request:write

POST /api/v2/declaration_requests
PATCH /api/declaration_requests/:id/actions/approve
PATH /api/declaration_requests/:id/actions/reject

POST /api/v3/declaration_requests
PATCH /api/v3/declaration_requests/:id/actions/approve
PATCH /api/v3/declaration_requests/:id/actions/reject

Створення запиту на декларацію.
Підтвердження створення декларації.
Відхилення створення декларації.

Створення запиту на декларацію Версія3 Підтвердження створення декларації Версія3
Відхилення створення декларації Версія3

declaration_request:sign

PATCH /api/declaration_requests/:id/actions/sign

PATCH /api/v3/declaration_requests/:id/actions/sign

Підпис декларації.

Підпис декларації Версія3

declaration_request:read

GET /api/declaration_requests/:id
GET /api/declaration_requests

GET /api/v3/declaration_requests/:id
GET /api/v3/declaration_requests

Отримання інформації про запит декларації.


Отримання інформації про запит декларації Версія3

otp:write

POST /api/declaration_requests/:id/actions/resend_otp

POST /api/v3/declaration_requests/:id/actions/resend_otp

Додаткове відправлення повідомлення для підтвердження дій

declaration:read

GET /api/declarations

Отримання деталей декларації.

employee_request:read

GET /api/employee_requests

Отримання інформації про запрошення співробітника.

employee_request:write

POST /api/employee_requests
createEmployeeRequest mutation

Створення запрошення співробітника.

employee_request:approve

POST /api/employee_requests/:id/approve

Підтвердження запрошення співробітника.

employee_request:reject

POST /api/employee_requests/:id/reject

Відхилення запрошення співробітника.

employee:read

GET /api/employees

Отримання інформації про запис співробітника.

employee:write

PATCH /api/employees/:id

Оновлення інформації про співробітника.

employee:details

GET /api/employees/:id

Отримання деталей запису співробітника.

legal_entity:mis_verify

PATCH /api/legal_entities/{{legal_entity_id}}/actions/mis_verify

Верифікація закладу через МІС.

employee_request:read

GET /api/employee_requests

Отримання інформації про запрошення співробітника.

declaration_request_images:read

GET /api/declaration_requests/{id}/images

Отримання зображень сканованих документів пацієнта.

innm:write

POST /innms

Створення/оновлення інформації про МНН.

innm:read

GET /innms

Отримання інформації про МНН.

innm_dosage:write

POST /innm_dosages

Створорення/оновлення інформації про форму випуску.

innm_dosage:deactivate

PATCH /innm_dosages/{id}/actions/deactivate

Деактивація форми випуску.

innm_dosage:read

GET /innm_dosages

Отримання інформації про форму випуску.

medication:write

POST /medications

Створення/оновлення інформації про торгівельну назву лікарського засобу.

medication:read

GET /medications

Отримання інформації про торгівельну назву лікарського засобу.

medication:deactivate

PATCH /medications/:id/actions/deactivate

Деактивація торгівельної назви лікарського засобу.

drugs:read

GET /api/drugs

Отримання переліку лікарських засобів.

medication_request_request:write

POST /api/medication_request_requests

Створення запиту на рецепт.

medication_request_request:read

GET /api/medication_request_requests

Отримання інформації про запит на рецепт.

medication_request_request:sign

PATCH /api/medication_request_requests/{id}/actions/sign

Підпис запиту на рецепт

medication_request_request:reject

PATCH /api/medication_request_requests/{id}/actions/reject

Відхилення створення запиту на рецепт.

medication_request:read

GET /api/medication_requests

Отримання переліку рецептів.

medication_request:details

GET /api/medication_requests

Отримання деталей рецепту.

medication_request:reject 

PATCH /api/medication_requests/{id}/actions/reject

Відклик рецепту.

medication_request:resend

PATCH /api/medication_requests/{id}/actions/resend

Повторне надсилання номеру рецепту.

medication_request: block

PATCH /api/medication_requests/{id}/actions/block

Блокування рецепту співробітником НСЗУ

PATCH /api/medication_requests/{id}/actions/unblock

Розблокування рецепту співробітником НСЗУ

medication_dispense:write

POST /medication_dispenses

Створення запиту на відпуск рецепту.

medication_dispense:read

GET /medication_dispenses

Отримання інформації про відпущені рецепти.

medication_dispense:process

PATCH /medication_dispenses/{id}/actions/process

Підтвердження відпуску рецепту.

medication_dispense:reject

PATCH /medication_dispenses/{id}/actions/reject

Відкликання погашення рецепту.

person:reset_authentication_method

PATCH /api/persons/{id}/action/reset_authentication_method

Скидання методу авторизації пацієнта.

reimbursement_report:read

GET /api/reimbursement_report

Створення звіту по реімбурсації.

user:read

Перегляд користувача

Перегляд користувача.

user:block

PATCH /api/users/{id}/actions/block

Заблокувати користувача.

user:unblock

PATCH /api/users/{id}/actions/unblock

Розблокувати користувача.

user:request_factor

PATCH /api/users/actions/request_factor

Запит на зміну фактору аутентифікації.

user:approve_factor

PATCH /api/users/actions/approve_factor

Підтвердження зміни фактору аутентифікації.

contract_request:create

POST /api/contract_requests
POST /api/contract_requests/{id}

Створення запиту на зміну контракту.

contract_request:read

GET /api/contract_requests
GET /api/contract_requests/{id}
GET /api/contract_requests/{id}/signed_content
GET /api/contract_requests/{id}/printout_content

Запит на інформацію про контракт.

contract_request:approve

PATCH /api/contract_requests/{id}/actions/approve_msp

Затвредження запиту на контракт.

contract_request:update

PATCH /api/contract_requests/{id}
PATCH /api/contract_requests/{id}/actions/approve
PATCH /api/contract_requests/{id}/actions/decline

Запит на зміну контракту.

contract_request:sign

PATCH /api/contract_requests/{id}/actions/sign_nhs
PATCH /api/contract_requests/{id}/actions/sign_msp

Запит на підпис контракту.

contract_request:terminate

PATCH /api/contract_requests/{id}/actions/terminate

Запит на призупинення контракту.

contract:read

GET /api/contracts
GET /api/contracts/{id}
GET /api/contracts/{id}/employees

Запит на контракт.

contract:write

GET /api/contracts/{id}/employees/actions/update

Оновлення контракту.

contract:terminate

GET /api/contracts/{id}/actions/terminate

Призупинення контракту.

capitation_report:read

GET /api/capitation_reports
GET /api/capitation_report_details

Запит на отримання звіту по капітації.

client:read

GET /api/clients
GET /api/clients/{id}

Перегляд клієнтів.

connection:read

GET /api/clients/{id}/connections
GET /api/clients/{id}/connections/{id}



connection:write

PATCH /api/clients/{id}/connections/{id}

 

connection:refresh_secret

PATCH /api/clients/{id}/connections/{id}/actions/refresh_secret

 

connection:delete

DELETE /api/clients/{id}/connections/{id}

 

job:read

GET /api/jobs/{{job_id}}

Отримання результатів обробки задачі в eHealth.

episode:write

POST /api/patients/{{patient_id}}/episodes
PATCH /api/patients/{{patient_id}}/episodes/{{episode_id}}
PATCH /api/patients/{{patient_id}}/episodes/{{episode_id}}
PATCH api/patients/{{patient_id}}/episodes/{{episode_id}}/actions/close
PATCH /api/patients/{{patient_id}}/episodes/{{episode_id}}/actions/cancel

Створення епізоду медичної допомоги.

episode:read

GET /api/patients/{{patient_id}}/episodes
GET /api/patients/{{patient_id}}/episodes/{{episode_id}}

Отримання деталей епізоду медичної допомоги.

encounter:write

POST /api/patients/{{patient_id}}/encounter_package
PATCH /api/patients/{{patient_id}}/encounter_package

Створення взаємодії.

encounter:read

GET /api/patients/{{patient_id}}/encounters/{{encounter_id}}
GET /api/patients/{{patient_id}}/encounters

Отримання деталей взаємодії.

condition:read

GET /api/patients/{{patient_id}}/conditions
GET /api/patients/{{patient_id}}/conditions/{{condition_id}}

Отримання деталей медичного стану.

observation:read

GET /api/patients/{{patient_id}}/observations/{{observation_id}}
GET /api/patients/{{patient_id}}/observations

Отримання деталей спостереження/виміру.

immunization:read

GET /api/patients/{{patient_id}}/immunizations/{{immunization_id}}
GET /api/patients/{{patient_id}}/immunizations

Отримання деталей запису про імунізацію.

legal_entity:merge

mergeLegalEntities(input: MergeLegalEntitiesInput!): MergeLegalEntitiesPayload

Реорганізація ЗОЗ.

related_legal_entities:read

GET /legal_entities/{{id}}/related{?page,page_size}
query legalEntities( $first: Int! $filter: LegalEntityFilter $orderBy: LegalEntityOrderBy)

Отримання деталей підпорядкованих закладів.

legal_entity_merge_job:read

query LegalEntitiesMergeJobsQuery($first: Int!, $filter: LegalEntityMergeJobFilter, $orderBy: LegalEntityMergeJobOrderBy)

Реорганізація ЗОЗ: задачі в обробці.

service_request:write

POST /api/patients/{{patient_id}}/service_requests

POST /api/patients/{{patient_id}}/service_requests/prequalify

Створення направлення.

service_request:read

GET /api/patients/{{patient_id}}/episodes/{{episode_id}}/service_requests

GET /api/patients/{{patient_id}}/episodes/{{episode_id}}/service_requests/{{service_request_id}}



Отримання деталей направлення.

service_request:use

PATCH /api/service_requests/{{service_request_id}}/actions/use

PATCH /api/service_requests/{{service_request_id}}/actions/release

POST /api/service_requests/{{service_request_id}}/actions/qualify

PATCH/api/patients/{{patient_id}}/service_requests/{{service_request_id}}/actions/resend

Використання направлення.

service_request:makeinprogress

PATCH /api/service_requests/{{service_request_id}}/actions/process

Обробка направлення.

service_request:complete

PATCH /api/service_requests/{{service_request_id}}/actions/complete

Погашення направлення.

service_request:recall

PATCH /api/patients/{{patient_id}}/service_requests/{{service_request_id}}/actions/recall

Відкликання направлення.

service_request:cancel

PATCH /api/patients/{{patient_id}}/service_requests/{{service_request_id}}/actions/cancel

Відміна направлення.

patient_summary:read

GET /api/patients/{{patient_id}}/summary/episodes
GET /api/patients/{{patient_id}}/summary/immunizations
GET /api/patients/{{patient_id}}/summary/immunizations/{{id}}
GET /api/patients/{{patient_id}}/summary/allergy_intolerances
GET /api/patients/{{patient_id}}/summary/allergy_intolerances/{{id}}
GET /api/patients/{{patient_id}}/summary/observations
GET /api/patients/{{patient_id}}/summary/observations/{{id}}
GET /api/patients/{{patient_id}}summary/conditions
GET /api/patients/{{patient_id}}/summary/conditions/{{id}}
GET /api/patients/{{patient_id}}/summary/diagnoses
GET /api/patients/{{patient_id}}/summary/risk_assessments/{{id}}

GET /api/patients/{{patient_id}}/summary/risk_assessments
GET /api/patients/{{patient_id}}/summary/devices/{{id}}
GET /api/patients/{{patient_id}}/summary/devices
GET /api/patients/{{patient_id}}/summary/medication_statements/{{id}}
GET /api/patients/{{patient_id}}/summary/medication_statements/
GET /api/patients/{{patient_id}}/summary/diagnostic_reports/{{id}}
GET /api/patients/{{patient_id}}/summary/diagnostic_reports/

Отримання зведеної інформації пацієнта.

procedure:write

POST /api/patients/{{id}}/procedure

Створення процедури.

procedure:cancel

PATCH /api/patients/{{id}}/procedure

Відміна процедури

procedure:read

GET /api/patients/{{id}}/procedure

Отримання деталей процедури.

risk_assessment:read

GET /api/patients/{{patient_id}}/risk_assessments/{{id}}
GET /api/patients/{{patient_id}}/risk_assessments

Отримання деталей оцінки ризику.

device:read

GET /api/patients/{{patient_id}}/devices/{{id}}
GET /api/patients/{{patient_id}}/devices

Отримання даних пристрою.

medication_statement:read

GET /api/patients/{{patient_id}}/medication_statements/{{id}}
GET /api/patients/{{patient_id}}/medication_statements/

Отримання деталей прийому лікарських засобів пацієнтом.

diagnostic_report:read

GET /api/patients/{{patient_id}}/diagnostic_reports/{{id}}
GET /api/patients/{{patient_id}}/diagnostic_reports/

Отримання даних по діагностичному звіту.

diagnostic_report:write

POST /api/patients/{{patient_id}}/diagnostic_report_package

Створення діагностичного звіту.

diagnostic_report:cancel

PATCH /api/patients/{{patient_id}}/diagnostic_report_package

Відміна даних по діагностичному звіту.

medication_administration:read

GET /api/patients/{{patient_id}}/medication_administrations/{{id}}
GET /api/patients/{{patient_id}}/medication_administrations/

Отримання деталей запису про прийом лікарських засобів.

healthcare_service:read

GET /api/healthcare_services/
GET /api/healthcare_services/id

Перегляд медичних послуг.

healthcare_service:write

POST /api/healthcare_services
PATCH /api/healthcare_services/id
PATCH /api/healthcare_services/id/actions/activate
PATCH /api/healthcare_services/id/actions/deactivate

Створення медичних послуг.

employee_role:read

GET /api/employee_roles/
GET /api/employee_roles/id

Перегляд ролей користувачів.

employee_role:write

POST /api/employee_roles
PATCH /api/employee_roles/id/actions/deactivate

Надання ролі користувачу.

person_request:read

GET /api/person_requests
GET /api/person_requests/id

Отримання інформації щодо заявки на реєстрацію пацієнта.

person_request:write

POST /api/person_requests
PATCH /api/person_requests/id/actions/approve
PATCH /api/person_requests/id/actions/sign
PATCH /api/person_requests/id/actions/reject
POST /api/person_requests/id/actions/resend_otp

Реєстрація ідентифікованого пацієнта.

preperson:write

POST /api/prepersons
PATCH /api/prepersons

Зміна даних неідентифікованого пацієнта.

preperson:read

GET /api/prepersons 

Отримання даних про неідентіфікованого пацієнта.

merge_request:write

POST /api/merge_requests
POST /api/merge_requests/id/actions/resend_otp
PATCH /api/merge_requests/id/actions/reject
PATCH /api/merge_requests/id/actions/approve

Приєднання записів неідентифікованого пацієнта до ідентифікованого.

merge_request:sign

PATCH /api/merge_requests/id/actions/sign

Підписання запиту на приєднання записів.

merge_request:read

GET /api/merge_requests
GET /api/merge_requests/id/ 

Отримання даних по приєднанню записів

person:read

GET /api/persons/id/authentication_methods
GET /api/persons

Отримання даних про пацієнта.

event:read

 

Перегляд івентів.

equipment:read

 

Перегляд обладнання.

legal_entity_merge_job:read

 

Реорганізація ЗОЗ: задачі в обробці.

global_parameters:read

 

Отримання деталей конфігурації системи.

service_request:use

 

Використання направлення.

party_user:read

 

Отримання даних party_user.

equipment:write

 

Створення обладнання.

risk_assessment:read

 

Отримання деталей оцінки ризику.

reimbursement_report:download

 

Звіт по реімбурсації.

user:change_password

 

Зміна паролю.

employee_role:write

 

Створення ролей працівників.

risk_assessment:write

 

Створення оцінки ризику.

declaration:approve

 

Підтвердження дійсності декларації з offline авторизацією.

medical_program:read

 

Отримання інформації про медичну програму.

user:write

 

Зміна даних пацієнта.

person:write

 

Зміна користувача.

dictionary:write

 

Оновлення словників.

global_parameters:write

 

Зміна деталей конфігурації системи.

cabinet:read

 

Доступ до персонального кабінету.

app:read

 

Перегляд персональних даних.

token:write

 

Зміна токенів.

declaration_documents:read

 

Отримання документів по декларації.

role:read

 

Отримання переліку ролей системи.

legal_entity:deactivate

 

Деактивація закладу.

person_merge:write

 

Створення запиту на зв'язування персон.

legal_entity_deactivation_job:read

 

Деактивація закладу (візуалізація задачі).

employee_roles:read

 

Перегляд ролей працівників.

secret:refresh

 

Оновлення сікрету.

allergy_intolerance:write

 

Створення алергії.

program_medication:write

 

Створення учасника медичної програми.

token:read

 

Перегляд токенів.

declarations_termination_job:read

 

Деактивація декларацій (візуалізація задач).

address:write

 

Оновлення адрес.

declaration:reject

 

Відхилення декларації з offline авторизацією.

legal_entity:nhs_verify

 

Верифікація закладу через портал НСЗУ.

client:write

 

Зміна клієнтів.

client_type:delete

 

Видалення типів клієнтів.

observation:write

 

Створення спостереження/виміру.

persons_deactivation_job:read

 

Деактивація персон (візуалізація задач).

medical_program:write

 

Створення медичної програми.

program_medication:deactivate

 

Деактивація учасника медичної програми.

app:authorize

 

Авторизація в системі.

medication_statement:read

 

Отримання деталей прийому лікарських засобів пацієнтом.

encounter:cancel

 

Позначення взаємодії як введеної помилково.

user:delete

 

Видалення користувача.

token:delete

 

Видалення токенів.

app:delete

 

Видалення персональних даних.

declaration:write

 

Створення декларації.

register:write

 

Створення реєстру.

employee_request:write

 

Створення запрошення співробітника.

medical_program:deactivate

 

Деактивація медичної програми.

declaration_request:read

 

Отримання інформації про запит декларації.

client_type:read

 

Перегляд типів клієнтів.

device:write

 

Створення пристрою.

role:delete

 

Видалення ролей системи.

immunization:write

 

Створення запису про імунізацію.

person_merge:read

 

Отримання даних про запит на зв'язування персон.

medication_administration:write

 

Створення запису про прийом лікарських засобів.

employee:read

 

Отримання інформації про запис співробітника.

declaration_request:terminate

 

Термінація запиту на декларацію.

medication_statement:write

 

Створення прийому лікарських засобів пацієнтом.

program_medication:read

 

Отримання інформації про учасників медичної програми.

declaration:terminate

 

Розірвання декларації.

register:read

 

Отримання реєстру.

app:write

 

Зміна персональних даних.

register_entry:read

 

Введення даних в реєстр.

role:write

 

Зміна ролей системи.

person:deactivate

 

Деактивація персон за реєстрами.

client:delete

 

Видалення клієнтів.

condition:write

 

Створення медичного стану.

legal_entity:update

 

Оновлення статусу закладу.

client_type:write

 

Зміна типів клієнтів.

private_contracts:write

POST /api/admin/contracts
PUT /api/admin/contracts
PATCH /api/admin/contracts
POST /api/admin/contract_divisions
PUT /api/admin/contract_divisions
PATCH /api/admin/contract_divisions
POST /api/admin/contract_employees
PUT /api/admin/contract_employees
PATCH /api/admin/contract_employees
POST /api/admin/contracts/media_storage/generate_url

 

private_contracts:read

GET /api/admin/contracts
GET /api/admin/contracts/id
GET /api/admin/contract_divisions
GET /api/admin/contract_divisions/id
GET /api/admin/contract_employees
GET /api/admin/contract_employees/id

 

care_plan:write

POST /api/patients/{{patient_id}}/care_plans

POST /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/activities

PATCH /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/actions/cancel

PATCH /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/actions/complete

PATCH /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/activities{{activity_id}}/actions/cancel

PATCH /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/activities{{activity_id}}/actions/complete

 

care_plan:read

GET /api/patients/{{patient_id}}/care_plans

GET /api/patients/care_plans?requisition
GET /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}

GET /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/activities

GET /api/patients/{{patient_id}}/care_plans/{{care_plan_id}}/activities/{{activity_id}}

 

approval:read

GET /api/patients/{{patient_id}}/approvals

GET /api/patients/{{patient_id}}/approvals/{{approval_id}}

 

approval:cancel

PATCH /api/patients/{{patient_id}}/approvals/{{approval_id}}/actions/cancel

 

forbidden_group:read

GET /api/forbidden_groups

Повертає перелік активних заборонених груп

forbidden_group:write

 

 

forbidden_group:details

 

 

medical_program_provision:write

POST /api/medical_program_provision

PATCH /api/medical_program_provision/{{id}}/actions/deactivate

 

medical_program_provision:read

GET /api/medical_program_provision

 

General

This scopes is set for all clients and users without authorization

scope

resource

scope

resource

dictionary:read

GET /api/dictionaries

address:read

GET /api/uaddresses



get "/employee_requests/:id"



post "/employee_requests/:id/user

forbidden_group:read

GET /api/forbidden_groups





get "/dictionaries", DictionaryController, :index patch "/dictionaries/:name", DictionaryController, :update get "/employee_requests/:id", EmployeeRequestController, :show post "/employee_requests/:id/user", EmployeeRequestController, :create_user

Client scopes

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





name

scope

name

scope

UADDRESSES ADMIN

address:write address:read user:request_factor user:approve_factor

Mithril ADMIN

app:delete app:read app:write client:delete client:read client:write client_type:delete client_type:read client_type:write role:delete role:read role:write token:delete token:read token:write user:delete user:read user:write user:block user:unblock authentication_factor:write authentication_factor:read user:request_factor user:approve_factor

Auth_FE

app:authorize employee_request:approve employee_request:reject user:request_factor user:approve_factor user:change_password profile:read

NHS ADMIN

bl_user:deactivate bl_user:read bl_user:write declaration:approve declaration:approve declaration:read declaration:reject declaration:write declaration_documents:read declaration_request:read declaration_request:write dictionary:write employee:deactivate employee:read employee:write employee_request:read employee_request:write global_parameters:read global_parameters:read global_parameters:write global_parameters:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:deactivate legal_entity:nhs_verify legal_entity:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read merge_candidate:assign party_user:read person:reset_authentication_method program_medication:read program_medication:write user:approve_factor user:request_factor reimbursement_report:download declaration:terminate register:write register:read register_entry:read person:read legal_entity:merge related_legal_entities:read legal_entity_merge_job:read person_merge:read person_merge:write private_contracts:read private_contracts:write forbidden_group:read forbidden_group:write forbidden_group:details

NHS FORBIDDEN ADMIN

forbidden_group:write forbidden_group:details dictionary:read service_catalog:read

PHARMACY

employee_role:write employee_role:read healthcare_service:write healthcare_service:read division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medical_program:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details otp:read otp:write reimbursement_report:read secret:refresh client:read connection:read connection:write connection:refresh_secret connection:delete contract_request:create contract_request:read contract_request:terminate contract_request:approve contract_request:sign contract:read contract:write medical_program_provision:write medical_program_provision:read

MSP_LIMITED

capitation_report:read declaration:read declaration_request:read division:details division:read drugs:read employee:details employee:read employee_request:read legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request_request:read otp:read person:read reimbursement_report:read secret:refresh contract_request:read contract:read encounter:read episode:read job:read client:read connection:read condition:read observation:read immunization:read allergy_intolerance:read related_legal_entities:read

MSP

employee_role:write employee_role:read healthcare_service:write healthcare_service:read declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:sign declaration_request:write division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write otp:read otp:write person:read reimbursement_report:read secret:refresh capitation_report:read contract_request:create contract_request:read contract_request:terminate contract_request:approve contract_request:sign contract:read contract:write client:read connection:read connection:write connection:refresh_secret connection:delete patient_summary:read encounter:write encounter:read episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write encounter:cancel related_legal_entities:read service_request:write service_request:read service_request:use service_request:cancel service_request:complete service_request:makeinprogress service_request:recall medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write approval:create diagnostic_report:cancel diagnostic_report:read diagnostic_report:write procedure:read procedure:write procedure:cancel program_service:read medication_administration:read medication_administration:write equipment:write equipment:read person_request:write person_request:read authentication_method_request:write care_plan:write care_plan:read approval:read approval:cancel

MIS

legal_entity:read legal_entity:write legal_entity:mis_verify role:read event:read user:request_factor user:approve_factor client:read connection:read connection:write connection:refresh_secret connection:delete job:read drugs:read medical_program:read program_service:read

NHS

bl_user:deactivate bl_user:read bl_user:write capitation_report:read contract:read contract:terminate contract:update contract_request:create contract_request:read contract_request:sign contract_request:terminate contract_request:update declaration:approve declaration:read declaration:reject declaration:terminate declaration:write declaration_documents:read declaration_request:read declaration_request:write dictionary:write division:details division:read employee:deactivate employee:read employee:write employee_request:read employee_request:write employee_request:create global_parameters:read global_parameters:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:deactivate legal_entity:merge legal_entity:nhs_verify legal_entity:read legal_entity_deactivation_job:read legal_entity_merge_job:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read party_user:read person:read person:reset_authentication_method program_medication:read program_medication:write register:read register:write register_entry:read reimbursement_report:download reimbursement_report:read related_legal_entities:read user:approve_factor user:request_factor merge_candidate:assign dictionary:read medication_request:reject medication_request:resend declarations_termination_job:read legal_entity:update person:deactivate persons_deactivation_job:read program_service:read program_service:write service_catalog:read service_catalog:write persons_auth_reset_job:read person_merge:read person_merge:write private_contracts:read private_contracts:write

MSP_PHARMACY

allergy_intolerance:read allergy_intolerance:write capitation_report:read client:read condition:read condition:write connection:delete connection:read connection:refresh_secret connection:write contract:read contract:write contract_request:approve contract_request:create contract_request:read contract_request:sign contract_request:terminate declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:sign declaration_request:write division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write encounter:cancel encounter:read encounter:write episode:read episode:write immunization:read immunization:write job:read legal_entity:read medical_program:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write observation:read observation:write otp:read otp:write patient_summary:read person:read reimbursement_report:read related_legal_entities:read secret:refresh service_request:read service_request:use service_request:write device:read device:write risk_assessment:read risk_assessment:write medication_statement:read medication_statement:write approval:create diagnostic_report:cancel diagnostic_report:read diagnostic_report:write procedure:read procedure:write service_request:cancel service_request:complete service_request:makeinprogress service_request:recall program_service:read healthcare_service:read healthcare_service:write employee_role:read employee_role:write

PRIMARY_CARE

employee_role:write employee_role:read healthcare_service:write healthcare_service:read declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:sign declaration_request:write division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write otp:read otp:write person:read reimbursement_report:read secret:refresh capitation_report:read contract_request:create contract_request:read contract_request:terminate contract_request:approve contract_request:sign contract:read contract:write client:read connection:read connection:write connection:refresh_secret connection:delete patient_summary:read encounter:write encounter:read episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write encounter:cancel related_legal_entities:read service_request:write service_request:read service_request:use service_request:cancel service_request:complete service_request:makeinprogress service_request:recall medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write approval:create diagnostic_report:cancel diagnostic_report:read diagnostic_report:write procedure:read procedure:write procedure:cancel program_service:read medication_administration:read medication_administration:write equipment:write equipment:read person_request:write person_request:read authentication_method_request:write care_plan:write care_plan:read approval:read approval:cancel composition:create composition:sign composition:cancel composition:read composition:search

OUTPATIENT

employee_role:write employee_role:read healthcare_service:write healthcare_service:read capitation_report:read contract_request:sign declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:sign declaration_request:write division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write otp:read otp:write person:read reimbursement_report:read secret:refresh contract_request:create contract_request:read contract_request:terminate contract:read contract_request:approve contract:write contract:terminate client:read connection:read connection:write connection:refresh_secret connection:delete patient_summary:read related_legal_entities:read encounter:write encounter:read episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write encounter:cancel service_request:write service_request:read service_request:use approval:create merge_candidate:assign medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write diagnostic_report:read diagnostic_report:write diagnostic_report:cancel service_request:cancel service_request:recall service_request:complete service_request:makeinprogress program_service:read medication_administration:read medication_administration:write procedure:read procedure:write procedure:cancel equipment:write equipment:read person_request:write person_request:read preperson:read preperson:write authentication_method_request:write merge_request:write merge_request:read merge_request:sign composition:create composition:search composition:read composition:sign composition:cancel care_plan:write care_plan:read approval:read approval:cancel

EMERGENCY

capitation_report:read contract_request:sign division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write otp:read otp:write person:read reimbursement_report:read secret:refresh contract_request:create contract_request:read contract_request:terminate contract:read contract_request:approve contract:write contract:terminate client:read connection:read connection:write connection:refresh_secret connection:delete patient_summary:read related_legal_entities:read encounter:write encounter:read episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write encounter:cancel service_request:write service_request:read service_request:use approval:create merge_candidate:assign medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write diagnostic_report:read diagnostic_report:write diagnostic_report:cancel service_request:cancel service_request:recall service_request:complete service_request:makeinprogress program_service:read procedure:read procedure:write employee_role:write employee_role:read healthcare_service:write healthcare_service:read medication_administration:read medication_administration:write equipment:write equipment:read person_request:write person_request:read preperson:read preperson:write merge_request:write merge_request:read merge_request:sign

MITHRIL ADMIN

,app:delete app:read app:write client:delete client:read client:write client_type:delete client_type:read client_type:write role:delete role:read role:write token:delete token:read token:write user:delete user:read user:write user:block user:unblock authentication_factor:write authentication_factor:read user:request_factor user:approve_factor

CABINET

medication_administration:read procedure:read diagnostic_report:read encounter:read service_request:read medication_statement:read device:read medication_dispense:read risk_assessment:read allergy_intolerance:read observation:read immunization:read condition:read episode:read medication_request:details medication_request:read cabinet:read employee_request:approve employee_request:reject user:request_factor user:approve_factor user:change_password app:authorize declaration_request:write declaration_request:read declaration_request:terminate declaration:read person:read person:write declaration:terminate app:read app:write app:delete authentication_factor:write authentication_factor:read profile:read

TRUSTED_IL

private_contracts:write private_contracts:read

Demo Client scopes

name

scope

name

scope

Auth_FE

app:authorize employee_request:approve employee_request:reject user:request_factor user:approve_factor user:change_password

MIS

legal_entity:read legal_entity:write legal_entity:mis_verify role:read event:read employee_request:read client:read connection:read connection:write connection:refresh_secret connection:delete medical_program:read program_service:read

MSP

declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:sign declaration_request:write division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write otp:read otp:write person:read reimbursement_report:read capitation_report:read secret:refresh contract_request:create contract_request:read contract_request:terminate contract:read contract_request:approve contract_request:sign contract:write client:read connection:read connection:write connection:refresh_secret connection:delete patient_summary:read encounter:write encounter:read episode:write episode:read job:read condition:read observation:read immunization:read allergy_intolerance:read related_legal_entities:read service_request:write service_request:read service_request:use medication_statement:read device:read risk_assessment:read procedure:write procedure:read procedure:cancel diagnostic_report:cancel diagnostic_report:write diagnostic_report:read medication_administration:read healthcare_service:read healthcare_service:write employee_role:read employee_role:write care_plan:write care_plan:read approval:read approval:cancel

MSP_LIMITED

declaration:read declaration_request:read division:details division:read drugs:read employee:details employee:read employee_request:read legal_entity:read medication_dispense:read medication_request:details medication_request:read medication_request_request:read otp:read person:read reimbursement_report:read capitation_report:read secret:refresh contract_request:read contract:read client:read connection:read connection:refresh_secret

MSP_PHARMACY

allergy_intolerance:read capitation_report:read client:read condition:read connection:delete connection:read connection:refresh_secret connection:write contract:read contract:write contract_request:approve contract_request:create contract_request:read contract_request:sign contract_request:terminate division:activate division:deactivate division:details division:read division:write drugs:read employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write encounter:read encounter:write episode:read episode:write immunization:read job:read legal_entity:read medical_program:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write observation:read otp:read otp:write patient_summary:read person:read reimbursement_report:read related_legal_entities:read secret:refresh service_request:read service_request:use service_request:write device:read risk_assessment:read medication_statement:read procedure:write medication_administration:read healthcare_service:read healthcare_service:write employee_role:read employee_role:write

Mithril ADMIN

app:delete app:read app:write client:delete client:read client:write client_type:delete client_type:read client_type:write medication_dispense:read medication_dispense:write role:delete role:read role:write token:delete token:read token:write user:delete user:read user:write

NHS

bl_user:deactivate bl_user:read bl_user:write declaration:approve declaration:approve declaration:read declaration:reject declaration:write declaration_documents:read declaration_request:read declaration_request:write dictionary:write employee:deactivate employee:read employee:write employee_request:read employee_request:write global_parameters:read global_parameters:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:deactivate legal_entity:nhs_verify legal_entity:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read party_user:read person:reset_authentication_method program_medication:read program_medication:write user:approve_factor user:request_factor reimbursement_report:read reimbursement_report:download global_parameters:read global_parameters:write dictionary:write declaration:terminate register:read register:write person:read register_entry:read contract_request:create contract_request:update contract_request:read contract_request:sign contract_request:terminate contract:read capitation_report:read contract:terminate division:read legal_entity:merge related_legal_entities:read legal_entity_merge_job:read contract:read contract:update legal_entity_deactivation_job:read division:details division:read employee_request:create

NHS ADMIN

bl_user:deactivate bl_user:read bl_user:write declaration:approve declaration:approve declaration:read declaration:reject declaration:write declaration_documents:read declaration_request:read declaration_request:write dictionary:write employee:deactivate employee:read employee:write employee_request:read employee_request:write global_parameters:read global_parameters:read global_parameters:write global_parameters:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:deactivate legal_entity:nhs_verify legal_entity:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read party_user:read person:reset_authentication_method program_medication:read program_medication:write user:approve_factor user:request_factor reimbursement_report:download capitation_report:read declaration:terminate register:write register:read register_entry:read person:read contract_request:create contract_request:update contract_request:read contract_request:sign contract_request:terminate contract:read contract:terminate division:read legal_entity:merge legal_entity_merge_job:read legal_entity_deactivation_job:read forbidden_group:read forbidden_group:write forbidden_group:details

NHS FORBIDDEN ADMIN

forbidden_group:write forbidden_group:details dictionary:read service_catalog:read

PHARMACY

division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medical_program:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details otp:read otp:write reimbursement_report:read secret:refresh client:read connection:read connection:write connection:refresh_secret connection:delete contract_request:create contract_request:read contract_request:terminate contract_request:approve contract_request:sign contract:read contract:write healthcare_service:read healthcare_service:write employee_role:read employee_role:write medical_program_provision:write medical_program_provision:read

UADDRESSES ADMIN

address:write address:read user:request_factor user:approve_factor

TRUSTED_IL

private_contracts:write private_contracts:read


Roles scopes

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



name

scope

name

scope

ADMIN

declaration:read declaration_request:approve declaration_request:reject declaration_request:read declaration_request:sign declaration_request:write capitation_report:read division:details division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read service_request:read service_request:use contract_request:sign contract_request:create contract_request:read contract_request:terminate contract_request:approve contract:read contract:write healthcare_service:read healthcare_service:write employee_role:read employee_role:write equipment:write equipment:read employee_request:write

DOCTOR

declaration:read declaration_request:approve declaration_request:read declaration_request:sign declaration_request:write division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read patient_summary:read encounter:write encounter:read encounter:cancel episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write medication_dispense:read drugs:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write diagnostic_report:read diagnostic_report:write diagnostic_report:cancel procedure:read procedure:write procedure:cancel service_request:makeinprogress service_request:complete service_request:recall service_request:cancel service_request:write service_request:read service_request:use approval:create program_service:read medication_administration:read medication_administration:write healthcare_service:read employee_role:read person_request:write person_request:read authentication_method_request:write care_plan:write care_plan:read approval:read approval:cancel composition:create composition:sign composition:cancel composition:read composition:search

HR

division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read healthcare_service:read healthcare_service:write employee_role:read employee_role:write

MIS USER

client:read connection:delete connection:read connection:refresh_secret connection:write event:read legal_entity:mis_verify legal_entity:read legal_entity:write role:read user:approve_factor user:request_factor medical_program:read program_service:read

MITHRIL ADMIN

app:delete app:read app:write authentication_factor:read authentication_factor:write client:delete client:read client:write client_type:delete client_type:read client_type:write role:delete role:read role:write token:delete token:read token:write user:approve_factor user:block user:delete user:read user:request_factor user:unblock user:write

NHS ADMIN

bl_user:deactivate bl_user:read bl_user:write capitation_report:read declaration:approve declaration:read declaration:reject declaration:terminate declaration:write declaration_documents:read declarations_termination_job:read dictionary:read dictionary:write division:read employee:deactivate employee:read employee_request:read employee_request:write global_parameters:read global_parameters:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:merge legal_entity:nhs_verify legal_entity:read legal_entity:update legal_entity_deactivation_job:read legal_entity_merge_job:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read party_user:read person:deactivate person:read person:reset_authentication_method persons_deactivation_job:read program_medication:read program_medication:write register:read register:write register_entry:read reimbursement_report:download related_legal_entities:read user:approve_factor user:request_factor forbidden_group:read forbidden_group:write forbidden_group:details

NHS ADMIN ADMIN

dictionary:write global_parameters:read global_parameters:write user:request_factor user:approve_factor

NHS ADMIN MANAGER

legal_entity:read medication_dispense:read medication_request:details medication_request:read user:approve_factor user:request_factor

NHS ADMIN MONITORING

bl_user:read capitation_report:read contract:read contract_request:read declaration:read declaration_documents:read dictionary:read division:read employee:read innm:read innm_dosage:read legal_entity:read medical_program:read medication:read medication_dispense:read medication_request:details medication_request:read party_user:read person:read program_medication:read register:read reimbursement_report:download related_legal_entities:read user:approve_factor user:request_factor

NHS ADMIN SIGNER

capitation_report:read contract:read contract:terminate contract_request:create contract_request:read contract_request:sign contract_request:terminate contract_request:update division:details division:read employee:read legal_entity:nhs_verify legal_entity:read legal_entity:update private_contracts:read private_contracts:write

NHS ADMIN SUPPORT

employee:read legal_entity:read user:approve_factor user:request_factor

NHS ADMIN VERIFIER

bl_user:read bl_user:write capitation_report:read declaration:approve declaration:read declaration:reject declaration:terminate declaration:write declaration_documents:read declarations_termination_job:read dictionary:read dictionary:write innm:read innm_dosage:read legal_entity:read medical_program:read medication:read medication_dispense:reject medication_request:reject medication_request:resend person:deactivate persons_deactivation_job:read person:read person:reset_authentication_method register:write register_entry:read related_legal_entities:read user:approve_factor user:request_factor

NHS LE VERIFIER

division:details division:read employee:read legal_entity:merge legal_entity:nhs_verify legal_entity:read legal_entity_deactivation_job:read legal_entity_merge_job:read legal_entity:update related_legal_entities:read user:approve_factor user:request_factor

NHS LE TERMINATOR

legal_entity:read legal_entity:deactivate

OWNER

capitation_report:read client:read connection:delete connection:read connection:refresh_secret connection:write contract:read contract:write contract_request:approve contract_request:create contract_request:read contract_request:sign contract_request:terminate declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:write division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details otp:read otp:write person:read reimbursement_report:read related_legal_entities:read secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write medical_program_provision:write medical_program_provision:read

PHARMACIST

employee:read employee_request:approve employee_request:read employee_request:reject legal_entity:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details healthcare_service:read employee_role:read

PHARMACY_OWNER

client:read connection:delete connection:read connection:refresh_secret connection:write contract:read contract:write contract_request:approve contract_request:create contract_request:read contract_request:sign contract_request:terminate division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read medication_dispense:read medication_request:details otp:read otp:write reimbursement_report:read secret:refresh medical_program_provision:write medical_program_provision:read

UADDRESSES ADMIN

address:read address:write user:request_factor user:approve_factor

NHS ADMIN REIMBURSEMENT

division:details division:read employee:read legal_entity:read medication_dispense:read medication_dispense:reject medication_request:details medication_request:read medication_request:reject medication_request:resend reimbursement_report:download

NHS ADMIN PROGRAM MEDICATION

division:read innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:reject program_medication:read program_medication:write reimbursement_report:download

NHS FORBIDDEN ADMIN

forbidden_group:write forbidden_group:details dictionary:read service_catalog:read

CABINET

app:authorize cabinet:read declaration:read declaration_request:read declaration_request:terminate declaration_request:write employee_request:approve employee_request:reject person:read user:approve_factor user:change_password user:request_factor

ASSISTANT

division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read patient_summary:read diagnostic_report:read diagnostic_report:write diagnostic_report:cancel procedure:read procedure:write procedure:cancel service_request:makeinprogress service_request:complete service_request:read service_request:use approval:create healthcare_service:read employee_role:read person_request:write person_request:read preperson:read preperson:write job:read observation:write allergy_intolerance:write medication_statement:write device:write risk_assessment:write medication_administration:write authentication_method_request:write merge_request:write merge_request:read immunization:read observation:read approval:read approval:cancel episode:read episode:write encounter:write encounter:read encounter:cancel immunization:write condition:write condition:read

SPECIALIST

division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read patient_summary:read encounter:write encounter:read encounter:cancel episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write medication_dispense:read drugs:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write diagnostic_report:read diagnostic_report:write diagnostic_report:cancel procedure:read procedure:write procedure:cancel service_request:makeinprogress service_request:complete service_request:recall service_request:cancel service_request:write service_request:read service_request:use approval:create program_service:read medication_administration:read medication_administration:write healthcare_service:read employee_role:read person_request:write person_request:read preperson:read preperson:write authentication_method_request:write merge_request:write merge_request:sign merge_request:read composition:create composition:search composition:read composition:sign composition:cancel care_plan:write care_plan:read approval:read approval:cancel

RECEPTIONIST

declaration:read declaration_request:approve declaration_request:reject declaration_request:read declaration_request:sign declaration_request:write capitation_report:read division:details division:read employee:read employee_request:approve employee_request:reject legal_entity:read otp:read otp:write person:read service_request:read service_request:use approval:create healthcare_service:read employee_role:read person_request:read preperson:read preperson:write authentication_method_request:write merge_request:write merge_request:read job:read observation:write allergy_intolerance:write medication_statement:write device:write risk_assessment:write medication_administration:write

MED_ADMIN

diagnostic_report:read diagnostic_report:cancel encounter:read encounter:cancel episode:read procedure:read procedure:cancel person:read preperson:read patient_summary:read division:read employee:read legal_entity:read job:read condition:read observation:read allergy_intolerance:read risk_assessment:read immunization:read composition:read



DEMO Roles scopes 

role

scopes

role

scopes

ADMIN

declaration:read declaration_request:approve declaration_request:reject declaration_request:read declaration_request:sign declaration_request:write capitation_report:read division:details division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read service_request:read service_request:use contract_request:sign contract_request:create contract_request:read contract_request:terminate contract_request:approve contract:read contract:write healthcare_service:read healthcare_service:write employee_role:read employee_role:write equipment:write equipment:read employee_request:write

CABINET

cabinet:read employee_request:approve employee_request:reject user:request_factor user:approve_factor user:change_password

DOCTOR

declaration:read declaration_request:approve declaration_request:read declaration_request:sign declaration_request:write division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read patient_summary:read encounter:write encounter:read encounter:cancel episode:write episode:read job:read condition:read condition:write observation:read observation:write immunization:read immunization:write allergy_intolerance:read allergy_intolerance:write medication_statement:read medication_statement:write device:read device:write risk_assessment:read risk_assessment:write medication_dispense:read drugs:read medication_request:details medication_request:read medication_request:reject medication_request:resend medication_request_request:read medication_request_request:reject medication_request_request:sign medication_request_request:write diagnostic_report:read diagnostic_report:write diagnostic_report:cancel procedure:read procedure:write procedure:cancel service_request:makeinprogress service_request:complete service_request:recall service_request:cancel service_request:write service_request:read service_request:use approval:create program_service:read medication_administration:read medication_administration:write healthcare_service:read employee_role:read person_request:write person_request:read authentication_method_request:write care_plan:write care_plan:read approval:read approval:cancel composition:create composition:sign composition:cancel composition:read composition:search

HR

legal_entity:read employee_request:read employee_request:write employee_request:approve employee_request:reject employee:read employee:write employee:details employee:deactivate division:write division:read division:details division:activate division:deactivate healthcare_service:read healthcare_service:write employee_role:read employee_role:write

MIS USER

legal_entity:read legal_entity:write legal_entity:mis_verify role:read event:read employee_request:read user:request_factor user:approve_factor client:read connection:read connection:write connection:refresh_secret connection:delete medical_program:read program_service:read

MITHRIL ADMIN

app:read app:write app:delete token:read token:write token:delete user:read user:write user:delete role:read role:write role:delete client_type:read client_type:write client_type:delete client:read client:write client:delete user:request_factor user:approve_factor user:block user:unblock authentication_factor:write authentication_factor:read

NHS ADMIN

bl_user:deactivate bl_user:read bl_user:write declaration:approve employee:read employee_request:read employee_request:write innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write legal_entity:nhs_verify legal_entity:read medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read party_user:read person:reset_authentication_method program_medication:read program_medication:write user:approve_factor user:request_factor reimbursement_report:download declaration_documents:read declaration:reject declaration:write declaration:terminate register:write register:read register_entry:read contract_request:create contract_request:update contract_request:read contract_request:sign contract_request:terminate contract:read employee:read contract:terminate capitation_report:read division:read legal_entity:merge legal_entity_merge_job:read related_legal_entities:read legal_entity_deactivation_job:read person:read forbidden_group:read forbidden_group:write forbidden_group:details

NHS ADMIN ADMIN

global_parameters:read global_parameters:write dictionary:write user:request_factor user:approve_factor

NHS ADMIN CONTRACTOR

legal_entity:read employee:read contract_request:read contract_request:update contract_request:terminate contract:read

NHS ADMIN MANAGER

legal_entity:read user:request_factor user:approve_factor

NHS ADMIN MONITORING

legal_entity:read employee_request:read employee:read declaration:read declaration_documents:read user:request_factor user:approve_factor contract_request:read contract:read party_user:read register:read register_entry:read person:read

NHS ADMIN SIGNER

capitation_report:read contract:read contract:terminate contract_request:create contract_request:read contract_request:sign contract_request:terminate contract_request:update division:details division:read employee:read legal_entity:nhs_verify legal_entity:read legal_entity:update private_contracts:read private_contracts:write

NHS ADMIN SUPPORT

legal_entity:read declaration:read employee:read user:request_factor user:approve_factor

NHS ADMIN VERIFIER

declaration:read employee:read legal_entity:read legal_entity:nhs_verify legal_entity:deactivate declaration:approve user:request_factor user:approve_factor

NHS LE VERIFIER

legal_entity:read legal_entity:nhs_verify user:request_factor user:approve_factor employee:read division:details division:read

NHS LE TERMINATOR

legal_entity:read legal_entity:deactivate

OWNER

declaration:read declaration_request:approve declaration_request:read declaration_request:reject declaration_request:write division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read otp:read otp:write person:read reimbursement_report:read secret:refresh contract_request:create contract_request:read contract_request:terminate contract:read contract_request:approve contract_request:sign contract:write capitation_report:read client:read connection:read connection:write connection:refresh_secret connection:delete related_legal_entities:read service_request:read medication_request:details healthcare_service:read healthcare_service:write employee_role:read employee_role:write

PHARMACIST

division:read employee:read employee_request:approve employee_request:read employee_request:reject legal_entity:read medication_dispense:process medication_dispense:read medication_dispense:reject medication_dispense:write medication_request:details healthcare_service:read employee_role:read

PHARMACY_OWNER

division:activate division:deactivate division:details division:read division:write employee:deactivate employee:details employee:read employee:write employee_request:approve employee_request:read employee_request:reject employee_request:write legal_entity:read otp:read otp:write reimbursement_report:read secret:refresh medication_request:details client:read connection:read connection:write connection:refresh_secret connection:delete contract_request:create contract_request:read contract_request:terminate contract_request:approve contract_request:sign contract:read contract:write

UADDRESSES ADMIN

address:read address:write user:request_factor user:approve_factor

NHS ADMIN REIMBURSEMENT

innm:read innm:write innm_dosage:deactivate innm_dosage:read innm_dosage:write medical_program:deactivate medical_program:read medical_program:write medication:deactivate medication:read medication:write medication_dispense:read medication_dispense:reject medication_request:details medication_request:read program_medication:read program_medication:write reimbursement_report:download

NHS FORBIDDEN ADMIN

forbidden_group:write forbidden_group:details dictionary:read service_catalog:read



ASSISTANT

division:read employee:read employee_request:approve employee_request:reject employee_request:read legal_entity:read otp:read otp:write person:read patient_summary:read diagnostic_report:read diagnostic_report:write diagnostic_report:cancel procedure:read procedure:write procedure:cancel service_request:makeinprogress service_request:complete service_request:read service_request:use approval:create healthcare_service:read employee_role:read person_request:write person_request:read preperson:read preperson:write encounter:write episode:write job:read condition:write observation:write allergy_intolerance:write medication_statement:write device:write risk_assessment:write medication_administration:write authentication_method_request:write merge_request:write merge_request:read immunization:read approval:read approval:cancel

RECEPTIONIST

declaration:read declaration_request:approve declaration_request:reject declaration_request:read declaration_request:sign declaration_request:write capitation_report:read division:details division:read employee:read employee_request:approve employee_request:reject legal_entity:read otp:read otp:write person:read service_request:read service_request:use approval:create healthcare_service:read employee_role:read person_request:read preperson:read preperson:write authentication_method_request:write merge_request:write merge_request:read job:read observation:write allergy_intolerance:write medication_statement:write device:write risk_assessment:write medication_administration:write

MED_ADMIN

diagnostic_report:read diagnostic_report:cancel encounter:read encounter:cancel episode:read procedure:read procedure:cancel person:read preperson:read patient_summary:read division:read employee:read legal_entity:read job:read condition:read observation:read allergy_intolerance:read risk_assessment:read immunization:read composition:read



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