complexType "QuestionItemType"
Namespace:
Content:
complex, 8 attributes, 30 elements
Defined:
Includes:
definitions of 1 attribute, 17 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
xs:boolean : "false"
 = 
"true"
 = 
xs:decimal
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Structure a single Question which may contain one or more response domains (i.e., a list of valid category responses where if "Other" is indicated a text response can be used to specify the intent of "Other"). The structure provides detail on the intent of the question, the text of the question, the valid response options and the number of allowed responses, references to external aids and instructions, and an estimation of the time needed to respond to the question. Note that the QuestionItem is a reusable format for use in any number of applied uses. External aids, instructions, response sequencing etc. should contain information consistent with the general use of the QuestionItem. Additional materials and information can be added within the QuestionConstruct which is the applied use of a question.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          QuestionType (extension)
              QuestionItemType
XML Source (w/o annotations (19); see within schema source)
<xs:complexType name="QuestionItemType">
<xs:complexContent>
<xs:extension base="QuestionType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionItemName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText"/>
<xs:element minOccurs="0" ref="QuestionIntent"/>
<xs:choice minOccurs="0">
<xs:choice minOccurs="0">
<xs:element ref="ResponseDomain"/>
<xs:element ref="ResponseDomainReference"/>
</xs:choice>
<xs:element ref="StructuredMixedResponseDomain"/>
</xs:choice>
<xs:element minOccurs="0" ref="r:ResponseCardinality"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ConceptReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ExternalInterviewerInstruction"/>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:RepresentedVariableReference"/>
</xs:sequence>
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 1/8)
estimatedSecondsResponseTime
Type:
xs:decimal, predefined
Use:
optional
The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional"/>
Content Element Detail (all declarations; defined within this component only; 17/30)
ExternalAid
Type:
ExternalAidType, complex content
A pointer to an external aid presented by the instrument such as a text card, image, audio, or audiovisual aid. Typically a URN. Use type attribute to describe the type of external aid provided. Example of terms to use would include: imageOnly audioOnly audioVisual multiMedia.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid"/>

ExternalInterviewerInstruction
Type:
External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ExternalInterviewerInstruction"/>

InterviewerInstructionReference
Type:
Reference to an interviewer instruction expressed as DDI XML.
XML Source (w/o annotations (1); see within schema source)

QuestionIntent
Type:
r:StructuredStringType, complex content
The purpose of the QuestionItem in terms of what it is designed to measure. 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="QuestionIntent"/>

QuestionItemName
Type:
r:NameType, complex content
A name for the QuestionItem. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionItemName"/>

QuestionText
Type:
DynamicTextType, complex content
The text of a question. Supports the use of DynamicText. Note that when using QuestionText, the full QuestionText must be repeated for multi-language versions of the content. Different languages may handle the dynamic portions in different locations and/or with different content. Therefore languages cannot be mixed within a dynamic text except when the full text itself has multiple language sections, for example, a foreign language term in a text. The DisplayText may also be repeated to provide a dynamic and plain text version of the display. This allows for accurate rendering of the QuestionText in a non-dynamic environment like print.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText"/>

r:Binding
Type:
r:BindingType, complex content
A structure used to bind the content of a parameter declared as the source to a parameter declared as the target. For example, binding the OutParameter of one Question to the InParameter of another Question in order to personalize a question text. Care should be taken to bind only reusable information at this level. Binding is also available at the QuestionConstruct to reflect bindings particular to the use of the question in a specific question flow or instrument.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding"/>

r:ConceptReference
Type:
r:ReferenceType, complex content
A reference to the concept associated with the response to the question.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ConceptReference"/>

r:Description
Type:
r:StructuredStringType, complex content
A description of the QuestionItem. 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:InParameter
Type:
r:InParameterType, complex content
Provides an identity for input objects required for the QuestionItem.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter"/>

r:Label
Type:
r:LabelType, complex content
A display label for the QuestionItem. 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
Provides an identify for the output objects of the QuestionItem.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter"/>

r:RepresentedVariableReference
Type:
r:ReferenceType, complex content
Reference to the RepresentedVariable that describes the data to be collected by this question. The RepresentedVariable contains the broad reusable specification of the Variable, i.e., concept, universe, and value representation. When more than one ResponseDomain exists, one RepresentedVariable should be created for each ResponseDomain in the same order as the corresponding ResponseDomain. TypeOfObject should be set to RepresentedVariable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:RepresentedVariableReference"/>

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

ResponseDomain
Type:
r:RepresentationType, complex content
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 13 elements
Contains a response domain for the question item. Typically used to describe simple response domains (textual, numeric, etc.).
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ResponseDomain"/>

ResponseDomainReference
Type:
DomainReferenceType, complex content
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 5 elements
The inclusion of a response domain by reference (must be supported by a managed representation). An abstract element. May be substituted by any valid object of substitution type ResponseDomainReference.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="ResponseDomainReference"/>

StructuredMixedResponseDomain
Type:
Use in cases where the question requires the option for multiple response domains, such as a category response and a text response to specify a value for "Other", or when text needs to be inserted before, after, or between response options for the question.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="StructuredMixedResponseDomain"/>

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