ЕСОЗ - публічна документація

Test Cases for Get Encounter

Get Encounter by id

#DescriptionInputExpected resultActual resultStatus
1Valid dataValid id of the existing patient 

200,

valid response 

200,

valid response 

passed
2Missing scopeToken without scope "encounter:read"403403passed
3Invalid id
404404
4Declaration validation

id of the patient who doesn`t have a declaration

with the current doctor

403403

Get Encounter by search params

#DescriptionInputExpected resultActual resultStatus
1Valid dataNo search params

200,

valid response 



2Missing scopeToken without scope "encounter:read"403

3Invalid id
404

4Declaration validation

id of the patient who doesn`t have a declaration

with the current doctor

403

5Valid search by date_from

200,

valid response

200,

valid response

passed
6Valid search by date_to

200,

valid response

200,

valid response

passed
7Valid search by date combination

200,

valid response

200,

valid response

passed
8Invalid search by date_from
not handled

9Invalid search by date_to
not handled

10Valid search by episode

200,

valid response

200,

valid response

passed
11Invalid search by episode
not handled

ЕСОЗ - публічна документація