A committed person has the right to be represented by counsel at any proceeding under this chapter. The court shall appoint a qualified attorney to represent the committed person if neither the committed person nor others provide counsel. The attorney shall be appointed at the time a petition for commitment is filed. In all proceedings under this chapter, the attorney shall:
Minn. Stat. § 253D.20
2013 c 49 s 15