complexType "CodeDomainType"
Namespace:
Content:
complex, 4 attributes, 11 elements
Defined:
Includes:
definitions of 1 attribute, 5 elements
Used:
XML Representation Summary
<...
   
 = 
xs:NMTOKENS
 = 
xs:boolean
 = 
("Nominal" | "Ordinal" | "Interval" | "Ratio" | "Continuous")
 = 
xs:boolean : "true"
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
A response domain capturing a coded response (where both codes and their related category value are displayed) for a question. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content. Contains the equivalent content of a CodeRepresentation including a reference to the CodeList used and the ability to limit the use of the CodeList to specific CodeList levels, ranges, or values. Adds a set of elements available to all Response Domains; Label, Description, OutParameter, designation of response cardinality, and a declaration of an offset date for the data content. CodeDomains cannot be included by reference. CodeDomain does not have an equivalent managed representation as the CodeList itself is a managed object. CodeDomains must be entered in-line.
Type Definition Detail
Type Derivation Tree
      CodeDomainType
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="CodeDomainType">
<xs:complexContent>
<xs:extension base="r:CodeRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element minOccurs="0" ref="r:Description"/>
<xs:element minOccurs="0" ref="r:OutParameter"/>
<xs:element minOccurs="0" ref="r:ResponseCardinality"/>
<xs:element minOccurs="0" ref="r:ContentDateOffset"/>
</xs:sequence>
<xs:attribute default="true" name="displayCode" type="xs:boolean"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 1/4)
displayCode
Type:
xs:boolean, predefined
Use:
optional
If set to "true" (default value) the code value associated with the category label will be displayed. Set to "false" if only the category label should not be displayed.
Attribute Value
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="true" name="displayCode" type="xs:boolean"/>
Content Element Detail (all declarations; defined within this component only; 5/11)
r:ContentDateOffset
Type:
Identifies the difference between the date applied to the data as a whole and this specific item such as previous year's income or residence 5 years ago.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:ContentDateOffset"/>

r:Description
Type:
r:StructuredStringType, complex content
A description of the content and purpose of the domain. Supports multiple language versions of the same content as well as optional formatting of the content.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, complex content
A display label for the domain. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

r:OutParameter
Type:
r:ParameterType, complex content
Allows for the response to be bound to one of the QuestionItem's OutParameters, so the collected information can be used elsewhere, for example as inputs to subsequent questions in an Instrument or to a GenerationInstruction. If multiple responses are possible, this would represent and ordered array of the responses.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:OutParameter"/>

r:ResponseCardinality
Type:
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:ResponseCardinality"/>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set