CodeTarget (mappings)
Purpose
Specifies the mapping of a control holding coded data in an InForm study to a specific type of code target in the dictionary used to code the data. The CodeTarget element is a child element in the CodingMap structure for a verbatim specified by the Path element in a set of Central Coding data mappings.
Syntax
<CODETARGET
NAME="name"
PATH="path"/>
Attributes
NAME="name"
Name of the dictionary code target used to code the data in the verbatim specified by the Path element and its child components. Required.
PATH="path"
RefName path of the control that holds data after it is coded. 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
In the following example, the ExternalMap element identifies the mappings for one verbatim in an InForm study, specified with the Path element, to be coded with the Central Coding application.
<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="ATC 1.CODE" 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>