Versions Compared

Key

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

JiraserverIssue Tracker (JIRA)columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolutioncolumnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolutionserverId85506ce4-3cb3-3d91-85ee-f633aaaf4a45keyODM -54ODM v2.0 can be serialized as either XML or JSON.

...

  1. The ODM file must be a well-formed XML file. See the XML standard for details.
  2. The ODM file must conform to the XML Namespace standard. See the XML Namespace standard for details.
  3. The ODM file must contain only elements and attributes defined in the ODM standard schema or in a valid vendor extension schema, and must satisfy the rules about element nesting and the formats of attribute values and element bodies.
  4. The ODM file must contain a single (top-level) ODM element
  5. The ODM file must use the ODM v2.0 namespace, which is "http://www.cdisc.org/ns/odm/v2.0"
  6. The ODMVersion attribute on the top-level ODM element must be set to "2.0"
  7. The ODM file should begin with a prolog, or XML declaration, as this is considered a best practice 

...

The XML schema for Version 2.0 of the ODM can be found at https://github.com/cdisc-org/DataExchange-ODM. The final version of this specification will be posted at https://www.cdisc.org/standards/data-exchange/odm.

...

.

...

Code Block
languagexml
titleExample of prolog and top-level ODM v2.0 XML element
<?xml version="1.0" encoding="UTF-8"?>
<ODM xmlns="http://www.cdisc.org/ns/odm/v2.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    ODMVersion="2.0"
    FileOID="000-00-0000"
    FileType="Transactional"
    Description="Sample ItemData Extension"
    AsOfDateTime="2022-06-04T07:57:00"
    CreationDateTime="2022-06-06T10:30:00">

The semantic constraints are expressed throughout the rest of this document.

...

  1. The ODM file must be a well-formed JSON file. See the ECMA-404 standard for details.
  2. The ODM file must satisfy the rules about element nesting and the formats of values defined in the ODM standard.
  3. The root object corresponds to the ODM element.
  4. The ODMVersion attribute of the root object must be set to "2.0".


Example of ODM v2.0 JSON prolog:

code prolog
Code Block
languagejs
Info
titleExample of ODM v2.0 JSON
file
{
    "
clinicalData
ODM": {
        "
studyOID
ODMVersion": "
cdisc
2.
com/CDISCPILOT01
0",
        "
metaDataVersionOID
FileOID": "
MDV.MSGv2.0.SDTMIG.3.3.SDTM.1.7
000-00-0000",
        "
itemGroupData
FileType": 
{
"Transactional",
        
"IG.DM
"Description": 
{
"Sample 
ItemData Extension",
        
"
records
AsOfDateTime": 
18
"2022-06-04T07:57:00",
        "CreationDateTime": "2022-06-06T10:30:00",
        "
name
Study": 
"DM",
{
            
"
label
OID": "
Demographics
xxx",
            
"
items
StudyName": 
[ ...
"NIH Chronic Low Back Pain example",
            
],
"MetaDataVersion": {
                "
itemData
OID": 
[ ...
"yyy",
         
]
...
            }
        }
    }
}

Pagenav2