adding categories now adds categories populates rankGroup and categoryMissingPatientNums appropriately