wf
This commit is contained in:
parent
15d8ebf3c7
commit
b32ebecfaa
@ -4,9 +4,32 @@
|
|||||||
|
|
||||||
enum WorkflowLevel: int
|
enum WorkflowLevel: int
|
||||||
{
|
{
|
||||||
case Pending = 0;
|
case Received = 0;
|
||||||
case Unassigned = 10;
|
case Unassigned = 10;
|
||||||
case Assigned = 20;
|
case Assigned = 20;
|
||||||
case ReadInProgress = 30;
|
case Repetition = 30;
|
||||||
case ReadCompleted = 40;
|
case ReadInProgress = 40;
|
||||||
|
case DraftAvailable = 50;
|
||||||
|
case Finalized = 60;
|
||||||
|
case UnderReview = 70;
|
||||||
|
case Published = 80;
|
||||||
|
case Archived = 160;
|
||||||
|
case Cancelled = 240;
|
||||||
|
|
||||||
|
public function description(): string
|
||||||
|
{
|
||||||
|
return match ($this) {
|
||||||
|
self::Received => 'Study Received',
|
||||||
|
self::Unassigned => 'Unassigned',
|
||||||
|
self::Assigned => 'Assigned',
|
||||||
|
self::Repetition => 'Repetition',
|
||||||
|
self::ReadInProgress => 'Read In Progress',
|
||||||
|
self::DraftAvailable => 'Draft Available',
|
||||||
|
self::Finalized => 'Finalized',
|
||||||
|
self::UnderReview => 'Under Review',
|
||||||
|
self::Published => 'Published',
|
||||||
|
self::Archived => 'Archived',
|
||||||
|
self::Cancelled => 'Cancelled',
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user