DocumentSplitter

Use the DocumentSplitter activity to split validated data into valid and invalid data.

For more details on Document Splitter, refer to theDocument Splitter Technical Manual PDF document.

Docsplitter Output

Use of the Docsplitter activity will respult in the follownig output:
  • A file containing the valid data.
  • A file containing the invalid data.
  • An XML or delimited report containing the status of each claim or other data being split, plus additional information.
Note the following about Docsplitter output:
  • When using content-based splitting or split-point grouping, Docsplitter will create multiple split files.
  • For EDI, output includes a CR/LF after the segment terminator unless:
    • The segment terminator in the input file is a LF.
    • You include the following section in a setup file
      [Options]
      OutputEDIWithCRLF=0
  • Docsplitter fixes the output file's segment counts by default.

Split Points

Documents can be split at various point in the data. Basic split points are as follows.

Data Type Split Points

HIPAA

vary

X12 non-HIPAA

ST

ISA,GS

EDIFACT

UNH

UNB, UNG

Flat File

top of layout

XML

any repeating complex element

For a complete listing of where documents can split, please see Appendix B: Split Points in the Document Splitter Technical Manual PDF.

Example

Refer to the associated examples:

General

The General tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
Name
Input Mode Yes File or Memory
Output Mode Yes File or Memory
Report Type Both, Valid Only, Invalid Only, No Report

contents of report:

- Valid data

- Invalid data

- Both (Default)

- No report

Report Format

Generate an XML or CSV (delimited) report.

This report contains the status of each claim or other data being split, plus other information.

Ignore Output File Name

Description

The Description tab is used to provide a short description for the activity.

Input

The Input tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
input
instream_result

Specifies the file path and name of the Instream detail file to be split. (Required)

Note: This file is not changed by Shuffler.
outputfile_directory

Specifies the file path for the output (split) files. (Required)

profile

Path to a Docsplitter Setup file.

tpa_file

Path to a trading partner automation CSV file that contains a pointer to a setup file. All sections in the setup file are processed. See InstreamTPAutomation.pdf.

If there is a conflict between the command line and the settings in the setup file selected by TPA, the last setting processed will prevail.

outputfile_pathname

Specifies the file path and name for the output modified Instream detail file. (Required)

It should not be the same as the Input file.

Output

The Output tab contains the following fields.

Field Literal Value/Module Property/Process Property? Description
report

File path and name for the output modified Instream detail file.

files
output_data
is_valid_document
content_name

Fault

The Fault tab lists exceptions that are thrown by this activity.

Error Schema Element Datatype Description
msg string Error message description.
msgCode string The error code. It represents TIBCO ActiveMatrix BusinessWorks Plug-in for EDI and TIBCO Foresight errors.

See Error Codes for details.