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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Get Condition by id

#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

3Declaration validation handled
falsefalsepassed
4wrong scopestoken without scope "patient_summary:read"403403passed

Get Condition by search params

#DescriptionInputExpected resultActual resultStatus
1Valid data  valid token
no search params

200,
correct response

the response contains only conditions from a white-list


conditions from a white-list absent
response is empty

failed
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

6encounter_idsearch param "encounter_id={{encounter_id}}"

conditions that belong to the encounter

the response contains only conditions from a white-list

no conditionspassed
7episode_idsearch param "episode_id={{episode_id}}"conditions that belong to the episode
the response contains only conditions from a white-list
all patients conditionspassed
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
the response contains only conditions from a white-list
passed
  • No labels