(2)If the Medical Officer considers that the prisoner is unfit to undergo the punishment, he shall, in like manner, record his opinion in writing and shall state whether he is absolutely unfit for punishment of the kind awarded or whether he considers any modification necessary. In the latter case, he shall state to what extent the prisoner can withstand the punishment without injury to his health.