Extensions show control hierarchy and type
To define details for controls, the ODM Export interface provides the following extensions to the ODM elements ItemDef and CodeListItem.
Oracle extensions to ItemDef
Oracle extension to ItemDef |
Description |
---|---|
pf:ParentOID |
The parent of each ItemDef that is not a top-level ItemDef. |
pf:ParentType |
Defines the type of parent control. If value of parent type is:
|
pf:SelectionOwner |
For each ItemDef that is the child of a radio group selection, the OID of the CodeList that contains the codelist selection. |
pf:ItemDefType |
Indicates the control type. Values: RadioGroup, Checkbox, Text, Calculated, PullDown, Date. |
Oracle extensions to CodeListItem
Oracle extension to CodeListItem |
Description |
---|---|
pf:SelectionOID |
An OID that uniquely identifies the selection in a radio group. The value is a concatenation of the CodeList OID and the CodeListItem CodedValue. |
Considerations:
- For each ItemDef, the extension pf:ParentOID must be added to show the parent for each data point. For example:
<ItemDef OID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Other.txtOther"
pf:ParentOID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Other" ... />
- A pf:ParentOID is omitted in each root item.
- A pf:InFormItemDef might have multiple root ItemDefs when the root InForm control is a group control, because ItemDefs are not returned for InForm group controls.
- Each ItemDef that has a pf:ParentOID attribute will also contain a pf:ParentType attribute to indicate the type of the ItemDef’s parent.
- Each ItemDef that is the child of a radio group selection will also identify the code list that contains the CodeListItem. This is extra information, but will be helpful in linking an item with the code list that contains the radio group selection that is its parent.
<ItemDef OID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Parent"
pf:ParentOID="frm.sct.itmFamHist.rdcYNUnk.Y"
pf:ParentType="CodeListItem"
pf:SelectionOwner="frm.sct.itmFamHist.rdcYNUnk"... />
Example—control hierarchy:
<ItemDef OID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Other.txtOther"
pf:ParentOID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Other"
pf:ParentType="ItemDef" ... />
<ItemDef OID="frm.sct.itmFamHist.rdcYNUnk.chkFamHist.Parent"
pf:ParentOID="frm.sct.itmFamHist.rdcYNUnk.Y"
pf:ParentType="CodeListItem" ... />
Example—control type:
<ItemDef OID="frm.sct.itmFamHist.rdcYN.chkFamHist.Other.txtOther"
pf:ItemDefType="Text" ... />