SCRIPT schema structure

The structure of the SCRIPT schema is similar to an EDI schema. It includes definitions of objects used in EDI. The root type of the SCRIPT schema is NCPDP_SCRIPT. The schema has the following categories:
  • %_Type_Tree_Information
  • Interchange
  • SCRIPT_V10_6
  • Transmission

These categories stem from the NCPDP_SCRIPT root type. Some categories contain Inbound and Outbound group subtypes. These are identical and have been supplied as a convenience to allow customization that is dependent on the direction of the messages.

The largest object in an EDI schema is a transmission. A transmission can include many interchanges from or to many trading partners.

The following are subtypes of the SCRIPT_V10_6 category:
  • Control type defines the NCPDP Script control structure objects such as Envelope Segments and Delimiters.
  • Msg type defines the messages for the version.
  • Vxx category defines the message contents, composites, and elements in this particular version. The segment definitions for each message are defined as subtypes of that message.