Versions Compared

Key

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

Get Immunization by id

...

failedfailedfailedfailed18
#DescriptionInputExpected resultActual resultStatus
1Valid dataNo search params

200,

valid response 

200,

valid response 

passed
2Missing scopeToken without scope "immunization:read"403403 "Your scope does not allow to access this resource. Missing allowances: immunization:read"passed
3Invalid id
404404passed
4Declaration validation

id of the patient who doesn`t have a declaration

with the current doctor

403401
Access denied - you have no active declaration with the patient
passed
5Valid search by vaccine_code

200,

valid response

200,

valid response

passed
6Valid search by date_from

200,

valid response

200,

valid response

passed
7Valid search by date_to

200,

valid response

200,

valid response

passed
8Valid search by date combination

200,

valid response

200,

valid response

passed
9Valid search by encounerencounter contains 1 immunization

200,

1 immunization in response

200,

valid response
1 immunization in response

passed
10Search by encounter that does not contain any immunizations
empty arrayempty arraypassed
11Search by encounter id that does no exist
empty arrayempty arraypassed
12Valid search by episodepatient: db63c1ce-608b-468d-9ab3-8bd201a1f69
episode: 5d0ec35a-a15e-45b2-b822-0525405df034
episode that contains 1 immunization
1 item in array

all the collection

1 item in array

passed
13Search by episode that is empty (no encounter)

patient: db63c1ce-608b-468d-9ab3-8bd201a1f69

episode: 4cbc6604-182a-40d3-9a04-56a32011092c
id of an empty episode

empty arrayall the collectionempty arraypassed
14Search by episode that does not contain any immunizations

patient: db63c1ce-608b-468d-9ab3-8bd201a1f69

episode: eb11be0e-3775-4936-829c-e28c26575b6e

empty arrayall the collectionempty arraypassed
15Search by episode id that does no exist

patient: db63c1ce-608b-468d-9ab3-8bd201a1f69

episode: 896faa7b-cb2a-4bce-ba1c-0de3061cb63d

empty arrayall the collectionempty arraypassed
16Valid search by combitantion

200,

valid response

200,

valid response

passed
17Invalid search by datenot a date422422passed
18Invalid search by encounternot a uuid422422passed
19Invalid search by episodenot a uuid422422passed