Please read B31.1 Chapter I Scope and Definitions and eventually B31.3 Chapter I Scope and Definitions. This will help you to choose the design code.

Please note that the Piping Material Specification (Piping Class) assigned to the lines should have the same Design Code specified.

Best regards,
_________________________
Dan