The following words, terms and phrases, when used in this subchapter, shall have the meanings ascribed to them in this section, except where the context clearly indicates a different meaning:
(1) “Cognitive disability” means a developmental disability that substantially impairs an individual's cognitive abilities including, but not limited to, delirium, dementia and other organic brain disorders for which there is an identifiable pathologic condition, as well as nonorganic brain disorders commonly called functional disorders. “Cognitive disability” also includes conditions of mental retardation, severe cerebral palsy, and any other condition found to be closely related to mental retardation because such condition results in the impairment of general intellectual functioning or adaptive behavior similar to that of persons who have been diagnosed with mental retardation, or such condition requires treatment and services similar to those required for persons who have been diagnosed with mental retardation.
(2) “Victim” or “witness” shall not include any person with a cognitive disability accused of committing a felony; provided however, that the word “victim” or “witness” may, in the court's discretion, include:
a. A person with a cognitive disability where such person's participation in a felony appears to have been induced, coerced or unwilling; or
b. A person with a cognitive disability who has participated in the felony, but who has subsequently and voluntarily agreed to testify on behalf of the State.