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

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 

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