Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
This method allows receiving detailed information about a person’s Declaration by declaration ID
Key points
This is a REST method used by MIS.
Only authenticated and authorized employee with appropriate scope can get declarations details.
Logic
Get data from ops DB:
declarations by id
Render a response according to specification.
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 | 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 | ||
---|---|---|
| ||
|
...
Check that declaration with such ID exists in the system (ops DB)
in case of error - return 404
Processing
A list of processes related to receiving, changing or transmitting data according to the logic defined in the REST API
Response structure examples
See on API-specification (посилання на сторінку з API-специфікацією)
Description of the REST API response structure, example
Expand | ||
---|---|---|
| ||
|
...
Response code | HTTP Status code | Message | Internal name | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|
1 | Базові | ||||||||||
2 | 200 | Response |
| ||||||||
3 | 401 |
| Access Access token validation failed | ||||||||
4 | 401 | Invalid access token | |||||||||
5 | 401 | Unauthorized |
| Помилка підтвердження | |||||||
6 | 403 |
| Invalid Invalid scope | ||||||||
7 | 403 | Your scope does not allow to access this resource. Missing allowances: declaration:read | |||||||||
8 | 1000 | 404 | Composition not found | COMPOSITION_NOT_FOUND_404 | Не знайдено медичний висновок | ||||||
9 | Специфічні | ||||||||||
10 | Специфічні | 11 |
| 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