ЕСОЗ - публічна документація
Service Requests Status(State) Model
Statuses of Service request
Status | Conditions | Description | Method to turn the status |
---|---|---|---|
ACTIVE | Service request has been created. | Service request has been created and activated. | |
COMPLETED | Active service request. At least one not entered_in_error medical event has been related to it. | Final status, it sets manually. Describes that the service request has been successfully finalized. | |
RECALLED | Active service request. | Final status, it sets automatically or manually. Service Request is recalled because of absence of necessity/autoexpiration and other reasons (for example fraud) | |
ENTERED_IN_ERROR | Active service request. | Final status, it sets manually. Service Request is cancelled because of human mistake in the process of creation |
Program processing statuses of Service request
The program processing status is set only for service requests with a medical program, absent for requests w/o medical program.
Status | Conditions | Description | Method to turn the status |
---|---|---|---|
NEW | Service request has been created with a program. Service is IN_QUEUE (obsolete flow) | Available for usage service request with a program. Also, can be set by returning from IN_QUEUE by Release Service request API (obsolete flow, this api will be deprecated) | |
IN_QUEUE | Service request has NEW program processing status | Obsolete status of service requests. Will be eliminated with time, replaced by IN_PROGRESS. | |
IN_PROGRESS | Service request has NEW program processing status Service request has IN_QUEUE program processing status (obsolete flow) | Service Request is processing or reserved for usage i.e. provision of the ordered service has been started, but not completed yet | [TO BE DEPRECATED] Change service request status to In progress |
COMPLETED | Service request has IN_PROGRESS program processing status | Service Request has been processed |
ЕСОЗ - публічна документація