# | Description | Input | Expected result | Actual result | Status |
---|---|---|---|---|---|
1 | HP: cancel all posible enities | encounter observation condition allergy_intolerance immunization device medication_statement risk_assessment | all canceled | all canceled | passed |
2 | Patient does not exist | 404 | 401 Access denied - you have no active declaration with the patient | passed | |
23 | Patient is inactive | 409 | 409 | ||
34 | Missing scope | 403 | 403 | passed | |
45 | Encounter does not exist or belongs to other patient | 404 | 404 | passed | |
56 | Operation with data that belongs to other legal entity | 409 | 422 | passed | |
67 | Digital signature doesn`t match | 409 | 409 | ||
78 | Signed content doesn`t match | 422 | 422 | passed | |
89 | Encounter still active but diagnoses corrupted | 409 | 409 | passed | |
910 | Entities from the package were already cancelled | 409 | 409 | passed | |
1011 | No entity from the request marked as entered_in_error | 409 | 409 | passed | |
1112 | Valid request: case encounter is the last for the episode | 1)Signed content saved to media storage 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 3) cancellation_reason present 4) explanatory_letter present 5) episode diagnoses deactiveted 6) current_diagnoses replaced according to spec | passed | |
1213 | Valid request: case encounter is not last for the episode | current_diagnoses are NOT replaced | passed | ||
1314 | Valid request: case encounter is single for the episode | current_diagnoses replaced with an empty array | passed | ||
1415 | Valid request: all encounter were canceled | current_diagnoses replaced with an empty array | passed |
Page Comparison
General
Content
Integrations