No action at law shall lie against any officer or employee or member of the state board or members of the several boards of managers, for admitting, receiving, keeping, detaining or transferring or discharging as provided by this title or directed by any order made in accordance with this title, any person coming to an institution or noninstitutional agency on his own application, or on the application of his friends or relatives, or by order of a judge or court of this state, but such application or order, or certified copy thereof, shall be sufficient warrant and authority for the admission, keeping, detention, transfer, discharge or reasonable care, treatment, management and control of any patient or inmate received or committed according to the terms of this title.
N.J.S. § 30:4-16