article 34 of the criminal procedure law
after accepting the application for compulsory medical treatment, the people's court shall form a collegial panel for trial.
when trying a compulsory medical case, the people's court shall notify the legal representatives of the respondent and the defendant to appear in court. If the respondent or defendant fails to entrust an agent ad litem, the people's court shall notify the legal aid institution to appoint a lawyer to provide legal aid.
Article 35
When trying a case, the people's court shall make a decision on compulsory medical treatment within one month if the respondent and defendant meet the requirements of compulsory medical treatment.