Class: RangeCheck

A validation element that performs a simple comparison check between a referenced item's value and specified values, resolving to a boolean result

URI: odm:class/RangeCheck

erDiagram
RangeCheck {
    Comparator comparator  
    stringList checkValues  
    string item  
    SoftHard softHard  
    LogicalOperator operator  
}
FormalExpression {
    string context  
    string expression  
    string returnType  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}
Coding {
    string code  
    string decode  
    string codeSystem  
    string codeSystemVersion  
    AliasPredicate aliasType  
}
Resource {
    string resourceType  
    string attribute  
    string version  
    string href  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}
ReturnValue {
    DataType dataType  
    stringList valueList  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}
Parameter {
    DataType dataType  
    string value  
    stringList items  
    string OID  
    string uuid  
    string name  
    string description  
    string label  
    stringList aliases  
}

RangeCheck ||--}o FormalExpression : "formalExpression"
FormalExpression ||--}o Parameter : "parameters"
FormalExpression ||--|o ReturnValue : "returnValue"
FormalExpression ||--}o Resource : "externalCodeLibs"
FormalExpression ||--}o Coding : "coding"
Resource ||--}o FormalExpression : "selection"
Resource ||--}o Coding : "coding"
ReturnValue ||--}o Coding : "coding"
Parameter ||--}o CodeList : "codeList"
Parameter ||--}o ConceptProperty : "conceptProperty"
Parameter ||--}o Coding : "coding"

Slots

Name Cardinality and Range Description Inheritance
comparator 0..1
Comparator
The type of comparison to be performed direct
checkValues *
String
Values to compare against direct
item 0..1
String or 
Item or 
Dimension or 
Measure or 
DataAttribute
Reference to the Item element whose value is being checked. If not specified, check applies to the enclosing context direct
softHard 0..1
SoftHard
Indicates whether a validation check is an error ("Hard") or a warning ("Soft") direct
formalExpression *
FormalExpression
A formal expression for complex checks direct
operator 0..1
LogicalOperator
Logical operator for combining child conditions or range checks. Defaults to ALL if not specified. direct

Usages

used by used in type used
Item rangeChecks range RangeCheck
Condition rangeChecks range RangeCheck

Identifier and Mapping Information

Schema Source

  • from schema: https://cdisc.org/define-json

Mappings

Mapping Type Mapped Value
self odm:RangeCheck
native odm:RangeCheck
related qb:SliceKey, sdmx:DataKey

LinkML Source

Direct

name: RangeCheck
description: A validation element that performs a simple comparison check between
  a referenced item's value and specified values, resolving to a boolean result
from_schema: https://cdisc.org/define-json
related_mappings:
- qb:SliceKey
- sdmx:DataKey
attributes:
  comparator:
    name: comparator
    description: The type of comparison to be performed
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - RangeCheck
    range: Comparator
  checkValues:
    name: checkValues
    description: Values to compare against
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - RangeCheck
    range: string
    multivalued: true
    inlined: true
    inlined_as_list: true
  item:
    name: item
    description: Reference to the Item element whose value is being checked. If not
      specified, check applies to the enclosing context
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - RangeCheck
    - SourceItem
    - CubeComponent
    - ObservationRelationship
    any_of:
    - range: Item
    - range: Dimension
    - range: Measure
    - range: DataAttribute
  softHard:
    name: softHard
    description: Indicates whether a validation check is an error ("Hard") or a warning
      ("Soft")
    from_schema: https://cdisc.org/define-json
    rank: 1000
    domain_of:
    - RangeCheck
    range: SoftHard
  formalExpression:
    name: formalExpression
    description: A formal expression for complex checks
    from_schema: https://cdisc.org/define-json
    domain_of:
    - Condition
    - RangeCheck
    range: FormalExpression
    multivalued: true
    inlined: true
    inlined_as_list: true
  operator:
    name: operator
    description: Logical operator for combining child conditions or range checks.
      Defaults to ALL if not specified.
    from_schema: https://cdisc.org/define-json
    domain_of:
    - Condition
    - RangeCheck
    range: LogicalOperator
    required: false

Induced

name: RangeCheck
description: A validation element that performs a simple comparison check between
  a referenced item's value and specified values, resolving to a boolean result
from_schema: https://cdisc.org/define-json
related_mappings:
- qb:SliceKey
- sdmx:DataKey
attributes:
  comparator:
    name: comparator
    description: The type of comparison to be performed
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: comparator
    owner: RangeCheck
    domain_of:
    - RangeCheck
    range: Comparator
  checkValues:
    name: checkValues
    description: Values to compare against
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: checkValues
    owner: RangeCheck
    domain_of:
    - RangeCheck
    range: string
    multivalued: true
    inlined: true
    inlined_as_list: true
  item:
    name: item
    description: Reference to the Item element whose value is being checked. If not
      specified, check applies to the enclosing context
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: item
    owner: RangeCheck
    domain_of:
    - RangeCheck
    - SourceItem
    - CubeComponent
    - ObservationRelationship
    any_of:
    - range: Item
    - range: Dimension
    - range: Measure
    - range: DataAttribute
  softHard:
    name: softHard
    description: Indicates whether a validation check is an error ("Hard") or a warning
      ("Soft")
    from_schema: https://cdisc.org/define-json
    rank: 1000
    alias: softHard
    owner: RangeCheck
    domain_of:
    - RangeCheck
    range: SoftHard
  formalExpression:
    name: formalExpression
    description: A formal expression for complex checks
    from_schema: https://cdisc.org/define-json
    alias: formalExpression
    owner: RangeCheck
    domain_of:
    - Condition
    - RangeCheck
    range: FormalExpression
    multivalued: true
    inlined: true
    inlined_as_list: true
  operator:
    name: operator
    description: Logical operator for combining child conditions or range checks.
      Defaults to ALL if not specified.
    from_schema: https://cdisc.org/define-json
    alias: operator
    owner: RangeCheck
    domain_of:
    - Condition
    - RangeCheck
    range: LogicalOperator
    required: false