odmlib.arm_1_0 module
ARM (Analysis Results Metadata) 1.0 support. Extends Define-XML 2.1 with elements for describing analysis results, result displays, programming code, and analysis datasets.
ARM (Analysis Results Metadata) 1.0 model classes.
Extends Define-XML 2.1 with elements for describing analysis results, result displays, programming code, and analysis datasets. ARM is used in ADaM Define-XML documents to capture analysis metadata.
The ARM namespace is http://www.cdisc.org/ns/arm/v1.0.
All non-ARM-specific classes are re-exported from
odmlib.define_2_1.model so that a single model import provides
every element needed for a complete ARM-extended Define-XML document.
- class odmlib.arm_1_0.model.TranslatedText(**kwargs)[source]
Bases:
TranslatedTextARM TranslatedText element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- lang
Descriptor for string-valued ODM attributes.
- namespace = 'odm'
- class odmlib.arm_1_0.model.Description(**kwargs)[source]
Bases:
DescriptionARM Description element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- TranslatedText
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.Alias(**kwargs)[source]
Bases:
AliasARM Alias element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- Context
Descriptor for string-valued ODM attributes.
- Name
Descriptor for string-valued ODM attributes.
- namespace = 'odm'
- class odmlib.arm_1_0.model.StudyDescription(**kwargs)[source]
Bases:
StudyDescriptionARM StudyDescription element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- namespace = 'odm'
- class odmlib.arm_1_0.model.ProtocolName(**kwargs)[source]
Bases:
ProtocolNameARM ProtocolName element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- namespace = 'odm'
- class odmlib.arm_1_0.model.StudyName(**kwargs)[source]
Bases:
StudyNameARM StudyName element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- namespace = 'odm'
- class odmlib.arm_1_0.model.GlobalVariables(**kwargs)[source]
Bases:
GlobalVariablesARM GlobalVariables element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- StudyName
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- StudyDescription
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- ProtocolName
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- namespace = 'odm'
- class odmlib.arm_1_0.model.WhereClauseRef(**kwargs)[source]
Bases:
WhereClauseRefARM WhereClauseRef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- WhereClauseOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- class odmlib.arm_1_0.model.PDFPageRef(**kwargs)[source]
Bases:
PDFPageRefARM PDFPageRef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- Type
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- PageRefs
Descriptor for string-valued ODM attributes.
- FirstPage
Descriptor for positive integer attributes (value > 0).
Combines integer type validation with positive value constraint. Used for Length, ItemGroupDataSeq, and similar attributes.
- LastPage
Descriptor for positive integer attributes (value > 0).
Combines integer type validation with positive value constraint. Used for Length, ItemGroupDataSeq, and similar attributes.
- Title
Descriptor for string-valued ODM attributes.
- class odmlib.arm_1_0.model.DocumentRef(**kwargs)[source]
Bases:
DocumentRefARM DocumentRef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- leafID
Descriptor for string-valued ODM attributes.
- PDFPageRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.title(**kwargs)[source]
Bases:
titleARM title element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- class odmlib.arm_1_0.model.leaf(**kwargs)[source]
Bases:
leafARM leaf element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- ID
Descriptor for XML ID attributes.
- href
Descriptor for string-valued ODM attributes.
- title
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- class odmlib.arm_1_0.model.SubClass(**kwargs)[source]
Bases:
SubClassARM SubClass element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- Name
Descriptor for the Name attribute of ODM elements.
- ParentClass
Descriptor for string-valued ODM attributes.
- class odmlib.arm_1_0.model.Class(**kwargs)[source]
Bases:
ClassARM Class element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- Name
Descriptor for the Name attribute of ODM elements.
- SubClass
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.ItemRef(**kwargs)[source]
Bases:
ItemRefARM ItemRef element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- ItemOID
Descriptor for string-valued ODM attributes.
- OrderNumber
Descriptor for integer-valued ODM attributes.
Accepts int values and strings that convert to int (e.g., “42”). Used for OrderNumber, KeySequence, and similar integer attributes.
- Mandatory
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- KeySequence
Descriptor for integer-valued ODM attributes.
Accepts int values and strings that convert to int (e.g., “42”). Used for OrderNumber, KeySequence, and similar integer attributes.
- MethodOID
Descriptor for string-valued ODM attributes.
- Role
Descriptor for string-valued ODM attributes.
- RoleCodeListOID
Descriptor for string-valued ODM attributes.
- IsNonStandard
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- HasNoData
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- WhereClauseRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.ItemGroupDef(**kwargs)[source]
Bases:
ItemGroupDefARM ItemGroupDef element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- Repeating
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- IsReferenceData
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- SASDatasetName
Descriptor for SAS variable/dataset name attributes.
Validates that the value starts with a letter or underscore, contains only alphanumerics and underscores, and is at most 8 characters long. Used for SASFieldName, SASDatasetName, etc.
- Domain
Descriptor for string-valued ODM attributes.
- Purpose
Descriptor for string-valued ODM attributes.
- Structure
Descriptor for string-valued ODM attributes.
- ArchiveLocationID
Descriptor for string-valued ODM attributes.
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- IsNonStandard
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- StandardOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- HasNoData
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- ItemRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- Alias
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- Class
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- leaf
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- namespace = 'odm'
- class odmlib.arm_1_0.model.CheckValue(**kwargs)[source]
Bases:
CheckValueARM CheckValue element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- namespace = 'odm'
- class odmlib.arm_1_0.model.FormalExpression(**kwargs)[source]
Bases:
FormalExpressionARM FormalExpression element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- Context
Descriptor for string-valued ODM attributes.
- namespace = 'odm'
- class odmlib.arm_1_0.model.RangeCheck(**kwargs)[source]
Bases:
RangeCheckARM RangeCheck element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- Comparator
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- SoftHard
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- ItemOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- CheckValue
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.CodeListRef(**kwargs)[source]
Bases:
CodeListRefARM CodeListRef element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- CodeListOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- namespace = 'odm'
- class odmlib.arm_1_0.model.ValueListRef(**kwargs)[source]
Bases:
ValueListRefARM ValueListRef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- ValueListOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- class odmlib.arm_1_0.model.Origin(**kwargs)[source]
Bases:
OriginARM Origin element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- Type
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- Source
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.ItemDef(**kwargs)[source]
Bases:
ItemDefARM ItemDef element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- DataType
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- Length
Descriptor for positive integer attributes (value > 0).
Combines integer type validation with positive value constraint. Used for Length, ItemGroupDataSeq, and similar attributes.
- SignificantDigits
Descriptor for non-negative integer attributes (value >= 0).
Combines integer type validation with non-negative constraint. Used for SignificantDigits and similar attributes.
- SASFieldName
Descriptor for SAS variable/dataset name attributes.
Validates that the value starts with a letter or underscore, contains only alphanumerics and underscores, and is at most 8 characters long. Used for SASFieldName, SASDatasetName, etc.
- DisplayFormat
Descriptor for string-valued ODM attributes.
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- CodeListRef
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Origin
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- ValueListRef
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Alias
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.Decode(**kwargs)[source]
Bases:
DecodeARM Decode element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- TranslatedText
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.CodeListItem(**kwargs)[source]
Bases:
CodeListItemARM CodeListItem element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- CodedValue
Descriptor for string-valued ODM attributes.
- Rank
Descriptor for float-valued ODM attributes.
Accepts float, int, and string values that convert to float. Used for Rank attributes in CodeListItem and EnumeratedItem.
- OrderNumber
Descriptor for integer-valued ODM attributes.
Accepts int values and strings that convert to int (e.g., “42”). Used for OrderNumber, KeySequence, and similar integer attributes.
- ExtendedValue
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Decode
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Alias
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.EnumeratedItem(**kwargs)[source]
Bases:
EnumeratedItemARM EnumeratedItem element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- CodedValue
Descriptor for string-valued ODM attributes.
- Rank
Descriptor for float-valued ODM attributes.
Accepts float, int, and string values that convert to float. Used for Rank attributes in CodeListItem and EnumeratedItem.
- OrderNumber
Descriptor for integer-valued ODM attributes.
Accepts int values and strings that convert to int (e.g., “42”). Used for OrderNumber, KeySequence, and similar integer attributes.
- ExtendedValue
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Alias
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.ExternalCodeList(**kwargs)[source]
Bases:
ExternalCodeListARM ExternalCodeList element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- Dictionary
Descriptor for string-valued ODM attributes.
- Version
Descriptor for string-valued ODM attributes.
- ref
Descriptor for string-valued ODM attributes.
- href
Descriptor for string-valued ODM attributes.
- namespace = 'odm'
- class odmlib.arm_1_0.model.CodeList(**kwargs)[source]
Bases:
CodeListARM CodeList element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- DataType
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- IsNonStandard
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- StandardOID
Descriptor for string-valued ODM attributes.
- SASFormatName
Descriptor for SAS format name attributes.
Validates that the value starts with a letter, underscore, or
$, contains only alphanumerics, underscores, and dots, and is at most 8 characters long. Used for SASFormatName.
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- CodeListItem
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- EnumeratedItem
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- ExternalCodeList
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Alias
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.MethodDef(**kwargs)[source]
Bases:
MethodDefARM MethodDef element (identical to Define-XML 2.1).
- Parameters:
kwargs (Any)
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- Type
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- FormalExpression
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- namespace = 'odm'
- class odmlib.arm_1_0.model.AnnotatedCRF(**kwargs)[source]
Bases:
AnnotatedCRFARM AnnotatedCRF element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- DocumentRef
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- class odmlib.arm_1_0.model.SupplementalDoc(**kwargs)[source]
Bases:
SupplementalDocARM SupplementalDoc element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.WhereClauseDef(**kwargs)[source]
Bases:
WhereClauseDefARM WhereClauseDef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- RangeCheck
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.ValueListDef(**kwargs)[source]
Bases:
ValueListDefARM ValueListDef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- ItemRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.CommentDef(**kwargs)[source]
Bases:
CommentDefARM CommentDef element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.Standard(**kwargs)[source]
Bases:
StandardARM Standard element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- Type
Descriptor for string-valued ODM attributes.
- PublishingSet
Descriptor for string-valued ODM attributes.
- Version
Descriptor for string-valued ODM attributes.
- Status
Descriptor for string-valued ODM attributes.
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- class odmlib.arm_1_0.model.Standards(**kwargs)[source]
Bases:
StandardsARM Standards element (def namespace).
- Parameters:
kwargs (Any)
- namespace = 'def'
- Standard
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.Documentation(**kwargs)[source]
Bases:
ODMElementARM Documentation element containing descriptive text and references.
Provides documentation for an analysis result, including a description and references to external documents (e.g., SAP sections).
- Parameters:
kwargs (Any)
- Description
Textual description of the documentation.
- DocumentRef
References to external documents.
- namespace = 'arm'
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.Code(**kwargs)[source]
Bases:
ODMElementARM Code element containing programming code text.
Holds the actual source code text for an analysis (e.g., SAS code).
- Parameters:
kwargs (Any)
- namespace = 'arm'
- class odmlib.arm_1_0.model.ProgrammingCode(**kwargs)[source]
Bases:
ODMElementARM ProgrammingCode element describing analysis code.
Contains the programming context (e.g., “SAS version 9.2”), the code itself, and optional references to code documentation.
- Parameters:
kwargs (Any)
- Code
The programming code content.
- DocumentRef
References to external code documentation.
- namespace = 'arm'
- Context
alias of
String
- Code
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.AnalysisVariable(**kwargs)[source]
Bases:
ODMElementARM AnalysisVariable element referencing a variable used in analysis.
- Parameters:
kwargs (Any)
- namespace = 'arm'
- ItemOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- class odmlib.arm_1_0.model.AnalysisDataset(**kwargs)[source]
Bases:
ODMElementARM AnalysisDataset element describing a dataset used in analysis.
References an ItemGroupDef and optionally filters rows via a WhereClauseRef. Contains the list of analysis variables used from this dataset.
- Parameters:
kwargs (Any)
- WhereClauseRef
Optional row filter clause.
- AnalysisVariable
List of variables from this dataset used in the analysis.
- namespace = 'arm'
- ItemGroupOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- WhereClauseRef
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- AnalysisVariable
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.AnalysisDatasets(**kwargs)[source]
Bases:
ODMElementARM AnalysisDatasets container for analysis dataset references.
- Parameters:
kwargs (Any)
- AnalysisDataset
List of analysis datasets.
- namespace = 'arm'
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- AnalysisDataset
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.AnalysisResult(**kwargs)[source]
Bases:
ODMElementARM AnalysisResult element describing a single analysis result.
Captures the reason and purpose for the analysis, along with documentation, programming code, and the datasets involved.
- Parameters:
kwargs (Any)
- AnalysisReason
Reason for the analysis (e.g., “SPECIFIED IN SAP”, “DATA DRIVEN”).
- Type:
str, required
- Description
Textual description of the analysis.
- AnalysisDatasets
Datasets used in this analysis.
- Documentation
Supporting documentation and references.
- ProgrammingCode
Code used to produce this result.
- namespace = 'arm'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- ParameterOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- AnalysisReason
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- AnalysisPurpose
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- AnalysisDatasets
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- Documentation
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- ProgrammingCode
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- class odmlib.arm_1_0.model.ResultDisplay(**kwargs)[source]
Bases:
ODMElementARM ResultDisplay element representing a display of analysis results.
Groups one or more AnalysisResult elements that share a common display (e.g., a table or figure in a clinical study report).
- Parameters:
kwargs (Any)
- Description
Textual description of the display.
- DocumentRef
References to the display location in external documents.
- AnalysisResult
List of analysis results shown in this display.
- namespace = 'arm'
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- Description
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- DocumentRef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- AnalysisResult
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.AnalysisResultDisplays(**kwargs)[source]
Bases:
ODMElementARM AnalysisResultDisplays container at the MetaDataVersion level.
Top-level ARM element that holds all ResultDisplay elements for an ADaM Define-XML document.
- Parameters:
kwargs (Any)
- ResultDisplay
List of result displays.
- namespace = 'arm'
- ResultDisplay
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- class odmlib.arm_1_0.model.MetaDataVersion(**kwargs)[source]
Bases:
MetaDataVersionARM-extended MetaDataVersion adding AnalysisResultDisplays.
Extends the Define-XML 2.1 MetaDataVersion with the ARM AnalysisResultDisplays element.
- Parameters:
kwargs (Any)
- OID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- Name
Descriptor for the Name attribute of ODM elements.
- Description
Descriptor for string-valued ODM attributes.
- DefineVersion
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- CommentOID
Descriptor for OID reference attributes.
References the OID of a definition element. Used on reference elements (e.g.,
ItemRef.ItemOIDreferencesItemDef.OID).
- Standards
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- AnnotatedCRF
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- SupplementalDoc
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- ValueListDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- WhereClauseDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- ItemGroupDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- ItemDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- CodeList
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- MethodDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- CommentDef
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- leaf
Descriptor for a list of child ODM elements.
Validates that all items assigned to the list are instances of the expected element class. Stored as a plain list in the instance.
- AnalysisResultDisplays
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- namespace = 'odm'
- class odmlib.arm_1_0.model.Study(**kwargs)[source]
Bases:
StudyARM-extended Study element.
- Parameters:
kwargs (Any)
- OID
Descriptor for string-valued ODM attributes.
- GlobalVariables
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- MetaDataVersion
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- namespace = 'odm'
- class odmlib.arm_1_0.model.ODM(**kwargs)[source]
Bases:
ODMARM-extended ODM root element.
- Parameters:
kwargs (Any)
- FileType
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- FileOID
Descriptor for OID (Object Identifier) attributes.
OIDs uniquely identify definition elements within a MetaDataVersion. Used on the
OIDattribute of *Def elements (e.g.,ItemDef.OID).
- CreationDateTime
Descriptor for ISO 8601 datetime strings.
Validates format:
YYYY-MM-DDTHH:MM:SS[.sss][Z|±HH:MM]Used for
CreationDateTime,AsOfDateTime, and similar attributes.
- AsOfDateTime
Descriptor for ISO 8601 datetime strings.
Validates format:
YYYY-MM-DDTHH:MM:SS[.sss][Z|±HH:MM]Used for
CreationDateTime,AsOfDateTime, and similar attributes.
- ODMVersion
Descriptor that validates against an explicit list of permitted values.
Unlike ValidValues, the allowed values are provided at class definition time in the
valid_valueslist argument.
- Originator
Descriptor for string-valued ODM attributes.
- SourceSystem
Descriptor for string-valued ODM attributes.
- SourceSystemVersion
Descriptor for string-valued ODM attributes.
- schemaLocation
Descriptor for string-valued ODM attributes.
- Context
String descriptor that validates against a dynamically-loaded set of permitted values.
Combines string type validation with value set membership checking. Used for attributes like FileType, Repeating, Mandatory, DataType, etc.
- ID
Descriptor for XML ID attributes.
- Study
Descriptor for a single child ODM element.
Stores a reference to the element class and validates type on assignment. When accessed on an unset optional attribute, instantiates the element class with no arguments.
- namespace = 'odm'