Population of the CCReportRequestSampleScheme DTO
The CCReportRequestSampleScheme DTO is referenced when Creating Report Requests from Job Report Stakeholders, to place content into the output document as per the report template.
For enabled-scope, defaults originating from org-scope are indicated.
For certificate report requests: Only sample schemes where the sample scheme's Reportable is selected are created as report request sample schemes.
For paperwork and label report requests: Only sample schemes where a related sample scheme analyte's Reportable is selected are created as report request sample schemes (that is, it is a cascade up where a related report request sample scheme analyte is created).
For analysis report requests: All sample schemes are created as report request sample schemes.
| Property | Default |
Org-scope job with |
Lab-scope job with |
Lab-scope job with |
|---|---|---|---|---|
|
Current entity's ID |
|
|
|
|
reportRequest.code and repReqId |
|
|
|
|
reportRequestSample.id |
|
|
|
|
reportRequestScheme.repReqSchemeId |
|
|
|
|
sampleScheme.organisationCode |
Current organisation |
Current organisation |
Current organisation |
|
sampleScheme.laboratoryCode |
|
Current laboratory |
Current laboratory |
|
sampleScheme.jobCode and id |
|
|
|
|
|
|
|
|
|
sampleScheme.sampleCode and sampleId |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sampleScheme.schemeLaboratoryCode |
Empty |
Empty |
Current laboratory |
|
sampleScheme.schemeCode and schemeId |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
scheme.name |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
scheme.description |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
sampleScheme.schemeVersion and schemeVersionId |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
schemeVersion.description |
Displays org-scope |
Displays org-scope |
Displays lab-scope |
|
sampleScheme.sampleSchemeId |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
For certificate reports: From sampleScheme.isReportable For paperwork or labels report report requests: This entity is created only if at least one report request sample scheme analyte is created, in which case, sampleScheme.isReportable is true. |
r |
|
|
|
If sampleScheme.reportSequence is not empty, then use that, otherwise sampleScheme.profileSequence |
|
|
|
