Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This example shows the definition of 3 analysis sets, each of which is represented as an instance of the AnalysisSet class within the analysisSets attribute of the reporting event. The first 2 analysis sets are simple conditions based on a single specified selection value for a population flag variable, and the third is a compound expression that combines the conditions defined for the first 2 analysis sets.

Xfancy
classrowcaps
Lines 2-11:

Show the "Safety Population" analysis set defined as a simple condition that specifies that the value of the SAFFL variable in the ADSL dataset is equal to "Y". This condition could be expressed as:

  • ADSL.SAFFL EQ 'Y'
Lines 12-21:

Show the "Region X Population" analysis set defined as a simple condition that specifies that the value of the RGXFL variable in the ADSL dataset is equal to "Y". This condition could be expressed as:

  • ADSL.RGXFL EQ 'Y'
Lines 22-30:

Show the "Region X Safety Population" analysis set defined as a compound expression that uses the "AND" logical operator to combine the conditions specified for the "Region X Population" and "Safety Population" analysis sets (meaning that only subjects meeting both conditions are included in the analysis set ). When the references to the other analysis sets are resolved, this expression could be expressed as:

  • ADSL.RGXFL EQ 'Y' AND ADSL.SAFFL EQ 'Y'
Code Block
titleYAML Example
linenumberstrue
analysisSets:
- id: AnalysisSet_SAF
  label: Safety Population
  level: 1
  order: 1
  condition:
    dataset: ADSL
    variable: SAFFL
    comparator: EQ
    value:
    - Y
- id: AnalysisSet_RGX
  label: Region X Population
  level: 1
  order: 1
  condition:
    dataset: ADSL
    variable: RGXFL
    comparator: EQ
    value:
    - Y
- id: AnalysisSet_RGXSAF
  label: Region X Safety Population
  level: 1
  order: 1
  compoundExpression:
    logicalOperator: AND
    whereClauses:
    - AnalysisSet_RGX
    - AnalysisSet_SAF

...