Example
The following example shows a DATA element that is used to import the initials of
subject AAA in the PF site to the Subject initials field in the screening
form:
<SCREEN SITEMNEMONIC=”PF”>
<DATA TAG=”screen.0.patientinitials.patientinitials”
VALUE=”AAA”/>
</SCREEN>
The following example shows the use of the CHILDSELECTED attribute of the DATA
element to indicate that, in the RACE radio control, the RACEPULLDOWN radio button
is being selected. The second DATA element gives the selected value within the
drop-down
list.
<PATIENTDATA PATIENTINITIALS=”AAA” SITEMNEMONIC=”PF”
FORMSETREFNAME=”Visit1” FORMREFNAME=”DEM” COMMENT>
<DATA TAG=”DEM.0.RACE.RACEGROUP”
CHILDSELECTED=”RACEPULLDOWN”/>
<DATA TAG=”DEM.0.RACE.RACEGROUP.RACEPULLDOWN”
VALUE=”Asian”/>
</PATIENTDATA>
The following example shows a DATA element used to specify a date to be imported into
an enrollment form:
<ENROLL PATIENTINITIALS=”AAA” SITEMNEMONIC=”PF”
PATIENTNUMBER=”BK1” ENROLL=”TRUE”>
<DATA TAG=”consent.0.consentdate.date”
MONTH=”1” DAY=”6” YEAR=”1999”/>
</ENROLL>
The following example shows the use of the UNIT attribute to specify that the unit in
which height is being measured is
inches.
<PATIENTDATA PATIENTINITIALS=”AAA” SITEMNEMONIC=”PF”
FORMSETREFNAME=”Visit1” FORMREFNAME=”DEM”>
<DATA TAG=”DEM.0.HEIGHT.HEIGHTTEXT”
VALUE=”67” UNIT=”Inches”/>
</PATIENTDATA>
The following example shows the use of the NOMULTIVALUE attribute to specify that a
data value containing a comma (,) is a single
value.
<PATIENTDATA PATIENTINITIALS=”AAA” SITEMNEMONIC=”PF”
FORMSETREFNAME=”Visit1” FORMREFNAME=”DEM”>
<DATA TAG=”DEM.0.HEIGHT.ID”
VALUE=”67,11” NOMULTIVALUE=””/>
</PATIENTDATA>
Parent topic: Creating an XML submission