You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 11
Next »
Якщо інформації по відповідному параметру немає, потрібно зазначити: “API paragraph not found”.
Purpose*
Return current diagnoses related only to active episodes.
Specification*
Logic*
This endpoint returns current diagnoses related only to active episodes. In order to get specific condition details, use Get Condition by ID
Filters
Filter | Values | Type | Description | Example |
---|
patient_id | | String | Unique patient identifier | 7a489bbd-d8e2-48d9-92fd-fcf0102f7b08
|
page | | Number | Page number | 1
|
page_size | | Number | A limit on the number of objects to be returned, between 1 and 100. Default: 50 | 50
|
code | | String | | A20
|
Request structure*
API paragraph not found
Authorize*
Request to process the request using a token in the headers
Наприклад:
Request data validation*
API paragraph not found
Processing*
API paragraph not found
Response structure*
See on Apiary
Example:
Response example
{
"meta": {
"code": 200,
"url": "http://example.com/resource",
"type": "object",
"request_id": "req-adasdoijasdojsda"
},
"data": [
{
"condition": {
"identifier": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "condition"
}
]
},
"value": "9183a36b-4d45-4244-9339-63d81cd08d9c"
},
"display_value": "null"
},
"code": {
"coding": [
{
"system": "eHealth/ICPC2/conditions",
"code": "A20"
}
]
},
"role": {
"coding": [
{
"system": "eHealth/diagnosis_roles",
"code": "CC"
}
]
},
"rank": 1
},
{
"condition": {
"identifier": {
"type": {
"coding": [
{
"system": "eHealth/resources",
"code": "condition"
}
]
},
"value": "9183a36b-4d45-4244-9339-63d81cd08d9c"
},
"display_value": "null"
},
"code": {
"coding": [
{
"system": "eHealth/ICPC2/conditions",
"code": "A20"
}
]
},
"role": {
"coding": [
{
"system": "eHealth/diagnosis_roles",
"code": "CC"
}
]
},
"rank": 1
}
],
"paging": {
"page": 2,
"page_size": 50,
"total_entries": 1000,
"total_pages": 20
}
}
Post-processing processes*
API paragraph not found
HTTP status codes*