OPINION
{ 1 Tеrry Gunn appeals the district court's order granting Public Employees Health Program's (PEHP) motion to dismiss. We affirm.
BACKGROUND
12 The Utah State Retirement Office (the agency), an indepеndent state agency, administers PEHP pursuant to the Public Employees' Benefit and Insurance Program Act. See Utah Code Ann. §§ 49-20-101, -407 (2002 & Supp.2006). Under this statutory authority, PEHP provides health insurance coverage to eligible employees and their dependents. PEHP contracted with and provided health insurance benefits to Gunn through his former wifе's health plan. The parties contracted under the PEHP Master Policy (the policy), which contains a contractual reimbursement clause, a subrogation clause, and an acceptance of benefits and notification clause.
T3 This case stems from a personal injury action. Gunn tripped while walking over a speed bump in a parking lot. Pursuant to the policy, PEHP paid for Gunn's medical expenses. Gunn subsequently filed a personal injury action against the owner of the parking lot, who asserted comparative fault as an affirmative defense. Gunn notified PEHP of his personal injury action so that PEHP could protect its interеsts. In July 2004, Gunn informed PEHP that it must either participate in the litigation to protect its subrogation claim or accept a pro-rata reduction for comparative fault, attorney fees, and costs. Gunn warned PEHP that he would not seek reimbursement of medical expenses in his personal injury action if it did not agree to Gunn's tеrms. PEHP, however, did not agree to the proposed terms.
14 In May 2005, the trial court sent Gunn's personal injury action to mediation. Gunn again requested that PEHP agree to thе above terms, but PEHP never responded. The mediator contacted PEHP, requesting that it reduce the amount it would seek for subrogation, but PEHP refused. Gunn later settled his personal injury action for $15,000.
{5 In September 2005, Gunn filed this action against PEHP seeking a declaratory judgment that PEHP should be precluded from asserting its subrogation rights. PEHP filed a motion tо dismiss, contending that Gunn could not obtain declaratory relief "without first exhausting administrative remedies under U.C.A. Tile 49 and the [policy]." The district court granted PEHP's motion to dismiss. Gunn now аppeals.
ISSUE AND STANDARD OF REVIEW
T6 Gunn argues that the district court erred in granting PEHP's motion to dismiss for lack of subject matter jurisdiction. Whether the district court properly granted the motion to dismiss is "a question of law, [which] we review for correctness, giving no deference to the decision of the trial court." Peterson v. Delta Air Lines, Inc.,
ANALYSIS
T7 Gunn contends that the district court erred in granting PEHP's motion to dismiss. The district court concluded that it did not have subject matter jurisdiction "because [Gunn] cannot obtain declaratory or оther relief without first exhausting agency administrative remedies intended pursuant to Utah Code Annotated Title 49 and the [policy]." Because PEHP is administered by a state аgency, an opposing party "may seek judicial review only after exhausting all administrative remedies available." Utah Code Ann. § 68-46b-14(2) (2004). A court may exempt a party from the requirement to exhaust administrative remedies if "the administrative remedies are inadequate" or the "exhaustion of remedies would result in irreparable harm disproportionate to the public benefit derived from requiring exhaustion." Id. Gunn has made no attempt to *115 establish that either exception exists in this case.
T8 Gunn contends, however, that before conсluding whether the exhaustion of administrative remedies is required, the district court must first determine whether the dispute falls within the scope of the ageney's statutory authority. He cites several cases stating that the requirement of exhausting administrative remedies "does not apply when ... the administrative officer or body, acts without thе scope of his or its defined statutory authority." Walker Bank & Trust Co. v. Taylor,
T 9 The agency's appeal process is outlined in Utah Code section 49-11-6183, which provides in part:
(a) All members, retirees, participants, alternative payees, or covered individuals of a system, plan, or program under this title shall acquaint themselves with their rights and obligations under this title.
(b) Any dispute regarding a benefit, right, obligation, or employment right under this title is subject to the procedures provided under this seсtion.
(c) A person who disputes a benefit, right, obligation, or employment right under this title shall request a ruling by the executive director.
(d) A person who is dissatisfied by a ruling of the еxecutive director with respect to any benefit, right, obligation, or employment right under this title shall request a review of that claim by a hearing officer.
Utah Codе Ann. § 49-11-618(1)(a)-(d) (Supp. 2006). This section is clear that an insured who has "[alny dispute" with PEHP "shall request a ruling from the executive director." Id. Gunn's complaint states that "a dispute has arisen between [PEHP] and [Gunn] concerning their rights," and urges that PEHP waived its subrogation elaim by not participating in the underlying personal injury action. We conclude that Gunn's dispute regarding a right against PEHP is covered by section 49-11-6138.
110 Gunn additionally asserts that because the dispute involves a legal question, rather than a fact determination, it is outsidе the scope of the statute." The controlling statute, however, clearly provides that the agency does more than just find facts. Seetion 49-11-613(2)(d), for examрle, states that a hearing officer shall "make conclusions of law in determining the person's rights under any system, plan, or program under this title and matters pertaining to the administration of the office." Utah Code Ann. § 49-11-613(@2)(d); see also King v. Industrial Comm'n,
$11 Gunn further contends that the poliсy itself does not require him to first seek administrative review of his claim concerning PEHP's subrogation rights. "It has always been recognized that a contract contains, imрlicitly, the laws existing at the time it is completed." Beehive Med. Elecs. v. Industrial Comm'n,
CONCLUSION
{12 PEHP is administered by a state ageney, and therefore, any party asserting a legal right against PEHP "may seek judicial review only after exhausting all administrative remedies available." Utah Code Ann. § 638-46b-14(2) (2004). Further, the issues in this case are not outside the agency's statutory authority, and Gunn is not relieved of the exhaustion requirement.
{13 We therefore affirm the district court's grant of PEHP's motion to dismiss for lack of subject matter jurisdiction.
Notes
. Gunn also asserts that the legal quеstion of whether PEHP has a valid subrogation claim depends on several equitable determinations that should be decided by the district court, including comparative negligence, laches, and waiver. "Subrogation is an equitable doctrine, hence, equitable principles apply in determining its availability." Birch v. Fire Ins. Exch.,
. In 2005, subsequent to the formation of the policy, the legislature amendеd Utah Code section 49-11-613. See Utah Code Ann. § 49-11-613 (2002 & Supp.2006). "[A] statute may be applied retroactively if it affects only procedural and not substantive rights." Washington Nat. Ins. v. Shеrwood Assoc.,
. Both parties discuss whether at this stage of the proceedings we shоuld determine if PEHP has a valid subrogation claim. Because we have determined Gunn must exhaust administrative remedies before seeking judicial review, we will not consider this issue.
