Population of the CCJobScheme DTO
The CCJobScheme DTO is referenced when Creating Report Requests from Job Report Stakeholders, to place content into the output document as per the report template.
When an org-scope scheme is registered on an org-scope sample causing a job scheme to be created, then for the org-scope job scheme:
- The master scheme is the org-scope scheme.
- The scoped scheme is the org-scope scheme.
When an org-scope scheme is registered on a lab-scope sample causing a job scheme to be created, then for the lab-scope job scheme:
- The master scheme is the org-scope scheme.
- The scoped scheme is the enabled-scope scheme.
When a lab-scope scheme is registered on a lab-scope sample causing a job scheme to be created, then for the lab-scope job scheme:
- The master scheme is the lab-scope scheme.
- The scoped scheme is the lab-scope scheme.
For enabled-scope schemes, defaults originating from the master org-scope scheme or scheme version are indicated.
| Property | Default |
Org-scope job with |
Lab-scope job with |
Lab-scope job with |
|---|---|---|---|---|
|
For identification: |
|
|
|
|
|
Current entity's ID |
|
|
|
|
Indicates whether the entity has organisation scope |
True |
False |
False |
|
job.organisationCode |
Current organisation |
Current organisation |
Current organisation |
|
job.laboratoryCode |
|
Current laboratory |
Current laboratory |
|
job.id and code |
|
|
|
|
job.name |
|
|
|
|
sampleScheme.laboratoryCode |
Empty |
Empty |
Current laboratory |
|
sampleScheme.id and code |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
Master scheme.name |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
sampleScheme.schemeVersionId and linked schemeVersion.versionNumber |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
Draft sampleScheme.schemeAssocSchemeId, and if empty, then from scheme.assocSchemeId |
Empty |
Empty |
Empty |
|
Draft sampleScheme.schemeVersionAssocSchemeVersionId, and if empty then from schemeVersion.assocSchemeVersionId |
Empty |
Empty |
Empty |
|
Indicates whether the scoped scheme is lab-enabled |
False |
True |
False |
|
Numerical sequence of scheme within the job |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For management: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
job.requiredDate + sampleScheme.priority + holidays + non-working days of week if job.requiredDate and sampleScheme.priority are defined, else set to job.requiredDate if job.requiredDate is defined, else empty |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not Started |
|
|
|
|
|
|
|
|
|
For pre-analysis: |
|
|
|
|
|
Inverse of scoped schemeVersion.batchAcrossJobs |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Precursor scheme registration using scoped scheme's precursor relationships |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Linked scheme relationships using master scheme's scheme links |
Uses org-scope |
Uses org-scope |
Uses lab-scope |
|
Scoped schemeVersion.defaultSubContractLabCode |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Scoped schemeVersion.defaultSubContractLabOrgCode |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
|
|
|
|
|
For analysis: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not Tested |
|
|
|
|
Not Tested |
|
|
|
|
For validation: |
|
|
|
|
|
Scoped scheme.autoValidate |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
|
|
|
|
|
|
|
|
|
|
For reporting: |
|
|
|
|
|
Scoped scheme.isReportable |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Scoped scheme.reportSequence |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Scoped schemeVersion.reportName |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Scoped schemeVersion.reportDescription |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Copy of the notes from master schemeVersion.reportHeader |
Uses org-scope |
Uses org-scope This differs to the SS that uses the enabled-scope scheme version |
Uses lab-scope |
|
Copy of the notes from master schemeVersion.reportFooter |
Uses org-scope |
Uses org-scope This differs to the SS that uses the enabled-scope scheme version |
Uses lab-scope |
|
Copy of the notes from master schemeVersion.resultHeader |
Uses org-scope |
Uses org-scope This differs to the SS that uses from the enabled-scope scheme version |
Uses lab-scope |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For invoicing: |
|
|
|
|
|
Scoped scheme.priceType |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Where the price code is org-scope then left empty, where lab-scope then set to the current laboratory |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
Scoped scheme.priceCode |
Uses org-scope |
Uses enabled-scope |
Uses lab-scope |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
