Pei,
Thanks. I also wanted to mention that I have noticed the same behavior when
ranges are specified in the context of dosage and frequency. For example, when
I try:
'Take Lipitor 1-2 tabs 3-4 times a day for 7 days', dosage is annotated as '2'
and frequency value is annotated as '4'.
Looks like the same pattern is surfacing here (use the latter half) as well.
Best,Jain
> From: pei.c...@childrens.harvard.edu
> To: dev@ctakes.apache.org
> Subject: RE: cTAKES handling of fractions in dosage
> Date: Thu, 20 Mar 2014 14:41:32 +0000
>
> Jain,
> Jira has been open to track this:
> https://issues.apache.org/jira/browse/CTAKES-289
>
> It seems like a possible bug to me, but I only had a quick glance at the code:
> http://svn.apache.org/repos/asf/ctakes/trunk/ctakes-drug-ner/src/main/java/org/apache/ctakes/drugner/fsm/machines/elements/DosagesFSM.java
> It does seem to reuse the FractionStrengthCondition, but perhaps others could
> comment it.
>
> --Pei
>
> > -----Original Message-----
> > From: Ajay Jain [mailto:goti...@hotmail.com]
> > Sent: Wednesday, March 19, 2014 3:48 PM
> > To: dev@ctakes.apache.org
> > Subject: cTAKES handling of fractions in dosage
> >
> > Hi,
> > I am running the DrugAggregatePlainTextUMLSProcessor and noticing that
> > cTAKES is not handling fractions for medication dosage correctly. For
> > example, "Benadryl 1/2 tsp 3 times daily"
> > produces a MedicationMention with a dosage of 2. Having tried different
> > fractions (1/2, 1/3, 2/4, etc.), apparently the dosage is always set to the
> > digit
> > on the right of the '/'. I am wondering if this is a documented issue with
> > cTAKES (I am using cTAKES version 3.1). Thanks in advance.
> > Jain