Table of Contents | ||||
---|---|---|---|---|
|
...
The method is designed to obtain information on the integration processes of interaction with external third-party registries in the context of compositions. When composition data is transferred to an external registry and processed there, the method returns the status of data processing by the external third-party registry.
Integration with the following external third-party registries is implemented:
...
Creating "a replacement" composition
Specification
...
Link | |
Resource | /patients/{patientId}/composition/{compositionId}/episode/{episodeId}/encounter/{encounterId}/integrationData |
Scope | composition:read |
Components | |
Microservices | API paragraph not found |
Protocol type | REST |
Request type | GET |
Sync/Async | Async |
Public/Private/Internal | Public |
...
The method can only be executed by a user with access to composition.
The method can only be executed for a composition with the status:
FINAL
AMENDED
ENTERED-IN-ERROR
Logic
...
Потрібно по пунктах описати логіку методу API або додати діаграму
Global and configurable parameters
...
An authorized user with MIS creates and signs a composition, information from which can be used in a third-party registry.
The signed composition is stored in the ESOZ.
An authorized user can make a request and receive in response the status of processing in a third-party register.
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
compositionId |
| String($uuid) (path) | Composition object ID | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
patientId |
| String($uuid) (path) | Patient object ID | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
episodeId |
| String($uuid) (path) | Episode of Care object ID | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
encounterId |
| String($uuid) (path) | Encounter object ID | 89678f60-4cdc-4fe3-ae83-e8b3ebd35c59 |
...
Expand | ||
---|---|---|
| ||
|
Authorize
...
A token in the headers.
Check user scopes in order to perform this action (scope = 'composition:read')
return 401 (Unauthorized) in case of invalid scope(s)
Headers
Content-Type: application/json
Authorization: Bearer {token}
api-key: {secret}
...
Response structure*
Валідація даних
Наприклад:
Validate request using JSON schema
In case validation failed - generate 422 error
Processing*
Потрібно описати процеси, які відбуваються з даними
1. Using global parameters
Потрібно викликати глобальні параметри (Global parameters), щоб отримати наведені нижче параметри
Response structure*
See on SwaggerHubSee on SwaggerHub
Parameter values for the DRACS registry:
Parameter | Name | Source | Description | Translation (UA) |
---|---|---|---|---|
component | MJU_DRACS | |||
component | DIIA |
Creation of composition type “temp_disability“. Response with information on the ERLN integration process:
...
Expand | ||
---|---|---|
| ||
|
Post-processing processes*
...
HTTP status codes*
HTTP status code | Message | What caused the error |
---|---|---|
200 |
|
|
404 |
|
|
...