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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 8 Next »

Get Observation by id

#

Description

Input

Expected result

Actual result

Status

1

Valid data  

valid token
valid observation id

200,
correct response

all value types are handled properly

200,
correct response

all value types are handled properly

passed

2

Declaration validation handled


true

true

passed

3

wrong scopes

token without scope "observation:read"

403

403

passed

Get Observation by search params

#

Description

Input

Expected result

Actual result

Status

1

Valid data  

valid token
valid observation id

200,
correct response

all value types are handled properly
response contains only observations that belong to the patient

response if full

200,
correct response

all value types are handled properly
response contains only observations that belong to the patient

response if full

passed

2

Declaration validation handled


true

true

passed

3

wrong scopes

token without scope "observation:read"

403

403

passed

4

code

search param "code=1234"

patient's observations with such code

patient's observations with such code

passed

5

encounter_id

search param "encounter_id={{encounter_id}}"

observations that belong to the encounter

no observations

passed

6

episode_id

search param "episode_id={{episode_id}}"

observations that belong to the episode

all patients observations

passed

7

issued_from




passed

8

issued_to




passed

9

combination issued_from+ issued_to




passed

10

combination episode_id+encounter_id




passed


  • No labels