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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

#DescriptionInputExpected resultActual resultStatus
1Patient does not exist
404

401

Access denied - you have no active declaration with the patient

passed
2Patient is inactive
409409
3Missing scope
403403passed
4Encounter does not exist or belongs to other patient
404404passed
5Operation with data that belongs to other legal entity
409422passed
6Digital signature doesn`t match
409409
7Signed content doesn`t match
422422passed
8Encounter still active but diagnoses corrupted
409409passed
9Entities from the package were already cancelled
409409
10No entity from the request marked as entered_in_error
409409
1112Valid request: case encounter is the last for episode

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 in diagnoses_history are deactiveted

6) current_diagnoses replaced according to spec



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

6) current_diagnoses replaced according to spec


12Valid request: case encounter is not last for the episode
current_diagnoses are NOT replaced

13Valid request: case encounter is single for the episode
current_diagnoses replaced with an empty array

14Valid request: all encounter were canceled
current_diagnoses replaced with an empty array

  • No labels