/
Test Cases Primary care doctor access
Published Sep 10, 2018

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

Test Cases Primary care doctor access

#DescriptionInput parametersExpected resultActual result
1No employee of the party has a declaration with the patientaccess token of the user who does not have any declarations with the patientAccess denied Access denied 
2Employee has an active declaration with the patient

access token of the user who has active declaration with the patient 

(1 employee, 1 user)

Access grantedAccess granted
3Party has several employees

access token of the doctor who has active declaration with the patient 

(2 employees, 1 user)

Access grantedAccess granted
4Party has several users

access token of the doctor who has active declaration with the patient 

(2 employees, 2 users)

Access grantedAccess granted
5Employee tries to access to the medical data from MSP that does not figure in the declarationaccess token of the doctor who has active declaration with the patient
(MSP does not match with the declaration) 
Access denied Access denied 
6Employee has only a terminated declaration with the patientaccess token of the user who has terminated declaration with the patient Access denied Access denied 

Related content

Summary Diagnostic Reports
Summary Diagnostic Reports
Read with this
Employee Request tests
Employee Request tests
More like this
Get Approved Episodes
Get Approved Episodes
Read with this
Test Cases for Get Immunization
Test Cases for Get Immunization
More like this
Declaration requests tests
Declaration requests tests
More like this
MIS Authorization Test
MIS Authorization Test
More like this

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