XML Schema "datacollection.xsd"
Target Namespace:
ddi:datacollection:3_2
Defined Components:
elements (191 global + 8 local), complexTypes (88), simpleTypes (2)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
D:\XMLSchema\DDI\DDI_3_2_2014-02-05_Documentation_XMLSchema\XMLSchema\datacollection.xsd; see XML source
Imports Schemas (3):
logicalproduct.xsd [src], reusable.xsd [src], xml.xsd [src]
Imported by Schemas (4):
comparative.xsd [src], group.xsd [src], instance.xsd [src], studyunit.xsd [src]
All Element Summary
ActionToMinimizeLosses
Describes action taken to minimize loss of data from the collection event.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
Aggregation
Describes the aggregation method and the variables used in the aggregation process.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
AggregationVariables
Identifies the independent and dependent variables used in the aggregation process.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
AggregationVariablesReference
Reference to an existing AggregationVariables using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
AlternateSequenceType
Information on the command used to generate an alternative means of determining sequence changes.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
AssignedVariableReference
Reference to an existing AssignedVariable using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
AssociatedImage
An image associated with the Instruction, located at the provided URN or URL.
Type:
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Used:
AttachmentLocation
Allows attachment of a secondary response domain to a specific item within another response domain used in the question.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
CategoryDomain
A response domain capturing a category (without an attached code) response for a question item.
Type:
Content:
complex, 3 attributes, 8 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
CellCoordinatesAsDefined
Defines one or more cells by defining the applicable values of each dimension as "all values", a "specific value" or a range.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
CellLabel
Provide a label to be included inside of a grid cell and defines the cell or cells that contain it.
Type:
Content:
complex, 4 attributes, 3 elements
Defined:
globally; see XML source
Used:
CleaningOperation
A generic operation description used to describe a cleaning operation.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
CodeDomain
A response domain capturing a coded response (where both codes and their related category value are displayed) for a question item.
Type:
Content:
complex, 3 attributes, 9 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
CollectionEvent
Information on a specific data collection event
Type:
Content:
complex, 5 attributes, 15 elements
Defined:
globally; see XML source
Used:
CollectionSituation
Describes the situation in which the data collection event takes place.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
ComputationItem
A form of control construct providing a code and assigning a variable to hold value of the code as used for computation in control construct flow.
Type:
Content:
complex, 6 attributes, 22 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
ConditionalText
A substitution for TextContent, contains command code or source of the dynamic (changing) text.
Type:
Content:
complex, 3 elements
Subst.Gr:
may substitute for element TextContent
Defined:
globally; see XML source
Used:
never
ConditionForContinuation
Information on the command used for determining if the conditions have been met to continue the given activity.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
ConstructName
Name of the Construct using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ConstructSequence
Describes the ordering of Constructs when not otherwise indicated.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
ControlConstruct
Provides the basic, extensible structure for control elements used in describing flow logic within the instrument.
Type:
Content:
complex, 6 attributes, 20 elements
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 8 elements
Defined:
globally; see XML source
Used:
ControlConstructGroup
Contains a group of ControlConstructs.
Type:
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Used:
ControlConstructGroupName
Name of the ControlConstructGroup using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ControlConstructGroupReference
Reference to an existing ControlConstructGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ControlConstructReference
A reference to a control construct of any type with the ability to bind the InParameter or OutParameter of the ControlConstruct to external information as needed.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
ControlConstructScheme
A set of control constructs maintained by an agency and used in the instrument or computational instruction.
Type:
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Used:
ControlConstructSchemeName
Name of the Control construct Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ControlOperation
A generic operation description used to describe a control operation.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
DataAppraisalInformation
Describes the result of data appraisal activities as a response rate and sampling error.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
DataCollection
A maintainable module containing information on activities related to data collection/capture and the processing required for the creation a data product.
Type:
Content:
complex, 9 attributes, 33 elements
Defined:
globally; see XML source
Used:
DataCollectionDate
Time period of this role.
Type:
Content:
complex, 9 elements
Defined:
globally; see XML source
Used:
DataCollectionFrequency
Documents the intended frequency of data collection.
Type:
Content:
complex, 10 elements
Defined:
globally; see XML source
Used:
DataCollectionMethodology
A basic structure for describing the methodology used for collecting data.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
DataCollectionModuleName
Name of the Data Collection Module using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
DataCollectionSoftware
Specification of the software used by the proprietary system.
Type:
Content:
complex, 1 attribute, 6 elements
Defined:
globally; see XML source
Used:
DataCollectorOrganizationReference
Reference to an existing Organization using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
DataSource
Describes the source of the data.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
DateTimeDomain
A response domain capturing a date or time response for a question item.
Type:
Content:
complex, 4 attributes, 9 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
DateTimeDomainReference
A response domain capturing the date time response for a question item.
Type:
Content:
complex, 7 attributes, 11 elements
Subst.Gr:
may substitute for element ResponseDomainReference
Defined:
globally; see XML source
Used:
never
DependentVariableReference
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
DeviationFromSampleDesign
Describes any deviations from the planned sample design.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
DimensionSequence
Describes the ordering of dimensions when not otherwise indicated.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
DisplayText
Display text which supports the use of dynamic content.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
DistributionDomain
A response domain capturing a distribution response for a question.
Type:
Content:
complex, 4 attributes, 8 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
DomainSpecificValue
Identifies the value of the ResponseDomain to which the new ResponseDomain is attached by specifying its attachmentBase number of the target ResponseDomain in the attribute attachmentDomain.
Type:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Used:
ElseConstructReference
Reference to an existing Construct using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ElseIf
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
Expression
Information on the command used to generate the dynamic portion of a text field.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
ExternalAid
Description and link to the External Aid using the DDI Other Material structure.
Type:
Content:
complex, 6 attributes, 14 elements
Defined:
globally; see XML source
Used:
ExternalInformation
Description and link to the External Information using the DDI Other Material structure.
Type:
Content:
complex, 6 attributes, 14 elements
Defined:
globally; see XML source
Used:
ExternalInstrumentLocation
A reference to an external representation of the data collection instrument, such as an image of a questionnaire or programming script.
Type:
xs:anyURI
Content:
simple
Defined:
locally within InstrumentType complexType; see XML source
ExternalInterviewerInstruction
Specification of an external interviewer instruction not structured in DDI.
Type:
Content:
complex, 7 attributes, 15 elements
Defined:
globally; see XML source
Used:
GeneralInstruction
Processing instructions that pertain to data collection or data processing overall such as handling of non-response to questions, imputation practices, suppression rules, etc.
Type:
Content:
complex, 7 attributes, 14 elements
Defined:
globally; see XML source
Used:
GeneralInstructionReference
Reference to an existing GeneralInstruction using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
GenerationInstruction
Processing instructions for recodes, derivations from multiple question or variable sources, and derivations based on external sources.
Type:
Content:
complex, 7 attributes, 18 elements
Defined:
globally; see XML source
Used:
GenerationInstructionReference
Reference to an existing GenerationInstruction using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
GeographicDomain
A response domain capturing a geographic coordinate reading as a response for a question item.
Type:
Content:
complex, 5 attributes, 16 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
GeographicLocationCodeDomain
A response domain capturing the name or code of a Geographic Location as a response for a question item.
Type:
Content:
complex, 3 attributes, 9 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
GeographicStructureCodeDomain
A response domain capturing a geographic structure code as a response for a question item.
Type:
Content:
complex, 3 attributes, 8 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
GridAttachment
Identifies the cell or cells in a grid to which the item is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
GridDimension
Describes each dimension of the grid including dimension rank (for the purpose of identifying a cell address), a text for the dimension, and optional labels and codes used as column and row stubs.
Type:
Content:
complex, 3 attributes, 2 elements
Defined:
globally; see XML source
Used:
GridResponseDomain
Designates the response domain and the cells using the specified response domain within a QuestionGrid.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
IfCondition
Information on the command used to determine whether the "If" condition is met.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
IfThenElse
A member of the ControlConstruct substitution group.
Type:
Content:
complex, 6 attributes, 24 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
IndependentVariableReference
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
InitialValue
Information on the command used to set the initial value for the process.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
Instruction
Provides the content and description of a single instruction.
Type:
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Used:
InstructionAttachmentLocation
Allows attachment of an instruction to a specific item in a question structure.
Type:
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Used:
InstructionGroup
Contains a group of Instructions.
Type:
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Used:
InstructionGroupName
Name of the InstructionGroup using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
InstructionGroupReference
Reference to an existing InstructionGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
InstructionName
Name of the Instruction using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
InstructionReference
Reference to an individual instruction.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
InstructionText
The content of the Instruction text provided using DynamicText.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally within InstructionType complexType; see XML source
Instrument
Defines the type of instrument used for data collection or capture.
Type:
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Used:
InstrumentGroup
Describes a group of instruments for administrative or conceptual purposes, which may be hierarchical.
Type:
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Used:
InstrumentGroupName
Name of the Instrument Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
InstrumentGroupReference
Reference to an existing InstrumentGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
InstrumentName
Name of the Instrument using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
InstrumentReference
Reference to an existing Instrument using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
InstrumentScheme
Describes a set of instruments maintained by an agency.
Type:
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Used:
InstrumentSchemeName
Name of the Instrument Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
IntendedFrequency
Documents the intended frequency of data collection, for example monthly, yearly, weekly, etc., preferably using an optional controlled vocabulary.
Type:
Content:
simple, 7 attributes
Defined:
InterviewerInstructionReference
Reference to an interviewer instruction expressed as DDI XML plus a flag to designate whether the instruction should always be displayed.
Type:
Content:
complex, 8 attributes, 7 elements
Defined:
globally; see XML source
Used:
InterviewerInstructionScheme
A set of interviewer instructions to be displayed within the instrument, such as definitions, and explanations of terminology and questions.
Type:
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Used:
InterviewerInstructionSchemeName
Name of the Interviewer Instruction Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ItemSequenceType
Describes the types of sequences that can be used for a set of items.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
LiteralText
A substitution for TextContent containing the static (unchanging) text.
Type:
Content:
complex, 2 elements
Subst.Gr:
may substitute for element TextContent
Defined:
globally; see XML source
Used:
never
LocationDomain
A response domain capturing a location response (mark on an image, recording, or object) for a question.
Type:
Content:
complex, 3 attributes, 9 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
Loop
A control construct describing an action which loops until a limiting condition is met.
Type:
Content:
complex, 6 attributes, 25 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
LoopVariableReference
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
LoopWhile
Information on the command used to determine whether the "LoopWhile" condition is met.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
Methodology
Metadata regarding the methodologies used concerning data collection, determining the timing and repetition patterns for data collection, and sampling procedures.
Type:
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Used:
MethodologyReference
Reference to metadata regarding the methodology of the data collection process including, determining repetition patterns, sampling, collection modes, etc.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
MissingValuesDomainReference
A response domain capturing the missing value response for a question item.
Type:
Content:
complex, 7 attributes, 11 elements
Subst.Gr:
may substitute for element ResponseDomainReference
Defined:
globally; see XML source
Used:
never
ModeOfCollection
Describes the mode of collection, i.e., paper questionnaire, observation, web delivered questionnaire, computer assisted interview, automated data harvesting, etc.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
NoDataByDefinition
Defines the cells within the grid that contain the specified content.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
NominalDomain
A response domain capturing a nominal (check off) response for a question grid response.
Type:
Content:
complex, 4 attributes, 7 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
NumberOfResponses
The number of responses within the specified sample.
Type:
xs:integer
Content:
simple
Defined:
locally within ResponseRateType complexType; see XML source
NumericDomain
A response domain capturing a numeric response (the intent is to analyze the response as a number) for a question item
Type:
Content:
complex, 7 attributes, 9 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
NumericDomainReference
A response domain capturing the numeric response for a question item.
Type:
Content:
complex, 7 attributes, 11 elements
Subst.Gr:
may substitute for element ResponseDomainReference
Defined:
globally; see XML source
Used:
never
Origin
A citation or URI for the source of the data.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
OriginLocation
A URN or URL for the data source.
Type:
xs:anyURI
Content:
simple
Defined:
locally within OriginType complexType; see XML source
OtherAppraisalProcess
Other Appraisal Process provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
OverriddenCodeReference
Reference to an existing Generation or General Instruction using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ProcessingEvent
ProcessingEvent can contain a number of operations of different types to express a range of events that occur together.
Type:
Content:
complex, 6 attributes, 18 elements
Defined:
globally; see XML source
Used:
ProcessingEventGroup
Describes a group of processing events for administrative or conceptual purposes, which may be hierarchical.
Type:
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Used:
ProcessingEventGroupName
Name of the Processing Event Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ProcessingEventGroupReference
Reference to an existing ProcessingEventGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ProcessingEventReference
Reference to an existing ProcessingEvent using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ProcessingEventScheme
A set of processing events maintained by an agency, and used in the processing data during development, cleaning, converting to variables, aggregating, and comparing.
Type:
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Used:
ProcessingEventSchemeName
Name of the Processing Event Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ProcessingEventSchemeReference
Reference to a ProcessingEventScheme using SchemeReference which allows for the specification of objects to exclude.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
ProcessingInstructionGroup
Describes a group of processing instructions for administrative or conceptual purposes, which may be hierarchical.
Type:
Content:
complex, 7 attributes, 22 elements
Defined:
globally; see XML source
Used:
ProcessingInstructionGroupName
Name of the Processing Instruction Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ProcessingInstructionGroupReference
Reference to an existing ProcessingInstructionGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
ProcessingInstructionScheme
A set of Processing Instructions (General and Generation Instructions) maintained by an agency.
Type:
Content:
complex, 9 attributes, 23 elements
Defined:
globally; see XML source
Used:
ProcessingInstructionSchemeName
Name of the Processing Instruction using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ProcessingInstructionSchemeReference
Reference to a ProcessingInstructionScheme using SchemeReference which allows for the specification of objects to exclude.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
QuestionBlock
A QuestionBlock is a specific structure used in educational and other types of testing where an object (Stimulus Material) is provided and a set of questions are asked regarding the object.
Type:
Content:
complex, 7 attributes, 25 elements
Defined:
globally; see XML source
Used:
QuestionBlockIntent
Intent of the Question Block provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
QuestionBlockName
Name of the Question Block using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
QuestionBlockReference
Reference to an existing QuestionBlock using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
QuestionConstruct
A construct which ties question content to the programmatic logic of the control constructs.
Type:
Content:
complex, 7 attributes, 26 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
QuestionGrid
Structures the QuestionGrid as an NCube-like structure providing dimension information, labeling options, and response domains attached to one or more cells within the grid.
Type:
Content:
complex, 7 attributes, 26 elements
Defined:
globally; see XML source
Used:
QuestionGridName
Name of the Question Grid using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
QuestionGridReference
Reference to an existing QuestionGrid using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
QuestionGroup
Contains a group of Questions, which may be ordered or hierarchical.
Type:
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Used:
QuestionGroupName
Name of the Question Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
QuestionGroupReference
Reference to an existing QuestionGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
QuestionIntent
Intent of the Question provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
QuestionItem
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").
Type:
Content:
complex, 7 attributes, 25 elements
Defined:
globally; see XML source
Used:
QuestionItemName
Name of the Question Item using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
QuestionItemReference
Reference to an existing QuestionItem using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
QuestionScheme
Contains a set of QuestionItems, QuestionGrids, QuestionBlocks, and QuestionGroups.
Type:
Content:
complex, 9 attributes, 25 elements
Defined:
globally; see XML source
Used:
QuestionSchemeName
Name of the Question Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
QuestionSequence
Describes the ordering of questions when not otherwise indicated.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
QuestionText
Question text which supports the use of dynamic content.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
RankingDomain
A response domain capturing a ranking response which supports a "ranking" of categories.
Type:
Content:
complex, 3 attributes, 8 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
RepeatUntil
A ControlConstruct that specifies a ControlConstruct to be repeated until a specified condition is met.
Type:
Content:
complex, 6 attributes, 22 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
RepeatWhile
A ControlConstruct that specifies a ControlConstruct to be repeated while a specified condition is met.
Type:
Content:
complex, 6 attributes, 22 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
ResponseDomain
An abstract element serving as the head of a substitution group.
Type:
Content:
complex, 3 attributes, 2 elements
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 13 elements
Defined:
globally; see XML source
Used:
at 17 locations
ResponseDomainInMixed
A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question.
Type:
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Used:
ResponseDomainReference
An abstract base for the substitution group ResponseDomainReference.
Type:
Content:
complex, 7 attributes, 11 elements
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 5 elements
Defined:
globally; see XML source
Used:
ResponseRate
A specific rate of response and/or a description of the rate of response for a specific processing event that includes data appraisal.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
ResponseSequence
Describes the ordering of response options when not otherwise indicated.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
ResponseText
Response text which supports the use of dynamic content.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
ResponseTextSet
Provides a means of bundling multiple language versions of the same intended dynamic text together.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
ResponseUnit
A brief textual description or classification of the intended response unit/respondent.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Roster
A roster is an unlabeled list of numbered rows or columns depending upon orientation.
Type:
Content:
complex, 4 attributes, 2 elements
Defined:
globally; see XML source
Used:
SampleSize
The size of the sample from whom data was requested.
Type:
xs:integer
Content:
simple
Defined:
locally within ResponseRateType complexType; see XML source
SamplingError
Sampling Error provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
SamplingProcedure
Describes the type of sample, sample design and provides details on drawing the sample.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
ScaleDomain
A response domain capturing a scale response which describes a 1..n dimensional scale of various display types for a question.
Type:
Content:
complex, 3 attributes, 10 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
ScaleDomainReference
A response domain capturing the scale response for a question item.
Type:
Content:
complex, 7 attributes, 11 elements
Subst.Gr:
may substitute for element ResponseDomainReference
Defined:
globally; see XML source
Used:
never
SelectDimension
For each dimension in the grid define the applicable values as "all values", a "specific value" or a range.
Type:
Content:
empty, 5 attributes
Defined:
globally; see XML source
Used:
Sequence
A ControlConstruct that provides a sequence order for operations expressed as control constructs.
Type:
Content:
complex, 6 attributes, 23 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
SourceCharacteristic
Characteristic provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
SourceDescription
Source Description provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
SourceQuestion
Reference to a question used in the derivation or coding instruction.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
SourceType
A brief textual description of the type of data source.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
SourceVariable
Reference to a variable used in the derivation or coding instruction.ComputationItem, TypeOfObject should be set to Variable.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
SpecificCellCoordinate
The SpecificCellCoordinate expressed as an xs:string.
Type:
xs:string
Content:
simple
Defined:
globally; see XML source
Used:
SpecificResponseRate
The specific rate of response expressed as a percent.
Type:
xs:decimal
Content:
simple
Defined:
locally within ResponseRateType complexType; see XML source
StandardWeight
Provides an identified value for a standard weight expressed as an xs:float.
Type:
Content:
complex, 5 attributes, 7 elements
Defined:
globally; see XML source
Used:
StandardWeightValue
Provides the standard weight used for weighted analysis of data expressed as an xs:float.
Type:
xs:float
Content:
simple
Defined:
locally within StandardWeightType complexType; see XML source
StatementItem
A textual statement used in the Instrument.
Type:
Content:
complex, 6 attributes, 21 elements
Subst.Gr:
may substitute for element ControlConstruct
Defined:
globally; see XML source
Used:
StepValue
Information on the command used to set the incremental or step value for the process.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
StimulusMaterial
Description and link to the StimulusMaterial using the DDI Other Material structure.
Type:
Content:
complex, 6 attributes, 14 elements
Defined:
globally; see XML source
Used:
StructuredMixedGridResponseDomain
Contains a mixture of response domains for the grid cells.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
StructuredMixedResponseDomain
A structure to allow for mixing multiple response domains in a single question.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
Text
The static portion of the text expressed as a StructuredString with the ability to preserve whitespace if critical to the understanding of the content.
Type:
Content:
complex, 7 attributes, 16 elements
Defined:
globally; see XML source
Used:
TextContent
Abstract type existing as the head of a substitution group.
Type:
Content:
complex, 1 element
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 2 elements
Defined:
globally; see XML source
Used:
TextDomain
A response domain capturing a textual response.
Type:
Content:
complex, 6 attributes, 7 elements
Subst.Gr:
may substitute for element ResponseDomain
Defined:
globally; see XML source
Used:
never
TextDomainReference
A response domain capturing the text response for a question item.
Type:
Content:
complex, 7 attributes, 11 elements
Subst.Gr:
may substitute for element ResponseDomainReference
Defined:
globally; see XML source
Used:
never
ThenConstructReference
Reference to an existing Construct using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
TimeMethod
Describes the time method or time dimension of the data collection.
Type:
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Used:
TypeOfActionToMinimizeLosses
A brief textual description or classification of the actions taken to minimum data loss.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfCollectionSituation
A brief textual description or classification of the collection situation.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfControlConstructGroup
A brief textual description of the type of group created to associate a number of ControlConstructs.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfDataCollectionMethodology
A brief textual description or classification of the type of data collection methodology.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfDeviationFromSampleDesign
A brief textual description or classification of the deviation from sample design.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfInstructionGroup
A brief textual description of the type of group created to associate a number of Instructions.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfInstrument
A brief textual description of the type of instrument being described primarily for classification purposes.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfInstrumentGroup
A brief textual description of the type of group created to associate a number of instruments.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfModeOfCollection
A brief textual description or classification of the mode of data collection.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfProcessingEventGroup
A brief textual description of the type of group created to associate a number of processing events.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfProcessingInstructionGroup
A brief textual description of the type of group created to associate a number of processing instructions.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfQuestionGroup
A brief textual description of the type of group created to associate a number of question items, question grids, and/or question blocks.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfSamplingProcedure
A brief textual description or classification of the type of sampling procedure used.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfSequence
A brief textual description of the purpose of type of sequence.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfTimeMethod
A brief textual description or classification of the type of the time methodology used.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
TypeOfWeighting
A brief textual description or classification of the type of weighting used.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
UntilCondition
Information on the command used to determine whether the "Until" condition is met.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
UntilConstructReference
Reference to an existing Construct using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
Weighting
Describes the weighting used in the process.
Type:
Content:
complex, 6 attributes, 14 elements
Defined:
globally; see XML source
Used:
WeightingReference
Reference to a description of the weighting process and any resultant standard weights.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
WhileCondition
Information on the command used to determine whether the "While" condition is met.
Type:
Content:
complex, 4 elements
Defined:
globally; see XML source
Used:
WhileConstructReference
Reference to an existing Construct using the Reference structure.
Type:
Content:
complex, 7 attributes, 6 elements
Defined:
globally; see XML source
Used:
Complex Type Summary
Describes action taken to minimize loss of data from the collection event.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Describes the aggregation method and the variables used in the aggregation process.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Identifies the independent and dependent variables used in the aggregation process.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Allows attachment of a response domain to a specific item in a code or category scheme.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
A response domain capturing a category (without an attached code) response for a question item.
Content:
complex, 3 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Defines one or more cells by defining the applicable values of each dimension as "all values", a "specific value" or a range.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Provide a label to be included inside of a grid cell and defines the cell or cells that contain it.
Content:
complex, 4 attributes, 3 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A response domain capturing a coded response (where both codes and their related category value are displayed) for a question.
Content:
complex, 3 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Information on a specific data collection event including details on who was involved in data collection, the source of the data, the date and frequency of collection, mode of collection, identification of the instrument used for collection, information on the actual situation under which data was collected, actions taken to minimize loss of data, and reference to a quality standard or statement regarding the handling of the data collection process during this event.
Content:
complex, 5 attributes, 15 elements
Defined:
globally; see XML source
Includes:
definitions of 9 elements
Used:
Describes the situation in which the data collection event takes place.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A form of control construct providing a code and assigning a variable to hold value of the code as used for computation in control construct flow.
Content:
complex, 6 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Text which has a changeable value depending on a stated condition, response to earlier questions, or as input from a set of metrics (pre-supplied data).
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Contains a group of ControlConstructs, which may describe an ordered or hierarchical relationship structure.
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
A reference to a control construct of any type with the ability to bind the InParameter or OutParameter of the ControlConstruct to external information as needed.ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, or StatementItem
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A set of control constructs maintained by an agency and used in the instrument or computational instruction.
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Provides the basic, extensible structure for control elements used in describing flow logic within the instrument.
Content:
complex, 6 attributes, 20 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally; see XML source
Includes:
definitions of 9 elements
Used:
Describes the result of data appraisal activities as a response rate and sampling error.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Documents the intended frequency of data collection, for example monthly, yearly, weekly, etc., preferably using an optional controlled vocabulary in the IntendedFrequency element.
Content:
complex, 10 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A basic structure for describing the methodology used for collecting data.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A maintainable module containing information on activities related to data collection/capture and the processing required for the creation a data product.
Content:
complex, 9 attributes, 33 elements
Defined:
globally; see XML source
Includes:
definitions of 20 elements
Used:
Describes the source of the data.
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
A response domain capturing a date or time response for a question item.
Content:
complex, 4 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Describes any deviations from the planned sample design.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A response domain capturing a distribution response for a question item.
Content:
complex, 4 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Abstract type for the head of a substitution group that allows for the use of a response domain by reference.
Content:
complex, 7 attributes, 11 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Identifies the value of the ResponseDomain to which the new ResponseDomain is attached by specifying its attachmentBase number of the target ResponseDomain in the attribute attachmentDomain.
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
Structure supporting the use of dynamic text, where portions of the textual contend change depending on external information (pre-loaded data, response to an earlier query, environmental situations, etc.).
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 1 element
Used:
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Specification of an external interviewer instruction not structured in DDI.
Content:
complex, 7 attributes, 15 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
Processing instructions that pertain to data collection or data processing overall such as handling of non-response to questions, imputation practices, suppression rules, etc.
Content:
complex, 7 attributes, 14 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
Processing instructions for recodes, derivations from multiple question or variable sources, and derivations based on external sources.
Content:
complex, 7 attributes, 18 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 7 elements
Used:
Structures the response domain for a geographic point to ensure collection of relevant information.
Content:
complex, 5 attributes, 16 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A response domain capturing the name or code of a Geographic Location as a response for a question item.
Content:
complex, 3 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A response domain capturing a geographic structure code as a response for a question item.
Content:
complex, 3 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Identifies the cell or cells in a grid to which the item is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
Describes each dimension of the grid including dimension rank (for the purpose of identifying a cell address), a text for the dimension, and optional labels and codes used as column and row stubs.
Content:
complex, 3 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 3 attributes, 2 elements
Used:
Designates the response domain and the cells using the specified response domain within a QuestionGrid.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
A member of the ControlConstruct substitution group.
Content:
complex, 6 attributes, 24 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Allows attachment of an instruction to a specific item in a question structure.
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 2 elements
Used:
Contains a group of Instructions, which may describe an ordered or hierarchical relationship structure.
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
Provides the content and description of a single instruction.
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Describes a group of instruments for administrative or conceptual purposes, which may be hierarchical.
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
Describes a set of instruments maintained by an agency.
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Defines the type of instrument used for data collection or capture.
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Reference to an interviewer instruction expressed as DDI XML plus a flag to designate whether the instruction should always be displayed.
Content:
complex, 8 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
A set of interviewer instructions to be displayed within the instrument, such as definitions, and explanations of terminology and questions.
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Literal (static) text to be used in the instrument using the StructuredString structure plus an attribute allowing for the specification of white space to be preserved.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A response domain capturing a location response (mark on an image, recording, or object) for a question.
Content:
complex, 3 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A member of the control construct substitution group.
Content:
complex, 6 attributes, 25 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Metadata regarding the methodologies used concerning data collection, determining the timing and repetition patterns for data collection, and sampling procedures.
Content:
complex, 6 attributes, 17 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Describes the mode of collection, i.e., paper questionnaire, observation, web delivered questionnaire, computer assisted interview, automated data harvesting, etc.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A response domain capturing a nominal (check off) response for a question grid response.
Content:
complex, 4 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A response domain capturing a numeric response (the intent is to analyze the response as a number) for a question.
Content:
complex, 7 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A generic operation description used as a type by specified operations.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A citation or URI for the source of the data.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Describes a group of processing events for administrative or conceptual purposes, which may be hierarchical.
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
A set of processing events maintained by an agency, and used in the processing data during development, cleaning, converting to variables, aggregating, and comparing.
Content:
complex, 9 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
ProcessingEvent can contain a number of operations of different types to express a range of events that occur together.
Content:
complex, 6 attributes, 18 elements
Defined:
globally; see XML source
Includes:
definitions of 7 elements
Used:
Describes a group of processing instructions for administrative or conceptual purposes, which may be hierarchical.
Content:
complex, 7 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 11 elements
Used:
A set of Processing Instructions (General and Generation Instructions) maintained by an agency.
Content:
complex, 9 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 10 elements
Used:
A QuestionBlock is a specific structure used in educational and other types of testing where an object (Stimulus Material) is provided and a set of questions are asked regarding the object.
Content:
complex, 7 attributes, 25 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 14 elements
Used:
A member of the ControlConstruct substitution group.
Content:
complex, 7 attributes, 26 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 6 elements
Used:
Structures the QuestionGrid as an NCube-like structure providing dimension information, labeling options, and response domains attached to one or more cells within the grid.
Content:
complex, 7 attributes, 26 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 15 elements
Used:
Contains a group of Questions, which may be ordered or hierarchical.
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 12 elements
Used:
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").
Content:
complex, 7 attributes, 25 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 14 elements
Used:
Contains a set of QuestionItems, QuestionGrids, QuestionBlocks, and QuestionGroups.
Content:
complex, 9 attributes, 25 elements
Defined:
globally; see XML source
Includes:
definitions of 12 elements
Used:
Describes the ordering of questions when not otherwise indicated.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
A response domain capturing a ranking response which supports a "ranking" of categories.
Content:
complex, 3 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A member of the ControlConstruct substitution group.
Content:
complex, 6 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A member of the ControlConstruct substitution group.
Content:
complex, 6 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question.
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
A specific rate of response and/or a description of the rate of response for a specific processing event that includes data appraisal.
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Provides a means of bundling multiple language versions of the same intended dynamic text together.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A roster is an unlabeled list of numbered rows or columns depending upon orientation.
Content:
complex, 4 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 4 attributes, 2 elements
Used:
Describes the type of sample, sample design and provides details on drawing the sample.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A response domain capturing a scale response which describes a 1..n dimensional scale of various display types for a question item.
Content:
complex, 3 attributes, 10 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
For each dimension in the grid define the applicable values as "all values", a "specific value" or a range.
Content:
empty, 5 attributes
Defined:
globally; see XML source
Includes:
definitions of 5 attributes
Used:
A member of the ControlConstruct substitution group.
Content:
complex, 6 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Reference to a variable or question used in the derivation or coding instruction.
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Describes the ordering of items when not otherwise indicated.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Provides an identified value for a standard weight expressed as an xs:float.
Content:
complex, 5 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
A textual statement used in the Instrument.
Content:
complex, 6 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Contains a mixture of response domains for the grid cells.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A structure to allow for mixing multiple response domains in a single question.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Abstract type existing as the head of a substitution group.
Content:
complex, 1 element
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
The static portion of the text expressed as a StructuredString with the ability to preserve whitespace if critical to the understanding of the content.
Content:
complex, 7 attributes, 16 elements
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
Describes the time method or time dimension of the data collection.
Content:
complex, 5 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Describes the weighting used in the process.
Content:
complex, 6 attributes, 14 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Simple Type Summary
Clarifies how stimulus material is to be handled within the resequencing using a controlled vocabulary.
Defined:
globally; see XML source
Used:
Describes the types of sequences that can be used for a set of items.
Defined:
globally; see XML source
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2014 DDI Alliance, DDI 3.2 release, 2014-02-05

