I believe you need to add an annotator like DrugAggregateCDAProcessor to the pipeline to get the annotations you seek. I will investigate and write more soon.
- Jessica G. On Feb 9, 2016 2:31 PM, "Miller, Timothy" < [email protected]> wrote: > I'm not that familiar with that module but I can confirm that I was able > to replicate your output on this example. > If it helps at all the MedicationMention type does have a span for the > tylenol mention, but obviously doesn't help with all the dosage, route, > etc. information you might want. > Hopefully one of the devs/maintainers of that module will have some idea. > Tim > > > On 02/09/2016 02:19 PM, Phan HôÌng Phuìc wrote: > > Hi all, > > > > I try to run the sample to get the drug name. > > Let me describe my steps: > > - runctakesCVD.bat > > - Load AE: > > > apache-ctakes-3.2.2\desc\ctakes-clinical-pipeline\desc\analysis_engine\AggregatePlaintextFastUMLSProcessor > > - Add sample text: "*He is taking 500mg of tylenol, twice a day"* > > *- *After run, I see a list of result but all type > > org.apache.ctakes.drugner.type.* are [0] > > > > I think it should contain at least drug name "tylenol" in the result. > > > > Do I miss something? > > > > Thank you, > > - Phúc > > > >
