Application. this code is used to indicate the deficiency which is the ground for detention of a ship. Combination of codes. A code 30 deficiency should in principle be followed by a code 10 (deficiency rectified), to indicate that the deficiency which is ground for detention has been rectified.