/
Test Cases Summary: Get Conditions
ЕСОЗ - публічна документація
Test Cases Summary: Get Conditions
Get Condition by id
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Valid data, allowed condition code | valid token valid condition id (condition code allowed) | 200, | 200, | passed |
2 | Getting condition that is not from white list | valid token valid condition id (condition code is not allowed) | 404 | passed | |
3 | Declaration validation handled | false | false | passed | |
4 | wrong scopes | token without scope "patient_summary:read" | 403 | 403 | passed |
Get Condition by search params
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Valid data | valid token no search params | 200, the response contains only conditions from a white-list | 200, the response contains only conditions from a white-list | passed |
2 | Declaration validation handled | false | false | passed | |
3 | wrong scopes | token without scope patient_summary:read | 403 | 403 | passed |
4 | code from white-list | search param "code=1234" | patient's condition s with such code the response contains only conditions from a white-list | patient's conditions with such code | passed |
5 | code not from white-list | empty array | passed | ||
6 | encounter_id | search param "encounter_id={{encounter_id}}" | 422 | 422 | passed |
7 | episode_id | search param "episode_id={{episode_id}}" | 422 | 422 | passed |
8 | issued_from | the response contains only conditions from a white-list | passed | ||
9 | issued_to | the response contains only conditions from a white-list | passed | ||
10 | combination issued_from+ issued_to | the response contains only conditions from a white-list | passed | ||
11 | combination episode_id+encounter_id | 422 | 422 | passed |
, multiple selections available,
Related content
Test Cases Summary: Get Observations
Test Cases Summary: Get Observations
More like this
Summary Conditions
Summary Conditions
Read with this
Test Cases Get Conditions
Test Cases Get Conditions
More like this
Summary Diagnostic Reports
Summary Diagnostic Reports
Read with this
Test Cases Summary: Get Diagnostic Report
Test Cases Summary: Get Diagnostic Report
More like this
Patient Summary API
Patient Summary API
Read with this
ЕСОЗ - публічна документація