...
# | 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 the response uses only active episodes the response uses only current diagnoses | 200, the response contains only conditions from a white-list the response uses only active episodes the response uses only current diagnoses | 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 |