(a) Immediately upon arrival of a patient at an emergency receiving facility under Code Section 37-7-43, the facility shall give the patient written notice of his right to petition for a writ of habeas corpus or for a protective order under Code Section 37-7-148. This written notice shall also inform the patient that he has a right to legal counsel and that, if the patient is unable to afford counsel, the court will appoint counsel.
(b) The notice informing the patient's representatives of the patient's hospitalization in an emergency receiving facility shall include a clear notification that the representatives may petition for a writ of habeas corpus or for a protective order under Code Section 37-7-148.