DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "CodeType"
Namespace:
Content:
complex, 3 elements
Defined:
globally in reusable.xsd, see XML source
Includes:
definitions of 3 elements
Used:
XML Representation Summary
<...>
   
Content: 
Code+, SourceQuestionReference*, Description*
</...>
Content Model Elements (3):
All Direct / Indirect Based Elements (9):
Known Usage Locations
Annotation
Structures the expression of a coding in the data collection process.
XML Source (w/o annotations (4); see within schema source)
<xs:complexType name="CodeType">
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="Code"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceQuestionReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Description"/>
</xs:sequence>
</xs:complexType>
Content Element Detail (defined in this component only; 3/3)
Code
Type:
The processible code of the expression.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="Code"/>

Description
Type:
StructuredStringType, mixed content
A description of the code.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Description"/>

SourceQuestionReference
Type:
ReferenceType, complex content
A reference to a source question used in the associated Code element.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceQuestionReference"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set