CodeListStructure

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::Representations::CodeListStructure

Definition

Relation structure of codes within a codelist.

Explanatory notes

Allows for the specification of complex relationships among codes. The code list structure employs a set of code relationips to describe the relationship among concepts. Each code relationship is a one to many description of connections between codes. Together they might commonly describe relationships as complex as a hierarchy.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

- own class -

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

name

- own class -

Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.

ObjectName

0..*

purpose

- own class -

Intent or reason for the object/the description of the object.

InternationalString

0..1

semantics

- own class -

Specifies the semantics of the object in reference to a vocabulary, ontology, etc.

ControlledVocabularyEntry

0..1

specification

- own class -

Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.

StructureSpecification

0..1

topology

- own class -

Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.

ControlledVocabularyEntry

1..1

totality

- own class -

Indicates whether the related collections are comprehensive in terms of their coverage.

StructureExtent

0..1

Associations

Direction

Association

Description

Multiplicity of CodeListStructure

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

CodeListStructure has CodeRelationship

1..1

- own package -

CodeRelationship

0..*

composite

- own class -

from

CodeListStructure structures CodeList

0..1

- own package -

CodeList

0..1

none

- own class -

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the class CodeListStructure (entire model as XMI)

  1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
  2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
  3                 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
  4                 xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure"
  5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure"
  6                 xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedComment"
  8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedComment"
  9                 xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure"/>
 11      <body>Definition
 12============
 13Relation structure of codes within a codelist.
 14
 15Explanatory notes
 16===================
 17Allows for the specification of complex relationships among codes. The code list structure employs a set of code relationips to describe the relationship among concepts. Each code relationship is a one to many description of connections between codes. Together they might commonly describe relationships as complex as a hierarchy.</body>
 18   </ownedComment>
 19   <name>CodeListStructure</name>
 20   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-identifier"
 21                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-identifier"
 22                   xmi:type="uml:Property">
 23      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-identifier-ownedComment"
 24                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-identifier-ownedComment"
 25                    xmi:type="uml:Comment">
 26         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-identifier"/>
 27         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 28      </ownedComment>
 29      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-identifier-lowerValue"
 30                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-identifier-lowerValue"
 31                  xmi:type="uml:LiteralInteger"/>
 32      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-identifier-upperValue"
 33                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-identifier-upperValue"
 34                  xmi:type="uml:LiteralUnlimitedNatural">
 35         <value>1</value>
 36      </upperValue>
 37      <name>identifier</name>
 38      <isID>true</isID>
 39      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 40   </ownedAttribute>
 41   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-name"
 42                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-name"
 43                   xmi:type="uml:Property">
 44      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-name-ownedComment"
 45                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-name-ownedComment"
 46                    xmi:type="uml:Comment">
 47         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-name"/>
 48         <body>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</body>
 49      </ownedComment>
 50      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-name-lowerValue"
 51                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-name-lowerValue"
 52                  xmi:type="uml:LiteralInteger"/>
 53      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-name-upperValue"
 54                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-name-upperValue"
 55                  xmi:type="uml:LiteralUnlimitedNatural">
 56         <value>*</value>
 57      </upperValue>
 58      <name>name</name>
 59      <isOrdered>true</isOrdered>
 60      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
 61   </ownedAttribute>
 62   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_1"
 63                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_1"
 64                   xmi:type="uml:Property">
 65      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_1-lowerValue"
 66                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_1-lowerValue"
 67                  xmi:type="uml:LiteralInteger"/>
 68      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_1-upperValue"
 69                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_1-upperValue"
 70                  xmi:type="uml:LiteralUnlimitedNatural">
 71         <value>1</value>
 72      </upperValue>
 73      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure_structures_CodeList"/>
 74      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeList"/>
 75   </ownedAttribute>
 76   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_2"
 77                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_2"
 78                   xmi:type="uml:Property">
 79      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_2-lowerValue"
 80                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_2-lowerValue"
 81                  xmi:type="uml:LiteralInteger"/>
 82      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-ownedAttribute_2-upperValue"
 83                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-ownedAttribute_2-upperValue"
 84                  xmi:type="uml:LiteralUnlimitedNatural">
 85         <value>*</value>
 86      </upperValue>
 87      <aggregation>composite</aggregation>
 88      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure_has_CodeRelationship"/>
 89      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeRelationship"/>
 90   </ownedAttribute>
 91   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-purpose"
 92                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-purpose"
 93                   xmi:type="uml:Property">
 94      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-purpose-ownedComment"
 95                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-purpose-ownedComment"
 96                    xmi:type="uml:Comment">
 97         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-purpose"/>
 98         <body>Intent or reason for the object/the description of the object.</body>
 99      </ownedComment>