This file is part of DDI 3.2 XML Schema.

DDI 3.2 XML Schema is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

DDI 3.2 XML Schema is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.

You should have received a copy of the GNU Lesser General Public License along
with DDI 3.2 XML Schema. If not, see <http://www.gnu.org/licenses/>.

-->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="ddi:datacollection:3_2" xmlns="ddi:datacollection:3_2" xmlns:l="ddi:logicalproduct:3_2" xmlns:r="ddi:reusable:3_2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xs:import namespace="ddi:reusable:3_2" schemaLocation="reusable.xsd"/>
<xs:import namespace="ddi:logicalproduct:3_2" schemaLocation="logicalproduct.xsd"/>
<!-- DATA COLLECTION -->
<xs:element name="DataCollection" type="DataCollectionType">
<xs:annotation>
<xs:documentation>
A maintainable module containing information on activities related to data collection/capture and the processing required for the creation a data product. This section covers the methodologies, events, data sources, collection instruments and processes which comprise the collection/capture and processing of data. Methodology covers approaches used for selecting samples, administering surveys, timing repeated data collection activities. Collection Event specifies data sources, collection instruments, questions and question flow, and data processing activities. This module houses Processing Instructions (General Instructions and Generation Instructions) which may be referenced by variables or comparison maps. It houses the following schemes: Question Scheme, Control Construct Scheme (questionnaire flow), Interviewer Instruction Scheme, Instrument Scheme, Processing Event Scheme, and Processing Instruction Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DataCollectionType">
<xs:annotation>
<xs:documentation>
A maintainable module containing information on activities related to data collection/capture and the processing required for the creation a data product. This section covers the methodologies, events, data sources, collection instruments and processes which comprise the collection/capture and processing of data. Methodology covers approaches used for selecting samples, administering surveys, timing repeated data collection activities. Collection Event specifies data sources, collection instruments, questions and question flow, and data processing activities. This module houses Processing Instructions (General Instructions and Generation Instructions) which may be referenced by variables or comparison maps.The module is described by a name, label, and description, provides spatial, temporal, and topical coverage information on the activities covered by the module, and references to external material related to objects in the module using OtherMaterial. The content of the module is organized within the following sections; Methodology, Collection Event, QuestionScheme (in-line or by reference), ControlConstructScheme (in-line or by references) containing the flow of a questionnaire or data capture process, InterviewerInstructionScheme (in-line or by reference), InstrumentScheme (in-line or by reference) and ProcessingEventScheme (in-line or by reference).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataCollectionModuleName">
<xs:annotation>
<xs:documentation>
A name for the DataCollection module. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the DataCollection module. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the DataCollection module. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Coverage">
<xs:annotation>
<xs:documentation>
Documents the spatial, temporal, and/or topical coverage of the data collection module.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OtherMaterial">
<xs:annotation>
<xs:documentation>
Contains references to other materials relevant to the data collection module, whether in DDI form or external. Links can be made from items in this section to any identifiable element in the instance. Best practice is to include OtherMaterial inside the maintainable containing the objects that are related to the OtherMaterial.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="Methodology">
<xs:annotation>
<xs:documentation>
Metadata regarding the methodology of the data collection process including, determining repetition patterns, sampling, collection modes, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="MethodologyReference">
<xs:annotation>
<xs:documentation>
Reference to metadata regarding the methodology of the data collection process including, determining repetition patterns, sampling, collection modes, etc. TypeOfObject should be set to Methodology.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CollectionEvent">
<xs:annotation>
<xs:documentation>
A specific event in the collection or capture process.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionScheme">
<xs:annotation>
<xs:documentation>
Describes a set of questions used for data collection.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QuestionSchemeReference">
<xs:annotation>
<xs:documentation>
A reference to a QuestionScheme describing a set of questions used for data collection.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ControlConstructScheme">
<xs:annotation>
<xs:documentation>
Describes a set of control constructs used to produce the flow pattern of a questionnaire or steps in a data capture process.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A reference to a set of control constructs used to produce the flow pattern of a questionnaire or steps in a data capture process.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InterviewerInstructionScheme">
<xs:annotation>
<xs:documentation>
Describes a set of instructions used by the interviewer (respondent in the case of a self administered questionnaire) or instrument to support the accurate collection or capture of data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to a InterviewerInstructionScheme using SchemeReference which allows for the specification of objects to exclude.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InstrumentScheme">
<xs:annotation>
<xs:documentation>
Describes a set of instruments used to collect or capture data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:InstrumentSchemeReference">
<xs:annotation>
<xs:documentation>
A reference to a set of instruments used to collect or capture data.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingEventScheme">
<xs:annotation>
<xs:documentation>
Describes a set of processing events used to collect or capture data and process it during or post collection. May include the processes used to capture data in non-questionnaire data capture.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
References a set of processing events used to collect or capture data and process it during or post collection. May include the processes used to capture data in non-questionnaire data capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingInstructionScheme">
<xs:annotation>
<xs:documentation>
Describes a set of processing instructions used to collect or capture data and process it during or post collection. May include the processing instructions used to capture data in non-questionnaire data capture.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
References a set of processing instructions used to collect or capture data and process it during or post collection. May include the processing instructions used to capture data in non-questionnaire data capture.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DataCollectionModuleName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Data Collection Module using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A set of processing events maintained by an agency, and used in the processing data during development, cleaning, converting to variables, aggregating, and comparing.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to a ProcessingEventScheme using SchemeReference which allows for the specification of objects to exclude. TypeOfObject should be set to ProcessingEventScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to a ProcessingInstructionScheme using SchemeReference which allows for the specification of objects to exclude. TypeOfObject should be set to ProcessingInstructionScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MethodologyReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to metadata regarding the methodology of the data collection process including, determining repetition patterns, sampling, collection modes, etc. TypeOfObject should be set to Methodology.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- METHODOLOGY -->
<xs:complexType name="MethodologyType">
<xs:annotation>
<xs:documentation>
Metadata regarding the methodologies used concerning data collection, determining the timing and repetition patterns for data collection, and sampling procedures. Identifies areas where there were deviations from the planned sampling approach, the software used for data collection, and references to any quality standards or statements regarding the processes surrounding the planning and implementation of data collection.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataCollectionMethodology">
<xs:annotation>
<xs:documentation>
A basic structure for describing the methodology used for collecting data. Repeat this element if multiple methodologies are used.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="TimeMethod">
<xs:annotation>
<xs:documentation>
Describes how time fits into the data collection methodology.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SamplingProcedure">
<xs:annotation>
<xs:documentation>
Describes the type of sample, sample design and provides details on drawing the sample. May be repeated to provide descriptions of individual facets of a single sample design or when multiple sampling methods are used. When multiple descriptions are used, the use of a controlled vocabulary to identify the parts and relationships is strongly recommended.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DeviationFromSampleDesign">
<xs:annotation>
<xs:documentation>
Describes any deviations from the planned sample design.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataCollectionSoftware">
<xs:annotation>
<xs:documentation>
Specification of a software package used to instantiate a data collection method.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:QualityStatementReference">
<xs:annotation>
<xs:documentation>
A reference to a Quality Statement pertaining to the quality of the study methodology, metadata, or data to which it is associated. Quality statements may be related to external quality standards.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DataCollectionSoftware" type="r:SoftwareType">
<xs:annotation>
<xs:documentation>
Specification of the software used by the proprietary system.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- COLLECTION EVENT -->
<xs:complexType name="CollectionEventType">
<xs:annotation>
<xs:documentation>
Information on a specific data collection event including details on who was involved in data collection, the source of the data, the date and frequency of collection, mode of collection, identification of the instrument used for collection, information on the actual situation under which data was collected, actions taken to minimize loss of data, and reference to a quality standard or statement regarding the handling of the data collection process during this event.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataCollectorOrganizationReference">
<xs:annotation>
<xs:documentation>
Reference to an organization or individual, defined in the organization scheme, responsible for the data collection.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataSource">
<xs:annotation>
<xs:documentation>Describes a source of the data.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="DataCollectionDate">
<xs:annotation>
<xs:documentation>
Provides a date or range of dates for the described data collection event as well as a cycle number when the collection is part of a series of data collection events.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataCollectionFrequency">
<xs:annotation>
<xs:documentation>
Documents the intended frequency of data collection, for example monthly, yearly, weekly, etc., preferably using an optional controlled vocabulary in the IntendedFrequency element. Date of first collection should be provided in StartDate as a basis for defining periodicity. EndDate should be entered for data collection cycles with a known or anticipated end date. EndDate is omitted in data collection series that are intended to be on-going.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ModeOfCollection">
<xs:annotation>
<xs:documentation>Describes the mode of data collection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstrumentReference">
<xs:annotation>
<xs:documentation>
References the instrument or instruments used during the process of collecting data for this collection event period.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CollectionSituation">
<xs:annotation>
<xs:documentation>
Describes the situation in which the data collection event takes place. If a number of collection situation types occurred repeat this element.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ActionToMinimizeLosses">
<xs:annotation>
<xs:documentation>
Describes action taken to minimize loss of data from the collection event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:QualityStatementReference">
<xs:annotation>
<xs:documentation>
A reference to a Quality Statement pertaining to the quality of the study methodology, metadata, or data to which it is associated. Quality statements may be related to external quality standards.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DataCollectionFrequencyType">
<xs:annotation>
<xs:documentation>
Documents the intended frequency of data collection, for example monthly, yearly, weekly, etc., preferably using an optional controlled vocabulary in the IntendedFrequency element. Date of first collection should be provided in StartDate as a basis for defining periodicity. EndDate should be entered for data collection cycles with a known or anticipated end date. EndDate is omitted in data collection series that are intended to be on-going.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:DateType">
<xs:sequence>
<xs:element minOccurs="0" name="IntendedFrequency" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
Documents the intended frequency of data collection, for example monthly, yearly, weekly, etc., preferably using an optional controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DataSourceType">
<xs:annotation>
<xs:documentation>
Describes the source of the data. This may be a population group, an environmental object, a registry, published or unpublished data source, etc. Describes and provides a classification of the source, a citation of the origin if applicable, and a listing of any characteristics of the data source that may affect understanding of the data.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="SourceDescription">
<xs:annotation>
<xs:documentation>
A description of the data source. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceType">
<xs:annotation>
<xs:documentation>
Brief classification of the data source. Supports the use of an external controlled vocabulary. May be repeated to represent different forms of classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Origin">
<xs:annotation>
<xs:documentation>
A citation or URI for the source of the data. Note that this is an external reference, and should not be used to point to DDI descriptions of the data, or to DDI-encoded data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="SourceCharacteristic">
<xs:annotation>
<xs:documentation>
A significant characteristic of the data source that may affect understanding or collection of the data. This will include the level of documentation of the source data. For example: 'Legibility of data source affected due to water damage,' or 'solar flares during the data collection period may have affected the consistency of the data during the following period.'
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="SourceDescription" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>
Source Description provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceType" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of data source. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="OriginType">
<xs:annotation>
<xs:documentation>
A citation or URI for the source of the data. Note that this is an external reference, and should not be used to point to DDI descriptions of the data, or to DDI-encoded data.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="r:Citation">
<xs:annotation>
<xs:documentation>Citation for the data source.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="OriginLocation" type="xs:anyURI">
<xs:annotation>
<xs:documentation>A URN or URL for the data source.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- PROCESSING -->
<xs:complexType name="ProcessingEventSchemeType">
<xs:annotation>
<xs:documentation>
A set of processing events maintained by an agency, and used in the processing data during development, cleaning, converting to variables, aggregating, and comparing. In addition to the standard name, label, and description allows for the inclusion of an existing ProcessingEventScheme by reference and descriptions of ProcessingEvent and ProcessingEventGroup either in-line or by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingEventSchemeName">
<xs:annotation>
<xs:documentation>
A name for the ProcessingEventScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ProcessingEventScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the ProcessingEventScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingEventSchemeReference">
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingEventScheme for inclusion.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingEvent">
<xs:annotation>
<xs:documentation>
A ProcessingEvent described in the ProcessingEventScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ProcessingEventReference">
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingEvent for inclusion in the scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingEventGroup">
<xs:annotation>
<xs:documentation>
A description of a group of ProcessingEvent for administrative or conceptual purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A Processing Instruction Group included in the scheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ProcessingEventSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Processing Event Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProcessingEventReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingEvent using the Reference structure. TypeOfObject should be set to ProcessingEvent.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingEventGroup using the Reference structure. TypeOfObject should be set to ProcessingEventGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes a group of processing events for administrative or conceptual purposes, which may be hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ProcessingEventGroupType">
<xs:annotation>
<xs:documentation>
Describes a group of processing events for administrative or conceptual purposes, which may be hierarchical. In addition to the standard name, label, and description contains references to included Processing Events, and other ProcessingEventGroups.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfProcessingEventGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a processing events group. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingEventGroupName">
<xs:annotation>
<xs:documentation>
A name for the ProcessingEventGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ProcessingEventGroup. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the ProcessingEventGroup. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingEventReference">
<xs:annotation>
<xs:documentation>Reference to constituent ProcessingEvent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to constituent processing event group. This allows for nesting of processing instruction groups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ProcessingEventGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Processing Event Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfProcessingEventGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of processing events. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ProcessingEventType">
<xs:annotation>
<xs:documentation>
ProcessingEvent can contain a number of operations of different types to express a range of events that occur together. For example a ProcessingEvent of a CleaningOperation may also include a reference to a ProcessingInstruction used in the cleaning process. Event activities include ControlOperation, CleaningOperation, Weighting, and DataAppraisalInformation. References to related processing instructions and quality statement may be included.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlOperation">
<xs:annotation>
<xs:documentation>
Description of a Control Operation used to facilitate data control.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CleaningOperation">
<xs:annotation>
<xs:documentation>
Description of a Cleaning Operation such as consistency checking, invalid or out of range values, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Weighting">
<xs:annotation>
<xs:documentation>
Description of the weighting process and any resultant standard weights.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="WeightingReference">
<xs:annotation>
<xs:documentation>
Reference to a description of the weighting process and any resultant standard weights. TypeOfObject should be set to Weighting.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataAppraisalInformation">
<xs:annotation>
<xs:documentation>
Description of the data appraisal processing including the resultant sampling error and response rate.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ProcessingInstructionReference">
<xs:annotation>
<xs:documentation>
Reference to a processing instruction (GeneralInstruction or GenerationInstruction) used during the processing event. The basic Reference structure is extended to allow for the use of ParameterLinkage to link specific source parameters to the InParameter of the instruction to reflect its use within this specific Processing Event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:QualityStatementReference">
<xs:annotation>
<xs:documentation>
Reference to a quality statement relating to the processing event.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="WeightingReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to a description of the weighting process and any resultant standard weights. TypeOfObject should be set to Weighting.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="OperationType">
<xs:annotation>
<xs:documentation>
A generic operation description used as a type by specified operations. Describes the operation and identifies the organization or individual responsible for performing it.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>A description of the operation.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:AgencyOrganizationReference">
<xs:annotation>
<xs:documentation>
A reference to an organization or individual responsible for the operation.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DataAppraisalInformationType">
<xs:annotation>
<xs:documentation>
Describes the result of data appraisal activities as a response rate and sampling error. May also list additional appraisal processes taken as a result of the initial appraisal process.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ResponseRate">
<xs:annotation>
<xs:documentation>
A specific rate of response and/or a description of the rate of response for this event. If data contains multiple response rates for different portions of the data due to delivery method, identification of sub-populations or other reasons, repeat this element providing the specific response rate and a description of the sub-population, delivery method or other feature that was used in developing the specific rate.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SamplingError">
<xs:annotation>
<xs:documentation>
Sampling Error provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="OtherAppraisalProcess">
<xs:annotation>
<xs:documentation>
Other Appraisal Process provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="ResponseRate" type="ResponseRateType">
<xs:annotation>
<xs:documentation>
A specific rate of response and/or a description of the rate of response for a specific processing event that includes data appraisal.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ResponseRateType">
<xs:annotation>
<xs:documentation>
A specific rate of response and/or a description of the rate of response for a specific processing event that includes data appraisal.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="SampleSize" type="xs:integer">
<xs:annotation>
<xs:documentation>
The size of the sample from whom data was requested.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="NumberOfResponses" type="xs:integer">
<xs:annotation>
<xs:documentation>
The number of responses within the specified sample.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="SpecificResponseRate" type="xs:decimal">
<xs:annotation>
<xs:documentation>
The specific rate of response expressed as a percent.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the rate of response including any information pertinent to understanding the specified rate of response.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A set of Processing Instructions (General and Generation Instructions) maintained by an agency.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ProcessingInstructionSchemeType">
<xs:annotation>
<xs:documentation>
A set of Processing Instructions (General and Generation Instructions) maintained by an agency. In addition to the standard name, label, and description allows for the inclusion of an existing ProcessingInstructionScheme by reference, and GeneralInstruction, GenerationInstruction, and ProcessingInstructionGroup descriptions either in-line or by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingInstructionSchemeName">
<xs:annotation>
<xs:documentation>
A name for the ProcessingInstructionScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ProcessingInstructionScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the ProcessingInstructionScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingInstructionSchemeReference">
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingInstructionScheme for inclusion.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="GeneralInstruction">
<xs:annotation>
<xs:documentation>
A General Instruction described in the Processing Instruction Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="GeneralInstructionReference">
<xs:annotation>
<xs:documentation>
A General Instruction include by reference in the Processing Instruction Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="GenerationInstruction">
<xs:annotation>
<xs:documentation>
A Generation Instruction described in the Processing Instruction Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A Generation Instruction include by reference in the Processing Instruction Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ProcessingInstructionGroup">
<xs:annotation>
<xs:documentation>
A description of a group of ProcessingInstructions for administrative or conceptual purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A Processing Instruction Group included in the scheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="GeneralInstructionReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing GeneralInstruction using the Reference structure. TypeOfObject should be set to GeneralInstruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing GenerationInstruction using the Reference structure. TypeOfObject should be set to GenerationInstruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProcessingInstructionSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Processing Instruction using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing ProcessingInstructionGroup using the Reference structure. TypeOfObject should be set to ProcessingInstructionGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes a group of processing instructions for administrative or conceptual purposes, which may be hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ProcessingInstructionGroupType">
<xs:annotation>
<xs:documentation>
Describes a group of processing instructions for administrative or conceptual purposes, which may be hierarchical. In addition to the standard name, label, and description contains references to included Generation or General Instructions, and other ProcessingInstructionGroups.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfProcessingInstructionGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a processing instruction group. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ProcessingInstructionGroupName">
<xs:annotation>
<xs:documentation>
A name for the ProcessingInstructionGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ProcessingInstructionGroup. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the ProcessingInstructionGroup. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="GeneralInstructionReference">
<xs:annotation>
<xs:documentation>Reference to constituent General Instruction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>Reference to constituent Generation Instruction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to constituent processing instruction group. This allows for nesting of processing instruction groups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ProcessingInstructionGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Processing Instruction Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of processing instructions. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GeneralInstructionType">
<xs:annotation>
<xs:documentation>
Processing instructions that pertain to data collection or data processing overall such as handling of non-response to questions, imputation practices, suppression rules, etc. General instructions should be listed separately to allow for referencing of specific processes.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the general instruction. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CommandCode">
<xs:annotation>
<xs:documentation>
Structured information used by a system to process the instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="OverriddenCodeReference">
<xs:annotation>
<xs:documentation>
Used when attribute of the containing GeneralInstruction isOverride equals true. This element provides the reference to the GeneralInstruction being overridden by the use of this instruction. For example a special confidentiality process used for a select set of variables rather than the normal process.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="false" name="isOverride" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true", indicates that this coding instruction overrides a more generally used process.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="GenerationInstructionType">
<xs:annotation>
<xs:documentation>
Processing instructions for recodes, derivations from multiple question or variable sources, and derivations based on external sources. Instructions should be listed separately so they can be referenced individually.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceQuestion">
<xs:annotation>
<xs:documentation>Reference to a question used in the instruction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceVariable">
<xs:annotation>
<xs:documentation>
Reference to a variable used in the coding process
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalInformation">
<xs:annotation>
<xs:documentation>
Reference to an external source of information used in the coding process, for example a value from a chart, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the generation instruction. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CommandCode">
<xs:annotation>
<xs:documentation>
Structured information used by a system to process the instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
A control construct which is used to describe or process the instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="Aggregation">
<xs:annotation>
<xs:documentation>
Describes the aggregation process, identifying both the independent and dependent variables within the process.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="true" name="isDerived" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Default setting is "true", the instruction describes a derivation. If the instruction is a simple recode, set to "false".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Aggregation" type="AggregationType">
<xs:annotation>
<xs:documentation>
Describes the aggregation method and the variables used in the aggregation process.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AggregationType">
<xs:annotation>
<xs:documentation>
Describes the aggregation method and the variables used in the aggregation process. Identifies the method using an external controlled vocabulary and identifies the variables used either in-line or by reference to an existing description.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="r:AggregationMethod">
<xs:annotation>
<xs:documentation>
Identification of the type of aggregation method used. Supports the use of a controlled vocabulary. DDI strongly recommends the use of a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element minOccurs="0" ref="AggregationVariables">
<xs:annotation>
<xs:documentation>
Identifies the independent and dependent variables used in the aggregation process in-line.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="AggregationVariablesReference">
<xs:annotation>
<xs:documentation>
A reference to an existing AggregationVariables description.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Identifies the independent and dependent variables used in the aggregation process.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing AggregationVariables using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AggregationVariablesType">
<xs:annotation>
<xs:documentation>
Identifies the independent and dependent variables used in the aggregation process. Note that in the case of calculating a percentage, mean, etc. of a dependent value against the total population of the cell, there is no independent variable.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="IndependentVariableReference">
<xs:annotation>
<xs:documentation>
A reference to a variable, which is an important constraint for the computed aggregation measure and has the potential to invoke a change in a dependent variable like sex for average of income. In the context of calculating percentages, the use of Sex as the independent variable would indicate that the percentages provided represent the percentage of the dependent variable associated with a specific value for Sex (i.e., the dependent variable expressed as a percentage of the total for Males). This would be opposed to the percent for the full population (the percent of the total grid population falling within that particular cell).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" ref="DependentVariableReference">
<xs:annotation>
<xs:documentation>
A reference to a variable, for which the aggregate measure is computed like average of income.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DependentVariableReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SourceReferenceType">
<xs:annotation>
<xs:documentation>
Reference to a variable or question used in the derivation or coding instruction. TypeOfObject should be set to Variable, QuestionItem, or QuestionGrid.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:sequence>
<xs:element minOccurs="0" ref="r:Alias">
<xs:annotation>
<xs:documentation>
Allows for assigning an alias used to reference this item in a command. For example if the SourceReference was a question capturing a persons age the command might read "If AGE LT 5...". AGE would be the alias.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- INTERVIEWER INSTRUCTIONS -->
<xs:annotation>
<xs:documentation>
A set of interviewer instructions to be displayed within the instrument, such as definitions, and explanations of terminology and questions.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InterviewerInstructionSchemeType">
<xs:annotation>
<xs:documentation>
A set of interviewer instructions to be displayed within the instrument, such as definitions, and explanations of terminology and questions. Content may also be used to provide the contents of an instruction manual for questions or instruments. In addition to the standard name, label, and description, allows for the inclusion of another InterviewerInstructionScheme by reference an a set of in-line instructions.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InterviewerInstructionSchemeName">
<xs:annotation>
<xs:documentation>
A name for the InterviewerInstructionScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the InterviewerInstructionScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the InterviewerInstructionScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InterviewerInstructionSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of an existing InterviewerInstructionScheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Instruction">
<xs:annotation>
<xs:documentation>Content of an individual instruction.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstructionReference">
<xs:annotation>
<xs:documentation>
Inclusion of an individual instruction by reference. TypeOfObject should be set to Instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InstructionGroup">
<xs:annotation>
<xs:documentation>In-line description of a group of Instructions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstructionGroupReference">
<xs:annotation>
<xs:documentation>
The inclusion of an existing InstructionGroup by reference. TypeOfObject should be set to InstructionGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InterviewerInstructionSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Interviewer Instruction Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstructionGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing InstructionGroup using the Reference structure. TypeOfObject should be set to InstructionGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstructionGroup" type="InstructionGroupType">
<xs:annotation>
<xs:documentation>Contains a group of Instructions.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstructionGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Instructions, which may describe an ordered or hierarchical relationship structure. Specifies the purpose of the group, a name, label, and description of the group, its relationship to a specific universe or concept, and lists the members of the group.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfInstructionGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a InstructionGroup. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstructionGroupName">
<xs:annotation>
<xs:documentation>
A name for the group. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the InstructionGroup. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the InstructionGroup. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InstructionReference">
<xs:annotation>
<xs:documentation>
Reference to constituent Instruction (from the substitution group). TypeOfObject should be set to Instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstructionGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent InstructionGroup. This allows for nesting of InstructionGroups. TypeOfObject should be set to InstructionGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InstructionGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the InstructionGroup using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfInstructionGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of Instructions. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Instruction" type="InstructionType">
<xs:annotation>
<xs:documentation>
Provides the content and description of a single instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstructionType">
<xs:annotation>
<xs:documentation>
Provides the content and description of a single instruction. In addition to the standard name, label, and description, an InParameter can be designated to specify information needed to process the dynamic content of the instruction, an image can be associated with the instruction, and the instruction text provided using DynamicText. Note that when using Dynamic Text, the full InstructionText 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 InstructionText may also be repeated to provide a dynamic and plain text version of the instruction. This allows for accurate rendering of the instruction in a non-dynamic environment like print.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstructionName">
<xs:annotation>
<xs:documentation>
A name for the Instruction. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the Instruction. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the Instruction. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter">
<xs:annotation>
<xs:documentation>
A parameter that may accept content from outside the Instruction. In addition to standard parameter content may provide the instructions for limiting the allowable array index.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="AssociatedImage">
<xs:annotation>
<xs:documentation>
An image associated with the Instruction, located at the provided URN or URL.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="InstructionText" type="DynamicTextType">
<xs:annotation>
<xs:documentation>
The content of the Instruction text provided using DynamicText. Note that when using Dynamic Text, the full InstructionText must be repeated for multi-language versions of the content. The InstructionText may also be repeated to provide a dynamic and plain text version of the instruction. This allows for accurate rendering of the instruction in a non-dynamic environment like print.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InstructionName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Instruction using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssociatedImage" type="r:ImageType">
<xs:annotation>
<xs:documentation>
An image associated with the Instruction, located at the provided URN or URL.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- INSTRUMENT -->
<xs:element name="InstrumentScheme" type="InstrumentSchemeType">
<xs:annotation>
<xs:documentation>
Describes a set of instruments maintained by an agency.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstrumentSchemeType">
<xs:annotation>
<xs:documentation>
Describes a set of instruments maintained by an agency. In addition to the standard name, label, and description, allows for the inclusion of an existing InstrumentScheme by reference and contains Instruments and InstrumentGroups inline an by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstrumentSchemeName">
<xs:annotation>
<xs:documentation>
A name for the InstrumentScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the InstrumentScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the InstrumentScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InstrumentSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for inclusion by reference of another Instrument Scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Instrument">
<xs:annotation>
<xs:documentation>
Describes an instrument within this instrument scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstrumentReference">
<xs:annotation>
<xs:documentation>
Includes an instrument in the scheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InstrumentGroup">
<xs:annotation>
<xs:documentation>
Describes a group of instruments as in instrument group within an instrument scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstrumentGroupReference">
<xs:annotation>
<xs:documentation>
Allows for inclusion by reference of a instrument group.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InstrumentSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Instrument Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- INSTRUMENT -->
<xs:element name="InstrumentGroup" type="InstrumentGroupType">
<xs:annotation>
<xs:documentation>
Describes a group of instruments for administrative or conceptual purposes, which may be hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstrumentGroupType">
<xs:annotation>
<xs:documentation>
Describes a group of instruments for administrative or conceptual purposes, which may be hierarchical. In addition to the standard name, label, and description, contains references to the contained Instruments and InstrumentGroups.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfInstrumentGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a instrument group. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstrumentGroupName">
<xs:annotation>
<xs:documentation>
A name for the InstrumentGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the InstrumentGroup. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Additional textual descriptions of the instrument group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="InstrumentReference">
<xs:annotation>
<xs:documentation>Reference to constituent instrument.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="InstrumentGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent instrument group. This allows for nesting of instrument groups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InstrumentGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Instrument Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstrumentGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing InstrumentGroup using the Reference structure. TypeOfObject should be set to InstrumentGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfInstrumentGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of instruments. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstrumentType">
<xs:annotation>
<xs:documentation>
Defines the type of instrument used for data collection or capture. In addition to the standard name, label, and description contains a classification of the type of instrument, a reference to an external instance of the instrument (such as an image of a questionnaire or programming script) and a reference to the Sequence control construct that contains the flow for data collection or capture.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstrumentName">
<xs:annotation>
<xs:documentation>
A name for the Instrument. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the Instrument. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the Instrument. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="TypeOfInstrument">
<xs:annotation>
<xs:documentation>
Describes the type of the instrument, according to the documenters type classification. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="ExternalInstrumentLocation" type="xs:anyURI">
<xs:annotation>
<xs:documentation>
A reference to an external representation of the data collection instrument, such as an image of a questionnaire or programming script.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
A reference to the Sequence control construct that initiates the flow of the instrument content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InstrumentName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Instrument using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A set of control constructs maintained by an agency and used in the instrument or computational instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ControlConstructSchemeType">
<xs:annotation>
<xs:documentation>
A set of control constructs maintained by an agency and used in the instrument or computational instruction. ControlConstructs describe the ordering and flow of questions within an instrument or information through a process. In addition to the standard name, label and description can include an existing ControlConstructScheme by reference and describe individual Control Constructs of varying types.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructSchemeName">
<xs:annotation>
<xs:documentation>
A name for the ControlConstructScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ControlConstructScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the ControlConstructScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ControlConstructSchemeReference">
<xs:annotation>
<xs:documentation>
Provides for inclusion by reference of external Control Construct Schemes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ControlConstruct">
<xs:annotation>
<xs:documentation>
Extensible structure for control elements used in describing flow logic within the instrument.: IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, and QuestionConstruct.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
Extensible structure for control elements used in describing flow logic within the instrument.: IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, and QuestionConstruct. TypeOfObject should reflect the type of ControlConstruct being referenced. Value should be IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, or QuestionConstruct.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ControlConstructGroup">
<xs:annotation>
<xs:documentation>
In-line description of a group of ControlConstructs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
The inclusion of an existing ControlConstructGroup by reference. TypeOfObject should be set to ControlConstructGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ControlConstructSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Control construct Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing ControlConstructGroup using the Reference structure. TypeOfObject should be set to ControlConstructGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>Contains a group of ControlConstructs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ControlConstructGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of ControlConstructs, which may describe an ordered or hierarchical relationship structure. Specifies the purpose of the group, a name, label, and description of the group, its relationship to a specific universe or concept, and lists the members of the group.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfControlConstructGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a ControlConstructGroup. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructGroupName">
<xs:annotation>
<xs:documentation>
A name for the group. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ControlConstructGroup. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the ControlConstructGroup. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
Reference to constituent ControlConstruct (from the substitution group). TypeOfObject should be set to IfThenElse, RepeatUntil, RepeatWhile, Loop, Sequence, ComputationItem, StatementItem, or QuestionConstruct.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to constituent ControlConstructGroup. This allows for nesting of ControlConstructGroups. TypeOfObject should be set to ControlConstructGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ControlConstructGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the ControlConstructGroup using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfControlConstructGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of ControlConstructs. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element abstract="true" name="ControlConstruct" type="ControlConstructType">
<xs:annotation>
<xs:documentation>
Provides the basic, extensible structure for control elements used in describing flow logic within the instrument.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType abstract="true" name="ControlConstructType">
<xs:annotation>
<xs:documentation>
Provides the basic, extensible structure for control elements used in describing flow logic within the instrument. The only data point which is inherited by the extended constructs based on this type is the identification of the control construct.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ConstructName">
<xs:annotation>
<xs:documentation>
A name for the ControlConstructScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the ControlConstructScheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the ControlConstructScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter">
<xs:annotation>
<xs:documentation>
A parameter that may accept content from outside its parent element.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
An identify for the output of the control construct.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding">
<xs:annotation>
<xs:documentation>
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 output of a question to the input of a generation instruction. Question A has an OutParameter X. Generation Instruction has an InParameter Y used in the recode instruction. Binding defines the content of InParameter Y to be whatever is provided by OutParameter X for use in the calculation of the recode.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid">
<xs:annotation>
<xs:documentation>
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. ExternalAid will be available each time the control construct is invoked. Care should be taken when placing an ExternalAid in RepeatWhile, RepeatUntil and Loop constructs as it will recur each time the conditional statement is checked. This does not include interviewer instructions, which are handled separately.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ExternalInterviewerInstruction">
<xs:annotation>
<xs:documentation>
Contains a reference to an interviewer instruct ruction held in a structure other than DDI XML. Uses the OtherMaterial structure to describe and link to the external object.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ConstructName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Construct using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IfThenElse" substitutionGroup="ControlConstruct" type="IfThenElseType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. Describes an if-then-else decision type of control construct.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="IfThenElseType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. Describes an if-then-else decision type of control construct. IF the stated condition is met, the THEN clause is trigged, otherwise the ELSE clause is triggered. Contains an IfCondition (the condition that must be met to trigger the Then clause), a ThenConstructReference (indicating the construct to invoke if the condition is met), an ElseConstructReference (indicating the construct to invoke if the condition is not met), and an ElseIf structure allowing the expression of multiple conditions to invoke multiple branching.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="IfCondition">
<xs:annotation>
<xs:documentation>
The condition which must be met to trigger the Then clause, expressed as a CommandCode. The condition is an expression in the programming language used in the instrument.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ThenConstructReference">
<xs:annotation>
<xs:documentation>
Reference to the control construct which should be triggered if the associated condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ElseIf">
<xs:annotation>
<xs:documentation>
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ElseConstructReference">
<xs:annotation>
<xs:documentation>
Reference to the control construct which is triggered if the associated condition is not met.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ElseIfType">
<xs:annotation>
<xs:documentation>
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc. This is a packaging element for an IfCondition and ThenConstructReference and not a control construct.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="IfCondition">
<xs:annotation>
<xs:documentation>
The condition which must be met to trigger the Then clause, expressed as a Coding. The condition is an expression in the programming language used in the instrument.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ThenConstructReference">
<xs:annotation>
<xs:documentation>
Reference to the control construct which should be triggered if the associated condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="ElseIf" type="ElseIfType">
<xs:annotation>
<xs:documentation>
Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RepeatUntil" substitutionGroup="ControlConstruct" type="RepeatUntilType">
<xs:annotation>
<xs:documentation>
A ControlConstruct that specifies a ControlConstruct to be repeated until a specified condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RepeatUntilType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. Specifies a ControlConstruct to be repeated until a specified condition is met. Before each iteration the condition is tested. When the condition is met, control passes back to the containing control construct.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="UntilCondition">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "Until" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="UntilConstructReference">
<xs:annotation>
<xs:documentation>
A reference to the ControlConstruct to implement until the UntilCondition is met. This could be a single ControlConstruct or a set of ControlConstructs within a Sequence.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RepeatWhile" substitutionGroup="ControlConstruct" type="RepeatWhileType">
<xs:annotation>
<xs:documentation>
A ControlConstruct that specifies a ControlConstruct to be repeated while a specified condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RepeatWhileType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. Specifies a ControlConstruct to be repeated while a specified condition is met. Before each iteration the condition is tested. When the condition is not met, control passes back to the containing control construct.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="WhileCondition">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "While" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="WhileConstructReference">
<xs:annotation>
<xs:documentation>
A reference to the ControlConstruct to implement until the WhileCondition is met. This could be a single ControlConstruct or a set of ControlConstructs within a Sequence.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Loop" substitutionGroup="ControlConstruct" type="LoopType">
<xs:annotation>
<xs:documentation>
A control construct describing an action which loops until a limiting condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LoopType">
<xs:annotation>
<xs:documentation>
A member of the control construct substitution group. Describing an action which loops until a limiting condition is met. The ControlConstruct contained in the Loop operates on the LoopVariable until the LoopWhile condition is met, and then control is handed back to the containing control construct.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="LoopVariableReference">
<xs:annotation>
<xs:documentation>
A reference to the variable (as used in the associated CommandCode) which is incremented or otherwise manipulated to meet the conditions stated in the LoopWhile condition.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="InitialValue">
<xs:annotation>
<xs:documentation>
Information on the command used to set the initial value for the process. Could be a simple value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="LoopWhile">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "LoopWhile" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="StepValue">
<xs:annotation>
<xs:documentation>
Information on the command used to set the incremental or step value for the process. Could be a simple value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
A reference to the ControlConstruct to implement until the LoopWhile condition is met. This could be a single ControlConstruct or a set of ControlConstructs within a Sequence.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Sequence" substitutionGroup="ControlConstruct" type="SequenceType">
<xs:annotation>
<xs:documentation>
A ControlConstruct that provides a sequence order for operations expressed as control constructs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SequenceType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. Provides a sequence order for operations expressed as control constructs. The sequence can be typed to support local processing or classification flags and alternate sequencing instructions (such as randomize for each respondent).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="TypeOfSequence">
<xs:annotation>
<xs:documentation>
Provides the ability to "type" a sequence for classification or processing purposes. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference">
<xs:annotation>
<xs:documentation>
References control constructs in the order that they should appear within the instrument.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ConstructSequence">
<xs:annotation>
<xs:documentation>
Describes alternate ordering for different cases using the SpecificSequence structure. If you set the sequence to anything other than order of appearance the only allowable children are QuestionConstruct or Sequence. Contents must be randomizable.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ConstructSequence" type="SpecificSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of Constructs when not otherwise indicated.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ComputationItem" substitutionGroup="ControlConstruct" type="ComputationItemType">
<xs:annotation>
<xs:documentation>
A form of control construct providing a code and assigning a variable to hold value of the code as used for computation in control construct flow.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:complexType name="ComputationItemType">
<xs:annotation>
<xs:documentation>
A form of control construct providing a code and assigning a variable to hold value of the code as used for computation in control construct flow. Member of the ControlConstruct substitution group.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="r:CommandCode">
<xs:annotation>
<xs:documentation>
The Code which contains the value of the variable in programming terms.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="AssignedVariableReference">
<xs:annotation>
<xs:documentation>
A reference to a variable to which the associated value in the Code element is assigned.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="StatementItem" substitutionGroup="ControlConstruct" type="StatementItemType">
<xs:annotation>
<xs:documentation>
A textual statement used in the Instrument. A substitution for ControlConstruct.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="StatementItemType">
<xs:annotation>
<xs:documentation>
A textual statement used in the Instrument. A substitution for ControlConstruct. In addition to the objects found in ControlConstruct StatementItem adds the text for display at the specified point within the instrument.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DisplayText">
<xs:annotation>
<xs:documentation>
Text to be displayed by the instrument. Supports the use of DynamicText. Note that when using Dynamic Text, the full DisplayText 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 display in a non-dynamic environment like print.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DynamicTextType">
<xs:annotation>
<xs:documentation>
Structure supporting the use of dynamic text, where portions of the textual contend change depending on external information (pre-loaded data, response to an earlier query, environmental situations, etc.).
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="TextContent">
<xs:annotation>
<xs:documentation>
This is the head of a substitution group and is never used directly as an element name. Instead it is replaced with either LiteralText or ConditionalText.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="false" name="isStructureRequired" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If textual structure (e.g. size, color, font, etc.) is required to understand the meaning of the content change value to "true".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="audienceLanguage" type="xs:language" use="optional">
<xs:annotation>
<xs:documentation>
Specifies the language of the intended audience. This is particularly important for clarifying the primary language of a mixed language textual string, for example when language testing and using a foreign word withing the question text.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element abstract="true" name="TextContent" type="TextContentType">
<xs:annotation>
<xs:documentation>
Abstract type existing as the head of a substitution group. May be replaced by any valid member of the substitution group TextContent.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType abstract="true" name="TextContentType">
<xs:annotation>
<xs:documentation>
Abstract type existing as the head of a substitution group. May be replaced by any valid member of the substitution group TextContent. Provides the common element Description to all members using TextContent as an extension base.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the text segment. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="LiteralText" substitutionGroup="TextContent" type="LiteralTextType">
<xs:annotation>
<xs:documentation>
A substitution for TextContent containing the static (unchanging) text.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LiteralTextType">
<xs:annotation>
<xs:documentation>
Literal (static) text to be used in the instrument using the StructuredString structure plus an attribute allowing for the specification of white space to be preserved.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="TextContentType">
<xs:sequence>
<xs:element ref="Text">
<xs:annotation>
<xs:documentation>
The value of the static text string. Supports the optional use of XHTML formatting tags within the string structure. If the content of a literal text contains more than one language, i.e. "What is your understanding of the German word 'Gesundheit'?", the foreign language element should be placed in a separate LiteralText component with the appropriate xml:lang value and, in this case, isTranslatable set to "false". If the existence of white space is critical to the understanding of the content (such as inclusion of a leading or trailing white space), set the attribute of Text xml:space to "preserve".
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="Text" type="TextType">
<xs:annotation>
<xs:documentation>
The static portion of the text expressed as a StructuredString with the ability to preserve whitespace if critical to the understanding of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="TextType">
<xs:annotation>
<xs:documentation>
The static portion of the text expressed as a StructuredString with the ability to preserve whitespace if critical to the understanding of the content.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ContentType">
<xs:attribute default="default" ref="xml:space">
<xs:annotation>
<xs:documentation>
The default setting states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. If the existance of any of these white spaces is critical to the understanding of the content, change the value of this attribute to "preserve".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ConditionalText" substitutionGroup="TextContent" type="ConditionalTextType">
<xs:annotation>
<xs:documentation>
A substitution for TextContent, contains command code or source of the dynamic (changing) text.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ConditionalTextType">
<xs:annotation>
<xs:documentation>
Text which has a changeable value depending on a stated condition, response to earlier questions, or as input from a set of metrics (pre-supplied data).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="TextContentType">
<xs:choice>
<xs:element minOccurs="0" ref="Expression">
<xs:annotation>
<xs:documentation>
The condition on which the associated text varies expressed by a command code. For example, a command that inserts an age by calculating the difference between today&#8217;s date and a previously defined date of birth.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:SourceParameterReference">
<xs:annotation>
<xs:documentation>
This allows for the simple insert of a piece of information from another specified parameter. For example, if the text of the item using conditional text included the respondent&#8217;s name use SourceParameterReference to reference the InParameter of the question that is bound to the OutParameter of the question: &#8220;What is your name?&#8221;
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="QuestionSchemeType">
<xs:annotation>
<xs:documentation>
Contains a set of QuestionItems, QuestionGrids, QuestionBlocks, and QuestionGroups. In addition to the standard name, label, and description of the Question Scheme, may contain another QuestionScheme by reference, a listing of Questions by type (in-line or by reference), and a listing of QuestionGroups (in-line or by reference).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionSchemeName">
<xs:annotation>
<xs:documentation>
A name for the QuestionScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the scheme. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the QuestionScheme. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:QuestionSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of another QuestionScheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionItem">
<xs:annotation>
<xs:documentation>Describes a QuestionItem in-line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionItemReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of an existing question item by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionGrid">
<xs:annotation>
<xs:documentation>Describes a QuestionGrid in-line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionGridReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of an existing question grid by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionBlock">
<xs:annotation>
<xs:documentation>Describes a QuestionBlock in-line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionBlockReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of an existing question block by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionGroup">
<xs:annotation>
<xs:documentation>
Contains a group of Questions, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionGroupReference">
<xs:annotation>
<xs:documentation>
Allows the inclusion of an existing QuestionGroup by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="QuestionSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Question Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionItemReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing QuestionItem using the Reference structure. TypeOfObject should be set to QuestionItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionGridReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing QuestionGrid using the Reference structure. TypeOfObject should be set to QuestionGrid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionBlockReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing QuestionBlock using the Reference structure. TypeOfObject should be set to QuestionBlock.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing QuestionGroup using the Reference structure. TypeOfObject should be set to QuestionGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionGrid" type="QuestionGridType">
<xs:annotation>
<xs:documentation>
Structures the QuestionGrid as an NCube-like structure providing dimension information, labeling options, and response domains attached to one or more cells within the grid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionBlock" type="QuestionBlockType">
<xs:annotation>
<xs:documentation>
A QuestionBlock is a specific structure used in educational and other types of testing where an object (Stimulus Material) is provided and a set of questions are asked regarding the object.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionGroup" type="QuestionGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Questions, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionItem" type="QuestionItemType">
<xs:annotation>
<xs:documentation>
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").
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="QuestionItemType">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionItemName">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter">
<xs:annotation>
<xs:documentation>
Provides an identity for input objects required for the QuestionItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
Provides an identify for the output objects of the QuestionItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="QuestionIntent">
<xs:annotation>
<xs:documentation>
The purpose of the QuestionItem in terms of what it is designed to measure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:choice minOccurs="0">
<xs:element ref="ResponseDomain">
<xs:annotation>
<xs:documentation>
Contains a response domain for the question item. Typically used to describe simple response domains (textual, numeric, etc.).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResponseDomainReference">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
A reference to the concept associated with the response to the question.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ExternalInterviewerInstruction">
<xs:annotation>
<xs:documentation>
External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>
The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="QuestionBlockType">
<xs:annotation>
<xs:documentation>
A QuestionBlock is a specific structure used in educational and other types of testing where an object (Stimulus Material) is provided and a set of questions are asked regarding the object. The QuestionBlock generally has related QuestionBlocks that measure similar skills or aptitudes and is used randomly within a set of questionnaires to create multiple versions of a single questionnaire that can be used with large groups for testing purposes. Assembly of the QuestionBlocks into a questionnaire may the result of selection based on an experimental design model. It contains information on what the QuestionBlock is intended to measure, input and output parameters for the QuestionBlock, a description of the stimulus material and the questions related to it, instructions on sequencing and number of allowed responses, references to external aids and instructions, and an estimate of the time needed to complete the question. Note that the QuestionBlock 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 QuestionBlock (QuestionItems and QuestionGrids will contain information specific to the individual question). Additional materials and information can be added within the QuestionConstruct which is the applied use of a question.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionBlockName">
<xs:annotation>
<xs:documentation>
A name for the QuestionBlock. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter">
<xs:annotation>
<xs:documentation>
Provides an identity for input objects required for the QuestionBlock.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
Provides an identify for the output objects of the QuestionBlock.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="QuestionBlockIntent">
<xs:annotation>
<xs:documentation>
The purpose of the QuestionBlock in terms of what it is designed to test. May contain information on specific aspects of the Block and its construction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="StimulusMaterial">
<xs:annotation>
<xs:documentation>
Material that is visual, verbal and/or auditory used to communicate ideas or information which can be researched or provide a source for a response. For example, a picture about which a number of questions are asked, or a sound for which a measurable response is taken (as in a hearing test).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionItemReference">
<xs:annotation>
<xs:documentation>
Reference to a QuestionItem containing a question regarding the stimulus material.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionGridReference">
<xs:annotation>
<xs:documentation>
Reference to a QuestionGrid containing a question regarding the stimulus material.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="QuestionSequence">
<xs:annotation>
<xs:documentation>
Allows for recommending that the sequence of questions should vary according to a specified pattern, i.e., random, rotation, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Indicates the minimum and maximum number of responses to expect from the QuestionBlock.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
A reference to the concept the QuestionBlock is intended to gather data on.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ExternalInterviewerInstruction">
<xs:annotation>
<xs:documentation>
External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>
The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="QuestionBlockName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Question Block using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionBlockIntent" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>
Intent of the Question Block provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StimulusMaterial" type="r:OtherMaterialType">
<xs:annotation>
<xs:documentation>
Description and link to the StimulusMaterial using the DDI Other Material structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionSequence" type="QuestionSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of questions when not otherwise indicated. Extends the standard sequencing information to indicate how and if StimulusMaterial should be treated in the resequencing.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="QuestionSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of questions when not otherwise indicated. Extends the standard sequencing information to indicate how and if StimulusMaterial should be treated in the resequencing.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SpecificSequenceType">
<xs:attribute default="within" name="handlingOfStimulusMaterial" type="HandlingType">
<xs:annotation>
<xs:documentation>
Clarifies how stimulus material is to be handled within the resequencing using a controlled vocabulary. Options: "include"=Include StimulusMaterial in resequencing without restriction; "preceding"=Attach each StimulusMaterial to the preceding question; "following"=Attach each StimulusMaterial to the question following it; and the default value of "within"=Resequencing occurs within each set of questions as delimited by StimulusMaterial
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="HandlingType">
<xs:annotation>
<xs:documentation>
Clarifies how stimulus material is to be handled within the resequencing using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="include">
<xs:annotation>
<xs:documentation>
Include StimulusMaterial in resequencing without restriction
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="preceding">
<xs:annotation>
<xs:documentation>
Attach each StimulusMaterial to the preceding question. StimulusMaterial will move with the preceding question so that it so that it always occurs directly after the same question.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="following">
<xs:annotation>
<xs:documentation>
Attach each StimulusMaterial to the Question following it StimulusMaterial will move with the following Question so that it always occurs directly before the same question.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="within">
<xs:annotation>
<xs:documentation>
Resequencing occurs within each set of questions as delimited by StimulusMaterial. This is the default value. This allows StimulusMaterial to stay in the same position relative to the set of questions which it currently follows or precedes.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="QuestionGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Questions, which may be ordered or hierarchical. In addition to the name, label, and description of the group, the structure allows for defining the type of group using an optional controlled vocabulary, a reference to a defining universe or concept for the group, a subject classification for the group, and a listing of Questions and QuestionGroups in any order.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfQuestionGroup">
<xs:annotation>
<xs:documentation>
A brief textual identification of the group type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionGroupName">
<xs:annotation>
<xs:documentation>
A name for the group. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the question group. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the QuestionGroup. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this question group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the Questions in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="QuestionItemReference">
<xs:annotation>
<xs:documentation>Reference to constituent QuestionItem.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionGridReference">
<xs:annotation>
<xs:documentation>Reference to constituent QuestionGrid.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionBlockReference">
<xs:annotation>
<xs:documentation>Reference to constituent QuestionBlock.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="QuestionGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent QuestionGroup. This allows for nesting of QuestionGroups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="QuestionGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Question Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfQuestionGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of question items, question grids, and/or question blocks. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionItemName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Question Item using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A structure to allow for mixing multiple response domains in a single question. These may also include intervening text statements that are tightly bound to a response domain. A common example is the use of a CodeDomain and a TextDomain where the TextDomain is associated with the value with the label "Other" in the CodeDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="StructuredMixedResponseDomainType">
<xs:annotation>
<xs:documentation>
A structure to allow for mixing multiple response domains in a single question. These may also include intervening text statements that are tightly bound to a response domain. A common example is the use of a CodeDomain and a TextDomain where the TextDomain is associated with the value with the label "Other" in the CodeDomain. ResponseDomains should be chosen that do NOT duplicate responses such as CodeLists with overlapping codes. Be aware that certain instruments may collect responses in such a way that confusion between a code response and text response may be possible. The process of resolving such conflicts should be addressed in the data processing instructions. There is an assumption that if a text or numeric response duplicates a coded response to a question, that the value is that of the coded category. At least one ResponseDomain must be provided.
</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded" minOccurs="2">
<xs:element ref="ResponseTextSet">
<xs:annotation>
<xs:documentation>
Text closely related to the content of the ResponseDomain(s), in general, text required to make sense of the related response domain. ResponseTextSet provides a means of bundling multiple language versions of ResponseText together. This wrapper serves to differentiate between a case where multiple language content for a single ResponseText are provided and when two differing sets of ResponseText are in immediate sequence (with no intervening question). Note that when using ResponseText, the full ResponseText must be repeated for multi-language versions of the content within the same ResponseTextSet.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResponseDomainInMixed">
<xs:annotation>
<xs:documentation>
A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ResponseDomainInMixedType">
<xs:annotation>
<xs:documentation>
A structure that provides both the response domain and information on how it should be attached, or related, to other specified response domains in the question. If no AttachmentLocation information is provided it is assumed that multiple response domains or response text occurs in sequence.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element ref="ResponseDomain">
<xs:annotation>
<xs:documentation>
The response domain being used. An abstract element. May be substituted by any valid object of substitution type ResponseDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResponseDomainReference">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="AttachmentLocation">
<xs:annotation>
<xs:documentation>
Allows attachment of a secondary response domain to a specific item within another response domain used in the question. For example, attach a TextDomain to the value "Other" using the TextDomain label (Please specify) as a label for the TextDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="attachmentBase" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>
If another response domain will be attached to the response domain listed withinResponseDomainInMixed provide a value in attachmentBase to allow for unique identification within this question. AttachmentLocation contains an attribute attachmentDomain which will provide a link from the domain that is being attached to the domain it is being attached to.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element name="AttachmentLocation" type="AttachmentLocationType">
<xs:annotation>
<xs:documentation>
Allows attachment of a secondary response domain to a specific item within another response domain used in the question.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AttachmentLocationType">
<xs:annotation>
<xs:documentation>
Allows attachment of a response domain to a specific item in a code or category scheme. For example, attach a TextDomain to the value "Other".
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element ref="r:CodeReference">
<xs:annotation>
<xs:documentation>
Identifies the value to which the new response domain is attached by a references a specific Code within the CodeDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategoryReference">
<xs:annotation>
<xs:documentation>
Identifies the value to which the new response domain is attached by a references a specific Category within the CategoryDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="DomainSpecificValue">
<xs:annotation>
<xs:documentation>
Identifies the value to which the new response domain is attached by a reference to a specific value used by the response domain and the specific value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="QuestionGridType">
<xs:annotation>
<xs:documentation>
Structures the QuestionGrid as an NCube-like structure providing dimension information, labeling options, and response domains attached to one or more cells within the grid. Provides the intent of the QuestionGrid, input and output parameters for the grid, the question text for the grid, details on the dimensions, allowed responses, and additional cell contents of the grid, references to external aids and instructions, and an estimate of the time required to complete the grid. Note that the QuestionGrid 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 QuestionGrid. Additional materials and information can be added within the QuestionConstruct which is the applied use of a question.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionGridName">
<xs:annotation>
<xs:documentation>
A name for the QuestionGrid. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:InParameter">
<xs:annotation>
<xs:documentation>
Provides an identity for input objects required for the QuestionGrid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
Provides an identify for the output objects of the QuestionGrid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionText">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="QuestionIntent">
<xs:annotation>
<xs:documentation>
The purpose of the QuestionGrid in terms of what it is designed to test. May contain information on specific aspects of the Grid and its construction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="GridDimension">
<xs:annotation>
<xs:documentation>
Describes each dimension of the grid including dimension rank (for the purpose of identifying a cell address), a text for the dimension, and optional labels and codes used as column and row stubs. May also describe a roster (a set of unlabeled rows or columns depending upon display situation).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:choice minOccurs="0">
<xs:element ref="ResponseDomain">
<xs:annotation>
<xs:documentation>
Contains a response domain for the question grid. All cells in the grid have the same response domain. Any cell may also contain an internal label.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResponseDomainReference">
<xs:annotation>
<xs:documentation>
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 DomainReference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:annotation>
<xs:documentation>
Contains a mixture of response domains for the grid cells. Each response domain can be attached to a specific region of the grid, for example a single column or row.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CellLabel">
<xs:annotation>
<xs:documentation>
Provides for the addition of a label within a cell or cells of the grid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
A reference to the concept the QuestionGrid is intended to gather data on.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalAid">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ExternalInterviewerInstruction">
<xs:annotation>
<xs:documentation>
External reference to an interviewer instruction not expressed as DDI XML using OtherMaterial.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>
The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="QuestionGridName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Question Grid using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GridDimensionType">
<xs:annotation>
<xs:documentation>
Describes each dimension of the grid including dimension rank (for the purpose of identifying a cell address), a text for the dimension, and optional labels and codes used as column and row stubs. May also describe a roster (a set of unlabeled rows or columns depending upon display situation).
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element ref="CodeDomain">
<xs:annotation>
<xs:documentation>
This includes a reference to a CodeList that is used for the labels contained in the dimension. CodeLists are used even when the code is not being displayed in order to use this information for creating the cell coordinate address.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="Roster">
<xs:annotation>
<xs:documentation>
A roster is an unlabeled list of numbered rows or columns depending upon orientation. The numbers may or may not be displayed but will be used as information for creating the cell coordinate address.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="rank" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
The rank order of this dimension (the order in which the value for this dimension will appear in the cell address)denoted with a 1-based indexing. Provides coordinate order (1,2,n) for the intersect point of this dimension within the cell address. For example, if the rank of this dimension is 2, the intersect point on this dimension will be the second value listed in the cell address.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" name="displayCode" type="xs:boolean">
<xs:annotation>
<xs:documentation>
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 be displayed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" name="displayLabel" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" (default value) the label of the CodeList will be displayed. Set to "false" to suppress this display.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="RosterType">
<xs:annotation>
<xs:documentation>
A roster is an unlabeled list of numbered rows or columns depending upon orientation. The numbers may or may not be displayed but will be used as information for creating the cell coordinate address. The Roster defines the numbering used for the coordinate system, sets a minimum and maximum number of values, and provides the condition for continuation. The Roster label is used in the same way as the label of the CodeDomain, providing a dimension level header or label.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the roster. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ConditionForContinuation">
<xs:annotation>
<xs:documentation>
Provides the condition for continuing to add another iteration to the roster. This may be a human readable condition and/or a machine-actionable command.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="baseCodeValue" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
A base value for the first item on the Roster (normally 0 or 1 but can be set to any value especially when the use of a roster extends an enumerated list expressed as an integer.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="codeIterationValue" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
The value added to the last used value to create the iteration value for the current row or column expressed as an integer.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="1" name="minimumRequired" type="xs:integer">
<xs:annotation>
<xs:documentation>
The minimum number of rows or columns required expressed as an integer.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maximumAllowed" type="xs:integer">
<xs:annotation>
<xs:documentation>
The maximum number of rows or columns allowed expressed as an integer. Leaving this attribute with no value implies that the maximum allowed is unbounded.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Contains a mixture of response domains for the grid cells. Each response domain can be attached to a specific region of the grid, for example a single column or row. It is assumed that each cell will contain either a resonse domain or be declared as containing No Data By Definition. Any cell may also contain an internal label.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="GridResponseDomain">
<xs:annotation>
<xs:documentation>
Identifies a response type found in the grid and defines the cell or cells that contain it.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="NoDataByDefinition">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in the grid that by definition contain no response domains. These cells MAY contain a label.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CellLabelType">
<xs:annotation>
<xs:documentation>
Provide a label to be included inside of a grid cell and defines the cell or cells that contain it.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:LabelType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="GridAttachment">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in a grid to which the label is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="GridResponseDomainType">
<xs:annotation>
<xs:documentation>
Designates the response domain and the cells using the specified response domain within a QuestionGrid.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element ref="ResponseDomain">
<xs:annotation>
<xs:documentation>
This is a substitution head and can be replaced by any valid member of the substitution group for ResponseDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResponseDomainReference">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="GridAttachment">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in a grid to which the item is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GridAttachmentType">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in a grid to which the item is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="SpecificCellCoordinate">
<xs:annotation>
<xs:documentation>
Defines a single cell by its matrix coordinate address. For example "1,3,2" for a 3 dimensional matrix where dimension rank-1 has a value of 1, dimension rank-2 has a value of 3, and dimension rank-3 has a value of 2.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CellCoordinatesAsDefined">
<xs:annotation>
<xs:documentation>
Defines one or more cells by defining the applicable values of each dimension as "all values", a "specific value" or a range. For example in a simple 2 dimensional grid where dimension rank-1 is displayed as rows and dimension rank-2 as columns and the first column contains a NumericDomain; SelectDimension rank="1" allValues="true" and SelectDimension rank="2" specificValue="1" would result in the NumericDomain being attached to the first column of the grid only.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="allCells" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If the item should be attached to all the cells in the grid set this attribute to "true".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CellCoordinatesAsDefinedType">
<xs:annotation>
<xs:documentation>
Defines one or more cells by defining the applicable values of each dimension as "all values", a "specific value" or a range. For example in a simple 2 dimensional grid where dimension rank-1 is displayed as rows and dimension rank-2 as columns and the first column contains a NumericDomain; SelectDimension rank="1" allValues="true" and SelectDimension rank="2" specificValue="1" would result in the NumericDomain being attached to the first column of the grid only.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SelectDimension">
<xs:annotation>
<xs:documentation>
For each dimension in the grid define the applicable values as "all values", a "specific value" or a range. If a rangeMinimum or rangeMaximum is provided without the other, the assumption is unbounded for the object not included.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SelectDimensionType">
<xs:annotation>
<xs:documentation>
For each dimension in the grid define the applicable values as "all values", a "specific value" or a range. If a rangeMinimum or rangeMaximum is provided without the other, the assumption is unbounded for the object not included.
</xs:documentation>
</xs:annotation>
<xs:attribute name="rank" type="xs:integer" use="required">
<xs:annotation>
<xs:documentation>
The rank value of the dimension for which the selection criteria apply.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allValues" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" applies to the full set of dimension values. If set to "false" use specificValue, rangeMinimum and rangeMaximum as appropriate to define the subset of values needed.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="specificValue" type="xs:string">
<xs:annotation>
<xs:documentation>
May contain a single value or a delimited array of values.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rangeMinimum" type="xs:string">
<xs:annotation>
<xs:documentation>
The inclusive minimum value of the range. Use when the values or subset of values are ordered and contiguous and may be expressed as a range.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rangeMaximum" type="xs:string">
<xs:annotation>
<xs:documentation>
The inclusive maximum value of the range. Use when the values or subset of values are ordered and contiguous and may be expressed as a range.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element name="DomainSpecificValue" type="DomainSpecificValueType">
<xs:annotation>
<xs:documentation>
Identifies the value of the ResponseDomain to which the new ResponseDomain is attached by specifying its attachmentBase number of the target ResponseDomain in the attribute attachmentDomain. Specifies one or more values within the ResponseDomain to which the object is attached (i.e. single item or set).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DomainSpecificValueType">
<xs:annotation>
<xs:documentation>
Identifies the value of the ResponseDomain to which the new ResponseDomain is attached by specifying its attachmentBase number of the target ResponseDomain in the attribute attachmentDomain. Specifies one or more values within the ResponseDomain to which the object is attached (i.e. single item or set).
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="r:Value">
<xs:annotation>
<xs:documentation>
The value of the target response domain to which the object should be attached.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="attachmentDomain" type="xs:integer" use="optional">
<xs:annotation>
<xs:documentation>
This is the value of the attribute "attachmentBase" on the ResponseDomainInMixed to which the specified response domain will be attached. This is used to clarify attachment locations when more than two response domains are provided in a StructuredMixedResponseDomain.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element name="GridDimension" type="GridDimensionType">
<xs:annotation>
<xs:documentation>
Describes each dimension of the grid including dimension rank (for the purpose of identifying a cell address), a text for the dimension, and optional labels and codes used as column and row stubs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Roster" type="RosterType">
<xs:annotation>
<xs:documentation>
A roster is an unlabeled list of numbered rows or columns depending upon orientation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConditionForContinuation" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used for determining if the conditions have been met to continue the given activity.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Contains a mixture of response domains for the grid cells. Each response domain can be attached to a specific region of the grid, for example a single column or row.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CellLabel" type="CellLabelType">
<xs:annotation>
<xs:documentation>
Provide a label to be included inside of a grid cell and defines the cell or cells that contain it.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GridResponseDomain" type="GridResponseDomainType">
<xs:annotation>
<xs:documentation>
Designates the response domain and the cells using the specified response domain within a QuestionGrid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NoDataByDefinition" type="GridAttachmentType">
<xs:annotation>
<xs:documentation>
Defines the cells within the grid that contain the specified content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GridAttachment" type="GridAttachmentType">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in a grid to which the item is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SpecificCellCoordinate" type="xs:string">
<xs:annotation>
<xs:documentation>
The SpecificCellCoordinate expressed as an xs:string.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Defines one or more cells by defining the applicable values of each dimension as "all values", a "specific value" or a range.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SelectDimension" type="SelectDimensionType">
<xs:annotation>
<xs:documentation>
For each dimension in the grid define the applicable values as "all values", a "specific value" or a range.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionConstruct" substitutionGroup="ControlConstruct" type="QuestionConstructType">
<xs:annotation>
<xs:documentation>
A construct which ties question content to the programmatic logic of the control constructs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="QuestionConstructType">
<xs:annotation>
<xs:documentation>
A member of the ControlConstruct substitution group. A construct which ties question content to the programmatic logic of the control constructs. Contains a reference to a QuestionItem, QuestionGrid or QuestionBlock, can set response or dimension sequence for use in a specific application, identifies the response unit, analysis unit, and universe. May provide an estimate of the number of minutes needed to respond.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ControlConstructType">
<xs:sequence>
<xs:element minOccurs="0" ref="r:QuestionReference">
<xs:annotation>
<xs:documentation>
Reference to a QuestionItem, QuestionGrid, or QuestionBlock.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ResponseSequence">
<xs:annotation>
<xs:documentation>
Describes the sequencing of the response options to the question for this application.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="DimensionSequence">
<xs:annotation>
<xs:documentation>
Describes the sequencing of the dimension within a QuestionGrid for this application.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ResponseUnit">
<xs:annotation>
<xs:documentation>
Identifies the intended Response unit (respondent). Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:AnalysisUnit">
<xs:annotation>
<xs:documentation>
The analysis unit, expressed as a term which may come from a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement containing a description of the persons or other elements that this variable refers to, and to which any analytic results refer. If more than one universe is referenced the universe of the variable is the intersect of the referenced universes.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="estimatedSecondsResponseTime" type="xs:decimal" use="optional">
<xs:annotation>
<xs:documentation>
The estimated amount of time required to answer a question expressed in seconds. Decimal values should be used to define fractions of seconds. At the question construct level it refers to the estimated time within the context of is use in a questionnaire.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ResponseSequence" type="SpecificSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of response options when not otherwise indicated.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DimensionSequence" type="SpecificSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of dimensions when not otherwise indicated.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element abstract="true" name="ResponseDomain" type="r:RepresentationType">
<xs:annotation>
<xs:documentation>
An abstract element serving as the head of a substitution group. May be substituted by any valid object of substitution type ResponseDomain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TextDomain" substitutionGroup="ResponseDomain" type="r:TextDomainType">
<xs:annotation>
<xs:documentation>A response domain capturing a textual response.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateTimeDomain" substitutionGroup="ResponseDomain" type="DateTimeDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a date or time response for a question item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DateTimeDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a date or time response for a question item. Contains the equivalent content of a DateTimeRepresentation including the format of the date field, a DateTypeCode, and restriction of content using a regular expression. 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. Has an equivalent DateTimeDomainReference which references a ManagedTextRepresentation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:DateTimeRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="NumericDomain" substitutionGroup="ResponseDomain" type="NumericDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a numeric response (the intent is to analyze the response as a number) for a question item
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="NumericDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a numeric response (the intent is to analyze the response as a number) for a question. Contains the equivalent content of a NumericRepresentation including the numeric range, numeric type code, format, scale, decimal position, and interval. 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. Has an equivalent NumericDomainReference which references a ManagedNumericRepresentation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:NumericRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CodeDomain" substitutionGroup="ResponseDomain" type="CodeDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a coded response (where both codes and their related category value are displayed) for a question item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CodeDomainType">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:CodeRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CategoryDomain" substitutionGroup="ResponseDomain" type="CategoryDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a category (without an attached code) response for a question item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CategoryDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a category (without an attached code) response for a question item. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content, as well as a CategoryRepresentationBase.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:CategoryRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="GeographicDomain" substitutionGroup="ResponseDomain" type="GeographicDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a geographic coordinate reading as a response for a question item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GeographicDomainType">
<xs:annotation>
<xs:documentation>
Structures the response domain for a geographic point to ensure collection of relevant information. The point may be associated with a polygon (such as the centroid of the polygon) or a line (end or shape points of a line). Note that the common response domain objects (OutParameter, ResponseCardinality, and ContentDateOffset) are available at each of the response objects in the representation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:GeographicRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="NominalDomain" substitutionGroup="ResponseDomain" type="NominalDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a nominal (check off) response for a question grid response. A NominalDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="NominalDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a nominal (check off) response for a question grid response. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:NominalRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ScaleDomain" substitutionGroup="ResponseDomain" type="ScaleDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a scale response which describes a 1..n dimensional scale of various display types for a question. A ScaleDomain may also be provided by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ScaleDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a scale response which describes a 1..n dimensional scale of various display types for a question item. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content. May be replaced by a ScaleRepresentationRefererence.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ScaleRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="LocationDomain" substitutionGroup="ResponseDomain" type="LocationDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a location response (mark on an image, recording, or object) for a question. A LocationDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LocationDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a location response (mark on an image, recording, or object) for a question. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:LocationRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RankingDomain" substitutionGroup="ResponseDomain" type="RankingDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a ranking response which supports a "ranking" of categories. Generally used within a QuestionGrid. A RankingDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RankingDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a ranking response which supports a "ranking" of categories. Generally used within a QuestionGrid. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content, as well as content for a Nominal Representation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:RankingRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DistributionDomain" substitutionGroup="ResponseDomain" type="DistributionDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a distribution response for a question. A DistributionDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DistributionDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a distribution response for a question item. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content, as well as the description of a distribution representation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:DistributionRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A response domain capturing a geographic structure code as a response for a question item. A GeographicStructureCodeDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GeographicStructureCodeDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing a geographic structure code as a response for a question item. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content, as well as a description of a geographic structure code representation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:GeographicStructureCodeRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A response domain capturing the name or code of a Geographic Location as a response for a question item. A GeographicLocationCodeDomain may only be included in-line. It cannot be included by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="GeographicLocationCodeDomainType">
<xs:annotation>
<xs:documentation>
A response domain capturing the name or code of a Geographic Location as a response for a question item. Includes standard response domain elements; OutParameter, designation of response cardinality, and a declaration of an offset date for the data content, as well as a description of a geographic location code represeanttion. Allows for capturing a limited segment of a complex geographic code.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:GeographicLocationCodeRepresentationBaseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element abstract="true" name="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
An abstract base for the substitution group ResponseDomainReference. TypeOfObject should be set to ManagedDateTimeRepresentation, ManagedMissingValuesRepresentation, ManagedNumericRepresentation, ManagedScaleRepresentation, or ManagedTextRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MissingValuesDomainReference" substitutionGroup="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
A response domain capturing the missing value response for a question item. This may only be included by reference as all MissingValue descriptions are managed. Note that MissingValues may be captured separately as process or paradata through a parallel data capture process or automatically by the instrument. The TypeOfObject should be set to ManagedMissingValuesRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TextDomainReference" substitutionGroup="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
A response domain capturing the text response for a question item. The TypeOfObject should be set to ManagedTextRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NumericDomainReference" substitutionGroup="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
A response domain capturing the numeric response for a question item. The TypeOfObject should be set to ManagedNumericRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateTimeDomainReference" substitutionGroup="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
A response domain capturing the date time response for a question item. The TypeOfObject should be set to ManagedDateTimeRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ScaleDomainReference" substitutionGroup="ResponseDomainReference" type="DomainReferenceType">
<xs:annotation>
<xs:documentation>
A response domain capturing the scale response for a question item. The TypeOfObject should be set to ManagedScaleRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DomainReferenceType">
<xs:annotation>
<xs:documentation>
Abstract type for the head of a substitution group that allows for the use of a response domain by reference. If specific values are used to denote missing values, these can be indicated as a space-delimited list in the missingValue attribute. If the missing value is indicated by a blank, this should be indicated by setting the value of blankIsMissingValue to true.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the domain. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the domain. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ResponseCardinality">
<xs:annotation>
<xs:documentation>
Allows the designation of the minimum and maximum number of responses allowed for this response domain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
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.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--Interviewer Instructions -->
<xs:complexType name="ExternalInterviewerInstructionType">
<xs:annotation>
<xs:documentation>
Specification of an external interviewer instruction not structured in DDI. Uses the structure of OtherMaterial to provide a citation, description, and locator for the object.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:OtherMaterialType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstructionAttachmentLocation">
<xs:annotation>
<xs:documentation>
Allows attachment of an instruction to a specific item in a question structure. For example, to a Label, QuestionText, ResponseDomain, Response domain value, or grid cell.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="true" name="isDisplayed" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the instruction should always be displayed, not just upon need.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="InterviewerInstructionReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML plus a flag to designate whether the instruction should always be displayed. TypeOfObject should be set to InterviewerInstruction.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="InstructionAttachmentLocation">
<xs:annotation>
<xs:documentation>
Allows attachment of an instruction to a specific item in a question structure. For example, to a Label, QuestionText, ResponseDomain, Response domain value, or grid cell.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="true" name="isDisplayed" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" the content of the instruction is intended to be displayed. If set to "false" the preference is for the instruction to be displayed upon request if this is supported by the mode of presentation.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SpecificSequenceType">
<xs:annotation>
<xs:documentation>
Describes the ordering of items when not otherwise indicated. There are a set number of values for ItemSequenceType, but also a provision for describing an alternate ordering using a command language.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="ItemSequenceType">
<xs:annotation>
<xs:documentation>
Identifies the type of sequence to use. Values include InOrderOfAppearance, Random, Rotate, and Other.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="AlternateSequenceType">
<xs:annotation>
<xs:documentation>
Information on the command used to generate an alternative means of determining sequence changes. If used, the ItemSequenceType should be "Other".
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element default="InOrderOfAppearance" name="ItemSequenceType" type="ItemSequenceTypeType">
<xs:annotation>
<xs:documentation>
Describes the types of sequences that can be used for a set of items.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:simpleType name="ItemSequenceTypeType">
<xs:annotation>
<xs:documentation>
Describes the types of sequences that can be used for a set of items.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="InOrderOfAppearance">
<xs:annotation>
<xs:documentation>
In the order of appearance per the DDI instance, for each use.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Random">
<xs:annotation>
<xs:documentation>Randomly resorts sequence for each use.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Rotate">
<xs:annotation>
<xs:documentation>
Rotates order of sequence for each use where first use is 1 2 3 4, second use is 2 3 4 1, third use is 3 4 1 2 etc.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Other">
<xs:annotation>
<xs:documentation>
Any other means of reordering sequence. When value is Other, AlterativeSequenceType must be specified to describe the resequencing process.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="AlternateSequenceType" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to generate an alternative means of determining sequence changes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfInstrument" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of instrument being described primarily for classification purposes. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfSequence" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the purpose of type of sequence. Many sequences are defined for processing or display purposes and may be classified using this element. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Methodology" type="MethodologyType">
<xs:annotation>
<xs:documentation>
Metadata regarding the methodologies used concerning data collection, determining the timing and repetition patterns for data collection, and sampling procedures.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionEvent" type="CollectionEventType">
<xs:annotation>
<xs:documentation>Information on a specific data collection event</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionScheme" type="QuestionSchemeType">
<xs:annotation>
<xs:documentation>
Contains a set of QuestionItems, QuestionGrids, QuestionBlocks, and QuestionGroups.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Instrument" type="InstrumentType">
<xs:annotation>
<xs:documentation>
Defines the type of instrument used for data collection or capture.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProcessingEvent" type="ProcessingEventType">
<xs:annotation>
<xs:documentation>
ProcessingEvent can contain a number of operations of different types to express a range of events that occur together.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DataCollectionMethodologyType">
<xs:annotation>
<xs:documentation>
A basic structure for describing the methodology used for collecting data. In addition to a descriptive narrative, the methodology may be classified by a short term or external controlled vocabulary.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfDataCollectionMethodology">
<xs:annotation>
<xs:documentation>
Allows for brief identification of the type of data collection methodology using an optional controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the data collection methodology. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the type of data collection methodology. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A basic structure for describing the methodology used for collecting data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="TimeMethodType">
<xs:annotation>
<xs:documentation>
Describes the time method or time dimension of the data collection. This may cover specific timing issues such as when a data collection instrument is fielded (time of year, month, week, day), intended repetition, length of data collection period etc. In addition to the descriptive narrative supports the use of a brief term or external controlled vocabulary to classify the methodology used.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfTimeMethod">
<xs:annotation>
<xs:documentation>
Allows brief identification of time method used with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the data time method used. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TypeOfTimeMethod" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the type of the time methodology used. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeMethod" type="TimeMethodType">
<xs:annotation>
<xs:documentation>
Describes the time method or time dimension of the data collection.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SamplingProcedureType">
<xs:annotation>
<xs:documentation>
Describes the type of sample, sample design and provides details on drawing the sample. In addition to the descriptive narrative supports the use of a brief term or controlled vocabulary to classify the type of sampling procedure described.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfSamplingProcedure">
<xs:annotation>
<xs:documentation>
Allows brief identification of sampling procedure used with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the sampling procedure. This may include information on the sample frame, sampling methodology, and procedures for identifying and selecting sub-populations. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TypeOfSamplingProcedure" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the type of sampling procedure used. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SamplingProcedure" type="SamplingProcedureType">
<xs:annotation>
<xs:documentation>
Describes the type of sample, sample design and provides details on drawing the sample.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DeviationFromSampleDesignType">
<xs:annotation>
<xs:documentation>
Describes any deviations from the planned sample design. These may be for reasons of practicality, implementation issues, or other reasons. In addition to a narrative description allows for use of a brief term or controlled vocabulary term to classify the type of deviation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfDeviationFromSampleDesign">
<xs:annotation>
<xs:documentation>
Allows brief identification of the deviation from the sample design with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of deviation from the sample design. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the deviation from sample design. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes any deviations from the planned sample design.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DataSource" type="DataSourceType">
<xs:annotation>
<xs:documentation>
Describes the source of the data. This may be a population group, an environmental object, a registry, published or unpublished data source, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Origin" type="OriginType">
<xs:annotation>
<xs:documentation>A citation or URI for the source of the data.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceCharacteristic" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>
Characteristic provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Documents the intended frequency of data collection.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ModeOfCollectionType">
<xs:annotation>
<xs:documentation>
Describes the mode of collection, i.e., paper questionnaire, observation, web delivered questionnaire, computer assisted interview, automated data harvesting, etc. In addition to the narrative description allows for the use of a brief term or item from a controlled vocabulary to classify the mode used. If multiple modes are used repeat the element.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfModeOfCollection">
<xs:annotation>
<xs:documentation>
Allows brief identification of the mode used with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the mode of collection. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TypeOfModeOfCollection" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the mode of data collection. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ModeOfCollection" type="ModeOfCollectionType">
<xs:annotation>
<xs:documentation>
Describes the mode of collection, i.e., paper questionnaire, observation, web delivered questionnaire, computer assisted interview, automated data harvesting, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CollectionSituationType">
<xs:annotation>
<xs:documentation>
Describes the situation in which the data collection event takes place.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfCollectionSituation">
<xs:annotation>
<xs:documentation>
Allows brief identification of collection situation with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the collection situation. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TypeOfCollectionSituation" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the collection situation. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CollectionSituation" type="CollectionSituationType">
<xs:annotation>
<xs:documentation>
Describes the situation in which the data collection event takes place.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ActionToMinimizeLossesType">
<xs:annotation>
<xs:documentation>
Describes action taken to minimize loss of data from the collection event. This may include a brief term, such as from a controlled vocabulary, and a full description of the actions taken. If multiple actions were taken repeat this element.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfActionToMinimizeLosses">
<xs:annotation>
<xs:documentation>
A brief textual description of the action taken to minimize loss of data. Supports the use of an external controlled vocabulary
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the action taken to minimize loss of data. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the actions taken to minimum data loss. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes action taken to minimize loss of data from the collection event.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ControlOperation" type="OperationType">
<xs:annotation>
<xs:documentation>
A generic operation description used to describe a control operation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CleaningOperation" type="OperationType">
<xs:annotation>
<xs:documentation>
A generic operation description used to describe a cleaning operation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="WeightingType">
<xs:annotation>
<xs:documentation>
Describes the weighting used in the process. In addition to a description of the weighting process it may be designated as a specific type of weighting. If the data uses a standard weight (each record has an equal weight) it may be expressed here with StandardWeight.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfWeighting">
<xs:annotation>
<xs:documentation>
Allows brief identification of Time Method used with the option of using a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
Full description of the data collection methodology. Supports structured content and multiple language content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="StandardWeight">
<xs:annotation>
<xs:documentation>
A standard weighting factor used by all or a group of variables within the data set.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TypeOfWeighting" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the type of weighting used. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Weighting" type="WeightingType">
<xs:annotation>
<xs:documentation>Describes the weighting used in the process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StandardWeight" type="StandardWeightType">
<xs:annotation>
<xs:documentation>
Provides an identified value for a standard weight expressed as an xs:float.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="StandardWeightType">
<xs:annotation>
<xs:documentation>
Provides an identified value for a standard weight expressed as an xs:float. This object may be referenced by a variable or statistic and used as a weight for analysis.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element name="StandardWeightValue" type="xs:float">
<xs:annotation>
<xs:documentation>
Provides the standard weight used for weighted analysis of data expressed as an xs:float. This element is referenced by the variable and/or statistics calculated using the standard weight.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ResponseTextSet" type="ResponseTextSetType">
<xs:annotation>
<xs:documentation>
Provides a means of bundling multiple language versions of the same intended dynamic text together. This wrapper serves to differentiate between a case where multiple language content for a single ResponseText are provided and when two differing sets of ResponseText are in immediate sequence (with no intervening question).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ResponseTextSetType">
<xs:annotation>
<xs:documentation>
Provides a means of bundling multiple language versions of the same intended dynamic text together. This wrapper serves to differentiate between a case where multiple language content for a single ResponseText are provided and when two differing sets of ResponseText are in immediate sequence (with no intervening question). Each of the repetitions of ResponseText within this wrapper are assumed to be multi-language equivalents.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ResponseText">
<xs:annotation>
<xs:documentation>
Text closely related to the content of the ResponseDomain(s), in general, text required to make sense of the related response domain. Note that when using ResponseText, the full ResponseText 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 ResponseText in a non-dynamic environment like print.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Describes the result of data appraisal activities as a response rate and sampling error.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Expression" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to generate the dynamic portion of a text field.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IfCondition" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "If" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ThenConstructReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Construct using the Reference structure. TypeOfObject should be set to ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, orStatementItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ElseConstructReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Construct using the Reference structure. TypeOfObject should be set to ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, orStatementItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UntilCondition" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "Until" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UntilConstructReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Construct using the Reference structure. TypeOfObject should be set to ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, orStatementItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WhileCondition" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "While" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WhileConstructReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Construct using the Reference structure. TypeOfObject should be set to ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, orStatementItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LoopVariableReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InitialValue" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to set the initial value for the process. Could be a simple value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LoopWhile" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to determine whether the "LoopWhile" condition is met.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StepValue" type="r:CommandCodeType">
<xs:annotation>
<xs:documentation>
Information on the command used to set the incremental or step value for the process. Could be a simple value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssignedVariableReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing AssignedVariable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisplayText" type="DynamicTextType">
<xs:annotation>
<xs:documentation>
Display text which supports the use of dynamic content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionText" type="DynamicTextType">
<xs:annotation>
<xs:documentation>
Question text which supports the use of dynamic content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="QuestionIntent" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>
Intent of the Question provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResponseText" type="DynamicTextType">
<xs:annotation>
<xs:documentation>
Response text which supports the use of dynamic content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SamplingError" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation>
Sampling Error provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Other Appraisal Process provided using a StructuredString to support multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResponseUnit" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the intended response unit/respondent. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GeneralInstruction" type="GeneralInstructionType">
<xs:annotation>
<xs:documentation>
Processing instructions that pertain to data collection or data processing overall such as handling of non-response to questions, imputation practices, suppression rules, etc.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Processing instructions for recodes, derivations from multiple question or variable sources, and derivations based on external sources.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceQuestion" type="SourceReferenceType">
<xs:annotation>
<xs:documentation>
Reference to a question used in the derivation or coding instruction. TypeOfObject should be set to QuestionItem or Question Grid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A reference to a control construct of any type with the ability to bind the InParameter or OutParameter of the ControlConstruct to external information as needed. TypeOfObject should be set to ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, or StatementItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ControlConstructReferenceType">
<xs:annotation>
<xs:documentation>
A reference to a control construct of any type with the ability to bind the InParameter or OutParameter of the ControlConstruct to external information as needed.ComputationItem, IfThenElse, Loop, QuestionConstruct, RepeatUntil, RepeatWhile, Sequence, or StatementItem
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Binding">
<xs:annotation>
<xs:documentation>
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 output of a question to the input of a generation instruction. Question A has an OutParameter X. Generation Instruction has an InParameter Y used in the recode instruction. Binding defines the content of InParameter Y to be whatever is provided by OutParameter X for use in the calculation of the recode.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="SourceVariable" type="SourceReferenceType">
<xs:annotation>
<xs:documentation>
Reference to a variable used in the derivation or coding instruction.ComputationItem, TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExternalInformation" type="r:OtherMaterialType">
<xs:annotation>
<xs:documentation>
Description and link to the External Information using the DDI Other Material structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing Organization using the Reference structure. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Specification of an external interviewer instruction not structured in DDI.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an interviewer instruction expressed as DDI XML plus a flag to designate whether the instruction should always be displayed. TypeOfObject should be set to Instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OverriddenCodeReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Generation or General Instruction using the Reference structure. TypeOfObject should be set to GeneralInstruction or GenerationInstruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DataCollectionDate" type="r:DateType">
<xs:annotation>
<xs:documentation>Time period of this role.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExternalAid" type="r:OtherMaterialType">
<xs:annotation>
<xs:documentation>
Description and link to the External Aid using the DDI Other Material structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstrumentReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Instrument using the Reference structure. TypeOfObject should be set to Instrument.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InstructionReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an individual instruction. TypeOfObject should be set to Instruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Allows attachment of an instruction to a specific item in a question structure. For example, to a Label, QuestionText, ResponseDomain, Response domain value, or grid cell.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="InstructionAttachmentLocationType">
<xs:annotation>
<xs:documentation>
Allows attachment of an instruction to a specific item in a question structure. For example, to a Label, QuestionText, ResponseDomain, Response domain value, or grid cell.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="AttachmentLocation">
<xs:annotation>
<xs:documentation>
Allows attachment of an instruction to a specific item in a code or category scheme. For example, attach a Definition to a specific Code/Category the value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="GridAttachment">
<xs:annotation>
<xs:documentation>
Identifies the cell or cells in a grid to which the instruction is attached by a reference to a specific cell coordinate in a grid or by identifying a range of values along a dimension.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="attachToLabel" type="xs:boolean">
<xs:annotation>
<xs:documentation>Attach the instruction to the Question Label.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" name="attachToQuestionText" type="xs:boolean">
<xs:annotation>
<xs:documentation>Attach the instruction to the QuestionText.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set