Get Encounter by id
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Valid data | Valid id of the existing patient | 200, valid response | 200, valid response | passed |
2 | Missing scope | Token without scope "encounter:read" | 403 | 403 | passed |
3 | Invalid id | 404 | 404 | ||
4 | Declaration validation | id of the patient who doesn`t have a declaration with the current doctor | 403 | 403 |
Get Encounter by search params
# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Valid data | No search params | 200, valid response | ||
2 | Missing scope | Token without scope "encounter:read" | 403 | ||
3 | Invalid id | 404 | |||
4 | Declaration validation | id of the patient who doesn`t have a declaration with the current doctor | 403 | ||
5 | Valid search by date_from | 200, valid response | 200, valid response | passed | |
6 | Valid search by date_to | 200, valid response | 200, valid response | passed | |
7 | Valid search by date combination | 200, valid response | 200, valid response | passed | |
8 | Invalid search by date_from | not handled | |||
9 | Invalid search by date_to | not handled | |||
10 |
Valid search by episode | 200, valid response | 200, |
valid response |
passed |
11 | Invalid search by episode | not handled |
---|