ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 8 Next »

Process Model

StatusUsage StateDescriptionTerminal State (Y|N)
Newused_by_legal_entity is emptySigned and available for usage service request, patient is not in the queueN
Newused_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 processed, feedback is givenY

State Transition

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

used_by_legal_entity is populated by calling legal entity

Use Service Request YN
New-

used_by_legal_entity is cleared

Release Service RequestYN
NewIn Progress-

Change service request status to In progress

YN
In ProgressCompleted-

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

Dispense Service Request

YY

Validity Model

StatusDescriptionTerminal State (Y|N)
Active
N
Entered In ErrorService Request is recalled because of human mistake in the process of creationY
CancelledService Request is cancelled because of absence of necessity and other reasons (for example fraud)Y

State Transition

From (Status)To (Status)To (Usage State)MethodNotification to Event Manager (Y|N)Notification to Patient (Y|N)
ActiveEntered In Error-Recall Service RequestYY
ActiveCancelled-

Cancel Service Request

Auto Cancel Service Request

YY
  • No labels