53-20-126. Maximum period of commitment or treatment plan. The court order approving the commitment to a residential facility or the imposition of the community treatment plan must specify the maximum period of time for which the person is committed or for which a community treatment plan is imposed. The maximum period may not exceed 90 days for commitment to a residential facility or 1 year for the imposition of a community treatment plan.