Table of Contents |
---|
...
View file | ||
---|---|---|
|
Statuses of Service request
Status | Conditions | Description | Method to turn the status |
---|---|---|---|
ACTIVE | Service request has been created. | Service request has been created and activated. | |
COMPLETED | Active service request. At least one not entered_in_error medical event has been related to it. | Final status, it sets manually. Describes that the service request has been successfully finalized. | |
RECALLED | Active service request. | Final status, it sets automatically or manually. Service Request is recalled because of absence of necessity/autoexpiration and other reasons (for example fraud) | |
ENTERED_IN_ERROR | Active service request. | Final status, it sets manually. Service Request |
...
Status
Description
Terminal State (Y|N)
New
is cancelled because of human mistake in the process of creation |
Program processing statuses of Service request
The program processing status is set only for service requests with a medical program, absent for requests w/o medical program.
Status | Conditions | Description | Method to turn the status |
---|---|---|---|
NEW | Service request has been created with a program. Service is IN_QUEUE (obsolete flow) | Available for usage service request |
with a program |
N
. Also, can be set by returning from IN_QUEUE by Release Service request API (obsolete flow, this api will be deprecated) | ||
IN_QUEUE | Service request has NEW program processing status | Obsolete status of service requests. Will be eliminated with time, replaced by IN_PROGRESS. |
N
IN_PROGRESS | Service request has NEW program processing status Service request has IN_QUEUE program processing status (obsolete flow) | Service Request is |
processing or reserved for usage i.e. provision of the ordered service has been started, but not completed yet |
N
From (Status)
To (Status)
Method
Notification to Event Manager (Y|N)
Notification to Patient (Y|N)
New
In Queue
Service Request has been processed, feedback is given
Y
State Transition
Y
N
In Queue
New
Y
N
In Queue
In Progress
[TO BE DEPRECATED] Change service request status to In progress |
Y
N
In Progress
Completed
Complete Service Request
Y
Y
Service Request State Model
...
Status
...
Description
...
Terminal State (Y|N)
...
Active
...
Signed and active service request
...
N
...
Entered In Error
...
Service Request is cancelled because of human mistake in the process of creation
...
Y
...
Recalled
...
Service Request is recalled because of absence of necessity/autoexpiration 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
-
Cancel Service Request
Y
Y
Active
Recalled
-
Recall Service Request
Auto Cancel Service Request
Y
COMPLETED | Service request has IN_PROGRESS program processing status | Service Request has been processed |