100      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-purpose-lowerValue"
101                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-purpose-lowerValue"
102                  xmi:type="uml:LiteralInteger"/>
103      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-purpose-upperValue"
104                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-purpose-upperValue"
105                  xmi:type="uml:LiteralUnlimitedNatural">
106         <value>1</value>
107      </upperValue>
108      <name>purpose</name>
109      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
110   </ownedAttribute>
111   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-semantics"
112                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-semantics"
113                   xmi:type="uml:Property">
114      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-semantics-ownedComment"
115                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-semantics-ownedComment"
116                    xmi:type="uml:Comment">
117         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-semantics"/>
118         <body>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</body>
119      </ownedComment>
120      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-semantics-lowerValue"
121                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-semantics-lowerValue"
122                  xmi:type="uml:LiteralInteger"/>
123      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-semantics-upperValue"
124                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-semantics-upperValue"
125                  xmi:type="uml:LiteralUnlimitedNatural">
126         <value>1</value>
127      </upperValue>
128      <name>semantics</name>
129      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
130   </ownedAttribute>
131   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-specification"
132                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-specification"
133                   xmi:type="uml:Property">
134      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-specification-ownedComment"
135                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-specification-ownedComment"
136                    xmi:type="uml:Comment">
137         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-specification"/>
138         <body>Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.</body>
139      </ownedComment>
140      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-specification-lowerValue"
141                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-specification-lowerValue"
142                  xmi:type="uml:LiteralInteger"/>
143      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-specification-upperValue"
144                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-specification-upperValue"
145                  xmi:type="uml:LiteralUnlimitedNatural">
146         <value>1</value>
147      </upperValue>
148      <name>specification</name>
149      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification"/>
150   </ownedAttribute>
151   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-topology"
152                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-topology"
153                   xmi:type="uml:Property">
154      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-topology-ownedComment"
155                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-topology-ownedComment"
156                    xmi:type="uml:Comment">
157         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-topology"/>
158         <body>Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.</body>
159      </ownedComment>
160      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-topology-lowerValue"
161                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-topology-lowerValue"
162                  xmi:type="uml:LiteralInteger">
163         <value>1</value>
164      </lowerValue>
165      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-topology-upperValue"
166                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-topology-upperValue"
167                  xmi:type="uml:LiteralUnlimitedNatural">
168         <value>1</value>
169      </upperValue>
170      <name>topology</name>
171      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
172   </ownedAttribute>
173   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-totality"
174                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-totality"
175                   xmi:type="uml:Property">
176      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-totality-ownedComment"
177                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-totality-ownedComment"
178                    xmi:type="uml:Comment">
179         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-totality"/>
180         <body>Indicates whether the related collections are comprehensive in terms of their coverage.</body>
181      </ownedComment>
182      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-totality-lowerValue"
183                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-totality-lowerValue"
184                  xmi:type="uml:LiteralInteger"/>
185      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-CodeListStructure-totality-upperValue"
186                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CodeListStructure-totality-upperValue"
187                  xmi:type="uml:LiteralUnlimitedNatural">
188         <value>1</value>
189      </upperValue>
190      <name>totality</name>
191      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-StructureExtent"/>
192   </ownedAttribute>
193</packagedElement>

