/
Test Cases Update Episode
ЕСОЗ - публічна документація
Test Cases Update Episode
# | Description | Input | Expected Result | Actual Result | Status |
---|---|---|---|---|---|
1 | Update name | new name, valid scopes, token.client_id==managing_organization | 200 | 200 | passed |
2 | Update care_manager | active employee from legal entity = managing_organization in the position of a DOCTOR, valid scopes, | 200 display value updated | 200 display value updated | passed |
3 | Set employee from other legal_entity as a care_manager | employee from legal_entity != managing_organization | 409 | 422 "description": "Employee with such ID is not found" | passed |
4 | Set employee that is not a doctor as a care_manager | employee with type "owner" | 409 | 422 | passed |
5 | Set employee that is not active as a care_manager | employee in status dismissed | 409 | 422 | passed |
6 | Update closed episode | episode in status entere_in_error | 409 | 422 | passed |
7 | Update canceled episode | episode in status canceled | 409 | 422 | passed |
8 | Update episode without scope | token without scope | 403 | 403 | passed |
9 | Update an episode of other legal_entity | token.client_id!=managing_organization | 422 | 422 | passed |
10 | Re-update of an episode with the same data | episode name that matches with previously submitted name | 200 | 303 | passed |
, multiple selections available,
Related content
Test Cases for Create Episode
Test Cases for Create Episode
More like this
Update Episode
Update Episode
Read with this
Employee Request tests
Employee Request tests
More like this
Create Episode
Create Episode
Read with this
Test Cases Get Observations
Test Cases Get Observations
More like this
Close Episode
Close Episode
Read with this
ЕСОЗ - публічна документація