Table of Contents |
---|
Process Model
Status | Usage State | Description | Terminal State (Y|N) |
---|---|---|---|
New | used_by_legal_entity is emptySigned and available for usage service request, patient is not in the queue | N | |
New | used_by_legal_entity is not emptyIn Queue | 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, 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 entityIn Queue | Use Service Request | Y | N | |
In Queue | New | - | used_by_legal_entity is cleared | Release Service Request | Y | N |
New | In Progress- | Change 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 |
...