Versions Compared

Key

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

Get Condition by id

#

Description

Input

Expected result

Actual result

Status

1

Valid data  

valid token
valid condition 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 "condition:read"

403

403

passed

Get Conditions by search params

#

Description

Input

Expected result

Actual result

Status

1

Valid data  

valid token

200,
correct response

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

response if full

200,
correct response

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

response if full

passed

2

Declaration validation handled


true

true

passed

3

wrong scopes

token without scope "conditions:read"

403

403

passed

4

code

search param "code=1234"

patient's conditions with such code

patient's conditions with such code

passed

5

encounter_id

search param "encounter_id={{encounter_id}}"

conditions that belong to the encounter

failed


passed

6

episode_id

search param "episode_id={{episode_id}}"

conditions that belong to the episode

failed


passed

7

issued_from




passed

failed

8

issued_to

failed




passed

9

combinations




passed