Judicial hospitalization referees shall be utilized as provided in section 229.21 for performing the duties of the court prescribed by this subchapter.