Area seventeen. The department shall keep records with the admission, treatment and periodic review of all individuals admitted to facilities below its supervision. This sort of data shall be non-public and not open to general public inspection other than (one) on appropriate judicial purchase whether in connection with pending judicial proceedings