ЕСОЗ - публічна документація
Deprecated Kafka Consumer: Mark Service Request As 'In Process'
A service request automatically becomes 'In progress' when the first encounter, that refers to it, is created.
The job is created on Submit Encounter Package_#Postprocessing, in case there are incoming referrals in the request.
Consumer logic
- Validate message
- in case of error - write message to log, move to error queue
- Ensure that entity exists
- in case of error - write message to log, move to error queue
- Validate transition
- Check service request status (must be 'active')
- in case of error - write message to log, set message as processed
- Check service request status (must be 'active')
- Update service request status to in process (see DEPRECATED - Referrals State Model - V1)
- Add transition to Event Manager
ЕСОЗ - публічна документація