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

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 Observation by id

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

200,
correct response


200,
correct response


passed
2Getting observation that is  not from white listvalid token
valid observation id
(observation code is not allowed)
404

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

Get Observation by search params

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

200,
correct response

the response contains only observations from a white-list



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

patient's observations with such code

the response contains only observations from a white-list

patient's observations with such codepassed
5code not from white-list
empty array

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

observations that belong to the encounter

the response contains only observations from a white-list

no observationspassed
7episode_idsearch param "episode_id={{episode_id}}"observations that belong to the episode
the response contains only observations from a white-list
all patients observationspassed
8issued_from
the response contains only observations from a white-list
passed
9issued_to
the response contains only observations from a white-list
passed
10combination issued_from+ issued_to
the response contains only observations from a white-list
passed
11combination episode_id+encounter_id
the response contains only observations from a white-list
passed
  • No labels