In this appeal, we decide whether the trial court properly dismissed plaintiffs claim of retaliatory discharge when the complaint alleged a workers’ compensation injury, inability to work, and dismissal on the basis of that disability. More specifically, the complaint avers that, while employed by defendant on 24 April 1991, plaintiff injured his back as he helped lift two steel beams weighing 200 pounds. He thereafter received disability and medical benefits under the Workers’ Compensation Act. The complaint further alleges that on 20 August 1991, plaintiff’s treating physician allowed him to return to work, but he was unable to perform the duties of his job due to the pain from his back injury. Plaintiff then contacted his boss, informing him that “he could not do the job.” Defendant subsequently terminated plaintiff from his employment.
In considering a motion to dismiss for failure to state a claim, the trial court must accept as true all allegations of fact. Amos v. Oakdale Knitting Co., 331 N.C. 348, 351, 416 S.E.2d 166, 168 (1992). Dismissal is generally inappropriate except in those instances where the face of the complaint discloses some insurmountable bar to recovery, such as an unconditional affirmative defense which defeats the claim asserted or facts which deny the right to any relief on the alleged claim. Sutton v. Duke, 277 N.C. 94, 102, 176 S.E.2d 161, 166 (1970). A trial court should not dismiss a complaint for insufficiency unless it appears to a certainty that the plaintiff is entitled to no relief under any state of facts which he could prove in support of the claim. Id.
The ability of an employer to chill an employee’s exercise of his or her rights under the Workers’ Compensation Act through *544retaliatory discharge or demotion motivated our legislature to enact N.C.G.S. § 97-6.1. See Henderson v. Traditional Log Homes, 70 N.C. App. 303, 305, 319 S.E.2d 290, 292, disc. review denied, 312 N.C. 622, 323 S.E.2d 923 (1984). This statute, operative at the time plaintiff filed his complaint (subsequently repealed effective 1 October 1992), provides: “No employer may discharge or demote any employee because the employee has instituted or caused to be instituted, in good faith, any proceeding under the North Carolina Workers’ Compensation Act . . . .” It does not, however, prohibit all discharges of employees who are involved in workers’ compensation claims; it prohibits only a discharge made because the employee exercised his compensation rights. Morgan v. Musselwhite, 101 N.C. App. 390, 393, 399 S.E.2d 151, 153, disc. review denied, 329 N.C. 498, 407 S.E.2d 536 (1991). Plaintiff’s complaint stated that “the defendant-corporation discharged the plaintiff because the plaintiff instituted, in good faith, a proceeding under the North Carolina Workers’ Compensation Act and requested benefits pursuant to that Act.” This allegation is sufficient to bring his claim within the purview of N.C.G.S. § 97-6.1.
Defendant, nonetheless, contends that dismissal of plaintiff’s complaint was proper due to the existence of statutory defenses set out in N.C.G.S. § 97-6.1 (c) and (e). Section 97-6.1 (c) states that an “employer shall have as an affirmative defense to this section . . . [the employee’s] failure to meet employer work standards not related to the Workers’ Compensation Claim.” Defendant may not avail itself of this provision, however, because, if the employee’s failure to meet the defendant’s work standards was due to the injury which was the subject of the workers’ compensation claim, his failure to meet these standards was related to his workers’ compensation claim. Burrow v. Westinghouse Electric Corp., 88 N.C. App. 347, 352, 363 S.E.2d 215, 218, disc. review denied, 322 N.C. 111, 367 S.E.2d 910 (1988). Since plaintiff’s complaint alleges that he was “unable to continue working at his job because of the pain resulting from his back injury,” he alleges facts sufficient to defeat application of the subsection (c) defense.
N.C.G.S. § 97-6.1 (e), also argued by defendant, creates another narrow exception to the prohibition stated in subsection (a), reading:
The failure of an employer to employ, either in employment or at the employee’s previous level of employment, an employee *545who receives compensation for permanent total disability, or a permanent partial disability interfering with his ability to adequately perform work available, shall in no manner be deemed a violation of this section.
Hence, pursuant to section 97-6.1 (e), an employer may discharge an employee on the basis of the employee’s disability which prevents him from carrying out the duties for which he is employed. Johnson v. Builder’s Transport, Inc., 79 N.C. App. 721, 723, 340 S.E.2d 515, 517 (1986). This subsection, however, applies only to employees who have received compensation for “permanent total disability” or “permanent partial disability,” terms that have distinct meanings under the North Carolina Workers’ Compensation Act, N.C. Gen. Stat. §§ 97-29, -31 (1991), but which are not the only types of disability for which a claimant may receive compensation. While plaintiff’s complaint does allege that plaintiff received some disability payments, it does not aver that he received compensation for either type of disability required by subsection (e), and, it does not, therefore, allege an unconditional affirmative defense that would justify a Rule 12(b)(6) dismissal. In view of the foregoing, we are compelled to rule that plaintiff’s complaint alleging retaliatory discharge was sufficient to withstand a Rule 12(b)(6) motion to dismiss. This ruling does not foreclose summary judgment for defendant upon a showing that it has paid compensation for permanent total disability or permanent partial disability.
Reversed.
Judges LEWIS and WYNN concur.