DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "QuestionItemType"
Namespace:
Content:
complex, 7 attributes, 10 elements
Defined:
Includes:
definitions of 7 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isVersionable
 = 
"true"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, QuestionItemName*, QuestionText*, QuestionIntent*, (ResponseDomain | StructuredMixedResponseDomain), ConceptReference*, ExternalAid*
</...>
Content Model Elements (10):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Structures the QuestionItem, and provides a structure inherited by other derived question item types.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          QuestionItemType (extension)
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="QuestionItemType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionItemName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionIntent"/>
<xs:choice>
<xs:element ref="ResponseDomain"/>
<xs:element ref="StructuredMixedResponseDomain"/>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ConceptReference"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 7/10)
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="ConceptReference"/>

ExternalAid
Type:
r:OtherMaterialType, complex content
A pointer to an exteral 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"/>

QuestionIntent
Type:
r:StructuredStringType, mixed content
The purpose of the question vis-a-vis the data being collected.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionIntent"/>

QuestionItemName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionItemName"/>

QuestionText
Type:
DynamicTextType, complex content
The text of the question presented in the instrument. this can occur multiple times for multi lingual questions.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText"/>

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

StructuredMixedResponseDomain
Type:
Contains a response domain for the question. Typically used to describe simple response domains (textual, numeric, etc.)
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="StructuredMixedResponseDomain"/>

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