Class: EnumExpression
An expression that constrains the range of a slot
classDiagram
class EnumExpression
Expression <|-- EnumExpression
EnumExpression <|-- AnonymousEnumExpression
EnumExpression <|-- EnumDefinition
EnumExpression : code_set
EnumExpression : code_set_tag
EnumExpression : code_set_version
EnumExpression : concepts
EnumExpression : include
EnumExpression --> anonymous_enum_expression : include
EnumExpression : inherits
EnumExpression --> enum_definition : inherits
EnumExpression : matches
EnumExpression --> match_query : matches
EnumExpression : minus
EnumExpression --> anonymous_enum_expression : minus
EnumExpression : permissible_values
EnumExpression --> permissible_value : permissible_values
EnumExpression : pv_formula
EnumExpression --> pv_formula_options : pv_formula
EnumExpression : reachable_from
EnumExpression --> reachability_query : reachable_from
Inheritance
- Expression
- EnumExpression
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
code_set | 0..1 Uriorcurie |
the identifier of an enumeration code set | direct |
code_set_tag | 0..1 String |
the version tag of the enumeration code set | direct |
code_set_version | 0..1 String |
the version identifier of the enumeration code set | direct |
pv_formula | 0..1 PvFormulaOptions |
Defines the specific formula to be used to generate the permissible values | direct |
permissible_values | 0..* PermissibleValue |
A list of possible values for a slot range | direct |
include | 0..* AnonymousEnumExpression |
An enum expression that yields a list of permissible values that are to be in... | direct |
minus | 0..* AnonymousEnumExpression |
An enum expression that yields a list of permissible values that are to be su... | direct |
inherits | 0..* EnumDefinition |
An enum definition that is used as the basis to create a new enum | direct |
reachable_from | 0..1 ReachabilityQuery |
Specifies a query for obtaining a list of permissible values based on graph r... | direct |
matches | 0..1 MatchQuery |
Specifies a match query that is used to calculate the list of permissible val... | direct |
concepts | 0..* Uriorcurie |
A list of identifiers that are used to construct a set of permissible values | direct |
Usages
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/meta
Mappings
Mapping Type | Mapped Value |
---|---|
self | linkml:EnumExpression |
native | linkml:EnumExpression |
LinkML Source
Direct
name: enum_expression
description: An expression that constrains the range of a slot
from_schema: https://w3id.org/linkml/meta
is_a: expression
slots:
- code_set
- code_set_tag
- code_set_version
- pv_formula
- permissible_values
- include
- minus
- inherits
- reachable_from
- matches
- concepts
Induced
name: enum_expression
description: An expression that constrains the range of a slot
from_schema: https://w3id.org/linkml/meta
is_a: expression
attributes:
code_set:
name: code_set
description: the identifier of an enumeration code set.
in_subset:
- SpecificationSubset
- BasicSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
alias: code_set
owner: enum_expression
domain_of:
- enum_expression
range: uriorcurie
code_set_tag:
name: code_set_tag
description: the version tag of the enumeration code set
comments:
- enum_expression cannot have both a code_set_tag and a code_set_version
in_subset:
- BasicSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
alias: code_set_tag
owner: enum_expression
domain_of:
- enum_expression
range: string
code_set_version:
name: code_set_version
description: the version identifier of the enumeration code set
comments:
- we assume that version identifiers lexically sort in temporal order. Recommend
semver when possible
in_subset:
- BasicSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
alias: code_set_version
owner: enum_expression
domain_of:
- enum_expression
range: string
pv_formula:
name: pv_formula
description: Defines the specific formula to be used to generate the permissible
values.
comments:
- you cannot have BOTH the permissible_values and permissible_value_formula tag
- code_set must be supplied for this to be valid
in_subset:
- SpecificationSubset
- BasicSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
alias: pv_formula
owner: enum_expression
domain_of:
- enum_expression
- enum_binding
range: pv_formula_options
permissible_values:
name: permissible_values
description: A list of possible values for a slot range
in_subset:
- SpecificationSubset
- BasicSubset
from_schema: https://w3id.org/linkml/meta
aliases:
- coded values
exact_mappings:
- cdisc:PermissibleValue
rank: 1000
domain: enum_expression
multivalued: true
alias: permissible_values
owner: enum_expression
domain_of:
- enum_expression
range: permissible_value
inlined: true
include:
name: include
description: An enum expression that yields a list of permissible values that
are to be included, after subtracting the minus set
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
multivalued: true
alias: include
owner: enum_expression
domain_of:
- enum_expression
range: anonymous_enum_expression
minus:
name: minus
description: An enum expression that yields a list of permissible values that
are to be subtracted from the enum
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
multivalued: true
alias: minus
owner: enum_expression
domain_of:
- enum_expression
range: anonymous_enum_expression
inherits:
name: inherits
description: An enum definition that is used as the basis to create a new enum
comments:
- All permissible values for all inherited enums are copied to form the initial
seed set
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
multivalued: true
alias: inherits
owner: enum_expression
domain_of:
- enum_expression
range: enum_definition
reachable_from:
name: reachable_from
description: Specifies a query for obtaining a list of permissible values based
on graph reachability
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
alias: reachable_from
owner: enum_expression
domain_of:
- enum_expression
range: reachability_query
matches:
name: matches
description: Specifies a match query that is used to calculate the list of permissible
values
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
alias: matches
owner: enum_expression
domain_of:
- enum_expression
range: match_query
concepts:
name: concepts
description: A list of identifiers that are used to construct a set of permissible
values
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: enum_expression
multivalued: true
alias: concepts
owner: enum_expression
domain_of:
- enum_expression
range: uriorcurie