umcu/clinlp

Add functionality to include year related to identified concept

Opened this issue · 1 comments

Dear NLP colleagues,

Describe the feature
A functionality where the year preceding or related to an identified concept in medical free text is added to the output. This would be very helpful. This is not always reported as neatly as below, so some flexibility in that would be great.

Something like:
CUI: C10000
Name: Ventricular Fibrillation
Year: 1992
Negated: output negation algorithm

And when no year found:
CUI: C10023
Name: Chest pain
Year: Current
Negated: output negation algorithm

A use case for the feature

Voorgeschiedenis:
1992: Ventrikelfibrilleren
1996: Arteriële hypertensie
2008: Drievatslijden waarvoor PCI
2022: Diabetes mellitus type 2

Would you like to be involved in development?
l.m.overmars-2@umcutrecht.nl

Thanks!!

Logic (probably):

  • Term extraction
  • Cycle through terms, scan pre/post for regex patterns, extract date, append to term