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

Scopes model

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

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

employee_history:read

EmployeeDataHistoryRecords (GraphQL)

 

legal_entity:mis_verify

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

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

legal_entity:read

GET /api/legal_entities

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

employee_request:read

GET /api/employee_requests/:id

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

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 /s

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

medication:read

GET /medications

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

medication:deactivate

PATCH /medications/:id/actions/deactivate

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

drugs:read

GET /api/v2/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:details_pharm

GET /api/pharmacy/medication_requests/{{id}}

Отримання деталей рецепта фармацевтом

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_request:block_pharm

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

Блокування рецепту аптекою

medication_request:unblock_pharm

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

Розблокування рецепту аптекою

medication_dispense:read

GET /medication_dispenses

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

medication_dispense:process

PATCH /medication_dispenses/{id}/actions/process

PATCH /api/pharmacy/medication_dispenses/{{id}}/actions/process

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

medication_dispense:reject

PATCH /medication_dispenses/{id}/actions/reject

PATCH /api/pharmacy/medication_dispenses/{{id}}/actions/reject

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

medication_dispense:read_pharm

GET /api/pharmacy/medication_dispenses/{{id}}

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

medication_registry:write

CreateMedicationRegistryMutation (GraphQL)

UpdateMedicationRegistryMutation (GraphQL)

DeactivateMedicationRegistryMutation (GraphQL)

 

POST /registries/medications/

PATCH /registries/medications/program_medications

PATCH /registries/medications/innm_dosages/actions/deactivate

PATCH /registries/medications/brands/actions/deactivate

PATCH /registries/medications/program_medications/actions/deactivate

Завантаження реєстрів медикаментів

medication_registry_job:read

MedicationRegistryJobsQuery (GraphQL)

MedicationRegistryJobQuery (GraphQL)

Завантаження реєстрів медикаментів (візуалізація задач)

diagnoses_group:read

DiagnosesGroupQuery (GraqhQL)

Перегляд групи діагнозів та її елементів

diagnoses_group:write

CreateDiagnosesGroupMutation (GraqhQL)

DeactivateDiagnosesGroupMutation (GraqhQL)

CreateDiagnosesGroupItemsMutation (GraqhQL)

DeactivateDiagnosesGroupItemsMutation (GraqhQL)

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

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}}

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

