An example of Static and Simple Repeating ItemGroupDef elements.
Repeating ItemGroupDef
<ItemGroupDef OID="ODM.IG.DM" Name="Demographics" Repeating="No" Type="Form"> <ItemRef ItemOID="IT.DM.BRTHYR" Mandatory="Yes"/> <ItemRef ItemOID="IT.DM.BRTHMO" Mandatory="Yes"/> <ItemRef ItemOID="IT.DM.BRTHDY" Mandatory="Yes"/> <ItemRef ItemOID="IT.DM.SEX" Mandatory="Yes"/> <ItemRef ItemOID="IT.DM.ETHNIC" Mandatory="Yes"/> <ItemGroupRef ItemGroupOID="ODM.IG.RACE" Mandatory="Yes"/> <ItemGroupRef ItemGroupOID="ODM.IG.RACEOTH" Mandatory="No"/> </ItemGroupDef> <ItemGroupDef OID="ODM.IG.RACE" Name="Race" Repeating="Static" Type="Section"> <ItemRef ItemOID="IT.DM.RACE" Mandatory="Yes" Repeating="Yes"/> </ItemGroupDef> <ItemGroupDef OID="ODM.IG.RACEOTH" Name="Race Other(s)" Repeating="Simple" RepeatingLimit="2" Type="Section"> <ItemRef ItemOID="IT.DM.RACEOTH" Mandatory="No" Repeating="Yes"/> </ItemGroupDef> <ItemDef OID="IT.DM.RACE" Name="RACE" DataType="text" Length="41"> <Description> <TranslatedText xml:lang="en" Type="text/plain">Race</TranslatedText> </Description> <Question> <TranslatedText xml:lang="en" Type="text/plain">Race (Select all that apply)</TranslatedText> </Question> <CodeListRef CodeListOID="CL.RACE"/> </ItemDef> <ItemDef OID="IT.DM.RACEOTH" Name="RACEOTH" DataType="text" Length="41"> <Description> <TranslatedText xml:lang="en" Type="text/plain">Race Other</TranslatedText> </Description> <Question> <TranslatedText xml:lang="en" Type="text/plain">Other Race (maximum two other values not listed under RACE)</TranslatedText> </Question> </ItemDef>
Overview
Content Tools