Table of Contents |
---|
Purpose
...
Page Properties | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Preconditions
Before the request is created the contract should be initialized the documents must be uploaded and
Logic
Then request can be approved or declined by NHS side.
After that, MSP must approve the request from their side (actual actually only for Capitation contract).
In case the request was two-side sided approved, it can be two-side sided signed.
Using this endpoint a reimbursement contract could be created as well as a capitation contract. The difference between those two types of contract is described here- Reimbursement version Data model
...
Input parameter | Values | Type | Description | Example |
---|---|---|---|---|
contract_type | CAPITATION REIMBURSEMENT | String | Required | |
id | String | Contract_request ID. Required | 09106b70-18b0-4726-b0ed-6bda1369fd52 |
Dictionaries
API paragraph not found
Request structure
Example:
...
title | Request example |
---|
...
Request structure
Example:
Expand | ||
---|---|---|
| ||
|
Dummy example (Capitation version):
Expand | ||
---|---|---|
|
Dummy example (Reimbursement version):
Expand | ||
---|---|---|
|
Authorize
Verify the validity of access token
in case of error return 401 ('Invalid access token')
Check user scope contract_request:create in order to perform this action
in case of error generate 401 response ('Invalid access token')
Headers
Наприклад:
Content-Type:application/json
...
id_form | medical_programs |
---|---|
PMD_1 | REIMBURSEMENT_CONTRACT_REQUEST_MEDICAL_PROGRAM_ID_DOSTUPNI_LIKY |
INSULIN_1 | REIMBURSEMENT_CONTRACT_REQUEST_MEDICAL_PROGRAM_IDS_INSULIN |
ND_1 | REIMBURSEMENT_CONTRACT_REQUEST_MEDICAL_PROGRAM_ID_NETSUKROVYY_DIABET |
PSYCHIATRY | REIMBURSEMENT_CONTRACT_REQUEST_MEDICAL_PROGRAM_IDS_PSYCHIATRY |
GENERAL | REIMBURSEMENT_CONTRACT_REQUEST_MEDICAL_PROGRAM_IDS_GENERAL |
Note. For GENERAL id_form user can specify any qty of programs (but at least one) from the configuration list. Also user can update list of medical programs using logic from p.7
Processing
Determine parent contract (optional)
...
Expand | ||
---|---|---|
| ||
|
Post-processing processes
No
HTTP status codes
Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
|
...