Table of Contents |
---|
Process Model
Status | Usage State | Description | Terminal State (Y|N) | ||||||
---|---|---|---|---|---|---|---|---|---|
ActiveNew | used_by_legal_entity is empty | Signed and active available for usage service request, patient is not in the queue | N | ||||||
ActiveNew | used_by_legal_entity is not empty | Service Request is used by some legal entity i.e. patient is in the queue but provision of the ordered service has not been started yet | N | ||||||
In Progress | Service Request is being processed i.e. provision of the ordered service has been started, but not completed yet | N | |||||||
Completed | Service Request has been processed | Y | Entered In Error | Service Request is recalled because of human mistake in the process of creation | Y | Cancelled | Service Request is cancelled because of absence of necessity and other reasons (for example fraud) | Y |
...
, feedback is given | Y |
State Transition
From (Status) | To (Status) | To (Usage State) | Method | Notification to Event Manager (Y|N) | Notification to Patient (Y|N) |
---|
New | - | used_by_legal_entity is populated by calling legal entity | Use Service Request | Y | N |
New | - | used_by_legal_entity is cleared | Release Service Request | Y | N |
New | In Progress | - |
Make Service Request As In Progress
Submit Encounter Data PackageChange service request status to In progress | Y | N | |||
In Progress | Completed | - | Mark Service Request As Completed (Kafka Consumer on Close Episode) Dispense Service Request | Y | Y |
Validity Model
Status | Description | Terminal State (Y|N) |
---|---|---|
Active | N | |
Entered In Error | Service Request is recalled because of human mistake in the process of creation | Y |
Cancelled | Service Request is cancelled because of absence of necessity and other reasons (for example fraud) | Y |
State Transition
From (Status) | To (Status) | To (Usage State) | Method | Notification to Event Manager (Y|N) | Notification to Patient (Y|N) |
---|---|---|---|---|---|
Active | Entered In Error | - | Recall Service Request | Y | Y |
Active | Cancelled | - | Cancel Service Request Auto Cancel Service Request | Y | Y |
...