Fragment for the class CodeListStructure (entire XML Schema)

  1<xs:element name="CodeListStructure"
  2            type="CodeListStructureXsdType"
  3            xml:id="CodeListStructure">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CodeListStructure -->
  5  <xs:annotation>
  6    <xs:documentation>Definition
  7          ============
  8          Relation structure of codes within a codelist.
  9          
 10          Explanatory notes
 11          ===================
 12          Allows for the specification of complex relationships among codes. The code list structure employs a set of code relationips to describe the relationship among concepts. Each code relationship is a one to many description of connections between codes. Together they might commonly describe relationships as complex as a hierarchy.</xs:documentation>
 13  </xs:annotation>
 14</xs:element>
 15<xs:complexType name="CodeListStructureXsdType"
 16                xml:id="CodeListStructureXsdType">
 17  <xs:annotation>
 18    <xs:documentation>Definition
 19          ============
 20          Relation structure of codes within a codelist.
 21          
 22          Explanatory notes
 23          ===================
 24          Allows for the specification of complex relationships among codes. The code list structure employs a set of code relationips to describe the relationship among concepts. Each code relationship is a one to many description of connections between codes. Together they might commonly describe relationships as complex as a hierarchy.</xs:documentation>
 25  </xs:annotation>
 26  <xs:sequence>
 27    <xs:element name="identifier"
 28                type="IdentifierXsdType"
 29                minOccurs="0"
 30                maxOccurs="1"
 31                xml:id="CodeListStructure-identifier">
 32      <xs:annotation>
 33        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 34      </xs:annotation>
 35    </xs:element>
 36    <xs:element name="name"
 37                type="ObjectNameXsdType"
 38                minOccurs="0"
 39                maxOccurs="unbounded"
 40                xml:id="CodeListStructure-name">
 41      <xs:annotation>
 42        <xs:documentation>Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</xs:documentation>
 43      </xs:annotation>
 44    </xs:element>
 45    <xs:element name="purpose"
 46                type="InternationalStringXsdType"
 47                minOccurs="0"
 48                maxOccurs="1"
 49                xml:id="CodeListStructure-purpose">
 50      <xs:annotation>
 51        <xs:documentation>Intent or reason for the object/the description of the object.</xs:documentation>
 52      </xs:annotation>
 53    </xs:element>
 54    <xs:element name="semantics"
 55                type="ControlledVocabularyEntryXsdType"
 56                minOccurs="0"
 57                maxOccurs="1"
 58                xml:id="CodeListStructure-semantics">
 59      <xs:annotation>
 60        <xs:documentation>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</xs:documentation>
 61      </xs:annotation>
 62    </xs:element>
 63    <xs:element name="specification"
 64                type="StructureSpecificationXsdType"
 65                minOccurs="0"
 66                maxOccurs="1"
 67                xml:id="CodeListStructure-specification">
 68      <xs:annotation>
 69        <xs:documentation>Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification.</xs:documentation>
 70      </xs:annotation>
 71    </xs:element>
 72    <xs:element name="topology"
 73                type="ControlledVocabularyEntryXsdType"
 74                minOccurs="1"
 75                maxOccurs="1"
 76                xml:id="CodeListStructure-topology">
 77      <xs:annotation>
 78        <xs:documentation>Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged.</xs:documentation>
 79      </xs:annotation>
 80    </xs:element>
 81    <xs:element name="totality"
 82                type="StructureExtentXsdType"
 83                minOccurs="0"
 84                maxOccurs="1"
 85                xml:id="CodeListStructure-totality">
 86      <xs:annotation>
 87        <xs:documentation>Indicates whether the related collections are comprehensive in terms of their coverage.</xs:documentation>
 88      </xs:annotation>
 89    </xs:element>
 90    <xs:element name="CodeListStructure_structures_CodeList"
 91                minOccurs="0"
 92                maxOccurs="1"
 93                xml:id="CodeListStructure_structures_CodeList">
 94      <xs:annotation>
 95        <xs:documentation></xs:documentation>
 96      </xs:annotation>
 97      <xs:complexType>
 98        <xs:complexContent>
 99          <xs:restriction base="AssociationReferenceXsdType">
100            <xs:sequence>
101              <xs:element name="ddiReference"
102                          type="InternationalRegistrationDataIdentifierXsdType"
103                          minOccurs="0"
104                          maxOccurs="1"
105                          xml:id="CodeListStructure_structures_CodeList-ddiReference"/>
106              <xs:element name="validType"
107                          minOccurs="0"
108                          maxOccurs="1"
109                          xml:id="CodeListStructure_structures_CodeList-validType">
110                <xs:simpleType>
111                  <xs:restriction base="xs:NMTOKEN">
112                    <xs:enumeration value="CodeList"/>
113                  </xs:restriction>
114                </xs:simpleType>
115              </xs:element>
116            </xs:sequence>
117          </xs:restriction>
118        </xs:complexContent>
119      </xs:complexType>
120    </xs:element>
121    <xs:element name="CodeListStructure_has_CodeRelationship"
122                minOccurs="0"
123                maxOccurs="unbounded"
124                xml:id="CodeListStructure_has_CodeRelationship">
125      <xs:annotation>
126        <xs:documentation></xs:documentation>
127      </xs:annotation>
128      <xs:complexType>
129        <xs:complexContent>
130          <xs:restriction base="AssociationReferenceXsdType">
131            <xs:sequence>
132              <xs:element name="ddiReference"
133                          type="InternationalRegistrationDataIdentifierXsdType"
134                          minOccurs="0"
135                          maxOccurs="1"
136                          xml:id="CodeListStructure_has_CodeRelationship-ddiReference"/>
137              <xs:element name="validType"
138                          minOccurs="1"
139                          maxOccurs="1"
140                          xml:id="CodeListStructure_has_CodeRelationship-validType">
141                <xs:simpleType>
142                  <xs:restriction base="xs:NMTOKEN">
143                    <xs:enumeration value="CodeRelationship"/>
144                  </xs:restriction>
145                </xs:simpleType>
146              </xs:element>
147            </xs:sequence>
148          </xs:restriction>
149        </xs:complexContent>
150      </xs:complexType>
151    </xs:element>
152  </xs:sequence>
153</xs:complexType>

