I urgently need a lawyer to help me. How can I write a forensic appraisal application on behalf of a friend?

Psychiatric Identification Application

Applicant: Basic information.

Request: Request for a judicial appraisal of the mental state of defendant XXX and a conclusion on whether defendant XXX has the ability to be criminally responsible.

Facts and reasons: Defendant XXXX was criminally detained for committing XX crime on XX, XX, and was later arrested. It has been prosecuted by the People's Procuratorate of XX District, XX City, XX Province. The case is being heard by the People's Court of XX Province.

The defendant XXX, who had always abided by the law, suddenly committed a crime, shocking everyone who knew him well. He did this because he was mentally ill. Defendant x often suffered from mental abnormalities in his life. If he often stares blankly and talks for a long time, he will become incoherent. What's more, he often talks to himself loudly when no one is around, and he doesn't know what he said.

We believe that defendant X has an abnormal mental state and a psychiatric evaluation is necessary. In order to be responsible for Defendant

People's Court of XX City, XX Province

Applicant: XX

Day x month x day XXXX