This example shows the definition of 2 grouping factors used to group records in analysis datasets.
Lines 2-27: | Show the attributes of the instance of the GroupingFactor class for the first grouping factor, "Vital Signs Parameter" (line 3), which is defined as being based on the ADVS PARAMCD grouping variable (lines 4 and 5). The grouping factor is not data-driven (line 6), so the groups attribute is included (line 7) and contains 2 predefined groups, each specified as a simple condition represented as an instance of the Group class:
|
Lines 28-32: | Show the attributes of the instance of the GroupingFactor class for the second grouping factor, "System Organ Class" (line 29), which is defined as being based on the ADAE AESOC grouping variable (lines 30 and 31). The grouping factor is data-driven (line 32), so the groups attribute is not included; the groups within this data grouping factor are derived from the distinct values in the AESOC variable. |
analysisGroupings: - id: AnlsGrouping_04_Param dataDriven: false name: Vital Signs Parameter groupingDataset: ADVS groupingVariable: PARAMCD groups: - id: AnlsGrouping_04_Param_1 name: Systolic Blood Pressure (mmHg) level: 1 order: 1 condition: dataset: ADVS variable: PARAMCD comparator: EQ value: - SYSBP - id: AnlsGrouping_04_Param_2 name: Diastolic Blood Pressure (mmHg) level: 1 order: 2 condition: dataset: ADVS variable: PARAMCD comparator: EQ value: - DIABP - id: AnlsGrouping_05_Soc name: System Organ Class groupingDataset: ADAE groupingVariable: AESOC dataDriven: true
These data grouping factors and their predefined groups could be represented in tabular form as shown in the following table where each instance of the Group class is represented on a separate line, with attribute values for the related instance of the GroupingFactor class represented on every row. If there are no predefined groups in the grouping factor (i.e., it is data-driven), a single row is shown with values only included for the GroupingFactor attributes.
id | name | groupingDataset | groupingVariable | dataDriven | group_id | group_name | level | order | dataset | variable | comparator | value |
---|---|---|---|---|---|---|---|---|---|---|---|---|
AnlsGrouping_04_Param | Vital Signs Parameter | ADVS | PARAMCD | FALSE | AnlsGrouping_04_Param_1 | Systolic Blood Pressure (mmHg) | 1 | 1 | ADVS | PARAMCD | EQ | SYSBP |
AnlsGrouping_04_Param | Vital Signs Parameter | ADVS | PARAMCD | FALSE | AnlsGrouping_04_Param_2 | Diastolic Blood Pressure (mmHg) | 1 | 2 | ADVS | PARAMCD | EQ | DIABP |
AnlsGrouping_05_Soc | System Organ Class | ADAE | AESOC | TRUE |