/
Test Cases Summary: Get Diagnostic Report
Published Mar 25, 2019

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

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

Related content

Summary Diagnostic Reports
Summary Diagnostic Reports
Read with this
Test Cases Summary: Get Active Diagnoses
Test Cases Summary: Get Active Diagnoses
More like this
Test Cases Primary care doctor access
Test Cases Primary care doctor access
Read with this
Test Cases Summary: Get Conditions
Test Cases Summary: Get Conditions
More like this
Summary Observations
Summary Observations
Read with this
Test Cases Summary: Get Observations
Test Cases Summary: Get Observations
More like this

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