diff --git a/GeneralNegEx.Java.v.1.2.05092009/negex_triggers.txt b/GeneralNegEx.Java.v.1.2.05092009/negex_triggers.txt index b9f3712..6f61870 100755 --- a/GeneralNegEx.Java.v.1.2.05092009/negex_triggers.txt +++ b/GeneralNegEx.Java.v.1.2.05092009/negex_triggers.txt @@ -63,6 +63,8 @@ not reveal [PREN] not see [PREN] not to be [PREN] patient was not [PREN] +PRN for [PREN] +P.R.N. for [PREN] rather than [PREN] resolved [PREN] test for [PREN] diff --git a/negex.python/Annotations-1-120.txt b/negex.python/Annotations-1-120.txt index 798c519..5e540ca 100755 --- a/negex.python/Annotations-1-120.txt +++ b/negex.python/Annotations-1-120.txt @@ -2375,3 +2375,7 @@ Report No. Concept Sentence Negation 119 ABDOMEN: 1. NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY. Affirmed 119 CIRRHOTIC MORPHOLOGY OF THE LIVER AND SMALL UPPER ABDOMINAL LYMPH NODES ARE LIKELY THE SEQUELA OF CHRONIC UNDERLYING LIVER DISEASE CIRRHOTIC MORPHOLOGY OF THE LIVER AND SMALL UPPER ABDOMINAL LYMPH NODES ARE LIKELY THE SEQUELA OF CHRONIC UNDERLYING LIVER DISEASE. Affirmed 119 PELVIS: NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY PELVIS: NO FINDINGS TO SUGGEST FDG AVID MALIGNANCY. Affirmed +120 vomiting PRN for vomiting. Negated +120 vomiting prn for vomiting. Negated +120 vomiting P.R.N. for vomiting. Negated +120 vomiting P.R.N for vomiting. Negated \ No newline at end of file diff --git a/negex.python/negex_triggers.txt b/negex.python/negex_triggers.txt index b9f3712..6f61870 100755 --- a/negex.python/negex_triggers.txt +++ b/negex.python/negex_triggers.txt @@ -63,6 +63,8 @@ not reveal [PREN] not see [PREN] not to be [PREN] patient was not [PREN] +PRN for [PREN] +P.R.N. for [PREN] rather than [PREN] resolved [PREN] test for [PREN] diff --git a/pyConTextNLP/tags/06252012/src/pyConTextNLP/itemData.py b/pyConTextNLP/tags/06252012/src/pyConTextNLP/itemData.py index dec7853..6656d81 100755 --- a/pyConTextNLP/tags/06252012/src/pyConTextNLP/itemData.py +++ b/pyConTextNLP/tags/06252012/src/pyConTextNLP/itemData.py @@ -64,6 +64,8 @@ def extend(self,iterable): super(itemData,self).extend(iterable) probableNegations = itemData([ +["PRN for","PROBABLE_NEGATED_EXISTENCE","","forward"], +["P.R.N. for","PROBABLE_NEGATED_EXISTENCE","","forward"], ["can rule out","PROBABLE_NEGATED_EXISTENCE","","forward"], ["cannot be excluded","PROBABLE_NEGATED_EXISTENCE",r"""(cannot|can\snot)\sbe\sexcluded""","backward"], ["is not excluded","PROBABLE_NEGATED_EXISTENCE",r"""(is|was|are|were)\snot\sexcluded""",'backward'], diff --git a/pyConTextNLP/tags/06252012/src/pyConTextNLP/pyConTextGraph/itemData.py b/pyConTextNLP/tags/06252012/src/pyConTextNLP/pyConTextGraph/itemData.py index 1df3cfa..97bf679 100644 --- a/pyConTextNLP/tags/06252012/src/pyConTextNLP/pyConTextGraph/itemData.py +++ b/pyConTextNLP/tags/06252012/src/pyConTextNLP/pyConTextGraph/itemData.py @@ -107,6 +107,8 @@ def extend(self,iterable): probableNegations = itemData( +["PRN for","PROBABLE_NEGATED_EXISTENCE","","forward"], +["P.R.N. for","PROBABLE_NEGATED_EXISTENCE","","forward"], ["can rule out","PROBABLE_NEGATED_EXISTENCE","","forward"], ["cannot be excluded","PROBABLE_NEGATED_EXISTENCE",r"""cannot\sbe\s((entirely|completely)\s)?(excluded|ruled out)""","backward"], ["is not excluded","PROBABLE_NEGATED_EXISTENCE",r"""(is|was|are|were)\snot\sexcluded""",'backward'],