Alternatively, the court may order examination of a defendant for fitness to proceed by the Department of Human Services. The department shall provide or arrange for examination of the defendant at a jail, prison or psychiatric hospital. However, to ensure that a defendant is not unnecessarily hospitalized for the purpose of the examination, a defendant shall not be admitted to a State psychiatric hospital for an examination regarding his fitness to proceed unless a qualified psychiatrist or licensed psychologist designated by the commissioner determines that hospitalization is clinically necessary to perform the examination. Whenever the qualified psychiatrist or licensed psychologist determines that hospitalization is clinically necessary to perform the examination, the court shall order the defendant to be committed to the custody of the Commissioner of Human Services for placement in a State psychiatric hospital designated for that purpose for a period not exceeding 30 days.
A qualified psychiatrist or licensed psychologist retained by the defendant or by the prosecutor shall, if requested, be permitted to examine a defendant who has been admitted to a State psychiatric hospital.
N.J.S. § 2C:4-5