negation

Look if a certain term (or phrase) is negated in a medical text. `The patient has no arthritis` contains a negation.

Usage no npm install needed!

<script type="module">
  import negation from 'https://cdn.skypack.dev/negation';
</script>

README

Negation

Look if a certain word is negated in a sentence or text.

Difficulties

False positives

I.e tagged as negation and found with corresponding term, however they are not real negations.

  • Double negations (niet uitgesloten / niet nader gespecificeerd)
  • Additional info with negation (niet in remissie)
  • The word is part of the diagnose
    • Niet nodulaire artritis
    • Niet erosieve artritis of reuma, niet erosief
  • Additional terms that are part of the diagnose
    • Ziekte Niet nader gespecificeerd
    • Ziekte Niet in remissie