Population of the CCReportRequestScheme DTO

The CCReportRequestScheme 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's Reportable is selected are created as report request schemes.

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

For analysis report requests: All job schemes are created as report request schemes.

Property Default

Org-scope job with
org-scope scheme

Lab-scope job with
enabled-scope scheme

Lab-scope job with
lab-scope scheme

  • repReqSchemeId

Current entity's ID

 

 

 

  • repRepCode
  • repRepId

reportRequest.code and id

 

 

 

  • isOrganisationScope

Indicates whether the entity has organisation scope

True

False

False

  • organisationCode

jobScheme.organisationCode

Current organisation

Current organisation

Current organisation

  • laboratoryCode

jobScheme.laboratoryCode

 

Current laboratory

Current laboratory

  • jobCode
  • jobId

jobScheme.jobCode and id

 

 

 

  • schemeLaboratoryCode

jobScheme.schemeLaboratoryCode

Empty

Empty

Current laboratory

  • schemeCode
  • schemeId

jobScheme.schemeCode and schemeId

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeName

scheme.name

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeDescription

scheme.description

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeVersion
  • schemeVersionId

jobScheme.schemeVersionNumber and schemeVersionId

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeVersionName

schemeVersion.name

Displays org-scope

Displays org-scope

Displays lab-scope

  • schemeVersionDescription

schemeVersion.description

Displays org-scope

Displays org-scope

Displays lab-scope

  • defaultSequence

Sequence of schemes as displayed on the report request Scheme tab.

Uses CCJobScheme.profileSequence

 

 

 

  • creationDate
  • creationtime
  • creationUser

 

 

 

 

  • lastModDate
  • lastModTime
  • lastModUser

 

 

 

 

  • isReportable

For certificate report requests: From jobScheme.isReportable

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

 

 

 

  • reportName

If jobScheme.reportName is not empty, then use that; otherwise if schemeVersion.reportName is not empty, then use that

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

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

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

  • reportDescription

If job scheme.reportDescription is not empty, then use that; otherwise if schemeVersion.reportDescription is not empty then use that

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

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

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

  • reportSequence

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

 

 

 

  • istextOmitted

 

 

 

 

  • resultHeaderText
  • restulHeadertextId

schemeVersion.resultsHeaderText

*** Known defect, as it should be:

jobScheme.resultHeaderText

Uses org-scope

Uses org-scope

Uses lab-scope