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

Test Cases Update Episode

#DescriptionInputExpected ResultActual ResultStatus
1Update namenew name,
valid scopes,
token.client_id==managing_organization
200200passed 
2Update care_manager

active employee from legal entity = managing_organization in the position of a DOCTOR,

valid scopes,
token.client_id==managing_organization

200

display value updated

200

display value updated

passed 
3Set employee from other legal_entity as a care_manageremployee from legal_entity != managing_organization409

422

"description": "Employee with such ID is not found"

passed
4Set employee that is not a doctor as a care_manageremployee with type "owner"409

422


passed
5Set employee that is not active as a care_manageremployee in status dismissed409422passed
6Update closed episodeepisode in status entere_in_error409422passed
7Update canceled episodeepisode in status canceled409422passed
8Update episode without scopetoken without scope403403passed
9Update an episode of other legal_entitytoken.client_id!=managing_organization422422passed
10Re-update of an episode with the same dataepisode name that matches with previously submitted name200303passed

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