# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | Patient does not exist | 404 | 401 Access denied - you have no active declaration with the patient | ||
2 | Patient is inactive | ||||
3 |
Declaration validation handled | should be??? Kostya | handled | ???? | ||
4 | Missing scope | 403 | 403 | passed | |
5 | Encounter does not exist or belongs to other patient | 404 | 404 | passed |
6 | Operation with data that belongs to other legal entity |
---|
7 | Digital signature doesn`t match |
---|
8 | Signed content doesn`t match |
---|
9 | Encounter still active but diagnoses corrupted |
---|
10 | Valid request | 1)Signed content saved to media storage 3) cancellation_reason present 4) explanatory_letter present 5) episode diagnoses deactiveted | 404 |
---|