NextGen Knowledge Center

NCPDP Data Type

This data type handles the flat file format for National Council for Prescription Drug Programs (NCPDP) pharmacy data.

Serialization / Template Serialization / Deserialization Properties

NameDefault ValueDescription
Field Delimiter0x1CCharacters that delimit the fields in the message.
Group Delimiter0x1DCharacters that delimit the groups in the message.
Segment Delimiter0x1ECharacters that delimit the segments in the message.
Use Strict ValidationDisabledValidates the NCPDP message against the appropriate schema. Only applicable for the Deserialization properties.

Batch Properties

NameDefault ValueDescription
Split Batch ByJavaScriptSelect the method for splitting the batch message. This option has no effect unless Process Batch is enabled in the Source Settings. The following options are available:
JavaScript Enter JavaScript that splits the batch, and returns the next message. This script has access to 'reader', a Java BufferedReader, to read the incoming data stream. The script must return a string containing the next message, or a null/empty string to indicate end of input. For additional information, see JavaScript Batch Script.