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

Test Cases Summary: Get Diagnostic Report

Get Diagnostic Report by id

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

200,
correct response


200,
correct response


passed
2Getting diagnostic report that is  not from white listvalid token
valid diagnostic report id
(diagnostic report code is not allowed)
404404passed
3ABAC validation
falsefalsepassed
4wrong scopestoken without scope "summary:read"403403passed

Get Diagnostic Report by search params

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

200,
correct response

the response contains only diagnostic reports from a white-list



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

patient's diagnostic report with such code

the response contains only diagnostic reports from a white-list

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

6issued_from
the response contains only diagnostic reports from a white-list
passed
7issued_to
the response contains only diagnostic reports from a white-list
passed
8combination issued_from+ issued_to
the response contains only diagnostic reports from a white-list
passed

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