CDS MESSAGE TRAILER
CDS Interchanges submitted or received must use the correct CDS Header and Trailer Controls to provide Interchange and Message addressing and identification.

Every CDS Interchange must consist of:
CDS INTERCHANGE HEADER - Mandatory - One per CDS Interchange
CDS MESSAGE HEADER - Mandatory - One per CDS Message
CDS MESSAGE DATA - As defined for the specific CDS Type
CDS MESSAGE TRAILER - Mandatory - One per CDS Message
CDS INTERCHANGE TRAILER - Mandatory - One per CDS Interchange

Multiple CDS messages are usually sent in a single CDS Interchange.
Multiple CDS Interchanges may be sent in a single network transport session.

The CDS Message Trailer signifies the end of a CDS Message and contains control information for the Message.

Opt Data Element Note
M NO OF SEGMENTS IN MESSAGE (NHSCDS EDIFACT Message only)  
M CDS MESSAGE REFERENCE