Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

10
Invalid search by date combinationnot handled11
Valid search by episode

200,

valid response

200,

EMPTY array

valid response

failed
passed
12
11Invalid search by episode
not handled