The Health Insurance Portability and Accountability Act (HIPAA)applies to health and insurance records. Unless the records are sealed, divorce proceedings are public records that can be accessed by anyone.
Even more so. Since you are no longer legally bound to that person, medical records are no longer able to be viewed by the other party. The person involved can request all information remain confidential,
Once you become divorced you should notify your health care provider so your spouse cannot see any of your medical records or treatment. The HIPAA law states that your doctor cannot legally provide this confidential information to anyone.
The other parties lawyer can only get certain information from your health care establishment, and the establishment know what information he can get. Hipaa is privacy of anothers persons information but not all information is private.