Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
This A service request automatically becomes 'In progress' when the first encounter, that refers to it, is created.
The job is created on Submit Encounter Data Package#PostprocessingPackage_#Postprocessing, in case there are incoming referrals in the request.

Consumer logic

  1. Validate message
    1. in case of error - write message to log, move to error queue
  2. Ensure that entity exists
    1. in case of error - write message to log, move to error queue 
  3. Validate transition
    1. Check service request status (must be 'active')
      1. in case of error - write message to log, set message as processed
  4. Update service request status to in process (see DEPRECATED - Referrals State Model - V1)
  5. Add transition to Event Manager