The defendant was found guilty in a bench trial for attempted armed robbery and robbery and was sentenced 3-8 years for the attempt and 6-12 years for the robbery. The sentences run concurrently. The State’s Attorney filed a petition alleging he believed that the defendant had been diagnosed incompetent recently by phychiatrists and the defendant was examined by two court-appointed psychiatrists. It is the position of the defendant that having presented such a petition the issue should have been adjudicated by the trial court and (1) it was error to permit the State’s Attorney to withdraw the petition and (2) the defense in the trial being insanity it was error to permit one of the examining psychiatrists to testify in rebuttal concerning his examination of the defendant pursuant to the order of the court on the question of sanity at the time of the commission of the offense for the reason that it violated the patient-doctor relationship. Neither of these contentions is well founded.
Defendant cites People v. Maynard, 347 Ill 422,
Defendant complains that one of the examining psychiatrists should not have been permitted to testify in rebuttal as to the sanity of the defendant at the time of the commission of the offense after the issue of insanity was raised by and evidence offered by the defendant on his mental status. This, it is said, violates the rights accorded to the defendant in Ill Rev Stats 1967, c 38, § 104-2, which provides in substance that no statement made by an accused in the course of an examination into his competency shall be admitted in evidence against the accused on the issue of guilt in any criminal proceedings. In People v. Williams, 38 Ill2d 115, 121,
“. . . we interpret the prohibition expressed in the above quoted provision to be limited to ‘statements’ made by the accused while being examined which are offered for their truth as opposed to statements offered not for their truth but to show defendant’s mental condition.”
This case fully negates the argument that the purpose of the statute was to encourage defendants to cooperate with a court-appointed psychiatrist. The immunity granted by the statute as interpreted in Williams satisfactorily assures such cooperation.
The last contention that the testimony in rebuttal violated the patient-doctor relationship as it was a confidential communication is likewise without merit. Defendant cites Ill Rev Stats 1967, c 51, § 5.2 on this point. This same section was relied on in People v. English, 31 Ill2d 301,
There being no error in this record, the judgment of the trial court is affirmed.
Affirmed.
