This example shows an instance of the DataSubset specialization of the WhereClause class that defines a compound expression for "Treatment-emergent adverse events resulting in death". The compound expression specifies that the value of the TRTEMFL variable in the ADAE dataset is equal to "Y" and either the value of the AESDTH variable in the ADAE dataset is equal to "Y" or the value of the AEOUT variable in the ADAE dataset is equal to "FATAL", which could be expressed as:
ADAE.TRTEMFL EQ 'Y' AND (ADAE.AESDTH EQ 'Y' OR ADAE.AEOUT EQ 'FATAL')
Lines 1-5: | Show the attributes of the DataSubset specialization of the WhereClause class:
|
Lines 6-7: | Show the attributes of an instance of the CompoundSubsetExpression specialization of the WhereClauseCompoundExpression class (because this is a compound expression within a DataSubset class):
|
Lines 19-20: | Show the attributes of an instance of the WhereClauseCompoundExpression class (because this is a compound expression within a WhereClause class):
|
id: DSS-TEAE-DTH label: Treatment-emergent adverse events resulting in death level: 1 order: 1 compoundExpression: logicalOperator: AND whereClauses: - level: 2 order: 1 condition: dataset: ADAE variable: TRTEMFL comparator: EQ value: - Y - level: 2 order: 2 compoundExpression: logicalOperator: OR whereClauses: - level: 3 order: 1 condition: dataset: ADAE variable: AESDTH comparator: EQ value: - Y - level: 3 order: 2 condition: dataset: ADAE variable: AEOUT comparator: EQ value: - FATAL
This compound expression could be represented in tabular form as shown in the following table where each instance of the WhereClause class (and its DataSubset specialization) is represented on a separate row:
level | order | logicalOperator | dataset | variable | comparator | value |
---|---|---|---|---|---|---|
1 | 1 | AND | ||||
2 | 1 | AEAE | TRTEMFL | EQ | Y | |
2 | 2 | OR | ||||
3 | 1 | AEAE | AESDTH | EQ | Y | |
3 | 2 | AEAE | AEOUT | EQ | FATAL |