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](https://cdisc.org/odm2/class/RangeCheck)
[Comparator](../enums/Comparator.md) | The type of comparison to be performed | direct | | [checkValues](../slots/checkValues.md) | *
[String](../types/String.md) | Values to compare against | direct | | [item](../slots/item.md) | 0..1
[String](../types/String.md) or
[Item](../classes/Item.md) or
[Dimension](../classes/Dimension.md) or
[Measure](../classes/Measure.md) or
[DataAttribute](../classes/DataAttribute.md) | Reference to the Item element whose value is being checked. If not specified, check applies to the enclosing context | direct | | [softHard](../slots/softHard.md) | 0..1
[SoftHard](../enums/SoftHard.md) | Indicates whether a validation check is an error ("Hard") or a warning ("Soft") | direct | | [expressions](../slots/expressions.md) | *
[FormalExpression](../classes/FormalExpression.md) | A formal expression for complex checks | direct | | [operator](../slots/operator.md) | 0..1
[LogicalOperator](../enums/LogicalOperator.md) | Logical operator for combining child conditions or range checks. Defaults to ALL if not specified. | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Item](../classes/Item.md) | [rangeChecks](../slots/rangeChecks.md) | range | [RangeCheck](../classes/RangeCheck.md) | | [Condition](../classes/Condition.md) | [rangeChecks](../slots/rangeChecks.md) | range | [RangeCheck](../classes/RangeCheck.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://cdisc.org/dds ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | odm:RangeCheck | | native | odm:RangeCheck | | related | qb:SliceKey, sdmx:DataKey | ## LinkML Source ### Direct
### Induced
erDiagram
Coding {
AliasPredicate aliasType
string code
string codeSystem
string codeSystemVersion
string decode
}
FormalExpression {
string expression
string returnType
string context
string name
string description
string OID
stringList aliases
string label
string uuid
}
Parameter {
string defaultValue
boolean required
DataType dataType
stringList items
string value
string name
string description
string OID
stringList aliases
string label
string uuid
}
RangeCheck {
stringList checkValues
Comparator comparator
string item
SoftHard softHard
LogicalOperator operator
}
Resource {
string attribute
string resourceType
string name
string description
string OID
stringList aliases
string href
string label
string uuid
string version
}
ReturnValue {
stringList valueList
DataType dataType
string name
string description
string OID
stringList aliases
string label
string uuid
}
FormalExpression ||--|o ReturnValue : "returnValue"
FormalExpression ||--}o Coding : "coding"
FormalExpression ||--}o Parameter : "parameters"
FormalExpression ||--}o Resource : "externalCodeLibs"
Parameter ||--}o CodeList : "codeList"
Parameter ||--}o Coding : "coding"
Parameter ||--}o ConceptProperty : "conceptProperty"
Parameter ||--}o Condition : "conditions"
Parameter ||--}o WhereClause : "applicableWhen"
RangeCheck ||--}o FormalExpression : "expressions"
Resource ||--}o Coding : "coding"
Resource ||--}o FormalExpression : "selection"
ReturnValue ||--}o Coding : "coding"
## Slots
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [comparator](../slots/comparator.md) | 0..1 [Comparator](../enums/Comparator.md) | The type of comparison to be performed | direct | | [checkValues](../slots/checkValues.md) | *
[String](../types/String.md) | Values to compare against | direct | | [item](../slots/item.md) | 0..1
[String](../types/String.md) or
[Item](../classes/Item.md) or
[Dimension](../classes/Dimension.md) or
[Measure](../classes/Measure.md) or
[DataAttribute](../classes/DataAttribute.md) | Reference to the Item element whose value is being checked. If not specified, check applies to the enclosing context | direct | | [softHard](../slots/softHard.md) | 0..1
[SoftHard](../enums/SoftHard.md) | Indicates whether a validation check is an error ("Hard") or a warning ("Soft") | direct | | [expressions](../slots/expressions.md) | *
[FormalExpression](../classes/FormalExpression.md) | A formal expression for complex checks | direct | | [operator](../slots/operator.md) | 0..1
[LogicalOperator](../enums/LogicalOperator.md) | Logical operator for combining child conditions or range checks. Defaults to ALL if not specified. | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Item](../classes/Item.md) | [rangeChecks](../slots/rangeChecks.md) | range | [RangeCheck](../classes/RangeCheck.md) | | [Condition](../classes/Condition.md) | [rangeChecks](../slots/rangeChecks.md) | range | [RangeCheck](../classes/RangeCheck.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://cdisc.org/dds ## 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/dds
related_mappings:
- qb:SliceKey
- sdmx:DataKey
attributes:
comparator:
name: comparator
description: The type of comparison to be performed
from_schema: https://cdisc.org/dds
rank: 1000
domain_of:
- RangeCheck
range: Comparator
checkValues:
name: checkValues
description: Values to compare against
from_schema: https://cdisc.org/dds
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/dds
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/dds
rank: 1000
domain_of:
- RangeCheck
range: SoftHard
expressions:
name: expressions
description: A formal expression for complex checks
from_schema: https://cdisc.org/dds
domain_of:
- Condition
- RangeCheck
- Method
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/dds
domain_of:
- Condition
- RangeCheck
range: LogicalOperator
required: false
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/dds
related_mappings:
- qb:SliceKey
- sdmx:DataKey
attributes:
comparator:
name: comparator
description: The type of comparison to be performed
from_schema: https://cdisc.org/dds
rank: 1000
owner: RangeCheck
domain_of:
- RangeCheck
range: Comparator
checkValues:
name: checkValues
description: Values to compare against
from_schema: https://cdisc.org/dds
rank: 1000
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/dds
rank: 1000
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/dds
rank: 1000
owner: RangeCheck
domain_of:
- RangeCheck
range: SoftHard
expressions:
name: expressions
description: A formal expression for complex checks
from_schema: https://cdisc.org/dds
owner: RangeCheck
domain_of:
- Condition
- RangeCheck
- Method
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/dds
owner: RangeCheck
domain_of:
- Condition
- RangeCheck
range: LogicalOperator
required: false