A 1099-R form uses a variety of numbered and lettered codes to indicate the type of distribution. They are entered in Box 7 on the form. A table of the codes is included in the instructions.
When one of these exceptions applies, your IRA custodian is required to indicate the exception by entering the appropriate exception-qualifying code in Box 7 Distribution code(s) of your 1099-R.