all the medical records in the competency proceedings are subject to confidentiality