...
Page Properties | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Logic
Ендпоїнт допускає повернення даних тільки тих діагностичних звітів, на які було видано Approval.
Filters
Filter | Values | Type | Description | Example |
---|---|---|---|---|
page | Number | Page number |
| |
page_size | Number | A limit on the number of objects to be returned, between 1 and 100. Default: 50 |
| |
code | String | id of a service |
|
Request structure
API paragraph not foundSee on Apiary
Authorize
Request to process the request using a token in the headers
...
Request data validation
Processing
Logic
Select all diagnostic reports(approvals.granted_resources.identifier.value) from patients approvals that meet the requirements:
patient_id= hashed patient_id from URL
status= 'active'
granted_to contains one of user's employees' id
granted_resources.identifier.type.coding[].code="diagnostic_report"
Select this diagnostic reports from ME.patients.diagnostic_reports
Add filters requested by the user (search params)
...