A respondent admitted on an emergency basis shall receive habilitation appropriate to his condition. However, the respondent shall be informed of his right to refuse medication and if he refuses, medication shall not be given unless it is necessary to prevent the respondent from causing serious harm to himself or others. The facility shall record what habilitation is given to the respondent together with the reasons therefor.
405 ILCS 5/4-408