Note |
---|
Сторінка знаходиться в процесі розробки. Інформація на ній може бути застарілою. |
Info |
---|
/wiki/spaces/EN/pages/17591304241 (remove the link block before publishing the document) |
...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
NHS employee with scopes 'contract_request:update' can change contract request
Contract request only in status 'IN_PROCESS' could be changed
NHS employee can change only several field of the contract request but not all of them
In case of reimbursement contract, nhs_contract_price shouldn`t be filled.
Configuration parameters
Description of the configuration parameters that are used when processing a request in the system
Dictionaries
Provides a list of links to dictionaries that are available in Confluence
Input parameters
Description of input parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id |
| String | Contract request identifier. Required | d290f1ee-6c54-4b01-90e6-d701748f0851 |
2 |
Request structure
See on API-specification (посилання на сторінку з API-специфікацією)
Description of the REST API request structure, example
Expand | ||
---|---|---|
| ||
|
...
Response structure examples
Description of the REST API response structure, example
Expand | ||
---|---|---|
|
...
Response code | HTTP Status code | Message | Internal name | Description | |
---|---|---|---|---|---|
1 | Базові | ||||
2 | 200 | Response |
| ||
3 | 401 | Error | |||
4 | 401 | Token is expired | |||
5 | 401 | Unauthorized | Помилка підтвердження | ||
6 | 403 | User is not allowed to perform this action | |||
7 | 403 | Client is not active | |||
8 | 403 | User is not active | |||
9 | 403 | Your scope does not allow to access this resource. Missing allowances: contract_request:update | |||
10 | 404 | Contract request with id=$id doesn't exist |
| ||
11 | 1000 | 404 | Composition not found | COMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок |
12 | 409 |
| Validation failed | ||
13 | 409 | Contract_type does not correspond to previously created content | |||
14 | 409 | nhs_contract_price is unavailable for reimbursement contract requests | |||
15 | 422 |
| Validation failed | ||
16 | 422 | Contract price could not be negative | |||
17 | 422 | Employee doesn't belong to legal_entity | |||
18 | 422 | Employee must be active | |||
19 | 422 | validation failed | |||
20 | 422 | Incorrect status of contract_request to modify it | |||
21 | Специфічні | ||||
22 | 422 | Only for active MPI record can be created medication request! |
Post-processing processes
Description of actions performed on data after processing
Technical modules where the method is used
List of pages describing technical modules where the method is used
Page Properties Report | ||||
---|---|---|---|---|
|
...