Note |
---|
Сторінка знаходиться в процесі розробки. Інформація на ній може бути застарілою. |
...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
In DS EDRPOU/DRFO must be equal to contractor_legal_entity.edrpou
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 ConfluenceN/A
Dictionaries
CONTRACT_PAYMENT_METHOD
CONTRACT_TYPE
REIMBURSEMENT_CONTRACT_TYPE
Input parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | id |
| String |
|
|
2 |
Invoke service 'Get Partially Signed Contract Reqeust by ID'. In the response will be received link to download file in PKCS7 format, which contains data (json + printout form + signature of responsible person from NHS side + digital stamp from NHS side).
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Headers
...
Key
...
Value
...
Mandatory
...
Description
...
Example
...
Content-Type
...
application/json
...
M
...
Тип контенту
...
Content-Type:application/json
...
Authorization
...
Bearer c2778f3064753ea70de870a53795f5c9
...
M
...
Перевірка користувача
...
Authorization:Bearer c2778f3064753ea70de870a53795f5c9
...
|
Headers
Request data validation
Authorize
...
Get url for declaration upload
Upload signed contract to media storage.
Parameter | Source |
---|---|
action | 'GET' |
bucket | 'CONTRACTS' |
resource_id | : CONTRACT_ID |
resource_name | : CONTRACT_NAME |
timestamp | :TIMESTAMP |
Update contract request
update contract_request.status='SIGNED'
update contract_request.contract_id=contract.id
Code Block UPDATE contract_requests SET status = 'SIGNED' WHERE id = {:id}
...
After status was changed (status = SIGNED) - add new status to event_manager
...
field
...
field | value |
---|---|
|
|
| Contract_request |
| $.id |
| $.status |
| $.update_at |
| $. |
Deactivate Medical Program Provision
...
define medical programs that are not present in the new contract.
deactivate all active medical program provision for defined programs within contract number and current legal entity:
set is_active = false
set deactivate_reason = AUTO_CONTRACT_TERMINATION
set updated_at, updated by
Note: Status of medical program provision entities for the programs remained in the new contract should not be changed.
...
Dictionaries
CONTRACT_PAYMENT_METHOD
CONTRACT_TYPE
REIMBURSEMENT_CONTRACT_TYPE
Response structure examples
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
HTTP status codes
Response code | HTTP Status code | Message | Internal name | Description | |
---|---|---|---|---|---|
1 | Базові | ||||
2 | 200 | ||||
3 | 422 | Division must be active and within current legal_entity | |||
4 | 422 | Employee must be an active DOCTOR with linked division | |||
5 | 422 | Employee must be within current division | |||
6 | 422 | Incorrect status for signing | |||
7 | 422 | Signed content does not match the previously created content | |||
8 | 422 | Start date must be greater than create date | |||
9 | 422 | The contract was already signed by contractor | |||
10 | 422 | There is no active contract with such contract_number | |||
11 | Специфічні | ||||
12 |
Post-processing processes
Description of actions performed on data after processing
Technical modules where the method is used
List of pages describing technical N/A
Technical modules where the method is used
Page Properties Report | ||||
---|---|---|---|---|
|
...