Hi Bhagwat, You can visit the ctakes-assertion-res module for some clues.
Navigate to ctakes-assertion-res src/main/resources/ org/apache/ctakes/assertion/pipeline/ There are two .piper files there. Each one covers a different way to get the information that Tim mentioned. In those files each "add" statement is followed by an annotator class name. In IntelliJ you can press CTRL-N and enter the class name to view the code. There are also a few comments in the piper files that may help. Sean -----Original Message----- From: Bhagwat Posane [mailto:bhagwat.pos...@gmail.com] Sent: Tuesday, November 21, 2017 6:21 AM To: dev@ctakes.apache.org Subject: Interpret context out of clinical note [EXTERNAL] Hello Sean,Tim, et al, I would like to Interpret context out of clinical note, e.g. interpretation of the procedure, lab tests for a patient. For this, I suppose TLINK statements would be of much help. Ex. for the note- "Cystoscopy is planned on 3 / 26 / 2018." I get TLINK as Cystoscopy contains 3 / 26 / 2018, 3 / 26 / 2018 contains Cystoscopy 3 / 26 / 2018 contains planned we can make out that Cystoscopy is not yet done looking at "planned"(in this case), Could you please let me know if I am on right path and also help me understand if any other approach to do this. @Tim, Couple of days back you mentioned about the context understanding : "if any procedure is happened or not." > I think you need a formal definition of this to understand what you're > trying to do. > As a guess, you want it to be in the past, related to the patient (not > a family member), and not negated or hypothetical or uncertain, etc.? > This would require multiple components, but most of them should run in > the temporal pipeline. > Tim Could you please provide some insight on this, as what are the multiple components are required and how to use them to achieve this goal. -- Thanks, Bhagwat Posane