DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "GenerationInstructionType"
Namespace:
Content:
complex, 1 attribute, 7 elements
Defined:
Includes:
definitions of 1 attribute and 7 elements
Used:
XML Representation Summary
<...
    isDerived
 = 
xs:boolean : "true"
    >
   
Content: 
SourceQuestion*, SourceVariable*, ExternalInformation*, r:Description*, r:Command*, ControlConstructReference*, Aggregation?
</...>
Content Model Elements (7):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
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 by variables in the logical product.
XML Source (w/o annotations (9); see within schema source)
<xs:complexType name="GenerationInstructionType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceQuestion"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceVariable"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalInformation"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Command"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference"/>
<xs:element minOccurs="0" ref="Aggregation"/>
</xs:sequence>
<xs:attribute default="true" name="isDerived" type="xs:boolean"/>
</xs:complexType>
Attribute Detail (defined in this component only; 1/1)
isDerived
Type:
xs:boolean, predefined
Use:
optional
When set to true, the instruction describes a derivation. When false, indicates a simple recode.
Attribute Value
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="true" name="isDerived" type="xs:boolean"/>
Content Element Detail (defined in this component only; 7/7)
Aggregation
Type:
AggregationType, complex content
Describes the aggregation.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="Aggregation"/>

ControlConstructReference
Type:
r:ReferenceType, complex content
A control construct within the derivation instruction.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ControlConstructReference"/>

ExternalInformation
Type:
r:OtherMaterialType, complex content
Reference to an external source of information used in the coding process, for example a value from a chart, etc.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExternalInformation"/>

r:Command
Type:
r:CommandType, complex content
A machine-actionable command for processing the coding process.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Command"/>

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

SourceQuestion
Type:
SourceReferenceType, complex content
Reference to a question used in the coding process
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceQuestion"/>

SourceVariable
Type:
SourceReferenceType, complex content
Reference to a variable used in the coding process
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceVariable"/>

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