Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Changed example to include ListOfContents class, to replace listOfPlannedAnalyses with mainListOfContents, and to include otherListsOfContents

Only the mainListOfContents and otherListsOfContents attributes of a reporting event are shown for this example. The example reporting event has the required main list of contents (shown in mainListOfContents) and a single additional list of contents (shown in otherListsOfContents). Each of these 2 lists of contents is represented as an instance of the ListOfContents class. In this example, there are 2 instances of the ListOfContents class containing a total of 6 instances of the NestedList class (each containing a set of list items within the structured list of contents):

Xfancy
classrowcaps
Lines 2-47:Show the first instance of the ListOfContents class, which represents the main list of contents for the example reporting event. The sponsor assigned a name of "List of Contents" (line 2) and a label of "LOC" (line 3), but chose not to assign a description.
Lines 5-47, 53-62:Show 2 instances of the NestedList class, each with 2 list items that have level = 1.
Lines 11-42:Show an instance of the NestedList class with 4 list items each with level = 2.
Lines 20-24, 29-33, 38-42:

Show 3 instances of the NestedList class, each with a single list item having level = 3.

Lines 49-62:

Show the second instance of the ListOfContents class, which represents the first (and only) additional list of contents for the example reporting event. The sponsor assigned a name, description and label (lines 49-51) for this list of contents.

Code Block
titleYAML Example
linenumberstrue
mainListOfContents:
  name: List of Contents
  label: LOC
  contentsList:
  
Markdown
```
listOfPlannedAnalyses:
  listItems:
    - name: Table 2. Baseline Demographic and Clinical Characteristics, Safety Population,
      Trial CDISCPILOT01
      level: 1
      order: 1
      outputId: O_T2
      sublist:
        listItems:
        - name: Summary of Subjects by Treatment
          level: 2
          order: 1
          analysisId: A_SAF_SUM_USUBJID_TRT
        - name: Sex
          level: 2
          order: 2
          sublist:
            listItems:
            - name: Summary of Subjects by Treatment
              level: 3
              order: 1
              analysisId: A_SAF_SUM_USUBJID_TRT_SEX
        - name: Age
          level: 2
          order: 3
          sublist:
            listItems:
            - name: Summary of Age by Treatment
              level: 3
              order: 1
              analysisId: A_SAF_SUM_AGE_TRT
        - name: Age groups
          level: 2
          order: 4
          sublist:
            listItems:
            - name: Summary of Subjects by Treatment
              level: 3
              order: 1
              analysisId: A_SAF_SUM_USUBJID_TRT_AGEGRP
```    - name: Table 3. Baseline Clinical Characteristic X, Safety Population, Trial CDISCPILOT01
      level: 1
      order: 2
      analysisId: A_SAF_SUM_BLCLCHRX_TRT
      outputId: O_T3
otherListsOfContents:
- name: List of Planned Outputs
  description: List of outputs used for task assignment.
  label: LOPO
  contentsList:
    listItems:
    - name: Table 2. Baseline Demographic Characteristics, Safety Population, Trial CDISCPILOT01
      level: 1
      order: 1
      outputId: O_T2
    - name: Table 3. Baseline Clinical Characteristic X, Safety Population, Trial CDISCPILOT01
      level: 1
      order: 2
      analysisId: A_SAF_SUM_BLCLCHRX_TRT
      outputId: O_T3

If each instance of the ListOfContents class is represented as a row in a table, with The listOfPlannedAnalyses is an instance of the NestedList class and, in total, there are 5 instances of the NestedList class shown in this example: 1 with list items having level = 1, 1 with list items having level = 2, and 3 with list items having level = 3. If each instance of the NestedList class is represented as a table of list items, the YAML this example could be represented as:

Xfancy
classdataset
Xfancy
classnested-dataset
namedescriptionlabelcontentsList
List of Contents
LOC
levelordernameanalysisIdoutputIdsublist
11Table 2. Baseline Demographic

...

Characteristics, Safety Population, Trial CDISCPILOT01
O_T2
levelordernameanalysisIdsublist
21Summary of Subjects by TreatmentA_SAF_SUM_USUBJID_TRT
22Sex
levelordernameanalysisId
31Summary of Subjects by TreatmentA_SAF_SUM_USUBJID_TRT_SEX
23Age
levelordernameanalysisId
31Summary of Age by TreatmentA_SAF_SUM_AGE_TRT
24Age groups
levelordernameanalysisId
31Summary of Subjects by TreatmentA_SAF_SUM_USUBJID_TRT_AGEGRP
12Table 3. Baseline Clinical Characteristic X, Safety Population, Trial CDISCPILOT01A_SAF_SUM_BLCLCHRX_TRTO_T3


List of Planned OutputsList of outputs used for task assignment.LOPO
levelordernameanalysisIdoutputId
11Table 2. Baseline Demographic Characteristics, Safety Population, Trial CDISCPILOT01
O_T2
12Table 3. Baseline Clinical Characteristic X, Safety Population, Trial CDISCPILOT01A_SAF_SUM_BLCLCHRX_TRTO_T3
Xcss
.wiki-content .dataset table.tablesorter>thead>tr>th{background-color: #cfcfcf;}
.wiki-content .dataset .nested-dataset table.tablesorter>tbody>tr>td{padding: 5px;}