Population of the CCReportRequestSchemeAnalyte DTO

The CCReportRequestSchemeAnalyte 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 schemes where the job scheme analyte's Reportable is selected are created as report request scheme analytes.

For paperwork and label report requests: Only scheme analytes where a related sample scheme analyte's Reportable is selected are created as report request scheme analytes (that is, it is a cascade up where a related report request sample scheme analyte is created).

For analysis report requests: No report request scheme analytes are created as it is a scheme-based report.

Property Default

Org-scope job with
org-scope scheme

Lab-scope job with
enabled-scope scheme

Lab-scope job with
lab-scope scheme

  • repReqSchemeAnalyteId

Current entity's ID

 

 

 

  • repReqCode
  • repReqId

Current report request

 

 

 

  • organisationCode

jobSchemeAnalyte.organisationCode

Current organisation

Current organisation

Current organisation

  • laboratoryCode

jobSchemeAnalyte.laboratoryCode

 

Current laboratory

Current laboratory

  • jobCode

jobSchemeAnalyte.jobCode

 

 

 

  • repReqSchemeId

reportRequestScheme.id

 

 

 

  • schemeLaboratoryCode

jobSchemeAnalyte.schemeLaboratoryCode

Empty

Empty

Current laboratory

  • schemeCode

jobSchemeAnalyte.schemeCode

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeVersion
  • schemeVersionId

jobSchemeAnalyte.schemeVersionNumber and id

Displays org-scope

Displays org-scope

Displays lab-scope

  • analyteCode
  • schemeVersionAnalyteId

jobSchemeAnalyte.analyteCode and schemeVersionAnalyteId

Displays org-scope

Displays org-scope

Displays lab-scope

  • analyteName

schemeVersionAnalyte.name

Displays org-scope

Displays org-scope

Displays lab-scope

  • analyteDescription

schemeVersionAnalyte.description

Displays org-scope

Displays org-scope

Displays lab-scope

  • defaultSequence

 

 

 

 

  • creationDate
  • creationtime
  • creationUser

 

 

 

 

  • lastModDate
  • lastModTime
  • lastModUser

 

 

 

 

  • isReportable

For certificate report requests: From jobSchemeAnalyte.isReportable

For paperwork or labels report request: this entity is created only if at least one report request sample scheme analyte is created, in which case, jobSchemeAnalyte.isReportable is true.

 

 

 

  • reportName

If jobSchemeAnalyte.reportName is not empty, then use that; otherwise if schemeVersionAnalyte.reportName is not empty, then use that

Uses org-scope scheme version analyte when job scheme analyte's report name is empty

Uses org-scope scheme version analyte when job scheme analyte's report name is empty

Uses lab-scope scheme version analyte when job scheme analyte's report name is empty

  • reportDescription

If jobSchemeAnalyte.reportDescription is not empty, then use that; otherwise if schemeVersionAnalyte.reportDescription is not empty, then use that

Uses org-scope scheme version analyte when job scheme analyte's report description is empty

Uses org-scope scheme version analyte when job scheme analyte's report description is empty

Uses lab-scope scheme version analyte when job scheme analyte's report description is empty

  • reportSequence

If jobSchemeAnalyte.reportSequence is not empty, then use that, otherwise 0

 

 

 

  • analyteReportUnitCode
  • analyteReportUnitId

schemeVersionAnalyte.reportUnitCode and reportUnitId (uses getReportUnitId)

Uses org-scope

Uses enabled-scope

Uses lab-scope

  • analyteRoundingMethod

schemeVersionAnalyte.roundingMethodType

Uses org-scope

Uses enabled-scope

Uses lab-scope

  • analyteRoundingTableCode
  • analyteRoundingTableId

schemeVersionAnalyte.roundingTableCode and id (uses getRoundingTableId)

Uses org-scope

Uses enabled-scope

Uses lab-scope

  • analyteReportLowerDetectionLimit

schemeVersionAnalyte.reportLowerDetectionLimit (uses getRepLowerDl)

Uses org-scope

Uses enabled-scope

Uses lab-scope

  • analyteReportUpperDetectionLimit

schemeVersionAnalyte.reportUpperDetectionLimit (uses getRepUpperDl)

Uses org-scope

Uses enabled-scope

Uses lab-scope