Class: FormalExpression
A FormalExpression used within a ConditionDef or a RangeCheck must evaluate to True or False. A FormalExpression referenced within a MethodDef having Type Imputation, Computation, or Transpose must evaluate to the correct DataType for an Item that may be imputed or computed using the Method. A FormalExpression gets parameter and return value definitions from the MethodSignature element. The data types in the MethodSignature parameters and return values must match the corresponding data types in the FormalExpression.
URI: odm:FormalExpression
erDiagram
FormalExpression {
text context
}
ExternalCodeLib {
nameType library
nameType method
text version
text ref
uriorcurie href
}
Code {
text content
}
FormalExpression ||--|o Code : "code"
FormalExpression ||--|o ExternalCodeLib : "externalCodeLib"
Slots
Name | Cardinality* and Range | Description | Inheritance |
---|---|---|---|
context | 0..1 text |
A free-form qualifier to suggest an appropriate computer language to be used ... | direct |
code | 0..1 Code |
A string pattern that identifies a concept as defined by the code system. | direct |
externalCodeLib | 0..1 ExternalCodeLib |
ExternalCodeLib reference: The ExternalCodeLib element references a FormalExp... | direct |
* See LinkML documentation for cardinality definitions.
Usages
used by | used in | type | used |
---|---|---|---|
RangeCheck | formalExpression | range | FormalExpression |
MethodDef | formalExpression | range | FormalExpression |
ConditionDef | formalExpression | range | FormalExpression |
StudyEndPoint | formalExpression | range | FormalExpression |
StudyTargetPopulation | formalExpression | range | FormalExpression |
See Also
Identifier and Mapping Information
Schema Source
- from schema: http://www.cdisc.org/ns/odm/v2.0
Mappings
Mapping Type | Mapped Value |
---|---|
self | odm:FormalExpression |
native | odm:FormalExpression |
LinkML Source
Direct
name: FormalExpression
description: A FormalExpression used within a ConditionDef or a RangeCheck must evaluate
to True or False. A FormalExpression referenced within a MethodDef having Type Imputation,
Computation, or Transpose must evaluate to the correct DataType for an Item that
may be imputed or computed using the Method. A FormalExpression gets parameter and
return value definitions from the MethodSignature element. The data types in the
MethodSignature parameters and return values must match the corresponding data types
in the FormalExpression.
from_schema: http://www.cdisc.org/ns/odm/v2.0
see_also:
- https://wiki.cdisc.org/display/PUB/FormalExpression
rank: 1000
slots:
- context
- code
- externalCodeLib
slot_usage:
context:
name: context
description: A free-form qualifier to suggest an appropriate computer language
to be used when evaluating the FormalExpression content.
comments:
- 'Required
range: text'
domain_of:
- Alias
- FormalExpression
- ODMFileMetadata
range: text
code:
name: code
domain_of:
- FormalExpression
- Coding
range: Code
maximum_cardinality: 1
externalCodeLib:
name: externalCodeLib
domain_of:
- FormalExpression
range: ExternalCodeLib
maximum_cardinality: 1
class_uri: odm:FormalExpression
Induced
name: FormalExpression
description: A FormalExpression used within a ConditionDef or a RangeCheck must evaluate
to True or False. A FormalExpression referenced within a MethodDef having Type Imputation,
Computation, or Transpose must evaluate to the correct DataType for an Item that
may be imputed or computed using the Method. A FormalExpression gets parameter and
return value definitions from the MethodSignature element. The data types in the
MethodSignature parameters and return values must match the corresponding data types
in the FormalExpression.
from_schema: http://www.cdisc.org/ns/odm/v2.0
see_also:
- https://wiki.cdisc.org/display/PUB/FormalExpression
rank: 1000
slot_usage:
context:
name: context
description: A free-form qualifier to suggest an appropriate computer language
to be used when evaluating the FormalExpression content.
comments:
- 'Required
range: text'
domain_of:
- Alias
- FormalExpression
- ODMFileMetadata
range: text
code:
name: code
domain_of:
- FormalExpression
- Coding
range: Code
maximum_cardinality: 1
externalCodeLib:
name: externalCodeLib
domain_of:
- FormalExpression
range: ExternalCodeLib
maximum_cardinality: 1
attributes:
context:
name: context
description: A free-form qualifier to suggest an appropriate computer language
to be used when evaluating the FormalExpression content.
comments:
- 'Required
range: text'
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: context
owner: FormalExpression
domain_of:
- Alias
- FormalExpression
- ODMFileMetadata
range: text
code:
name: code
description: A string pattern that identifies a concept as defined by the code
system.
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: code
owner: FormalExpression
domain_of:
- FormalExpression
- Coding
range: Code
maximum_cardinality: 1
externalCodeLib:
name: externalCodeLib
description: 'ExternalCodeLib reference: The ExternalCodeLib element references
a FormalExpression in an external code library, such as a file or GitHub. The
intention is to make it possible to reference existing code libraries where
the code is maintained as well as making it simpler to include longer, more
complex FormalExpressions. The Library attribute provides the name of the external
library, whereas ref or href provides a reference to the repository that can
be used to retrieve the code. The Method attribute provides the name of the
method in the file referenced for cases where multiple methods are provided
in the source code file. The Version element provides the version of the external
FormalExpression code referenced.'
from_schema: http://www.cdisc.org/ns/odm/v2.0
rank: 1000
alias: externalCodeLib
owner: FormalExpression
domain_of:
- FormalExpression
range: ExternalCodeLib
maximum_cardinality: 1
class_uri: odm:FormalExpression