# | Description | Input | Expected Results | Actual Results | Status |
---|---|---|---|---|---|
1 | Valid data | Episode belongs to current LE | Episode is canceled; Record in ME.episode.status_history is created | Episode is canceled; | passed |
2 | Invalid transition - episode entered_in_error | 409 | 422 | passed | |
3 | Episode has encounters that are not canceled | 409 | 209 | passed | |
4 | Wrong scopes | 403 | 403 | passed | |
5 | Cancel an episode of another legal_entity |
Episode doesn`t belong to current LE | 409 | 409 | passed |