...
Page Properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
...
Configuration parameters
N/A
Dictionaries
...
eHealth/resources - condition(parameter “id“ in request)
...
eHealth/resources - employee (parameter “asserter“ in response)
...
eHealth/report_origins (parameter “patient“ in response)
...
eHealth/resources - encounter (parameter “context“ in response)
...
eHealth/condition_clinical_statuses (parameter “clinical_status“ in response)
...
eHealth/condition_verification_statuses (parameter “verification_status“ in response)
...
eHealth/condition_severities (parameter “severity“ in response)
...
N/A
Input parameters
Input parameter | Mandatory | Type | Description | Example | |
---|---|---|---|---|---|
1 | patient_id | M | String | Unique MPI patient Patient identifier |
|
2 | condition_id | M | String | Unique condition Condition identifier |
|
Request structure
See on API-specification
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Headers
See on Headers
Request data validation
Authorize
...
Verify the validity of access token
Return (401, 'Invalid access token') in case of validation fails
Verify that token is not expired
in case of error - return (401, 'Invalid access token')
Check user scopes in order to perform this action (scope = 'medical_event_context:read')
Return (403, 'Your scope does not allow to access this resource. Missing allowances: medical_event_context:read') in case of invalid scope(s)
Validate Person
Get Person identifier from the URL
Check it exists in DB
Return 404 ('not_found') in case of error
Validate Encounter
Get Condition identifier from the URL
Check it exists in DB
Return 404 ('not_found') in case of error
Check Condition belongs to patient
Return 404 ('not_found') in case of error
Processing
N/A
Response structure examples
...
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
Response code | HTTP Status code | Message | Internal name | Description | |
---|---|---|---|---|---|
1 | Базові | ||||
2 |
| 200 |
|
|
|
3 |
| 401 |
| Access token validation failed |
|
4 |
| 401 |
| Access token expired |
|
5 |
| 403 |
| Invalid scope |
|
6 | Специфічні |
Post-processing processes
...