This process is explained in the CAACI Manual of Reporting: Volume 1 and Volume 2.