Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


#DescriptionInputExpected resultActual resultStatus
1Patient does not exist
404

401

Access denied - you have no active declaration with the patient

passed
2Patient is inactive



3
Declaration validation handled4
should be??? Kostyahandled????
Missing scope
403403passed
5
4Encounter does not exist or belongs to other patient
404404passed
6
5Operation with data that belongs to other legal entity
7




6Digital signature doesn`t match
8




7Signed content doesn`t match
9

422422passed
8Encounter still active but diagnoses corrupted
10




9Valid request

1)Signed content saved to media storage
2) status `entered_in_error`  set for objects, submitted with status `entered_in_error`

3) cancellation_reason present

4) explanatory_letter present

5) episode diagnoses deactiveted

404

1)Signed content saved to media storage
2) status `entered_in_error`  set for objects, submitted with status `entered_in_error`

3) cancellation_reason present

4) explanatory_letter present

5) episode diagnoses deactiveted