OPINION
The plaintiffs, Marion and Philip Vigue, appeal from a dismissal order entered against them in the Superior Court and in favor of the defendants, John E. Fogarty Memorial Hospital (hereinafter the “hospital”) and an unknown nurse.
On July 28, 1980, plaintiffs filed a complaint alleging that on or about July 29, 1977, the hospital and an unknown nurse employed by the hospital breached their duty of care to Marion Vigue (hereinafter *2Mrs. Vigue). Mrs. Vigue was then an inpatient at the hospital. Specifically, plaintiffs allege the following. On July 29, 1977, Mrs. Vigue was awakened by a nurse employed by the hospital. The nurse instructed Mrs. Vigue to produce a urine sample. The nurse left Mrs. Vigue alone to proceed to the bathroom when said nurse “knew or should have known” that Mrs. Vigue was unable to do so without assistance. Mrs. Vigue slipped and fell at this time and sustained both physical and mental injuries. These injuries form the basis of plaintiffs’ claim for damages.
On April 1, 1981, the hospital filed a motion for summary judgment on the ground that plaintiffs’ claim was barred by G.L.1956 (1969 Reenactment) § 9-1-14.1.1 At the hearing on the motion for summary judgment, plaintiffs argued that their action was based upon a theory of common-law negligence and not upon a statutory claim for medical malpractice that was governed by § 9-1-14.1. Thus, plaintiffs argued that their claim was controlled by § 9-1-14, as amended by P.L.1976, ch. 188, § 1, which provides a three-year statute of limitations for personal-injury actions. After hearing the matter, the trial justice treated the hospital’s motion for summary judgment as a motion to dismiss for failure to bring suit within the two-year period and dismissed plaintiffs’ action with prejudice.2 The plaintiffs appeal this ruling.
In considering a motion to dismiss for failure to state a claim, we view the allegations of the complaint as true and in the light most favorable to plaintiffs. Unless it is clear beyond a reasonable doubt that a plaintiff will be unable to prove his right to relief and it appears to a certainty that he will not be entitled to relief under any set of circumstances, his complaint shall not be dismissed. Rosen v. Restrepo, 119 R.I. 382, 401-02, 380 A.2d 960, 962 (1977); Bragg v. Warwick Shoppers World, Inc., 102 R.I. 8, 12, 227 A.2d 582, 584 (1967).
Applying this standard to the case at bar, we note that the sole issue presented in this appeal is which statute of limitations should apply — the two-year period provided for medical-malpractice actions or the three-year period specified for negligence actions. If two years is the appropriate limitations period for this action, it is clear that plaintiffs are not entitled to relief and that the trial justice’s dismissal of their action was proper — no conceivable set of facts could exist to support an award in their favor if their action had not been filed within the statutory period.
Before proceeding to the merits of this appeal, we note a substantial change between the legal environment faced by the trial justice at the time of his ruling and that confronting us today. In dismissing plaintiffs’ complaint, the trial justice based his decision on two different grounds, one of which no longer has the force of law. Specifically, the trial justice relied upon the language of G.L.1956 (1969 Reenactment) §§ 10-19-1 and 10-19-5, as enacted by P.L. 1981, ch. 187, § 2, as a basis for his dismissal. In his opinion, defendant Fogarty Memorial Hospital was a “health care provider” (§ 10-19-5) that was being sued in a “medical liability action” (§ 10-19-1). Since the date of his ruling, however, this court has invalidated as unconstitutional §§ 10-19-1 through 10-19-7 inclusive under equal-protection grounds. See Boucher v. Sayeed, R.I., 459 A.2d 87, 92-94 (1983). We are thus confronted with a case in which the apparent statutory foundation *3for the trial justice’s ruling is no longer operative law. We shall therefore review the second, more general reason for the trial justice’s ruling3 independently of his statutory justification for dismissal in light of existing law. We necessarily focus our inquiry concerning defendants’ liability solely upon the hospital since the identity of the employee nurse is unknown.
In determining whether the hospital’s conduct on July 29, 1977, constituted medical malpractice under § 9-1-14.1, we initially look to related sections of the General Laws for guidance. General Laws 1956 (1976 Reenactment) § 5-37.1-l(f), as amended by P.L. 1978, ch. 149, § 1, defines malpractice as
“any tort or breach of contract based on health care or professional services rendered, or which should have been rendered, by a licensed physician, hospital, clinic, health maintenance organization or professional service corporation providing health care services and organized under chapter 5.1 of title 7, to a patient.”
A plain reading of this provision reveals that tortious conduct based upon professional services that were rendered or which should have been rendered by a hospital is included within the definition of malpractice. We would first note that plaintiffs’ complaint clearly sounds in tort — it is an action against the hospital based upon the negligent supervision of Mrs. Vigue by its employee nurse. Additionally, it involves services that were rendered — administration of medication — or which should have been rendered — assisting Mrs. Vigue to the bathroom to obtain a urine sample — by the hospital through its employee nurse. The only close question concerning the applicability of § 5-37.1-l(f) is whether the services rendered by the hospital were professional in nature. Our review of the record and relevant authorities convinces us that they were.
It has been stated that in determining whether a particular act involves the rendition of professional services, a court “must look not to the title or character of the party performing the act, but to the act itself.” Swassing v. Baum, 195 Neb. 651, 656, 240 N.W.2d 24, 27 (1976) (quoting Marx v. Hartford Accident & Indemnity Co., 183 Neb. 12, 157 N.W.2d 870 (1968)). The title of the individual performing the act is not relevant in this determination — it is “the nature of the act itself and the circumstances under which it [is] performed [that determine whether professional services are involved].” Swassing v. Baum, 195 Neb. at 656, 240 N.W.2d at 27. The Supreme Court of Nebraska further stated that in adopting a shorter statute of limitations for actions of professional negligence than the one provided for ordinary negligence, its legislature did not intend “that the various aspects of the whole professional relationship should be separated [for purposes of applying the statute of limitations].” Id. at 657, 240 N.W.2d at 28. If the acts complained of constituted a necessary, essential, and integral part in the rendition of professional services to the patient, they are subject to the shorter statute of limitations provided for actions of professional negligence. See id. at 657-68, 240 N.W.2d at 28.
Applying these rules to the case at bar, we note initially that the title of the hospital staff member who administered the medication to Mrs. Vigue and that of the unknown nurse who awakened her and requested a urine sample are both irrelevant in determining whether the hospital was engaged in the rendition of professional services. We recognize further that as long as the acts performed by the hospital *4were various aspects of the ongoing medical treatment of Mrs. Vigue, the same statute of limitations should apply to all phases of her treatment. The crux of the matter becomes, therefore, whether the services performed by the hospital upon Mrs. Vigue were necessary for her treatment. The administration of medication to her and the subsequent request that she produce a urine sample are both activities that directly related to Mrs. Vigue’s medical treatment. In this sense, they represented the rendition of services by a hospital to a patient, of sufficient medical import, that they should be considered an essential part of her treatment. Consistent with the principles espoused in Swassing, we conclude that the acts complained of by plaintiffs should be considered professional services for purposes of applying § 5-37.1-l(f).
We recognize that another statutory provision in this jurisdiction specifically defines the term “professional services” in a manner inconsistent with this holding. General Laws 1956 (1969 Reenactment) § 7-5.1-2 explicitly defines “professional services” as personal services rendered by a person authorized to practice in one of fourteen enumerated professions.4 This section in no manner contemplates the rendition of professional services by an institution, including those rendered by the hospital.
The short response to the argument that the definition of professional services contained in § 7-5.1-2 governs our interpretation of § 5 — 37.1—1(f) is that § 7-5.1-2 relates strictly to individuals and not other health-service organizations that are subject to the definition of malpractice under § 5-37.1-l(f). To embrace this argument is to accept the proposition that only individuals and not hospitals can render professional medical services under § 5-37.1-l(f). Such an approach would render the terms “hospital, clinic, [and] health maintenance organization” nullities under § 5-37.1-l(f). This we will not do, given the prior holdings of this court. In cases in which “there is ambiguity or apparent inconsistency between statutory provisions which are in pari materia or which affect related subjects, the various provisions must be given meaning and effect and all made operative if it be reasonably possible * * *.” Nascimento v. Phillips Petroleum Co., 115 R.I. 395, 398, 346 A.2d 657, 659 (1975); see also Merciol v. New England Telephone & Telegraph Co., 110 R.I. 149, 153, 290 A.2d 907, 910 (1972); Davis v. Cranston Print Works Co., 86 R.I. 196, 198-99, 133 A.2d 784, 785 (1957).5
A second reason exists to support our conclusion that the definition of “professional services” found in § 7-5.1-2 does not apply to malpractice actions brought against a hospital by an injured patient. Chapter 5.1 of title 7 provides the rules of incorporation for professional-service firms *5in Rhode Island; it has nothing to do with actions for medical malpractice brought against any class of defendants. Additionally, the definition of “professional services” contained in § 7-5.1-2 is limited by its express terms to chapter 5.1. For all these reasons, we consider it unwise to adopt a rule that would extend the applicability of the definition of professional services contained in § 7-5.1-2 to malpractice actions brought against hospitals under § 5-37.1-1(f).
In light of the foregoing, we conclude that this complaint does involve a claim for medical malpractice as that term is defined in § 5-37.1-l(f). It is not an action for personal injuries based upon common-law negligence as the plaintiffs contend, but rather a claim for relief expressly controlled by our medical-malpractice statute. Consequently, the trial justice’s application of the two-year statute of limitations for medical-malpractice actions in this case and his dismissal of the plaintiffs’ complaint were entirely proper. This was a medical-malpractice action in which the claimants’ right to relief had expired by the running of the applicable limitations period.
For the reasons stated, the plaintiffs’ appeal is denied and dismissed, the judgment of the Superior Court is hereby affirmed, and the papers in the case may be remanded to the Superior Court.