dissenting.
I respectfully dissent. In concluding that the petition for review (Petition) filed by Gilbert McGill fails to state a cause of action, the majority does not consider relevant federal law, the mandates of the Pennsylvania Drug and Alcohol Abuse Control Act1 (Drug Abuse Act) or other applicable legal theories. I believe that, accepting the well-pleaded facts of the Petition as true, McGill states a cause of action in mandamus under the Drug Abuse Act, the Establishment Clause of the First *272Amendment to the U.S. Constitution2 and the separation of powers doctrine. Thus, I would overrule the preliminary objections in the nature of a demurrer.
I. Preliminary Objections
In addressing a preliminary objection in the nature óf a demurrer, this court must determine whether, on the facts alleged, the law states with certainty that no recovery is possible. We must accept as true all well-pled allegations and material facts averred in the petition, as well as inferences reasonably deducible therefrom, and any doubt should be resolved in favor of overruling the demurrer. Hawks by Hawks v. Livermore, 157 Pa.Cmwlth. 248, 629 A.2d 270 (1993). If the facts as pled state a claim for which relief may be granted under any theory of law, then there is sufficient doubt to require the preliminary objection in the nature of a demurrer to be rejected. County of Allegheny v. Commonwealth, 507 Pa. 360, 490 A.2d 402 (1985).
McGill’s Petition contains the following allegations. Each fiscal year, the federal government provides block grant money to the Commonwealth for the support of alcohol and drug treatment programs within the state. The Department of Health receives the block grant and allocates a portion of the money to fund the Department of Corrections’ Therapeutic Community Program (TC Program) at the State Correctional Institution at Hautzdale (SCI-Houtzdale), which is a religion-based program.3 The Department of Corrections does not possess a license to operate the TC Program. Moreover, the Department of Corrections does not have enough qualified persons to meet standards promulgated by the Department of Health, and, as a result, is unable to run the TC Program in an effective manner. The Department of Corrections and the Pennsylvania Board of Probation and Parole have determined that McGill needs alcohol and drug treatment and are requiring that McGill complete the TC Program before McGill can be recommended for and released on parole.
Based on these allegations, McGill seeks a writ of mandamus4 against the Department of Health requiring compliance with the laws that govern inmate alcohol and drug treatment programs. McGill also seeks a writ of mandamus against the Board of Probation and Parole and the Department of Corrections requiring the operation of an effective program that meets appropriate standards and has no religious basis.
II. Federal Law
The federal government, pursuant to 42 U.S.C. § 300x-21, provides a block grant to the Commonwealth for the prevention and treatment of substance abuse. In order to receive the block grant, the Commonwealth must submit a state plan for *273approval and enter into various funding agreements with the federal government. See 42 U.S.C. §§ 300x-21(b), 300x-32; 45 C.F.R. § 96.122. One of the funding agreements is that the Commonwealth will coordinate alcohol and drug treatment activities with the provision of correctional services. 42 U.S.C. § 300x-28(c); 45 C.F.R. § 96.132(c). In other words, the federal government expects the Commonwealth to expend block grant money for the treatment of prisoners in state correctional institutions. See 42 U.S.C. § 300x-31(a)(3); 45 C.F.R. § 96.135(b)(2).
For each fiscal year in which the federal government provides a block grant, the Commonwealth must arrange for an independent peer review to assess the “quality, appropriateness and efficacy” of the treatment services available in Pennsylvania.5 See 42 U.S.C. § 300x-53(a)(l)(A); 45 C.F.R. § 96.123(a)(14). In assessing the “quality” of treatment services, the evaluators must examine whether the services meet “accepted standards ...45 C.F.R. § 96.136(b). These are higher standards than those established for the licensing of a facility; indeed, federal law explicitly states that the peer review may not be conducted as part of a state’s licensing process. 45 C.F.R. § 96.136(e). It is a separate process that allows for the possibility that a properly licensed facility might not meet “accepted standards” for treatment. If a licensed program might not meet “accepted standards,” then it is highly unlikely, if not impossible, that an unlicensed program would meet “accepted standards.”
Although federal law clearly anticipates the use of block grant money to fund treatment programs that meet accepted standards, McGill does not state a cause of action in mandamus here because federal law gives McGill an adequate and appropriate remedy. Under 42 U.S.C. § 300x-55, McGill need only notify federal authorities that the Commonwealth is not in compliance with its funding agreements, and the federal government will investigate the matter. If the federal government determines that McGill’s complaint is valid, the federal government may suspend, terminate or withhold block grant funding. 42 U.S.C. § 300x-55. Because McGill seeks the cessation of funding based on his allegations here, this constitutes an adequate and appropriate remedy for him. Thus, mandamus does not lie here under federal law.
III. State Law
Under state law, the Department of Health is responsible for promulgation of a staté plan for the treatment of drug and alcohol abuse and dependency problems. Section 4(a) of the Drug Abuse Act, 71 P.S. § 1690.104(a). The Department of Health must promulgate the state plan in conformance with the procedure contained in the Commonwealth Documents Law.6 71 P.S. § 1690.104(b). The state plan must provide for rehabilitation programs for prisoners housed in state correctional institutions. 71 P.S. §§ 1690.104(a)(2), 1690.104(a)(14). The state plan also must include standards for the operation of those programs. 71 P.S. §§ 1690.104(a)(14), (18) & (19).
*274Based on my review of the Department of Health’s administrative regulations, the only standards promulgated by the Department of Health in conformance with the Commonwealth Documents Law for alcohol and drug rehabilitation programs at our state prisons are the licensing requirements found at Title 28 of the Pennsylvania Code, Part V. The Department of Health obviously believes that the licensing standards at Title 28 of the Pennsylvania Code, Part V apply to prisoner treatment programs.7 According to the Department of Health’s Substance Abuse Annual Report for the fiscal year 1995-96, the Department of Health has licensed therapeutic community treatment programs operated by the state correctional institutions at Cresson, Graterford, Mun-cy, Waymart and Roekview.8 The majority may be correct that the Department of Health lacks statutory authority to license inmate treatment programs under Articles IX and X of the Public Welfare Code.9 However, the Department of Health does have statutory authority under the Drug Abuse Act to promulgate standards for inmate programs, and it appears that the Department of Health has adopted the licensing standards for that purpose in lieu of promulgating separate standards.10
Based on the foregoing, I would conclude that, as a prisoner in a state correctional institution, McGill has a right to a substance abuse treatment program that meets the standards established under the Drug Abuse Act. At this stage of the proceedings, it appears that those standards are the same standards promulgated by the Department of Health for licensed facilities. Thus, the Department of Health has a duty to provide treatment programs at state prisons that meet the standards for licensing. Because McGill has alleged that the Department of Corrections’ TC Program at SCI-Houtzdale does not meet licensing standards, McGill has stated a cause of action in mandamus under the Drug Abuse Act.
IV. Religion-Based Treatment
McGill alleges in his Petition that the Department of Corrections’ TC Program uses religion/God as a basis for the program, in violation of his constitutional rights.11 As indicated above, McGill also alleges that the Board of Probation and Parole is requiring that McGill complete the TC Program before he can be released on parole.
The United States Court of Appeals for the Seventh Circuit has held that a state *275correctional institution may not require an inmate, upon pain of suffering adverse effects for parole eligibility, to attend a substance abuse counseling program with explicit religious content. Kerr v. Farrey, 95 F.3d 472 (7 th Cir.1996). The court explained that such is a violation of the Establishment Clause of the First Amendment to the U.S. Constitution. Id. Likewise, the U.S. District Court for the Eastern District of Virginia has held that a state correctional institution violates the Establishment Clause when it conditions an earlier release from prison on participation in a therapeutic community treatment program that involves religion. Ross v. Keelings, 2 F.Supp.2d 810 (E.D.Va.1998).
In each case, the court explained that, under U.S. Supreme Court case law, government pressure to participate in a religious activity is an obvious indication that the government is endorsing or promoting religion over non-religion. Kerr; Ross. Thus, to determine whether a particular state has violated the Establishment Clause, courts must consider whether: (1) the state has acted; (2) the action amounts to coercion; and (3) the object of the coercion is religious. IcL Here, McGill alleges that the Board of Probation and Parole is requiring that he complete the religion-based TC Program before he can be released on parole. This is state action that amounts to coercion, and, although there is no record before us regarding the details of the TC Program, McGill has alleged that the program is based on religion. McGill seeks only to take part in a treatment program that is not based on religion; therefore, McGill has stated a cause of action in mandamus under the Establishment Clause.12
V. Re-sentencing
The majority properly states that, under Pennsylvania case law, a prisoner has no constitutionally protected liberty interest in parole. {See Majority op. at 271.) However, the Board of Probation and Parole has made completion of the Department of Corrections’ TC Program a “requirement of parole.” According to the well-pled facts of this case, McGill’s sentencing court did not establish such a requirement for eligibility.
In Pennsylvania, “the sentencing judge establishes parole eligibility at the time of sentencing when the judge establishes a maximum and a minimum sentence pursuant to the Sentencing Code.” Dial v. Vaughn, 733 A.2d 1, 8 (Pa.Cmwlth.1999) (Friedman, J. dissenting). Here, the Board has determined that McGill will not be eligible for parole until he completes the TC Program. However, if the program is religion-based and McGill is either not religious or participates in a religion that has tenets which differ from those prescribed by the TC Program, McGill will never complete the program.13 Like the situation in Dial, the Board, in effect, has re-sentenced McGill to a term of confinement without parole, a usurpation of the judicial function and a violation of the separation of powers doctrine. See Dial (Friedman, J. dissenting). Because McGill has a right to no greater sentence than the one imposed by the sentencing court and because the Board of Probation and Parole has a duty to determine parole eligibility based on that sentence, I believe that McGill has stated a cause of action in mandamus under the separation of powers doctrine.
*276For the reasons stated above, I would overrule the preliminary objections in the nature of a demurrer.
. Act of April 14, 1972, P.L. 221, as amended, 71 P.S. §§ 1690.101 to 1690.115.
. The Establishment Clause provides that “Congress shall make no law respecting an establishment of religion _" U.S. Const. amend. I. The clause applies to state governments through the Fourteenth Amendment. Ross v. Keelings, 2 F.Supp.2d 810 (E.D.Va.1998).
. McGill alleges that the TC Program utilizes the Twelve Steps of the Alcoholics Anonymous Program. “The Twelve Steps [of Alcoholics Anonymous] stand for the proposition that recovery from alcoholism requires a spiritual awakening.” Warner v. Orange County Department of Probation, 870 F.Supp. 69, 71 (S.D.N.Y.1994). Indeed, some of the Twelve Steps include: (1) turning "our will and our lives over to the care of God ..(2) admitting to God “our wrongs;” (3) being ready to have God remove our character defects; (4) asking God to remove "our shortcomings;” and (5) seeking "through prayer and meditation to improve our conscious contact with God....” Id.
.Mandamus is an extraordinary writ of common law, designed to compel performance of a ministerial act or mandatory duty where there exists a clear legal right in the plaintiff, a corresponding duty in the defendant and want of any other adequate and appropriate remedy. Bronson v. Pennsylvania Board of Probation and Parole, 491 Pa. 549, 421 A.2d 1021 (1980), cert. denied, 450 U.S. 1050, 101 S.Ct. 1771, 68 L.Ed.2d 247 (1981).
. The peer review process must include treatment programs that are representative of "the total population of such entities.” 42 U.S.C. § 300x-53(a)(l)(B); 45 C.F.R. § 96.136(a). Because "the total population of such entities” includes prison programs, the peer review process must include programs provided by state correctional institutions.
. Act of July 31, 1968, P.L. 769, as amended, 45 P.S. §§ 1102-1602. At this stage of the proceedings, I cannot determine whether the Department of Health has promulgated a state plan in accordance with the Commonwealth Documents Law. If such a plan exists, with standards for the operation of rehabilitation programs at state correctional institutions, it is not part of the record before us. Because the Department of Health might have a duty under the standards set forth in the state plan to provide prisoner treatment programs that have enough qualified staff to be effective, I believe that we must overrule the preliminary objections.
. The majority concludes that the licensing standards do not apply to prisoner treatment programs because the definition of "facility” in section 1001 of the Public Welfare Code, Act of June 13, 1967, P.L. 31, as amended, 62 P.S. § 1001, excludes facilities operated by the state. However, I note that the definition of "facility” at section 701.1 of Title 28 of the Pennsylvania Code does-not exclude facilities operated by the state.
. See http://www.health.state.pa.us/php/sca/ accompli.htm. The Department of Health claims on its web site that it has licensure authority over both public and private drug and alcohol facilities. See http:// www.health.state.pa.us/php/sca/partl .htm.
. Act of June 13, 1967, P.L. 31, as amended, 62 P.S. §§ 901-922, 1001-1031 and 1051-1087. If the majority is correct that the Department of Health lacks authority to license treatment programs operated by the Department of Corrections, then the Department of Health has improperly licensed at least these five programs.
. Indeed, there would be no reason to promulgate separate standards for inmate treatment programs.
. The majority holds that this matter has been waived because McGill did not discuss it in his brief, citing Aveline v. Pennsylvania Board of Probation and Parole, 729 A.2d 1254 (Pa.Cmwlth.1999). (Majority op. at 272 n. 2.) However, Aveline relied on case law involving our rules of appellate procedure, and this is an original jurisdiction case. When this court considers a demurrer, we are required to examine the factual allegations and then decide whether recovery is possible under any theory of law. County of Allegheny. This means that we are not limited by the theories of law proposed in the petition or the petitioner’s brief.
. In Weaver v. Pennsylvania Board of Probation and Parole, 688 A.2d 766, 774-75 (Pa.Cmwlth.1997), this court stated that, where a prisoner claims that the parole board violated his or her First Amendment rights by denying parole for failure to complete a "12-step rehabilitation program offered by the corrections facility that was permeated with references to God,” the prisoner would be entitled to an order directing the prison officials to implement a new program or change the existing program.
. Moreover, if the program meets no standards for effectiveness, it is doubtful that McGill will overcome his substance abuse problems by completing the program.