When a segment is optional it appears in square brackets. For example, the message MSH PID PV1 [PD1] indicates that MSH, PID and PV1 segments must appear
in the message in this order, and a PD1 segment may appear, as indicated by its enclosed square brackets, after PV1.