Purpose
The service is designed to deactivate the medication register. The process uses the Jabba service. Upon execution of the request, a job is created, on the basis of which tasks are created. Each task is one request to create an entity from the register.
...
Page Properties |
---|
Link | API paragraph not found | Посилання на Apiary або Swagger | Resource | API paragraph not found | Посилання на ресурс, наприклад: /api/persons/create | Scope | medication_registry:write | Scope для доступу | Components | ePrescription | Зазначається перелік бізнес компонентів, які використовують цей метод, наприклад: ePrescription | Microservices | API paragraph not found | Перелік мікросервісів, які використовує метод API, наприклад: Auth, ABAC | Protocol type | API paragraph not found | Тип протоколу, який використовується запитом, наприклад: SOAP | REST | Request type | API paragraph not found | Тип запиту API, наприклад: GET, POST, PATCH… | Sync/Async | API paragraph not found | Метод є синхронним чи асинхронним? |
|
Logic
Decode base64 file.
Validate input according to schema.
Return job identifier with result.
...
Page Properties |
---|
HTTP status code | Message | What caused the error |
---|
401 | Invalid access token | | 403 | Your scope does not allow to access this resource. Missing allowances: medication_registry:write | | | | | | 404 | Error | The identifiers from the request exist and active check failed | 422 | Error | Request check using schema failed. registerType IN ('DEACTIVATE_INNM_REGISTER', ‘DEACTIVATE_INNM_DOSAGE_REGISTER', ‘DEACTIVATE_BRAND_REGISTER', 'DEACTIVATE_PROGRAM_MEDICATION_REGISTER’) and correspond to file structure check failed. reasonDescription filled check failed. Decoded and encoded input file according to file structure check failed. Inclusion in case user try to deactivate innm with active innm_dosage or innm_dosage with active brand and brand with active program medication check failed.
|
|
Backward compatibility
API paragraph not found