to sign concurrently a confidentiality agreement, the form of which shall be established by the commissioner of DPH. This agreement shall restrict the use of information to health purposes, prohibit disclosure of information to anyone other than the treating physician and necessary medical personnel, and may provide for compensation or other legally appropriate relief for any competitive harm whi