Table of Contents | ||||
---|---|---|---|---|
|
...
Link | |
Resource | /patients/composition/{compositionId}/erln |
Scope | composition:create |
Components | |
Using Dictionaries | API paragraph not found |
Using Microservices | API paragraph not found |
Protocol type | REST |
Request type | PATCH |
Sync/Async | Async |
Public/Private/Internal | Public |
...
Searching for the last scheduled ERLN task for this composition
In case of error (ERLN task was 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 type 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')
...
HTTP status code | Message | What caused the error |
---|---|---|
200 | The request was successfully submitted for processing |
|
400 | This request is not allowed to be resubmitted (inappropriate status or type of request) |
|
404 | No conclusion found |
|