Versions Compared

Key

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


StatusUsage StateDescriptionTerminal State (Y|N)
ActiveIs Used = falseSigned and active for usage referralservice request, patient is not in the queueN
ActiveIs Used = trueService Request is used by some legal entity i.e. patient is in the queue but provision of the ordered service has not been started yetN
In Progress
Service Request is being processed i.e. provision of the ordered service has been started, but not completed yetN
Completed
Service Request has been processedY
Entered In Error
Service Request is cancelled because of human mistake in the process of creationY
Cancelled
Service Request is cancelled because of absence of necessity and other reasons (for example fraud)Y

...

State Transitions

-
From (Status)From (State)To (Status)To (Usage State)MethodNotification to Event Manager (Y|N)Notification to Patient (Y|N)
Active-

Is Used = True

Use Service Request YN
Active--

Is Used = False

Release Service RequestYN
ActiveIs Used = TrueIn Progress-

Make Service Request As In Progress

Submit Encounter Data Package

NYN
In Progress-Completed-

Mark Service Request As Completed (Kafka Consumer on Close Episode)

Dispense Service Request

YY
Active-Entered In Error-Recall Service RequestYY
Active-Cancelled-

Cancel Service Request

Auto Cancel Service Request

YY
In Progress-Cancelled-Cancel Service RequestYY
Completed-Cancelled-Cancel Service RequestYN

...