Workflow Cascade from SSA to JSA
A job scheme analyte's Workflow Status is evaluated from each underlying sample scheme analyte's Workflow Status.
| JSA's Workflow Status |
Comment |
|---|---|
|
Not Started |
Set at job scheme analyte creation, or by the cascade engine when all sample scheme analytes associated with the job scheme analyte have a Workflow Status of Not Started, Repeat, Listed Not Received, Insufficient Sample, Not Analysed or No Result. |
|
Started |
Set by the cascade engine when, for the sample scheme analyte associated with the job scheme analyte, where the scheme version analyte's Workflow Active is selected, and:
|
|
Analysed |
Set by the cascade engine when, for the sample scheme analytes associated with the job scheme analyte, where the scheme version analyte's Workflow Active is selected, and:
|
|
Released |
Set by the cascade engine when, for the sample scheme analytes associated with the job scheme analyte, where the scheme version analyte's Workflow Active is selected, and:
|
|
Completed |
Set by the cascade engine in context of result entry via a laboratory-batch job when all sample scheme analytes associated with the job scheme analyte, where the scheme version analyte's Workflow Active is selected, and:
or set by the cascade engine in context of a non-laboratory-batch job when all sample scheme analytes associated with the job scheme analyte, where the scheme version analyte's Workflow Active is selected, if the sample scheme analyte is not associated with a laboratory-batch job or if the sample scheme analyte is associated with a laboratory-batch job and that laboratory-batch job has its Validated Date stamped, and:
|
Proceeding from the first row, where the statement is correct on a row, the workflow status in the right-hand column of that row is set on the job scheme, and the process exits.
|
Underlying sample scheme analytes |
Job scheme analyte |
|---|---|
|
If not all LNR, IS, NA, NR, and at least 1 result where all SVA.WFA=N |
CPL, exit |
|
If all NST, REP where SVA.WFA=Y |
NST, exit |
|
If all CPL, LNR, IS, NA, NR where SVA.WFA=Y or NST, REP where SVA.WFA=N |
CPL, exit |
|
If all REL, CPL, LNR, IS, NA, NR where SVA.WFA=Y or NST, REP where SVA.WFA=N |
REL, exit |
|
If all ANA, REL, CPL, LNR, IS, NA, NR where SVA.WFA=Y or NST, REP where SVA.WFA=N |
ANA, exit |
|
Else |
STA, exit |
