...
# | 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 |
...