Versions Compared

Key

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

...

itemGroupData is an object with a single attribute corresponding to an individual dataset. The attribute name is OID of a described dataset, which must be the same as the OID of the corresponding itemGroup in the Define-XML file.

...

The dataset description contains basic information about the dataset itself and its items.

AttributeRequirementDescriptionAttribute order
recordsRequiredThe total number of records in a dataset1
nameRequiredDataset name2

label

RequiredDataset description3
itemsRequiredBasic information about variables4
itemDataRequiredDataset data5
Code Block
languagejs
"IG.DM": {
    "records": 100,
    "name": "DM",
    "label": "Demographics",
    "items": [ ... ],
    "itemData": [ ... ]
}

items is an array of basic information about dataset variables. The order of the elements in the array must be the same as the order of variables in the described dataset. The first element always describes the Record Identifier (ITEMGROUPDATASEQ).

AttributeRequirementDescriptionAttribute order
OIDRequiredOID of a variable (must correspond to the variable OID in the Define-XML file)1
nameRequiredVariable name2

label

RequiredVariable description3
typeRequiredType of the variable (i.e., "string", "integer", "decimal", "float", "double", "boolean"; see ODM types for details)4
lengthOptionalVariable length5
displayFormatOptionalDisplay format supports data visualization of numeric float and date values. 6
keySequenceOptionalIndicates that this item is a key variable in the dataset structure. It also provides an ordering for the keys.7
Code Block
languagejs
"items": [    
    {
        "OID": "ITEMGROUPDATASEQ",
        "name": "ITEMGROUPDATASEQ",
        "label": "Record identifier",
        "type": "integer",
    },
    {
        "OID": "IT.DM.STUDYID",
        "name": "STUDYID",
        "label": "Study Identifier",
        "type": "string",
        "length": 12,
        "keySequence": "1",
    },
    ...
]

...