Plaintiffs, Todd C. Joy and Phyllis Bail-largeon, appeal from a summary judgment entered in favor of defendants, Gary Little-page, and Eastern Maine Medical Center, in Superior Court (Penobscot County). On appeal plaintiffs contend that the Superior Court erred in finding as a matter of law that a duty to warn did not extend to plaintiffs under the circumstances alleged in the complaint. We agree that the Superior Court was in error and accordingly we vacate the judgment.
Plaintiffs’ complaint makes the following allegations: On August 23, 1983, plaintiff Todd Joy, while driving a motorcycle, was involved in a collision with a motor vehicle operated by defendant Charles Marston and sustained personal injuries. 1 In addi *1365 tion to alleging negligence on the part of Marston, the complaint alleges that Joy’s injuries were proximately caused by the negligence of Eastern Maine Medical Center (“EMMC”) and an emergency room physician, Gary Littlepage. Specifically, the plaintiffs allege that just prior to the accident Marston had been treated for an eye abrasion at the EMMC emergency room by Littlepage. The treatment included placing an eye patch over one of Mar-ston’s eyes. It is alleged that defendants EMMC and Littlepage negligently failed to warn Marston that he should not drive while wearing the eye patch.
Defendants EMMC and Littlepage filed a motion for summary judgment on the ground that defendants had no duty to warn of such an obvious and apparent danger. Strictly on the basis of the allegations in plaintiffs’ complaint, 2 the Superior Court held that any duty to warn did not extend to Joy and granted summary judgment in favor of the defendants. 3
The implicit assumption in the ruling of the Superior Court is that although the hospital and physician may have a duty to warn the patient for his own safety, such a duty does not extend to a person who may be injured by the patient. We find no support in the law for such a rigid conception of duty. Duty is “a question of whether the defendant is under any obligation for the benefit of the particular plaintiff.” W.L. Prosser,
Law of Torts
§ 53 (4th ed.1971). Whether one party owes a duty of care to another is a matter of law.
Turner v. Grier,
Several jurisdictions have allowed a cause of action against a physician for injuries to a third party caused by a patient who had been negligently treated. In
Gooden v. Tips,
the duty owed was to conduct a pre-em-ployment physical examination in accord with the recognized standard of acceptable professional practice in the medical profession and the specialty thereof, if any, prevailing in the community in which he practiced. In our opinion, it was reasonably foreseeable that, if an examination fell below that standard and resulted in certifying an unfit person as physically qualified to drive a commercial vehicle, the probable consequences would be a highway accident causing loss or injury to a third party or parties.
Id.
at 528. In
Kaiser v. Suburban Transportation System,
Alternatively, defendants argue that even though there may be a duty to warn in the abstract, there is no duty to warn of the obvious perils associated with wearing an eye patch. The “obvious” nature of the particular peril that may have caused this accident is a factual determination to be decided by the jury in fixing the standard of reasonable conduct under the circumstances.
See Seiders v. Testa,
Accordingly, the entry must be:
Judgment vacated.
Remanded for further proceedings consistent with the opinion herein.
Notes
. Plaintiff Baillargeon, the mother of Todd Joy, joins in the complaint seeking recovery for medical expenses and nursing care.
. Both plaintiffs and defendants filed an affidavit in connection with the motion. The Superi- or Court found both affidavits insufficient and gave them no consideration. Because the court considered no matter outside the pleadings, it is appropriate to analyze the court’s action as a dismissal for failure to state a claim. M.R. Civ.P. 12(b)(6).
. The claim against defendant Marston and EMMC’s counterclaim against plaintiffs for money owed for medical services were not disposed of by the court’s judgment. The Superior Court, however, found that there was no just reason for delay and entered final judgment in accordance with M.R.Civ.P. 54(b).
