OntoDL Statement: define: Unterschied zwischen den Versionen

Aus CTS2-LE
Zur Navigation springen Zur Suche springen
(Description)
K (Syntax)
Zeile 65: Zeile 65:
 
| ''SetAsTableStatement''  
 
| ''SetAsTableStatement''  
 
| :=  
 
| :=  
| ''PropertyName'' ('''($''')? ''Text''
+
| ''PropertyName'' '''($'''? ''Text''
 
|  
 
|  
 
| <font face="arial" size="2">The prefix "($" advises the OntoDL interpreter to consider the provided text as a string (which will not be further processed)</font>   
 
| <font face="arial" size="2">The prefix "($" advises the OntoDL interpreter to consider the provided text as a string (which will not be further processed)</font>   

Version vom 16. September 2016, 17:32 Uhr

Syntax


DefinitionStatement := define TypeName ObjectName DefinitionBody  
ObjectName := Name
DefinitionBody := { FullDefinition * }
| = QualifiedConcept
| = InternalReference
Fulldefinition := DefineStatement
| DefaultStatement
| SetStatement
| PredicateStatement
| SetAsTableStatement Must be formatted as 2-column MS Word table using style "OntoDL"
SetAsTableStatement := PropertyName ($? Text The prefix "($" advises the OntoDL interpreter to consider the provided text as a string (which will not be further processed)
| PropertyName InternalReference
PropertyName := Name


Description

The define statement is used for introducing a new named object to OntoDL. Upon introduction a new object is given a name and assigned a type. These properties are fixed through the define statement and cannot be changed afterwards. The immediate binding of a new object to a type is important because not only the object's behavior but even the way you may use that object within OntoDL is determined by its type. The table below lists, how you may further define objects of the defined OntoDL types.

type definiton specific behavior
codesystem full definition exported as a FHIR ValueSet resource (or FHIR STU-3 Codesystem resource)
system full definition, internal reference ID and version information goes into references to external code systems
concept full definition, internal reference, qualified concept exported as part of a code system unless given a silent name
predicate full definition exported as concept reference unless given a silent name
property full definition exported as string reference unless given a silent name

Full Definitions

Qualified Concepts

Defining Objects from Internal References

Nesting of definition Statements

left=outside
top=inside
codesystem system concept property predicate
codesystem not allowed not allowed top-level concept within the codesystem property applicable to the code system and all contained objects predicate applicable to all concepts within the code system
system not allowed not allowed concept within the system.
shall be identified by its code
property applicable to the code system and all contained objects.
properties values will not be exported
predicate applicable to all concepts within the code system.
concepts within the codesystem are only allowed as targets to concept relationships
concept not allowed not allowed sub-concept property applicable to the concept and all of its sub-concepts predicate applicable to the concept and all of its sub-concepts
property not allowed not allowed not allowed not allowed not allowed
predicate not allowed not allowed not allowed not allowed not allowed

Examples