Fragment for the class CodeListStructure (main ontology)

 1# class CodeListStructure
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::CodeListStructure
 3cdi:CodeListStructure
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "CodeListStructure";
 6  rdfs:comment "Definition\n============\nRelation structure of codes within a codelist.\n\nExplanatory notes\n===================\nAllows for the specification of complex relationships among codes. The code list structure employs a set of code relationips to describe the relationship among concepts. Each code relationship is a one to many description of connections between codes. Together they might commonly describe relationships as complex as a hierarchy."@en;
 7  
 8.
 9
10cdi:CodeListStructure-identifier
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "identifier";
13  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
14  rdfs:domain cdi:CodeListStructure;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:CodeListStructure-name
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "name";
21  rdfs:comment "Human understandable name (liguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage."@en;
22  rdfs:domain cdi:CodeListStructure;
23  rdfs:range cdi:ObjectName;
24.
25
26cdi:CodeListStructure-purpose
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "purpose";
29  rdfs:comment "Intent or reason for the object/the description of the object."@en;
30  rdfs:domain cdi:CodeListStructure;
31  rdfs:range cdi:InternationalString;
32.
33
34cdi:CodeListStructure-semantics
35  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
36  rdfs:label "semantics";
37  rdfs:comment "Specifies the semantics of the object in reference to a vocabulary, ontology, etc."@en;
38  rdfs:domain cdi:CodeListStructure;
39  rdfs:range cdi:ControlledVocabularyEntry;
40.
41
42cdi:CodeListStructure-specification
43  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
44  rdfs:label "specification";
45  rdfs:comment "Provides information on reflexivity, transitivity, and symmetry of relationship using a descriptive term from an enumerated list. Use if all relations within this relation structure are of the same specification."@en;
46  rdfs:domain cdi:CodeListStructure;
47  rdfs:range cdi:StructureSpecification;
48.
49
50cdi:CodeListStructure-topology
51  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
52  rdfs:label "topology";
53  rdfs:comment "Indicates the form of the associations among members of the collection. Specifies the way in which constituent parts are interrelated or arranged."@en;
54  rdfs:domain cdi:CodeListStructure;
55  rdfs:range cdi:ControlledVocabularyEntry;
56.
57
58cdi:CodeListStructure-totality
59  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
60  rdfs:label "totality";
61  rdfs:comment "Indicates whether the related collections are comprehensive in terms of their coverage."@en;
62  rdfs:domain cdi:CodeListStructure;
63  rdfs:range cdi:StructureExtent;
64.
65
66
67cdi:CodeListStructure_has_CodeRelationship
68  a rdf:Property, owl:ObjectProperty, ucmis:Association;
69  # ASSOCIATION
70  rdfs:label "has";
71  skos:altLabel "CodeListStructure_has_CodeRelationship";
72  
73  rdfs:domain cdi:CodeListStructure;
74  rdfs:range cdi:CodeRelationship;
75.
76
77cdi:CodeListStructure_structures_CodeList
78  a rdf:Property, owl:ObjectProperty, ucmis:Association;
79  # ASSOCIATION
80  rdfs:label "structures";
81  skos:altLabel "CodeListStructure_structures_CodeList";
82  
83  rdfs:domain cdi:CodeListStructure;
84  rdfs:range cdi:CodeList;
85.

Fragment for the class CodeListStructure (main JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6      "CodeListStructure": "cdi:CodeListStructure",
 7      "identifier": {
 8        "@id": "cdi:CodeListStructure-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "name": {
13        "@id": "cdi:CodeListStructure-name",
14        "@type": "@id",
15        "@context": "ObjectName.jsonld"
16      },
17      "purpose": {
18        "@id": "cdi:CodeListStructure-purpose",
19        "@type": "@id",
20        "@context": "InternationalString.jsonld"
21      },
22      "semantics": {
23        "@id": "cdi:CodeListStructure-semantics",
24        "@type": "@id",
25        "@context": "ControlledVocabularyEntry.jsonld"
26      },
27      "specification": {
28        "@id": "cdi:CodeListStructure-specification",
29        "@type": "@id",
30        "@context": "StructureSpecification.jsonld"
31      },
32      "topology": {
33        "@id": "cdi:CodeListStructure-topology",
34        "@type": "@id",
35        "@context": "ControlledVocabularyEntry.jsonld"
36      },
37      "totality": {
38        "@id": "cdi:CodeListStructure-totality",
39        "@type": "@vocab",
40        "@context": {
41          "Partial": "cdi:Partial",
42          "Total": "cdi:Total",
43          " comment ": "tag:json-should-support-trailing-commas" 
44        }
45      },
46      
47      "has": {
48        "@id": "cdi:CodeListStructure_has_CodeRelationship",
49        "@type": "@id"      },
50      "structures": {
51        "@id": "cdi:CodeListStructure_structures_CodeList",
52        "@type": "@id"      },
53      " comment ": "tag:json-should-support-trailing-commas" 
54    }
55  ],
56  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:00.",
57  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Representations::CodeListStructure"
58}