Versions Compared

Key

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

...

#DescriptionInputExpected resultActual resultStatus
1Valid data, allowed condition codevalid token
valid condition id
(condition code allowed)

200,
correct response


200,
correct response


passed
2Getting condition that is  not from white listvalid token
valid condition id
(condition code is not allowed)
404
passed
3Declaration validation handled
falsefalsepassed
4wrong scopestoken without scope "patient_summary:read"403403passed

Get Condition by search params

conditions absentresponse is emptyall patients conditionsthe response contains only conditions from a white-list
#DescriptionInputExpected resultActual resultStatus
1Valid data  valid token
no search params

200,
correct response

the response contains only conditions from a white-list


200,
correct response

the response contains only conditions from a white-list


passedfailed
2Declaration validation handled
falsefalsepassed
3wrong scopestoken without scope patient_summary:read403403passed
4code from white-listsearch param "code=1234"

patient's condition s with such code

the response contains only conditions from a white-list

patient's conditions with such codepassed
5code not from white-list
empty array
passed
6encounter_idsearch param "encounter_id={{encounter_id}}"

conditions that belong to the encounter

the response contains only conditions from a white-list

no conditions422422passed
7episode_idsearch param "episode_id={{episode_id}}"conditions that belong to the episode
the response contains only conditions from a white-list
422422passed
8issued_from
the response contains only conditions from a white-list
passed
9issued_to
the response contains only conditions from a white-list
passed
10combination issued_from+ issued_to
the response contains only conditions from a white-list
passed
11combination episode_id+encounter_id
422422passed