Versions Compared

Key

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

Image RemovedImage Added

StatusUsage StateDescriptionTerminal State (Y|N)
Activeused_by_legal_entity is emptySigned and active for usage service request, patient is not in the queueN
Activeused_by_legal_entity is not emptyService 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

...

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

used_by_legal_entity is populated by calling legal entity

Use Service Request YN
Active-

used_by_legal_entity is cleared

Release Service RequestYN
ActiveIn Progress-

Make Service Request As In Progress

Submit Encounter Data Package

YN
In ProgressCompleted-

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

Dispense Service Request

YY
ActiveEntered In Error-Recall Cancel Service RequestYY
ActiveCancelled-

Cancel Recall Service Request

Auto Cancel Service Request

YY
In ProgressCancelled-Cancel Service RequestYY
CompletedCancelled-Cancel Service RequestYN

Open Questions 

QuestionAnswer






...