Specifying a data and map file
To import a data and map file:
- Creating a data and map file
The data and map file that are used in the direct import method must be a text file. You can use any text editor that creates plain text files, or develop a conversion utility that automatically formats your raw data. - Editing an existing data and map file
Parent topic: Importing a data and map file
Editing an existing data and map file
Note:
If you change definitions in a map file and click Cancel (instead of Finish), an empty map file is saved with the path and filename you specified in the Map field.- Specifying a submission type
- Specifying an input field type
Use the Field Definition dialog box to define each map field one at a time. Each map field corresponds to a data item in the import file. - Building an item path
If you selected InForm Item Path as the item type, you must specify the RefName path for the target CRF data item for the field in the import file. - Specifying a data type
You must specify a data type for each import field definition that you create as an InForm item path field. - Mapping strings and child controls
Use the InForm Data Import utility to map field values in your import file to the database definitions of CRF controls, which have predefined values. - Indicating that data contains multiple selection items
To import data to a multiple-selection control, a checkbox group, or a multiple-selection drop-down list: - Checking for duplicate information within itemsets
The InForm Data Import utility can determine whether data already exists in the database by comparing the data itemset in which you are mapping to existing itemsets in the database. - Importing information into an unscheduled visit
- Inserting or deleting an import field
- Checking the map against the import file
Use the InForm Data Import utility map file editor to review the map field definitions against the actual import data that you will be processing. - Navigating the map file
As you create the fields in a map file, the field definitions are strung together in a sequence in which you can move back and forth.
Parent topic: Specifying a data and map file
Specifying an input field type
Use the Field Definition dialog box to define each map field one at a time. Each map field corresponds to a data item in the import file.
- InForm Item Path—Contains data that is targeted to a data item on a CRF. When you select this option, you must provide additional information about the import field. For more information, see Building an item path.
- Patient Field – Number (Initials)—Contains subject
identification information in either patient_number (patient_initials) format or
in the form of a subject database ID. If your import data identifies each
subject by the subject database ID, select the Field Contains Known
Patient ID checkbox.
When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Site Mnemonic Field—Contains the mnemonic of the site where the subject is enrolled. When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Itemset Index Field—Contains the itemset index, a 1 based row number. Used to identify an existing row of an Add Entry or Repeating Data itemset. When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Ignore This Field—Indicates that you do not want the field to be imported. When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Unit Symbol for previous field—Contains the symbol for the units that apply to the previous field in the import and map files. The symbol of a unit is the text that identifies the unit on the CRF, as defined in the SYMBOL attribute of the UNIT definition in the appropriate XML file. When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Comment Field for previous field—Contains the comment text that is associated with a form or itemset. When you select this option, the definition of the map field is complete, and you can move to another map field definition or save the map file and exit the map file editor. For more information, see Navigating the map file.
- Comma separates multiple-values—Indicates that the import file contains data which will populate multiple-selection controls such as radio button groups, checkbox groups, and drop-down lists.
- Match Itemset instance with this field—Indicates that you want the InForm Data Import utility to check for duplicate data in the import file before importing to the InForm application.
- Match Repeating visit instance with this field—Indicates that you want the InForm Data Import utility to check for duplicate dates of visit for the current field in the import file and a date of visit for a repeating visit already in the InForm database.
Parent topic: Editing an existing data and map file
Building an item path
If you selected InForm Item Path as the item type, you must specify the RefName path for the target CRF data item for the field in the import file.
- Type the path in the InForm Item Path text box.
For more information, see Entering an item path explicitly.
- Select each RefName from the drop-down lists in the Build Path From Database
dialog box.
For more information, see Using the Build Path from Database dialog box.
- Entering an item path explicitly
To specify an item path, use the following item path: - Using the Build Path From Database dialog box
Parent topic: Editing an existing data and map file
Entering an item path explicitly
To specify an item path, use the following item path:
0.Visit.Form.Section.Itemset.Item[.control[.control…]]
- 0—Indicates the current subject.
- Visit—RefName of the visit, as specified in the XML file that contains the visit definition.
- Form—RefName of the CRF or other form, as specified in the XML file that contains the form definition.
- Section—RefName of the section, as specified in the XML file that contains the section definition.
- Itemset—RefName of the itemset, as specified in the XML file that contains the itemset definition. If the import data for which you are creating a map field definition is a regular CRF item, not an itemset, type 0.
- Item—RefName of the item, as specified in the XML file that contains the item definition. Create a separate map field for each item in an itemset.
- Control—RefName of the control, as specified in the XML file that contains the control definition. To access an element of a group control, refer to each parent control in which the child element is nested. For example, to address one of two text controls within a group control, type the RefName of the group control followed by the RefName of the text control, and separate the names with periods, as follows: GroupControlRefName.TextControlRefName.
- The item path for the TEMPTEXT field in the TEMPTEXT item in the VS section of
the VSL form in a visit called VISIT1 appears as follows:
0.Visit1.VSL.VS.0.TEMPTEXT.TEMPTEXT
- The item path for an item in an itemset appears as follows:
0.Visit1.SS.SECTION2.SS2GROUP.ONSETDATE.ONSETDATE
The control is a date control called ONSETDATE, in the ONSETDATE item of the SS2GROUP itemset in the SECTION2 section of the SS form in VISIT1.
- The item path for a text control nested within the VIEW radio control item in
the CHESTXRAY section of the ECG form in VISIT1 appears as
follows:
0.Visit1.ECG.CHESTXRAY.0.VIEW.VIEWRADIO.OTHERTEXT
The item is identified by the VIEW RefName; the radio control is identified by VIEWRADIO, and the text control is identified by OTHERTEXT.
Parent topic: Building an item path
Specifying a data type
You must specify a data type for each import field definition that you create as an InForm item path field.
- Click the appropriate button in the Data Type
section.
The InForm Data Import utility issues an error if any of the following exist:
- An invalid integer field. An invalid integer field cannot be fully converted to an integer value. For example, 123$ is an invalid integer field.
- A string identified as a floating number that does not meet the specification for the CRF control for allowed number of digits before and after the decimal point.
- A string identified as a text control that is not within the defined size range for the CRF text control.
Parent topic: Editing an existing data and map file
Mapping strings and child controls
Use the InForm Data Import utility to map field values in your import file to the database definitions of CRF controls, which have predefined values.
Additionally, the mapping feature generates mappings in compound controls between individual child controls and their database ID paths.
- Mapping strings
When the target of an input data field is a control for which an online user selects a predefined value, the value of the import field must be the same as the value of the selected control as defined in the database. These values are case-sensitive. - Mapping child controls
When the target control is nested within another control (for example, a field within a list of radio buttons), you must create separate map fields for the group control and for each child control within the group.
Parent topic: Editing an existing data and map file
Mapping strings
When the target of an input data field is a control for which an online user selects a predefined value, the value of the import field must be the same as the value of the selected control as defined in the database. These values are case-sensitive.
Parent topic: Mapping strings and child controls
Mapping child controls
When the target control is nested within another control (for example, a field within a list of radio buttons), you must create separate map fields for the group control and for each child control within the group.
Parent topic: Mapping strings and child controls
Indicating that data contains multiple selection items
To import data to a multiple-selection control, a checkbox group, or a multiple-selection drop-down list:
Parent topic: Editing an existing data and map file
Checking for duplicate information within itemsets
The InForm Data Import utility can determine whether data already exists in the database by comparing the data itemset in which you are mapping to existing itemsets in the database.
Parent topic: Editing an existing data and map file
Checking the map against the import file
Use the InForm Data Import utility map file editor to review the map field definitions against the actual import data that you will be processing.
- In the Field Definition dialog, navigate through the field definitions and compare the data that appears in the Sample Data field with the data for the import file.
Parent topic: Editing an existing data and map file
Navigating the map file
As you create the fields in a map file, the field definitions are strung together in a sequence in which you can move back and forth.
- To view a field that occurs earlier in the map file, click Back.
- To view a field that occurs later in the map file, click Next.
- To create a new field definition, advance to the last field in the map file and
click Create Next.
Note:
You cannot navigate away from the field until you create or delete the new field definition by clicking Finish or Delete.
Parent topic: Editing an existing data and map file