Class: FormalExpression
A computational element that defines the execution of a data derivation within a specific context
URI: odm:class/FormalExpression
erDiagram
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
string defaultValue
stringList items
boolean required
string OID
string uuid
string name
string description
string label
stringList aliases
}
Condition {
string implementsCondition
LogicalOperator operator
string OID
string uuid
string name
string description
string label
stringList aliases
boolean mandatory
string purpose
datetime lastUpdated
string owner
string wasDerivedFrom
}
WhereClause {
string OID
string uuid
string name
string description
string label
stringList aliases
boolean mandatory
string purpose
datetime lastUpdated
string owner
string wasDerivedFrom
}
ConceptProperty {
integer minOccurs
integer maxOccurs
string OID
string uuid
string name
string description
string label
stringList aliases
boolean mandatory
string purpose
datetime lastUpdated
string owner
string wasDerivedFrom
}
CodeList {
DataType dataType
string formatName
string version
string href
string OID
string uuid
string name
string description
string label
stringList aliases
boolean mandatory
string purpose
datetime lastUpdated
string owner
string wasDerivedFrom
}
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 WhereClause : "applicableWhen"
Parameter ||--}o Condition : "conditions"
Parameter ||--}o Coding : "coding"
Condition ||--}o RangeCheck : "rangeChecks"
Condition ||--}o FormalExpression : "expressions"
Condition ||--}o Condition : "conditions"
Condition ||--}o Coding : "coding"
Condition ||--}o Comment : "comments"
Condition ||--}o SiteOrSponsorComment : "siteOrSponsorComments"
WhereClause ||--}o Condition : "conditions"
WhereClause ||--}o Coding : "coding"
WhereClause ||--}o Comment : "comments"
WhereClause ||--}o SiteOrSponsorComment : "siteOrSponsorComments"
ConceptProperty ||--|o CodeList : "codeList"
ConceptProperty ||--}o Coding : "coding"
ConceptProperty ||--}o Comment : "comments"
ConceptProperty ||--}o SiteOrSponsorComment : "siteOrSponsorComments"
CodeList ||--}o CodeListItem : "codeListItems"
CodeList ||--|o Resource : "externalCodeList"
CodeList ||--}o Coding : "coding"
CodeList ||--}o Comment : "comments"
CodeList ||--}o SiteOrSponsorComment : "siteOrSponsorComments"
Inheritance
- IdentifiableElement [ Identifiable Labelled]
- FormalExpression
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| context | 0..1 String |
The specific context within the containing element to which this formal expression applies. | direct |
| expression | 1 String |
The actual text of the formal expression (renamed from 'code' for disambiguation). | direct |
| returnType | 0..1 String |
Return type of the expression | direct |
| parameters | * Parameter |
Parameters used in the expression | direct |
| returnValue | 0..1 ReturnValue |
Return value details | direct |
| externalCodeLibs | * Resource |
External code libraries referenced | direct |
| OID | 1 String |
Local identifier within this study/context. Use CDISC OID format for regulatory submissions, or simple strings for internal use. | Identifiable |
| uuid | 0..1 String |
Universal unique identifier | Identifiable |
| name | 0..1 String |
Short name or identifier, used for field names | Labelled |
| description | 0..1 String or String or TranslatedText |
Detailed description, shown in tooltips | Labelled |
| coding | * Coding |
Semantic tags for this element | Labelled |
| label | 0..1 String or String or TranslatedText |
Human-readable label, shown in UIs | Labelled |
| aliases | * String or String or TranslatedText |
Alternative name or identifier | Labelled |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Condition | expressions | range | FormalExpression |
| RangeCheck | expressions | range | FormalExpression |
| Method | expressions | range | FormalExpression |
| Resource | selection | range | FormalExpression |
| DataService | selection | range | FormalExpression |
| Analysis | expressions | range | FormalExpression |
Identifier and Mapping Information
Schema Source
- from schema: https://cdisc.org/define-json
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | odm:FormalExpression |
| native | odm:FormalExpression |
| exact | odm:FormalExpression, odm:FormalExpressionRef, fhir:Expression |
LinkML Source
Direct
name: FormalExpression
description: A computational element that defines the execution of a data derivation
within a specific context
from_schema: https://cdisc.org/define-json
exact_mappings:
- odm:FormalExpression
- odm:FormalExpressionRef
- fhir:Expression
is_a: IdentifiableElement
attributes:
context:
name: context
description: The specific context within the containing element to which this
formal expression applies.
from_schema: https://cdisc.org/define-json
exact_mappings:
- fhir:Expression/language
domain_of:
- ODMFileMetadata
- FormalExpression
range: string
expression:
name: expression
description: The actual text of the formal expression (renamed from 'code' for
disambiguation).
from_schema: https://cdisc.org/define-json
aliases:
- code
rank: 1000
domain_of:
- FormalExpression
range: string
required: true
returnType:
name: returnType
description: Return type of the expression
from_schema: https://cdisc.org/define-json
rank: 1000
domain_of:
- FormalExpression
range: string
parameters:
name: parameters
description: Parameters used in the expression
from_schema: https://cdisc.org/define-json
rank: 1000
domain_of:
- FormalExpression
range: Parameter
multivalued: true
inlined: true
inlined_as_list: true
returnValue:
name: returnValue
description: Return value details
from_schema: https://cdisc.org/define-json
rank: 1000
domain_of:
- FormalExpression
range: ReturnValue
externalCodeLibs:
name: externalCodeLibs
description: External code libraries referenced
from_schema: https://cdisc.org/define-json
rank: 1000
domain_of:
- FormalExpression
range: Resource
multivalued: true
Induced
name: FormalExpression
description: A computational element that defines the execution of a data derivation
within a specific context
from_schema: https://cdisc.org/define-json
exact_mappings:
- odm:FormalExpression
- odm:FormalExpressionRef
- fhir:Expression
is_a: IdentifiableElement
attributes:
context:
name: context
description: The specific context within the containing element to which this
formal expression applies.
from_schema: https://cdisc.org/define-json
exact_mappings:
- fhir:Expression/language
alias: context
owner: FormalExpression
domain_of:
- ODMFileMetadata
- FormalExpression
range: string
expression:
name: expression
description: The actual text of the formal expression (renamed from 'code' for
disambiguation).
from_schema: https://cdisc.org/define-json
aliases:
- code
rank: 1000
alias: expression
owner: FormalExpression
domain_of:
- FormalExpression
range: string
required: true
returnType:
name: returnType
description: Return type of the expression
from_schema: https://cdisc.org/define-json
rank: 1000
alias: returnType
owner: FormalExpression
domain_of:
- FormalExpression
range: string
parameters:
name: parameters
description: Parameters used in the expression
from_schema: https://cdisc.org/define-json
rank: 1000
alias: parameters
owner: FormalExpression
domain_of:
- FormalExpression
range: Parameter
multivalued: true
inlined: true
inlined_as_list: true
returnValue:
name: returnValue
description: Return value details
from_schema: https://cdisc.org/define-json
rank: 1000
alias: returnValue
owner: FormalExpression
domain_of:
- FormalExpression
range: ReturnValue
externalCodeLibs:
name: externalCodeLibs
description: External code libraries referenced
from_schema: https://cdisc.org/define-json
rank: 1000
alias: externalCodeLibs
owner: FormalExpression
domain_of:
- FormalExpression
range: Resource
multivalued: true
OID:
name: OID
description: Local identifier within this study/context. Use CDISC OID format
for regulatory submissions, or simple strings for internal use.
from_schema: https://cdisc.org/define-json
rank: 1000
identifier: true
alias: OID
owner: FormalExpression
domain_of:
- Identifiable
range: string
required: true
pattern: ^[A-Za-z][A-Za-z0-9._-]*$
uuid:
name: uuid
description: Universal unique identifier
from_schema: https://cdisc.org/define-json
rank: 1000
alias: uuid
owner: FormalExpression
domain_of:
- Identifiable
range: string
name:
name: name
description: Short name or identifier, used for field names
from_schema: https://cdisc.org/define-json
rank: 1000
alias: name
owner: FormalExpression
domain_of:
- Labelled
- Standard
range: string
description:
name: description
description: Detailed description, shown in tooltips
from_schema: https://cdisc.org/define-json
rank: 1000
alias: description
owner: FormalExpression
domain_of:
- Labelled
- CodeListItem
range: string
any_of:
- range: string
- range: TranslatedText
coding:
name: coding
description: Semantic tags for this element
from_schema: https://cdisc.org/define-json
rank: 1000
alias: coding
owner: FormalExpression
domain_of:
- Labelled
- CodeListItem
- SourceItem
range: Coding
multivalued: true
inlined: true
inlined_as_list: true
label:
name: label
description: Human-readable label, shown in UIs
from_schema: https://cdisc.org/define-json
exact_mappings:
- skos:prefLabel
rank: 1000
alias: label
owner: FormalExpression
domain_of:
- Labelled
range: string
any_of:
- range: string
- range: TranslatedText
aliases:
name: aliases
description: Alternative name or identifier
from_schema: https://cdisc.org/define-json
exact_mappings:
- skos:altLabel
rank: 1000
alias: aliases
owner: FormalExpression
domain_of:
- Labelled
- CodeListItem
range: string
multivalued: true
inlined: true
inlined_as_list: true
any_of:
- range: string
- range: TranslatedText