Counsel appointed by the board or a court to represent a person shall be paid by the county of residence. The counsel shall be reasonably compensated for such services and for necessary expenses and costs incident to the proceedings at the rate fixed by the circuit court and in an amount approved by the chair of the board of mental illness of the referring county. No lien may be placed against the patient for the cost of counsel related to any pre-commitment hearing or hearing to review commitment status pursuant to §§ 27A-10-14 and 27A-10-15.
SDCL 27A-11A-12