You can import a visit map in XML format to configure multiple visits in a study in one step.

  • From the Manage tab, click Manage Visits.
  • Click Import Visit Map.
  • Paste the contents of the visit map XML file into the box.
  • Click Import.

If the visit map being imported will result in overlapping visit ranges, the import will fail.

Visit Map XML Format

The visit map lists which visits make up the study, which sequence numbers are assigned to them, and additional properties as required. The same options are available as when you create a single visit in the UI. The format of the imported visit map XML must match the study serialization format used by study import/export.

For full details, review the visitMap XML source.

Sample visit_map.xml

The following sample defines 4 visits, including a baseline.

<?xml version="1.0" encoding="UTF-8"?>
<visitMap xmlns="http://labkey.org/study/xml">
<visit label="Baseline" sequenceNum="0.0" protocolDay="0.0" sequenceNumHandling="normal"/>
<visit label="Month 1" sequenceNum="1.0" maxSequenceNum="31.0" protocolDay="16.0" sequenceNumHandling="normal"/>
<visit label="Month 2" sequenceNum="32.0" maxSequenceNum="60.0" protocolDay="46.0" sequenceNumHandling="normal"/>
<visit label="Month 3" sequenceNum="61.0" maxSequenceNum="91.0" protocolDay="76.0" sequenceNumHandling="normal"/>
</visitMap>

DEPRECATED: DataFax Visit Map

The DataFax format visit map is no longer supported and has been replaced with the XML format described above.

If you import a DataFax visit map with lines look something like "0|B|Baseline|1|9 (mm/dd/yy)|0|0| 1 2 3 4 5 6 7 8||99", you will receive an error reading "Unable to parse the visit map format: visit map XML file is not valid: 1:1: Unexpected element: CDATA"

discussion

Discussion

Search 

Pages 

previousnext
 
expand all collapse all