Purpose
This method is designed to cancel an existing composition
Specification
Link | https://app.swaggerhub.com/apis/ehealthua/compositions/2.32.2#/main/cancelComposition |
Resource | /patients/composition/{compositionId}/cancel |
Scope | composition:cancel |
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 |
Logic
API paragraph not found
Input parameters
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
compositionId | String ($uuid) (path) | Composition object ID |
Request structure
Request body
Request body with signed Composition. Signed content must conform to the dummyCancelationSchema
Example
Authorize
API paragraph not found
Headers
API paragraph not found
Validation data request
API paragraph not found
Processing
API paragraph not found
Response structure
Example:
Post-processing processes
API paragraph not found
HTTP status codes
HTTP status code | Message | What caused the error |
---|---|---|
200 | In case of successful cancellation of the Composition |
|
400 | Invalid request format | |
401 | The user role does not allow the operation to be performed | |
404 | The object of the Composition was not found | |
500 | Subordinate service error |