In this interlocutory appeal, we decide if the defendants in a medical malpractice action must produce a memorandum constituting attorney work product as a sanction for violation of an Iowa statute requiring notice before consultation with a plaintiffs treating physician. The memorandum memorialized a meeting between defendant’s counsel and one of plaintiffs treating physicians, which took place without notice to the plaintiff. The district court granted plaintiffs’ motion to compel production of the memorandum. On interlocutory appeal, we hold the memorandum is not protected by the attorney-client privilege but is protected by the attorney-work-product doctrine. We also hold counsel for defendants violated the notice provision in Iowa Code section 622.10(3)(e) (2005) and the appropriate sanction is partial disclosure of the memorandum.
I. Background Facts and Proceedings. 1
This is a medical malpractice action brought by James and Kathy Keefe against Dr. Renald Bernard, M.D. and his employer, McFarland Clinic, P.C. Dr. Bernard treated James Keefe for a shoulder injury. He eventually referred Keefe to an orthopedic surgeon in the clinic, Dr. David Sneller, M.D. Dr. Sneller examined Keefe before referring him to another specialist.
Robert C. Rouwenhorst represents Dr. Bernard and McFarland Clinic. The Keefes are represented by Thomas P. Slater. In preparation for trial, Rouwenhorst met with Dr. Sneller and discussed the treatment and injury that are the subject of this litigation. Rouwenhorst authored a memorandum to memorialize his recollection of the meeting. This meeting took place without the knowledge or consent of Slater or the Keefes.
Slater learned of the meeting between Rouwenhorst and Dr. Sneller and the memorandum during a pretrial deposition of Dr. Bernard. Dr. Bernard stated he had read the memorandum prepared by Rouwenhorst prior to the deposition and that the memorandum attributed a statement to Dr. Sneller to the effect that Dr. Bernard could have made the referral earlier than he did. 2
*667 After Dr. Bernard’s deposition, Rouwen-horst included Dr. Sneller in the designation of defendant’s expert witnesses. Slater then deposed Dr. Sneller and sought discovery of the matters Dr. Sneller discussed with Rouwenhorst. Rouwenhorst repeatedly objected to the questioning and directed Dr. Sneller not to answer. In response to a separate line of questioning by Slater, Dr. Sneller testified he did not “really form” an opinion whether Dr. Bernard should have referred James Keefe to him earlier than he did. Instead, he testified he was only concerned about treating his patient at that time.
Rouwenhorst later refused to provide Slater with a copy of the memorandum, claiming it was protected by the attorney-client privilege and the attorney-work-product doctrine. The Keefes filed a motion to compel production of the memorandum and “the mental impressions and opinions of Dr. Sneller.” The district court held a hearing and conducted an in camera inspection of the memorandum. The ruling by the district court only addressed discovery of the memorandum. The court granted the motion to compel because it held the memorandum:
is not privileged or otherwise protected from discovery either as an attorney/client communication or under a theory of “joint representation” or under “work product privilege” or otherwise protected from discovery and is in fact discoverable under the Iowa Rules of Civil Procedure.
Dr. Bernard and the McFarland Clinic sought, and we granted, interlocutory review.
II. Standard of Review.
Our review of a ruling by the district court on a motion to compel discovery is for abuse of discretion.
See Wells Dairy, Inc. v. Am. Indus. Refrigeration, Inc.,
III. Merits.
A. Statutory Physician-Patient Privilege. Iowa Code section 622.10(1) provides that a physician or surgeon
shall not be allowed, in giving testimony, to disclose any confidential communication properly entrusted to the person in the person’s professional capacity, and necessary and proper to enable the person to discharge the functions of the person’s office according to the usual course of practice or discipline.
There was no physician-patient privilege at common law, and therefore “the physician-patient privilege arises solely by virtue of
*668
section 622.10.”
State v. Bedel,
The statutory physician-patient privilege in section 622.10 prevents a physician from disclosing confidential information in “giving testimony.” In
Roosevelt Hotel Ltd. Partnership v. Sweeney,
In 1997, our legislature amended section 622.10 by adding subsection 3. 1997 Iowa Acts ch. 197, § 8 (codified at Iowa Code § 622.10 (1999)). Generally, subsection 3 provides a procedure for defendants in a lawsuit to informally “consult” with a plaintiffs treating physician in cases in which the plaintiffs condition is an element of the claim. Subsection 3 requires a plaintiff to execute a waiver which allows the physician to “[cjonsult with the attorney for the adverse party prior to providing testimony regarding the plaintiffs medical history and the condition alleged and opinions regarding health etiology and prognosis for the condition alleged.” Iowa Code § 622.10(3)(a)(2).
The waiver of the physician-patient privilege for informal interviews is not unlimited. The legislature counterbalanced the waiver by requiring the defendant’s counsel to provide written notice of the consultation allowed by the subsection and to allow plaintiffs counsel to be present at the consultation. Id. § 622.10(3)(e).
Section 622.10(3)(e) does not apply to a meeting between a physician and his or her own attorney. The language of section 622.10(3)(e) refers separately to the “plaintiffs physician” and the “defendant,” suggesting they are not one and the same. Any other interpretation would prevent physician defendants in medical malpractice suits from consulting with their own defense attorneys and would prevent defendant or potential defendant physicians and their employers, hospitals or clinics, from obtaining effective legal representation.
See Harlan v. Lewis,
The legislature did not construct a specific remedy within the statute for noncompliance with the notice requirement under section 622.10(3)(e ).
3
However,
*669
“trial courts have inherent power to enforce our discovery rules and have discretion to impose sanctions for a litigant’s failure to obey them.”
White v. Citizens Nat’l Bank of Boone,
Because Iowa Code section 622.10(3) provides a method for discovery of information pertinent to a pending lawsuit, we hold a trial court’s discretion to impose discovery sanctions, when appropriate, applies to violations of section 622.10. A trial court may consider a variety of sanctions, or may decide sanctions are unwarranted, based on the circumstances surrounding a violation of the notice provision in section 622.10(3)(e).
See, e.g., Harlan,
B. Attorney-Client Privilege. The Iowa legislature has codified the attorney-client privilege: Iowa Code section 622.10 bars attorneys from disclosing confidential communications. “Any confidential communication between an attorney and the attorney’s client is absolutely privileged from disclosure against the will of the client.”
Shook,
Rouwenhorst asserts he is Dr. Sneller’s personal attorney, and therefore section 622.10 would not prevent an ex parte informal meeting. In the alternative, Rouwen-horst asserts section 622.10 is inapplicable because he is the attorney for McFarland Clinic and Dr. Sneller is an employee of the clinic within the attorney-client privilege. He further asserts it was consistent with the attorney-client privilege to share the memorandum with Dr. Bernard because of the “joint client” exception. We hold the memorandum was not protected by the attorney-client privilege of either Dr. Sneller personally or McFarland Clinic.
1. Personal Attorney-Client Privilege. We question whether Rouwen-horst’s assertion that he is Dr. Sneller’s attorney is enough to carry the burden to show an attorney-client relationship in this context. Although there may be circumstances in which a lawyer may represent two physicians individually as well as their *670 employer, the soundness of such a claim in this particular context is brought into question by the potential conflict of interest. 4 Dr. Sneller’s actions have not been implicated in the suit against Dr. Bernard and McFarland Clinic. Regardless, Dr. Sneller is entitled to consult a personal attorney without the presence of patients’ attorneys. If Dr. Sneller consulted Rou-wenhorst for legal advice, those past conversations must be privileged. 5 See Iowa Code § 622.10(1).
There has been no showing, however, that the memorandum at issue was prepared pursuant to an attorney-client consultation between Rouwenhorst and Dr. Sneller personally. Based on an
in camera
review, the memorandum does not reflect legal advice sought by Dr. Sneller.
6
Instead, it demonstrates an investigation by Rouwenhorst into the hospital’s liability for Dr. Bernard’s actions. The memorandum is therefore not protected by Dr. Sneller’s personal attorney-client privilege.
7
Rouwenhorst cannot claim each witness as his client to prevent factual discovery.
See Samaritan Found v. Goodfarb,
2. Corporate Attorney-Client Privilege. Rouwenhorst argues even if his memorandum is not protected by his alleged personal representation of Dr. Snel-ler, it is protected because Dr. Sneller is employed by Rouwenhorst’s client McFarland Clinic. Therefore, we must determine whether the memorandum is protected based on McFarland Clinic’s attorney-client privilege. 8
This court has yet to address the proper test to determine when communications between legal counsel for a corporate entity and its employees or agents are privileged under the attorney-client privilege. Because a corporate entity “can only act through its agents,” some communications between agents and corporate counsel must be protected if corporate entities are to have legal representation.
Samaritan Found.,
Other courts have also created tests for determining the limits of a corporation’s attorney-client privilege. In
Harper & Row Publishers, Inc. v. Decker,
In
Diversified Industries, Inc. v. Meredith,
(1) the communication was made for the purpose of securing legal advice; (2) the employee making the communication did so at the direction of his corporate superior; (3) the superior made the request *672 so that the corporation could secure legal advice; (4) the subject matter of the communication is within the scope of the employee’s corporate duties; and (5) the communication is not disseminated beyond those persons who, because of the corporate structure, need to know its contents.
Id. at 609.
In
Samaritan Foundation,
the Supreme Court of Arizona considered these tests and focused on whether the subject matter of the communication concerns actions by an employee that have “exposed the corporation to liability” or whether it is “fair to characterize the employee as a ‘witness’ rather than as a client.”
We agree with the United States Supreme Court that the corporate attorney-client privilege should not be limited to those in the “control group.” Instead, the test must focus on the substance and purpose of the communication. If an employee of a corporation or entity discusses his or her own actions relating to potential liability of the corporation, such communications are protected by the attorney-client privilege.
See Samaritan Found.,
Here, to the extent Dr. Sneller discussed his own actions and McFarland Clinic’s potential liability for his actions with McFarland Clinic’s attorney, Rouwen-horst, such communications are protected by McFarland Clinic’s attorney-client privilege. However, to the extent Dr. Sneller discussed his observations as a witness to or expert on the effects of Dr. Bernard’s treatment of the patient, his communications are not protected by McFarland Clinic’s attorney-client privilege. Based on our in camera review of the memorandum prepared by Rouwenhorst, we find the memorandum reflects Dr. Sneller’s observations as a witness or expert regarding Dr. Bernard’s treatment decisions based on his position as a subsequent treating physician. Therefore, the memorandum is not protected by McFarland Clinic’s attorney-client privilege.
Because we conclude the memorandum is not protected by the attorney-client privilege, we hold Rouwenhorst was not shielded from the notice provision of Iowa Code section 622.10(3)(e). Even when a memorandum is not protected by the attorney-client privilege, however, it may still be protected by the attorney-work-product doctrine if prepared in anticipation of litigation. Therefore, we must consider the interaction of the attorney-work-prod *673 uct doctrine and non-compliance with Iowa Code section 622.10.
C. Attorney Work Product. Iowa Rule of Civil Procedure 1.503(3) codifies a qualified immunity from discovery of materials prepared in anticipation of litigation.
10
Shook,
Federal rule 26(b)(3) codifies immunity for attorney work product recognized in the landmark case of
Hickman v. Taylor,
Courts generally interpret
Hickman
as providing two layers of protection for attorney work product.
See
8 Charles Alan Wright, Arthur R. Miller & Richard L. Marcus,
Federal Practice and Procedure
§ 2026, at 396-402 (2d. ed. 1994). Generally, federal rule 26(b)(3) “permits disclosure of documents and tangible things constituting attorney work product upon a showing of substantial need and inability to obtain the equivalent without undue hardship.”
Upjohn,
Like its federal counterpart, Iowa Rule of Civil Procedure 1.503(3) provides for production of “documents and tangible things” that have been “prepared in anticipation of litigation” by opposing counsel “only upon a showing that the party seeking discovery has substantial need of the materials ... and ... is unable without undue hardship to obtain the substantial equivalent of the materials by other means.” Iowa R. Civ. P. 1.503(3). This rule requires the court, however, to “protect against disclosure of the mental impressions, conclusions, opinions, or legal theories of an attorney” when ordering such discovery. Iowa R. Civ. P. 1.503(3).
As was the case in
Hickman
and
Upjohn,
the Keefes are demanding discovery of attorney notes of a witness’s statement created in anticipation of litigation.
11
This type of discovery has been held to be opinion work product.
Baker v. Gen. Mo
*674
tors Corp.,
We agree a memorandum prepared by counsel concerning counsel’s recollections of an interview with a treating physician in a medical malpractice case constitutes attorney work product. Therefore, the memorandum at issue in this case constitutes attorney work product. Facts or information contained in the memorandum are discoverable upon a showing of “substantial need” and “undue hardship.” However, in accordance with the two tiers of work product recognized by Iowa rule 1.503(3), we hold “so much of the work product that reflects the mental impressions or opinions of the lawyer is, for all practical purposes, absolutely immune from discovery.”
Shook,
We specifically reject the claim by the Keefes that such a memorandum cannot constitute work product because the physician’s statements recorded by defense counsel were initially the mental impressions of the physician. Mental impressions of an expert are discoverable under Iowa Rule of Civil Procedure 1.508, but not mental impressions that have been filtered through the mental processes of an attorney and transformed into attorney work product. We also reject the claim that a memorandum cannot qualify as attorney work product when the mental impressions and information in the memorandum emanated from a process that was not compliant with the statute governing discovery of the information. With or without the required statutory notice, the information gathered and impressions formulated became attorney work product. Therefore, the Keefes were required to make the special showing required by rule 1.503(3) for the discovery of attorney work product. 12 (We will separately consider whether noncompliance with the governing statute by an attorney serves as an additional ground to permit discovery of attorney work product.)
We first examine whether the Keefes have a substantial need for the memorandum and the information is unavailable by other means. Iowa R. Civ. P. 1.503(3);
Upjohn,
The Keefes claim special circumstances establish a substantial need for the memorandum authored by Rouwenhorst in this case. Without the memorandum, the Keefes assert they cannot otherwise know if Dr. Sneller expressed an opinion to Rouwenhorst regarding the timing of the referral that is inconsistent with his deposition testimony. Thus, the Keefes primarily want the memorandum as a potential source to impeach Dr. Sneller with a prior inconsistent statement made to Rou-wenhorst or to help show at trial that he may have changed his opinion.
We conclude the record fails to support the Keefes’ claim of substantial need. The Keefes have shown no greater need for the memorandum than would ordinarily occur when one attorney discusses a case with a witness or expert outside the presence of opposing counsel. As noted above, the district court ordered the memorandum produced based on a determination that it was not protected by the attorney work product doctrine. Because the memorandum is protected by the attorney-work-product doctrine, the district court abused its discretion in ordering the memorandum produced without a showing of substantial need. We will now consider whether the memorandum was, nonetheless, discoverable as a sanction for Rouwenhorst’s violation of section 622.10(3).
D. Remedy for Violation of Iowa Code Section 622.10. As noted above, Iowa Code section 622.10(3) represents a compromise position reached by our legislature which allows defense attorneys to meet informally with treating physicians when a plaintiffs condition is at issue in litigation by forcing the plaintiff to provide a waiver, but imposes certain restraints. The defense attorney must provide the plaintiffs counsel with notice and an opportunity to be present at the meeting. As noted above, we hold Rouwen-horst was required to follow the notice provision in section 622.10(3)(e).
The Keefes assert if Rouwenhorst had properly given notice of his meeting with Dr. Sneller, the Keefes’ counsel would have heard the analysis provided by Dr. Sneller and would not be in the position of seeking the memorandum containing Rou-wenhorst’s work product. Therefore, the Keefes argue, disclosure of the memorandum is the appropriate remedy in this circumstance.
We conclude an appropriate sanction under these circumstances is disclosure of facts, information, and statements in the memorandum attributable to Dr. Sneller, even though, as we held above, such statements are attorney work product when filtered into a memorandum by an attorney. Statements made by Dr. Sneller cannot be shielded from discovery where the Keefes’ counsel should have had the opportunity to be present at the meeting. However, we hold the second tier of work
*676
product—any “mental impressions, conclusions, opinions, or legal theories” of Rou-wenhorst—are still protected from disclosure. Iowa R. Civ. P. 1.503(3);
see also Shook,
IV. Conclusion.
The memorandum at issue is not protected from discovery by the attorney-client privilege. The memorandum is generally protected from discovery by the attorney-work-product doctrine. However, in this case we compel production of the memorandum, after redaction in camera for attorney mental impressions, opinions, or legal theories, as a remedy for violation of Iowa Code section 622.10. We affirm in part and reverse in part the district court. The case is remanded for further proceedings consistent with this opinion.
DISTRICT COURT ORDER AFFIRMED IN PART, REVERSED IN PART, AND REMANDED WITH INSTRUCTIONS.
Notes
. The facts are provided solely for the purpose of resolving this motion.
. During the deposition of Dr. Bernard, the following exchange occurred in response to questioning by attorney Slater:
Q: All right. Did Dr. Sneller ever call you and tell you what he had found in respect to this patient? A: No, he never. But I knew—to answer a little bit into your question, I knew that he met with Bob, and I've seen the report. Bob talked to me about the report, you know, of the chart, what he looks at my treatment, you know, on that.
Q: What conversation did you have with Dr. Sneller about the meeting he had with Bob? A: I just said to him thank you to have taken the time, you know, with Bob to review the chart, you know, on that. And I think in gross, I want the report—when Bob showed me the report in gross—
Q: What report are you talking about? Are you just talking about the medical rec *667 ord? MR. ROUWENHORST: It's a memo that summarizes my conversation with Dr. Sneller. A: Yeah. And I said thank you to have that done because I feel it was a good report. I feel it was a good report. I feel it was—he was objective and, you know, I don’t think he did blame me on some, on something specifically, you know, on that.
Q: Did he blame you on anything? A: No, he didn't. He said he could have—he could have refer [sic] a little bit before, a couple two to three weeks before. You know, a referral to a doctor than [sic] I have referred. But he said the outcome will be about the same.
. Section 622.10(3)(fc) provides a remedy if a plaintiff fails to sign a waiver within the prescribed time period. Under such circumstances the court may order disclosure or *669 compliance and failure to comply “may be grounds for dismissal of the action or any other relief authorized under the rules of civil procedure.”
.
See State v. Smitherman,
. The proper remedy for a conflict of interest between two current clients is attorney disqualification from one or both representations, not forced disclosure of the attorney's privileged conversations with either client. See Iowa R. Prof’l Conduct 32:1.7 cmts. 4-5 (“If a conflict arises after representation has been undertaken, the lawyer ordinarily must withdraw from the representation.... Where more than one client is involved, whether the lawyer may continue to represent any of the clients is determined both by the lawyer's ability to comply with duties owed to the former client and by the lawyer's ability to represent adequately the remaining client or clients, given the lawyer’s duties to the former client.... The lawyer must continue to protect the confidences of the client from whose representation the lawyer has withdrawn." (emphasis added)).
. The district court considered the memorandum at issue
in camera
and we have done the same.
See Wells Dairy,
. Additionally, even if the memorandum was protected by Dr. Sneller's personal attorney-client privilege, the privilege may have been waived when the memorandum was shown intentionally to Dr. Bernard or when Dr. Bernard gave deposition testimony about the substantive content of the memorandum. See Restatement (Third) of The Law Governing Lawyers § 79, at 596 (“The attorney-client privilege is waived if the client, the client's lawyer, or another authorized agent of the client voluntarily discloses the communication in a nonprivileged communication.”). It is unlikely that Dr. Sneller and Dr. Bernard could be considered joint clients in a situation where Dr. Sneller is expressing an opinion as a subsequent treating physician and potential expert because such representation is limited by "the extent of the legal matter of common interest.” Restatement (Third) of The Law Governing Lawyers § 75 cmt. c, at 580.
. The Keefes sued Dr. Bernard and his employer, McFarland Clinic, based on vicarious liability. It is likely that Dr. Bernard and McFarland Clinic are joint clients and therefore the attorney-client privilege would not be waived by disclosure of the memorandum to Dr. Bernard. We need not reach this issue, however, because we hold below that the memorandum was not protected by McFarland Clinic's attorney-client privilege.
. When a corporate employee participates in discussions with legal counsel because of his or her position within the corporate decision making structure, not because of either the employee's own actions or what the employee has witnessed, such communications are also protected by the corporation’s attorney-client privilege.
Cf. Diversified,
. The rule provides:
Subject to the provisions of rule 1.508, a party may obtain discovery of documents and tangible things otherwise discoverable under rule 1.503(1) and prepared in anticipation of litigation or for trial by or for another party or by or for that other party's representative (including the parly's attorney, consultant, surety, indemnitor, insurer, or agent) only upon a showing that the party seeking discovery has substantial need of the materials in the preparation of the case and that the party seeking discovery is unable without undue hardship to obtain the substantial equivalent of the materials by other means. In ordering discovery of such materials when the required showing has been made, the court shall protect against disclosure of the mental impressions, conclusions, opinions, or legal theories of an attorney or other representative of a party concerning the litigation.
Iowa R. Civ. P. 1.503(3).
. There is no dispute the memorandum at issue in this case was produced in anticipation of litigation.
. Attorney work product was not waived when Rouwenhorst showed the memorandum to Dr. Bernard.
See
Restatement (Third) of The Law Governing Lawyers § 91 cmt.
b,
at 662 ("Work product, including opinion work product, may generally be disclosed to the client...."). The Keefes also argue attorney work product protection of the memorandum was waived when Dr. Bernard discussed substantive portions of the memorandum during his deposition. As will be noted below, we order partial disclosure of non-opinion work product contained in the memorandum, including the statement attributed to Dr. Sneller and referenced by Dr. Bernard in his deposition. Because Dr. Bernard disclosed only non-opinion work product, we do not address the issue of waiver.
Cf. In re Martin Marietta Corp.,
