A judge may order the district attorney to file a petition to commit a convicted defendant addicted to narcotics or in imminent danger of becoming addicted, to the Director of Corrections for confinement in a narcotic detention facility. The court shall order the examination of the defendant by one physician, but it can be waived by the defendant. A written report of the physical examination shall be presented to the court.
Anyone who believes that a person addicted to narcotics or is in danger of becoming addicted may report his belief to the district attorney. If there is probable cause, the district attorney may petition the superior court to commit the person to the Director of Corrections for confinement in a narcotic facility.
The court shall appoint two physicians to examine the person to determine if he/she is addicted to narcotics or in imminent danger of becoming addicted. A written report of such examination shall be delivered to the court.
The court shall compel the physician conducting an examination to testify as to the examination results. The presence of physician may be waived if an affidavit or report of the examination may be received into evidence.