GET /api/patients/{{patient_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/{{patient_id}}/procedure

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

procedure:cancel

PATCH /api/patients/{{patient_id}}/procedures/id/actions/cancel

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

procedure:read

GET /api/patients/{{patient_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

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

person_emergency_contact:read

GET /api/patients/{patient_id}/medical_event_type/{medical_event_id}/emergency_contact

Отримання даних контакта для екстренного зв'язку

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

POST /api/employee_requests

createEmployeeRequest mutation

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

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

Запит на створення/оновлення/видалення щодо контракту СГуСОЗ с типом OUTPATIENT та EMERGENCY

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

Запит інформації щодо контракту СГуСОЗ с типом OUTPATIENT та EMERGENCY

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

 

rule_engine_rule:read

GET /api/rule_engine_rules

GET /api/rule_engine_rules/{{id}}

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

license:read

GET /api/licenses

Отримання всіх ліцензій юридичної особи

license:write

POST /api/licenses

PATCH /api/licenses/{{id}}

Створення\оновлення додаткових ліцензій для юридичної особи

license:details

GET /api/licenses/{id}

Отримання ліцензії юридичної особи

clinical_impression:read

GET /api/patients/patient_id/clinical_impressions

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

Отримання клінічної оцінки

clinical_impression:write

 

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

rule_engine_rule:details

RuleEngineRuleQuery (GraphQL)

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

rule_engine_rule:read

GET /api/rule_engine_rules

GET /api/rule_engine_rules/{id}

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

CreateRuleEngineRuleMutation (GraphQL)

DeactivateRuleEngineRuleMutation (GraphQL)

CreateRuleEngineRuleMutation (GraphQL)

DeactivateRuleEngineRuleMutation (GraphQL)

Налаштування правил валідації клінічної оцінки

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

composition_admin:read

 

Медичні висновки: пошук/перегляд/формування витягу

composition_admin:write

 

Медичні висновки: пошук/перегляд/формування витягу/перевідправка в ЕРЛН/зміна статусу

justification:write

CreateJustificationInput (GraphQL)

Створення обгрунтування для фактичного моніторингу

justification:read

JustificationFilter (GraphQL)

Отримання обгрунтування для фактичного моніторингу

episode:practical_monitor

EpisodeFilter (GraphQL)

EpisodeQuery (GraphQL)

Фактичний моніторинг епізодів медичної допомоги

encounter:practical_monitor

EncounterFilter (GraphQL)

EncounterQuery (GraphQL)

Фактичний моніторинг взаємодій

observation:practical_monitor

ObservationFilter (GraphQL)

ObservationQuery (GraphQL)

Фактичний моніторинг спостережень/вимірів

condition:practical_monitor

ConditionFilter (GraphQL)

ConditionQuery (GraphQL)

Фактичний моніторинг медичних станів

procedure:practical_monitor

ProcedureFilter (GraphQL)

ProcedureQuery (GraphQL)

Фактичний моніторинг процедур

service_request:practical_monitor

ServiceRequestFilter (GraphQL)

ServiceRequestQuery (GraphQL)

Фактичний моніторинг направлень

immunization:practical_monitor

ImmunizationFilter (GraphQL)

ImmunizationQuery (GraphQL)

Фактичний моніторинг імунізацій

allergy_intolerance:practical_monitor

AllergyIntoleranceFilter (GraphQL)

AllergyIntoleranceQuery (GraphQL)

Фактичний моніторинг алергій

care_plan:practical_monitor

CarePlanFilter (GraphQL)

ActivityFilter (GraphQL)

CarePlanQuery (GraphQL)

ActivityQuery (GraphQL)

Фактичний моніторинг планів лікування

diagnostic_report:practical_monitor

DiagnosticReportFilter (GraphQL)

DiagnosticReportQuery (GraphQL)

Фактичний моніторинг діагностичних звітів

medication_request:practical_monitor

MedicationRequestFilter (GraphQL)

MedicationRequestQuery (GraphQL)

Фактичний моніторинг рецептів

medication_dispense:practical_monitor

MedicationDispenseFilter (GraphQL)

MedicationDispenseQuery (GraphQL)

Фактичний моніторинг погашення рецептів

episode:clinical_monitor

EpisodeQuery (GraphQL)

Клінічний моніторинг епізодів медичної допомоги

encounter:clinical_monitor

EncounterQuery (GraphQL)

Клінічний моніторинг взаємодій

observation:clinical_monitor

ObservationQuery (GraphQL)

Клінічний моніторинг спостережень/вимірів

condition:clinical_monitor

ConditionQuery (GraphQL)

Клінічний моніторинг медичних станів

procedure:clinical_monitor

ProcedureQuery (GraphQL)

Клінічний моніторинг процедур

service_request:clinical_monitor

ServiceRequestFilter (GraphQL)

Клінічний моніторинг направлень

immunization:clinical_monitor

ImmunizationFilter (GraphQL)

Клінічний моніторинг імунізацій

allergy_intolerance:clinical_monitor

AllergyIntoleranceFilter (GraphQL)

Клінічний моніторинг алергій

care_plan:clinical_monitor

CarePlanQuery (GraphQL)

ActivityQuery (GraphQL)

Клінічний моніторинг планів лікування

diagnostic_report:clinical_monitor

DiagnosticReportQuery (GraphQL)

Клінічний моніторинг діагностичних звітів

medication_request:clinical_monitor

MedicationRequestQuery (GraphQL)

Клінічний моніторинг рецептів

medication_dispense:clinical_monitor

MedicationDispenseQuery (GraphQL)

Клінічний моніторинг погашення рецептів

conclusion:write

createConclusionInput (GraphQL)

Створення заключення

conclusion:read

ConclusionFilter (GraphQL)

ConclusionQuery (GraphQL)

Отримання даних про заключення

party_verification:details

GET /api/parties/id/verification

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

party_verification:write

PATCH /api/parties/id/verification

Зміна статусу верифікації співробітника

person_verification:details

GET /api/persons/id/verification

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

person_verification:write

PATCH /api/persons/id/verification

Зміна статусу верифікації пацієнта

device_definition:read

GET /api/device_definitions

GetDeviceDefinitionById (GraphQL)

SearchDeviceDefinitions (GraphQL)

Отримання переліку медичних виробів

device_request:write

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

POST /api/patients/{patient_id}/device_requests

Cтворення призначення медичних виробів

device_request:read

POST /api/device_requests/{device_request_id}/actions/qualify

GET /api/patients/{patient_id}/device_requests

GET /api/patients/{patient_id}/device_requests/{device_request_id}

GET /api/device_requests?requisition

Отримання призначення медичних виробів

device_request:resend

PATCH /api/patients/{patient_id}/device_requests/{device_request_id}/actions/resend

Повторне надсилання номера призначення медичних виробів

device_request:revoke

PATCH /api/patients/{patient_id}/device_requests/{device_request_id}/actions/revoke

Відкликання призначення медичних виробів

device_request:mark_in_error

PATCH /api/patients/{patient_id}/device_requests/{device_request_id}/actions/mark_in_error

 

device_request:complete

PATCH /api/patients/{patient_id}/device_requests/{device_request_id}/actions/complete

 

device_dispense:write

POST /api/patients/{patient_id}/device_dispenses

PATCH /api/patients/{patient_id}/device_dispenses/{device_dispense_id}/actions/complete

Створення запису про видачу медичних виробів

device_dispense:read

GET /api/device_dispenses

GET /api/device_dispenses/{device_dispense_id}

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

device_dispense:stop

PATCH /api/patients/{patient_id}/device_dispenses/{device_dispense_id}/actions/stop

Припинення запису про видачу медичних виробів

device_dispense:complete

PATCH /api/patients/{patient_id}/device_dispenses/{device_dispense_id}/actions/complete

Підписання запиту про видачу медичних виробів

device_dispense:mark_in_error

PATCH /api/patients/{patient_id}/device_dispense/{device_dispense_id}/actions/mark_in_error

 

specimen:write

POST /api/patients/{patient_id}/specimens

 

specimen:read

GET /api/patients/{patient_id}/specimens

GET /api/patients/{patient_id}/specimens/{specimen_id}

GET /api/specimens/{accession_identifier}

 

specimen:process

PATCH /api/patients/{patient_id}/specimens/{specimen_id}/actions/process

 

specimen:cancel

PATCH /api/patients/{patient_id}/specimens/{specimen_id}/actions/cancel

 

specimen:reject

PATCH /api/patients/{patient_id}/specimens/{specimen_id}/actions/reject

 

specimen:invalidate

PATCH /api/patients/{patient_id}/specimens/{specimen_id}/actions/invalidate

 

service_request:read_impersonal

GET /api/specimens/{specimen_id}/service_requests

 

device_definition:write

CreateDeviceDefinition (GraphQL)

 

device_definition:deactivate

DeactivateDeviceDefinition (GraphQL)

 

device_registry:write

UploadDeviceDefinitionsRegistry (GraphQL)

 

device_registry_job:read

DeviceRegistryJobQuery (GraphQL)

 

program_device:write

CreateProgramDevice (GraphQL)

 

program_device:read

GetProgramDeviceById (GraphQL)

SearchProgramDevices (GraphQL)

 

 

General

This scopes is set for all clients and users without authorization

 

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 medication_registry:write diagnoses_group:read diagnoses_group:write medication_registry_job:read

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:reject medication_dispense:write otp:read otp:write 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 license:details license:read license:write medication_request:details_pharm medication_dispense:read_pharm medication_request:reject_pharm device_request:read device_dispense:write device_dispense:read device_dispense:stop device_dispense:complete medication_request:block_pharm device_request:complete device_dispense:mark_in_error

MSP_LIMITED

employee_role:read healthcare_service:read declaration:read declaration_request:read division:details division:read employee:details
employee:read employee_request:read legal_entity:read otp:read person:read reimbursement_report:read secret:refresh capitation_report:read
contract_request:read client:read connection:read related_legal_entities:read contract:read medication_request:details medication_dispense:read
license:details license:read party_verification:details party_verification:write person_verification:details person_verification:write

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 license:details license:read license:write   clinical_impression:read clinical_impression:write rule_engine_rule:read medical_event_context:read person_emergency_contact:read party_verification:details party_verification:write person_verification:details person_verification:write device_definition:read device_request:write device_request:read device_request:resend device_request:revoke specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate, service_request:read_impersonal device_request:mark_in_error device_request:complete device_dispense:read

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 rule_engine_rule:write rule_engine_rule:details conclusion:write conclusion:read medication_registry:write diagnoses_group:read diagnoses_group:write medication_registry_job:read device_definition:read device_definition:write device_definition:deactivate device_registry:write device_registry_job:read program_device:write program_device:read

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 person_emergency_contact: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 license:details license:read license:write   clinical_impression:read clinical_impression:write rule_engine_rule:read medical_event_context:read party_verification:details party_verification:write person_verification:details person_verification:write device_definition:read device_request:write device_request:read device_request:resend device_request:revoke specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate, service_request:read_impersonal device_request:mark_in_error device_request:complete device_dispense:read

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 person_emergency_contact: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 license:details license:read license:write   clinical_impression:read clinical_impression:write rule_engine_rule:read medical_event_context:read party_verification:details party_verification:write person_verification:details person_verification:write device_definition:read device_request:write device_request:read device_request:resend device_request:revoke specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate, service_request:read_impersonal device_request:mark_in_error device_request:complete device_dispense:read

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_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 license:details license:read license:write clinical_impression:read clinical_impression:write rule_engine_rule:read medical_event_context:read person_emergency_contact:read party_verification:details party_verification:write person_verification:details person_verification:write specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate, service_request:read_impersonal device_request:mark_in_error device_request:complete device_dispense:read

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 license:details license:read license:write   clinical_impression:read clinical_impression:write rule_engine_rule:read party_verification:details party_verification:write person_verification:details person_verification:write

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 party_verification:details party_verification:write person_verification:details person_verification:write

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:reject medication_dispense:write otp:read otp:write 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 license:details license:read license:write medication_request:details_pharm medication_dispense:read_pharm medication_request:reject_pharm

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 party_verification:details party_verification:write person_verification:details person_verification: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 person_emergency_contact: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 license:read clinical_impression:read clinical_impression:write rule_engine_rule:read medical_event_context:read person_verification:details person_verification:write device_definition:read device_request:write device_request:read device_request:resend device_request:revoke specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate device_request:mark_in_error device_request:complete device_dispense:read

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 party_verification:details party_verification:write

LABORANT

employee_request:read employee_request:approve employee_request:reject employee:read employee_role:read diagnostic_report:write diagnostic_report:read diagnostic_report:cancel service_request:read service_request:makeinprogress service_request:use service_request:complete division:read legal_entity:read job:read observation:read observation:write specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate, service_request:read_impersonal

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 medication_registry:write diagnoses_group:read diagnoses_group:write medication_registry_job:read device_definition:read device_definition:write device_definition:deactivate device_registry:write device_registry_job:read program_device:write program_device:read

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

MSP TYPE

PHARMACY

PRIMARY_CARE

OUTPATIENT

SCOPES

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 otp:read otp:write secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write medical_program_provision:write medical_program_provision:read license:details license:read medication_dispense:read_pharm license:write party_verification:details party_verification:write device_dispense:read

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 otp:read otp:write person:read person_verification:details reimbursement_report:read related_legal_entities:read secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write license:details license:read license:write rule_engine_rule:read party_verification:details party_verification:write

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 otp:read otp:write person:read person_verification:details reimbursement_report:read related_legal_entities:read secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write license:details license:read license:write rule_engine_rule:read party_verification:details party_verification:write

MSP TYPE

EMERGENCY

MSP

MSP_LIMITED

SCOPES

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 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 person_verification:details reimbursement_report:read related_legal_entities:read secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write rule_engine_rule:read party_verification:details party_verification:write

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 otp:read otp:write person:read person_verification:details reimbursement_report:read related_legal_entities:read secret:refresh healthcare_service:read healthcare_service:write employee_role:read employee_role:write rule_engine_rule:read party_verification:details party_verification:write

employee_role:read healthcare_service:read declaration:read declaration_request:read division:details division:read employee:details employee:read employee_request:read legal_entity:read otp:read person:read person_verification:details reimbursement_report:read secret:refresh capitation_report:read contract_request:read client:read connection:read related_legal_entities:read contract:read license:details license:read party_verification:details party_verification:write

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 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 license:details license:read medication_dispense:read_pharm license:write party_verification:details party_verification:write device_request:read device_dispense:read

PHARMACIST

employee:read employee_request:approve employee_request:read employee_request:reject legal_entity:read medication_dispense:process medication_dispense:reject medication_dispense:write healthcare_service:read employee_role:read license:read medication_request:details_pharm medication_dispense:read_pharm medication_request:reject_pharm device_request:read device_dispense:complete device_dispense:write device_dispense:read device_dispense:stop medication_request:block_pharm device_request:complete device_dispense:mark_in_error

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 medication_registry:write medication_registry_job:read device_definition:read device_definition:write device_definition:deactivate device_registry:write device_registry_job:read program_device:write program_device:read

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 person_emergency_contact: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 care_plan:read 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 clinical_impression:read rule_engine_rule:read license:read medication_request_request:read medication_request:read medication_request:details medication_dispense:read medication_request:resend medical_event_context:read person_verification:details person_verification:write device_definition:read device_request:read device_request:resend specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate service_request:write service_request:recall service_request:cancel device_dispense: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 license:read clinical_impression:read rule_engine_rule:read medical_event_context:read clinical_impression:write person_verification:details person_verification:write person_emergency_contact:read device_definition:read device_request:write device_request:read device_request:resend device_request:revoke specimen:write, specimen:read, specimen:process, specimen:cancel, specimen:reject, specimen:invalidate device_request:mark_in_error device_request:complete device_dispense:read

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 medical_event_context:read person_verification:details

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 medication_request_request:read medication_request:read medication_request:details medication_request:resend medication_request:reject medication_dispense:read medication_request_request:reject clinical_impression:read device_request:read device_request:resend device_request:revoke specimen:read, specimen:cancel device_request:mark_in_error device_dispense:read

DOCTOR_LIMITED

declaration:read declaration_request:read division:read employee:read employee_request:read legal_entity:read otp:read person:read encounter:read episode:read job:read condition:read observation:read immunization:read person_verification:details person_verification:write allergy_intolerance:read medication_dispense:read drugs:read medication_request:details medication_request:read medication_request_request:read license:read clinical_impression:read

NHS ADMIN CONTRACTOR

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

NHS RULE ENGINE ADMIN

rule_engine_rule:write rule_engine_rule:details dictionary:read service_catalog:read

MED_COORDINATOR

employee_request:read employee_request:approve employee_request:reject employee_role:read diagnostic_report:read encounter:write encounter:read encounter:cancel episode:write episode:read procedure:read person:read preperson:read otp:read otp:write person_request:write person_request:read authentication_method_request:write merge_request:write merge_request:sign merge_request:read patient_summary:read division:read employee:read legal_entity:read job:read condition:read condition:write observation:read allergy_intolerance:read risk_assessment:read immunization:read clinical_impression:read service_request:read service_request:write service_request:cancel 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 care_plan:read care_plan:write approval:read approval:cancel approval:create person_verification:details person_verification:write

NHS PRACTICAL MONITORING

justification:write justification:read episode:practical_monitor encounter:practical_monitor observation:practical_monitor condition:practical_monitor procedure:practical_monitor service_request:practical_monitor immunization:practical_monitor allergy_intolerance:practical_monitor care_plan:practical_monitor diagnostic_report:practical_monitor medication_request:practical_monitor medication_dispense:practical_monitor dictionary:read service_catalog:read person:read person_documents:read person_merge:read division:read employee:read innm_dosage:read innm:read legal_entity:read medical_program:read medication:read party_user:read program_medication:read program_service:read related_legal_entities:read declaration:read declaration_documents:read

NHS PRACTICAL MONITORING EXTENDED

justification:write justification:read episode:practical_monitor encounter:practical_monitor observation:practical_monitor condition:practical_monitor procedure:practical_monitor service_request:practical_monitor immunization:practical_monitor allergy_intolerance:practical_monitor care_plan:practical_monitor diagnostic_report:practical_monitor medication_request:practical_monitor medication_dispense:practical_monitor dictionary:read service_catalog:read person:read person_documents:read person_merge:read division:read employee:read innm_dosage:read innm:read legal_entity:read medical_program:read medication:read party_user:read program_medication:read program_service:read related_legal_entities:read forbidden_group:details approval:cancel approval:create approval:read declaration:read declaration_documents:read

NHS CLINICAL MONITORING

episode:clinical_monitor encounter:clinical_monitor observation:clinical_monitor condition:clinical_monitor procedure:clinical_monitor service_request:clinical_monitor immunization:clinical_monitor allergy_intolerance:clinical_monitor care_plan:clinical_monitor diagnostic_report:clinical_monitor medication_request:clinical_monitor medication_dispense:clinical_monitor dictionary:read service_catalog:read division:read employee:read innm_dosage:read innm:read legal_entity:read medical_program:read medication:read party_user:read program_medication:read program_service:read conclusion:write conclusion:read

NHS REVIEWER

person_merge:read merge_candidate:assign person_merge:write



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 party_verification:details party_verification:write person_verification:details person_verification: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 person_emergency_contact: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 license:read clinical_impression:read clinical_impression:write rule_engine_rule:read person_verification:details person_verification:write

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 party_verification:details party_verification:write 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 party_verification:details party_verification:write medication_request:details healthcare_service:read healthcare_service:write employee_role:read employee_role:write clinical_impression:read

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 healthcare_service:read employee_role:read license:read medication_request:details_pharm medication_dispense:read_pharm medication_request:reject_pharm medication_request:block_pharm

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 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 license:details license:read medication_dispense:read_pharm license:write party_verification:details party_verification:write device_dispense:read

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 person_emergency_contact: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 episode:read episode:write encounter:write encounter:read encounter:cancel immunization:write condition:write condition:read clinical_impression:read clinical_impression:write rule_engine_rule:read license:read medication_request_request:read medication_request:read medication_request:details medication_dispense:read medication_request:resend clinical_impression:read person_verification:details person_verification:write device_definition:read device_request:read device_request:resend

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 person_verification:details

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 medication_request_request:read medication_request:read medication_request:details medication_request:resend medication_request:reject medication_dispense:read medication_request_request:reject clinical_impression:read

NHS RULE ENGINE ADMIN

rule_engine_rule:write rule_engine_rule:details dictionary:read service_catalog:read



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