This example shows a minimal nested ItemGroupDef of type Form.

Simple ItemGroupDef
<ItemGroupDef OID="ODM.IG.LB" Name="LAB Measurements" Repeating="No" Type="Form">
	<Description>
      <TranslatedText xml:lang="en" Type="text/plain">Laboratory Tests Results Form</TranslatedText>
    </Description>
    <ItemRef ItemOID="ODM.IT.LB.LBDTC" Mandatory="Yes" OrderNumber="1"/>
    <ItemGroupRef ItemGroupOID="ODM.IG.LB.WBC" Mandatory="Yes" MethodOID="ODM.MT.LB.LBORRES" OrderNumber="2"/>
    <ItemRef ItemOID="ODM.IT.LB.ALB.LBORRES" Mandatory="Yes" OrderNumber="3"/>
    <ItemRef ItemOID="ODM.IT.LB.ALB.LBORRESU" Mandatory="Yes" OrderNumber="4"/>
    <ItemRef ItemOID="ODM.IT.LB.GLUC.LBORRES" Mandatory="Yes" OrderNumber="5"/>
    <ItemRef ItemOID="ODM.IT.LB.GLUC.LBORRESU" Mandatory="Yes" OrderNumber="6"/>
</ItemGroupDef>
<!-- To indicate that WBC value (ODM.IT.LB.WBC.LBORRES) and WBC unit (ODM.IT.LB.WBC.LBORRESU) 
belong together, they can be put into one ItemGroupDef, which can then be within another ItemGroupDef -->             
<ItemGroupDef OID="ODM.IG.LB.WBC" Name="WBC Lab Results with Unit" Repeating="No" Type="Form">
    <ItemRef ItemOID="ODM.IT.LB.WBC.LBORRES" Mandatory="Yes" OrderNumber="1"/>
    <ItemRef ItemOID="ODM.IT.LB.WBC.LBORRESU" Mandatory="Yes" OrderNumber="2"/>               
    <Coding Code="26464-8" System="http://loinc.org" SystemName="LOINC" SystemVersion="2.61" Label="loinc_code"/>
</ItemGroupDef> 
  • No labels