ContextItem (mappings)
Purpose
Specifies the mapping of a control holding coded data in an InForm study to a specific type of context item in the dictionary used to code the data. The ContextItem element is a child element in the ContextInformation structure for a verbatim specified by the Path element in a set of Central Coding data mappings.
<CONTEXTITEM
NAME="name"
PATH="path"/>
Attributes
NAME="name"
Name of the dictionary context item used to code the data in the verbatim specified by the Path element and its child elements. Required.
PATH="path"
RefName path of the control that holds the data for the dictionary context item. Required.
Restrictions
The MedML Installer utility and the InForm application enforce the following restrictions on Path elements defining code target control paths:
- The code target control path must be unique within a mapping.
- The code target control must be different from the verbatim and from any code target control paths within a mapping.
- The code target control path must point to the top-level text box control or calculated control.
- Verbatim, code target, and context item controls must be:
- In the same visit if the visit is repeating.
- On the same form if the form is repeating.
- In the same itemset if the coded data appears in an itemset.
- Different from each other.
Example
<EXTERNALMAP xmlns="MedML-TDE">
<PATH>
<CHAPTERREF REFNAME="vstCORE4"/>
<PAGEREF REFNAME="frmChem"/>
<SECTIONREF REFNAME="sctChem"/>
<ITEMSETREF REFNAME="mitsLabInfo"/>
<ITEMREF REFNAME="mitmAccNo"/>
<CONTROLREF REFNAME="mcalLAB"/>
</PATH>
<CODINGMAP REFNAME="MAPPINGS3" VERBATIMTYPE="MEDPROD">
<DICTIONARY TYPE="WHODD" VERSION="05Q4" CULTURE="en-US"/>
<CODETARGET NAME="ATCCODE"
PATH="0.vstCORE4.frmChem.sctChem.mitsLabInfo.mitmLabDate.mcalLAB"/>
<CONTEXTINFORMATION>
<CONTEXTITEM NAME="Indication"
PATH="0.vstCORE4.frmChem.sctChem.mitsLabInfo.mitmLabHi.mcalLAB"/>
<CONTEXTITEM NAME="Route Of Administration"
PATH="0.vstCORE4.frmChem.sctChem.mitsLabInfo.mitmLabTest.mcalLAB"/>
</CONTEXTINFORMATION>
</CODINGMAP>
</EXTERNALMAP>