n/n | description | inputs | expected result | actual result |
---|---|---|---|---|
CCR1 | Create Contract Request |
| 200, created contract request | |
CCR2 | Create contract request without external_contractors_flag and with external_contractors |
| 422, external_contractors_flag | |
CCR3 | Create Contract Request with doctor_token |
| 403, invalid access token | |
CCR4 | Create contract request without scope |
| 403 | |
CCR5 | Create contract request with owner in other legal entity |
| 403 | |
CCR6 | Create contract request with DISMISSED owner |
| 422 | |
CCR7 | Create contract request with info from nhs side |
| 422 | |
CCR8 | contract request with invalid start_date | start_date='2020-01-01' | 422 | |
CCR9 | contract request with invalid end_date | end_date='2020-12-01' | 422 | |
CCR10 | Contractor_employee_division with dismissed doctor | contractor_employee_divisions.employee_id.status='DISMISSED' | 422, employee | |
CCR11 | Contractor_employee_division with inactive division | contractor_employee_divisions.division_id.status=INACTIVE | 422, division | |
CCR12 | Contractor_employee_division with doctor and different division | contractor_employee_divisions:
| 422 | |
CCR12 | Update contract using contract_number | active contract by contract_number | ||
CCR12 | Update contract using terminated contract_number | terminated contract by contract_number | 422 | |
CCR13 | Create Contract Request within same dates as existing contract request |
| 200, previous request is terminated | |
CCR14 | Create Contract Request within same dates as existing contract request |
| 200, previous request in status=SIGNED | |
ЕСОЗ - публічна документація
General
Content
Integrations