Table of Contents | ||||
---|---|---|---|---|
|
...
This method allows to re-send the composition to ERLN (Electronic Register of temporary disability conclusions of the Pension Fund of Ukraine). Used only for the type of compositions - Тemporary Disability
...
4. Re-sending Тemporary Disability Composition to ERLN
Specification
Link | https://app.swaggerhub.com/apis/ehealthua/compositions/2.3239.2#/main/patch_patients_composition__compositionId__erln |
Resource | /patients/composition/{compositionId}/erln |
Scope | composition:create |
Components | |
Using Dictionaries | API paragraph not foundeHealth/resources |
Using Microservices | API paragraph not found |
Protocol type | REST |
Request type | PATCH |
Sync/Async | Async |
Public/Private/Internal | Public |
...
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
compositionId | String ($uuid) (path) | Composition object ID | 4fd87fa2-1beb-44ff-a7cc-c1759e1c6e9b |
Request structure
Authorize
API paragraph not found
Headers
API paragraph not foundCheck user scopes in order to perform this action (scope = 'composition:create')
return 401 (Unauthorized) in case of invalid scope(s)
Headers
Content-Type: application/json
Authorization: Bearer {token}
api-key: {secret}
Validation data request
Searching for the last scheduled ERLN task for this composition
In case of error (ERLN task not found) - return 404 ('Not Found')
Searching for the composition
In case of error (composition was not found) - return 404 ('Not Found')
Check the composition’s type
In case of error (composition’s type isn’t Тemporary Disability) - return 400 ('Bad Request')
Check the composition’s status
In case of error (composition’s status isn’t “FINAL”) - return 400 ('Bad Request')
Check the composition’s integration status
In case of error (composition’s integration status isn’t “ERROR”) - return 400 ('Bad Request')
Check the previous task status
In case of error (task status is still in progress) - return 400 ('Bad Request')
...
API paragraph not found
Response structure
Example:
Expand | ||
---|---|---|
| ||
|
...