Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

View file
nameService request statuses.drawio

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.

Create Service Request

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.

Complete Service Request

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)

Recall Service Request

Service request autoexpiration

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

Cancel Service Request

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

whith

with a program

, patient is not in the queue

N

In Queue

.

Also, can be set by returning from IN_QUEUE by Release Service request API (obsolete flow, this api will be deprecated)

Create Service Request

[TO BE DEPRECATED] Release Service Request

IN_QUEUE

Service request has NEW program processing status

Obsolete status of service requests. Will be eliminated with time, replaced by IN_PROGRESS.
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

Use Service Request

IN_PROGRESS

Service request has NEW program processing status

Service request has IN_QUEUE program processing status (obsolete flow)

Service Request is

being processed

processing or reserved for usage i.e. provision of the ordered service has been started, but not completed yet

N

Completed

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

Use

Service Request 

Y

N

In Queue

New

Release

Service Request

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

Y

COMPLETED

Service request has IN_PROGRESS program processing status

Service Request has been processed

Complete Service Request