ЕСОЗ - публічна документація
Test Cases Primary care doctor access
# | Description | Input parameters | Expected result | Actual result | |
---|---|---|---|---|---|
1 | No employee of the party has a declaration with the patient | access token of the user who does not have any declarations with the patient | Access denied | Access denied | |
2 | Employee has an active declaration with the patient | access token of the user who has active declaration with the patient (1 employee, 1 user) | Access granted | Access granted | |
3 | Party has several employees | access token of the doctor who has active declaration with the patient (2 employees, 1 user) | Access granted | Access granted | |
4 | Party has several users | access token of the doctor who has active declaration with the patient (2 employees, 2 users) | Access granted | Access granted | |
5 | Employee tries to access to the medical data from MSP that does not figure in the declaration | access token of the doctor who has active declaration with the patient (MSP does not match with the declaration) | Access denied | Access denied | |
6 | Employee has only a terminated declaration with the patient | access token of the user who has terminated declaration with the patient | Access denied | Access denied |
ЕСОЗ - публічна документація