This depends a lot on what type of case this is, why the records are being requested, and what the asking party is trying to "expose". Without a warrant from the court granting access to medical files, no one can view your files without your written consent. Even for you own attorney to get your medical records you must sign documents at your doctor's office to allow them to grant anyone's look into your files; you have privacy rights and those go beyond the reach of an attorney.
As far as how a judge would perceive this,that can go many ways. First of all, it is your privacy and right to that privacy that protects you from such invasion of these types of records; therefore in that sense, it would be no abnormal thing for you to protest the look into these files. Secondly, if you are wanting a look into the files to prove there was malpractice, then you will have to open the files completely so beware of that issue. Filing a motion to quash the other party's motion to expose the files would be what an attorney would normally file in response to the other party trying to get access to your records and base it on the privacy issues. This is a delicate matter for if you want to prove tat something happened, it may be enviable for a look into the files. It some situations the judge can review the evidence and decide whether or not it is justified to be allowed admissible in their private chambers before allowing the other party rights to it; that may be an option.
The best way for this to be handle is with the professional ability of a local attorney in your area.
DISCLAIMER: Answers from Experts on JustAnswer are not substitutes for the advice of an attorney. JustAnswer is a public forum and questions and responses are not private or confidential or protected by the attorney-client privilege. The Expert above is not your attorney, and the response above is not legal advice. You should not read this response to propose specific action or address specific circumstances, but only to give you a sense of general principles of law that might affect the situation you describe. Application of these general principles to particular circumstances must be done by a lawyer who has spoken with you in confidence, learned all relevant information, and explored various options. Before acting on these general principles, you should hire a lawyer licensed to practice law in the jurisdiction to which your question pertains.
The responses above are from individual Experts, not JustAnswer. The site and services are provided “as is”. To view the verified credential of an Expert, click on the “Verified” symbol in the Expert’s profile. This site is not for emergency questions which should be directed immediately by telephone or in-person to qualified professionals. Please carefully read the Terms of Service (last updated February 8, 2012).