This job is created on
Submit Encounter Data Package#Postprocessing, i
n 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
- Update service request status to in process (see Referrals State Model)
- Add transition to Event Manager
{"serverDuration": 350, "requestCorrelationId": "92645e5806cd4ea1a70a6dc3781d4713"}