
The law of the Criminal Procedure Law is placed, a mechanism to act with the accused if the accused has a mental disorder, and when he is placed in a psychiatric hospital under observation, where Article 338 of the Criminal Procedure Law stipulates that if the matter calls for an examination of the mental disorder of the defendant, the investigating judge or the partial judge may be applied as the Public Prosecution request or the court before the case according to the case to order the status of the accused if he is a precautionary imprisonment Under observation in one of the governmental mental health facilities designated for that for a period or periods of no more than forty -five days after hearing the statements of the Public Prosecution and the defender of the accused if he has a defender, and it is permissible if the accused is not a precautionary imprisonment to be ordered to put him under observation anywhere else.
Article 339 stipulates that if it is proven that the accused is unable to defend himself due to a mental disorder that occurred after the crime, the lawsuit is stopped to be filed or tried until his rationalization returns to him.
In this case, it is permissible for the investigating judge or the partial judge, such as the request of the Public Prosecution or the court before the case if the incident is a felony or a misdemeanor whose sentences are imprisoned to issue the order to seize the accused in one of the places prepared for mental illness until it is decided to release him.