<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="99"/><title>A Cascade Approach to Extracting Medication Events</title><author surname="Patrick" givenname="Jon"><org  name="University of Sydney" country="Australia" city="Sydney"/></author><author surname="Li" givenname="Min"><org  name="University of Sydney" country="Australia" city="Sydney"/></author></firstpageheader><frontmatter><p><b>A Cascade Approach to Extracting Medication Events</b></p><p><b>Jon Patrick</b></p><p>School ofIT The University of Sydney Sydney, NSW 2006, Australia jonpat@it.usyd.edu.au</p><p><b>Min Li</b></p><p>School of IT The University of Sydney Sydney, NSW 2006, Australia mili9528@uni.sydney.edu.au</p></frontmatter><abstract>Information Extraction, from the electronic clinical record is a comparatively new topic for computational linguists. In order to utilize the records to improve the efficiency and quality of health care, the knowledge content should be automatically encoded; however this poses a number of challenges for Natural Language Processing (NLP). In this paper, we present a cascade approach to discover the medication-related information (MEDICATION, DOSAGE, MODE, FREQUENCY, DURATION, REASON, and CONTEXT) from narrative patient records. The prototype of this system was used to par­ticipate the i2b2 2009 medication extraction challenge. The results show better than 90% accuracy on 5 out of 7 entities used in the study. </abstract></header><body><section number="1" title="Introduction"><p>Electronic records are widely used in the health care domain since we believe they can provide more advantages than the traditional paper record (Sujansky, 1998). However, the value of electronic clinical records depends significantly on our ability to discover and utilize the specific content found in them. Once this content can be detected, the poten­tial benefits for individual clinicians and healthcare organizations are considerable.</p><p>In this study we focus on discharge summaries, which have their own challenges. This kind of clin­ical record includes several sections. The average word count of these reports is around 1500 words per record. This paper presents a method to extract all the medication related information, and connect the relative entities together to build medication entries using a cascaded approach based on two machine learners.</p></section><section number="2" title="Related Work"><p>In this paper, we focus on both NER and RC tasks to extract the medications and their related information    (DOSAGE,   MODE, FREQUENCY,</p><p>DURATION, REASON, and CONTEXT) from free-text clinical records. At this time, it's difficult to com­pare our system with other systems which partici­pated the i2b2 2009 medication extraction challenge, since these publications are unavailable now. Consequently, we can only compare our sys­tem with some similar studies in the literature. In the previous work, only three published studies ad­dress this issue (see the performance comparison in the final section) and these studies do not have a comprehensive and precise definition of medication information. The closest research for medication event extraction relies on parsing rules written as a set of regular expressions and a user-configurable drug lexicon. It includes the event for DRUG, DOSAGE, ROUTE, FREQUENCY, CONTEXT and NECESSITY (Gold et al. 2008). The basic work flow for their system starts by discovering drug names based on a drug dictionary, and the rest of the process uses the MERKI parser.</p><doubt alpha="65.9" length="41" tooSmall="False" monospace="0.0">The CLARIT NLP system (Evans et al. 1996)</doubt><p>can extract DRUG-DOSAGE information from clinical narratives. This system is based on the rule-based method and five main steps are included, such as tokenization, stemming, syntactic category assign­ment, semantic category assignment and pattern matching.</p><p>Another system focuses on the drug extraction only and is based on a drug lexicon (Sirohi and Peissig 2005). This study demonstrates that high precision and recall for medication extraction from clinical records can be obtained by using a carefully selected drug lexicon.</p><p>Comparing these three medication extraction sys­tems, a different approach is adopted in our work. Our medication event system is based on the com­bination of a machine learner approach and rule based approach. Two machine learners were used, namely the conditional random field (CRF) and support vector machine (SVM). Moreover, a broad­er definition for a medication event is considered, especially the REASON for the medication which hasn' t been studied in previous research. Further­more, the medication information in our training and test set is much larger than prior studies.</p><page local="2" global="100"/></section><section number="3" title="Methodology"><p>There are four main steps in our methodology:</p><p>1. Definition of the information to be extracted.</p><p>2. Preparing data for training and testing.</p><p>3. Using natural language processing technologies to build a medication event extraction system.</p><p>4. Passing the test data to the system and evalua­tion of the final result.</p><subsection number="3.1" title="Extraction Definition"><p>Our goal is to provide accurate, comprehensive in­formation about the medications a patient has been administered based on the evidence appearing in the textual records. For each medication entry, the following information needs to be extracted: Medi­cation, dosage, mode, frequency, duration, reason, and context.</p><p>Multiple medication entries should be generated if the MEDICATION has the changes for DOSAGE or multiple DOSAGEs, MODEs, FREQUENCYs, DURA­TIONs and REASONs.</p></subsection><subsection number="3.2" title="Data Preparation"><p>One hundred and sixty clinical records were pre­pared for training (130 records) and testing (30 records). One physician and one researcher created the gold standard annotations by sequential annota­tion: the physician annotated the records first and his results were given to the researcher to revise. The annotation process took approximately 1.5 hours per record due to the length of clinical records.</p></subsection></section><section number="4" title="Medication Event Extraction System Ar-"><p><b>chitecture</b></p><p>The basic strategy for the medication event extrac­tion system is to: ® use CRF to identify the enti­ties, © build pairs for each medication relationship (only consider DRUG and its related entity, since the whole related entities, such as dosage, frequenty, etc., could be further connected based on the DRUG), © classify the binary relationships by SVM, @ generate medication entries based on the results from the CRF and SVM. Figure 1 demonstrates the detailed system architecture, which includes the following processing stages:</p><p><b>I. Sentence Spitting</b></p><p>Split the clinical records into individual sentences.</p><p><b>II. Tokenization</b></p><p>Each sentence is split into tokens their position and extent in the text.</p><p>m   <b>CRF Feature Builder</b></p><p>Seven feature sets were prepared in this stage, to be used in the CRF training. They are DRUG, DOSAGE,</p><p>MODE, FREQUENCY, DURATION, REASON, and mor­phology feature sets.</p><figure caption="Figure 1. NER and RC System Architecture."></figure><p><b>IV. CRF Model Building and Classification</b></p><p>The CRF feature builder generated the features for the CRF machine learner. The context window for the CRF was set to be five words.</p><p><b>V. CRF Model Building and Classification</b></p><p>The CRF results were converted into SVM input features by the SVM Convertor. There are two kinds of SVM input generated here:</p></section><section number="1." title="Unigram Sentences"><p>Each pair of medication elements at the unigram sentence level is used to build an SVM training record.</p></section><section number="2." title="Sentence Pairs"><p>Sometimes MEDICATION and its REASON could be across two sentences. Like the mechanism to gener­ate the unigram sentence input, medication pairs are also built at the sentence pair level.</p><p><b>VI. SVM Feature Builder</b></p><p>Six Features are generated based on the output from the SVM Convertor to classify the relationships:</p><p>1. Three words before and after the first entity.</p><p>2. Three words before and after the second entity.</p><p>3. Words between the two entities.</p><p>4. Words inside of each entity.</p><p>5. The types of the two entities determined by the CRF classifier.</p><p>6. The entities types between the two entities.</p><p><b>VII. SVM Model Building and Classification</b></p><p>The features which were generated in the previous step were passed to the SVM to build the model and classify the relationships between medication pairs for the test set.</p><p><b>VIII. CONTEXT Identification</b></p><p>The CONTEXT engine identifies the medication en­try under the special section headings, such as "MEDICATIONS ON ADMISSION:", "DISCHARGE MEDICATIONS:" etc., or in the narrative part of the clinical record. The performance is discussed in the next section.</p><p><b>IX. Medication Entry Generation</b></p><p>The medication entry generator is the final step in this system which is responsible for assembling all the components into the final medication event en­tries based on having established their relationships.<page local="3" global="101"/> The results from the previous steps are used here, namely CRF, SVM and CONTEXT Engine. Two stages are involved in this step:</p><p>(a) Using the SVM results to identify the medica­tion entries. The CONTEXT value (list/narrative) comes from the CONTEXT Engine. The algorithm which is used to build medication entries is based on the position rule of each entity and the total number of each entity type. It can be divided into several cases.</p><p>(b) If the medication in the clinical notes doesn't have any relationships with other entity types, it will be missing from the SVM result. Consequent­ly, this medication should be withdrawn from the CRF results and an individual medication entry generated for it. The value for the CONTEXT (list/ narrative) also comes from the CONTEXT Engine, as in the previous step.</p></section><section number="5" title="Results and Discussion"><p>In this section, the experiment results for NER, RC, CONTEXT engine and the final output for the test set is presented and discussed.</p><subsection number="5.1" title="NER(CRF) Experiment"><p>The main purpose of this experiment is to extract the MEDICATION, DOSAGE, MODE, FREQUENCY, DURATION and REASON from the clinical records. Table 1 demonstrates the performances for exact match by using the 7 feature sets. The number in the bracket is the baseline, which use the bag of words as the only feature set. The baseline shows the extraction for REASON and DURATION are the most difficult entities to recognise (their average F-score is about 50%, while the MODE, DOSAGE and FREQUENCY perform best with an average F-score <u>greater than 92%).</u>___</p><p>It is worth pointing out many other features were experimented with during the system implementa­tion, such as the medical category for each word, whether the word is capitalized, in lower case or upper case, etc. However, the best performance is obtained from the 7 feature set. The feature selec­tion process is that:</p><p>In the first place, all features were gathered to­gether to train the model and predict the results. Sequentially, the performance of this experiment was recorded. Next, we did a set of experiments to remove every feature from the whole features one by one, and then train the related model. After that, predict the results and record the performance. Fi­nally, these performances were compared with the performance in the first step to see whether the re­moved feature decreased in the F-score. If it did, this feature would be useful. Else, it was useless.</p><p>The performances for the REASON and DURATION are still the lowest, but the F-scores are approximately 10% higher than the baseline. This is because:</p><p>1. The frequencies for the REASON and DURATION are much smaller than the other four entity types.</p><p>2. For the DURATION entities, the rule based regular expression can match other non-medication terms. Also, there are some DURATION terms that can' t be discovered by our rules.</p><p>3. REASON extraction depends highly on the Finding category in SNOMED CT and the perfor­mance of TTSCT (Patrick et al. 2007). However, the Finding category cannot be well-matched to the REASON entities in the clinical notes, due to the many varied ways REASON can be represented which may not exist in the SNOMED CT, and as well the REASONs that are ambiguously expressed. Another limitation is the performance of TTSCT. Consequently, these issues lead to low performance on REASON, and the F-score of DURATION (63.16%) is higher than the REASON (55.52%) even though the frequency of DURATION is smaller than REASON (104 and 360 respectively).</p><p>Compared to the baseline, the F-scores for the MODE, DOSAGE and FREQUENCY were only im­proved by about 2%. The first reason is that the per­formance of the baseline is already very high (around 90%). Secondly, the regular expressions and gazetteers cannot capture all the different ways to present these three entity types. Approximately 8% improvement in the MEDICATION extraction is obtained in the system, since the medication lexica were used in the system. The errors come from:</p></subsection></section><section number="1." title='Misspelling of drug names, such as "nitrog­lycerin"'><p>2. Drug names used in other contexts, such as the "coumadin" in the "Coumadin Clinic" phrase.</p><p>3. The drug allergies detector cannot cover all situations.</p><p>Overall, the system scored of 90.81% on the NER task.</p><subsection number="5.2" title="Relationship Classification Experiment"><table caption="Table 1. Best scores and baseline scores from CRF of NER" class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Recall</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Precision</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>F-Score</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Entity Type</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Training</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Test</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p><b>Entity ±ype</b></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(Baseline)</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(Baseline)</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(Baseline)</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>88.82%</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>92.89%</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>90.81%</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Overall</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>17337</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>5296</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(80.25%)</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(93.49%)</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>(86.36%)</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>91.44%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>91.35%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>91.40%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>MEDICATION</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>6576</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1940</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p>(76.34%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(91.87%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(83.39%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>93.49%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>96.36%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>94.91%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>DOSAGE</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>3352</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1076</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p>(88.66%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(95.69%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(92.04%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>94.60%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>95.92%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>95.26%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>MODE</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>2537</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>796</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p>(91.21%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(96.93%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(93.98%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>93.24%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>96.26%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>94.72%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>FREQUENCY</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>3180</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1020</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p>(90.26%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(95.74%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(92.94%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>51.92%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>80.60%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>63.16%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>DURATION</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>366</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>104</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p><b>_</b></p></td><td class="cell"><p></p></td><td class="cell"><p>(41.35%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(79.63%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(54.43%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>46.11%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>69.75%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>55.52%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>REASON</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>1326</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>360</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p>_</p></td><td class="cell"><p>_</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(34.72%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(72.67%)</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>(46.99%)</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="102"/><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Recall</doubt><p><b>Entity Type</b> <b>Training</b></p><p>The support vector machine is used to classify the relationships between the medication pairs (see sec­tion 2). The feature sets used are discussed in the previous section. Meanwhile, the feature selection mechanism is same as the NER feature selection, which was introduced in the previous sub-section. For comparison, the baseline only uses three of the whole feature sets, namely, No.1, 2 and 4 in the SVM feature sets. Two experiments were con­ducted (the unigram sentence level and sentence pair level) for the baseline and subsequent solutions.</p><p><b>Relation Type HAS</b></p><p>RELATIONSHIP <u>(unigram)</u>_</p><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">NO</doubt><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">Total</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">Number</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">24765</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">7030</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">48162</doubt><p><b>Recall (Baseline)</b> <b>RELATIONSHIP <u>(sentence pair)</u></b> <b>Precision (Baseline)</b></p><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">98.89% (82.69%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">99.71% (92.96%)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">HAS</doubt><table caption="Table 2. Best scores and baseline scores from SVM of RC"></table><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">97.06% (82.47%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">99.40% (93.19%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">97.90% (61.26%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">99.85% (97.55%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">95.89% (63.53%)</doubt><p><b>F-Score (Baseline)</b></p><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">98.39% (70.38%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">99.78% (95.20%)</doubt><doubt alpha="0.0" length="15" tooSmall="False" monospace="0.0">96.47% (71.77%)</doubt><p>The baseline F-score for the HAS RELATIONSHIP set of the unigram sentence level is 70.38% and 95.20% in the NO RELATIONSHIP set. The difference can be attributed to the fact that the total number of the NO RELATIONSHIP set is 7 times larger than the HAS RELATIONSHIP set. However, the performance in "has relation" is more important, since the gener­ation of medication entries is based on the pairs which have the relationship correctly identified.</p><p>A high performance is achieved in which the F-score for the "has relation" set of the unigram sen­tence level is 98.39%, while 96.47% is achieved in the bigram sentence level indicating little if any systematic errors.</p></subsection><subsection number="5.3" title="CONTEXT Engine Evaluation"><p>The CONTEXT engine was adopted to discover the span of the medication list (the span between the medication heading and the next following head­ing). The rules which are used in the engine are based on the medication headings in the training set. Table 3 shows the performance of the test set for the CONTEXT engine.</p><p>Heading pairs <b>Precision F-Score</b></p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Testing</doubt><table caption="Table 3. System scores from SVM for determining Context."></table><p>An F-score of 97.14% was achieved with the CONTEXT engine.</p></subsection><subsection number="5.4" title="Final Output Evaluation"><p>The final evaluation tool used here is released from i2b2 National Center. Due to the errors in the NER, Relationship Classification and Medication Entry Generator, the final F-scores for each entity type are lower than in the NER processing. The final scores for the medication event are between 86.23% and 88.16% (see table 4). The main reason for per­formance decrease in DOSAGE, MODE, FREQUENCY, DURATION and REASON is because the low recall for the MEDICATION in the NER (computed using CRF). If these medications related entities were extracted without the MEDICATION, these entities could not be connected into medication entries, which make them meaningless in the final output. Another factor is the low performance of REASON extraction by the NER. The frequency of appear­ance of multiple REASONs is relatively high, and the multiple REASONs should be used to construct mul­tiple medication entries. In this way, the loss in REASON recognition would lead to the decrease in recall of all other entity types and the medication event.</p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">6</doubt><table caption="Table 4. Final evaluation scores for Medication Entry."></table><p><b>Conclusion</b></p><p>In this paper, a high accuracy and comprehensive medication event extraction system is presented. Compared to the three similar systems (see section 2), a better performance is achieved here, even through these systems have a narrower definition for medication event and a different evaluation me­tric. For example, the F-score of MEDICATION in Sirohi's system is 69.55%, whereas our system achieves 91.40%. As well, the F-score of the exact match for DRUG-DOSAGE event in the Evans's sys­tem is 86.76% and 87.92% is obtained in Gold's system for the MEDICATION in their medication event. In contrast, the MEDICATION in the medica­tion event of our system achieves an F-score of 89.16%~90.93%.</p><p>In future work, DURATION and REASON are the two main entities that need to be improved. One possible solution is to use the relationship between the medication and its corresponding diseases or symptoms to improve the REASON extraction. As to DURATION, increasing the training set to obtain more examples is probably the best strategy.</p></subsection></section><section title="Acknowledgments"><p>We would like to acknowledge the contribution of Stephen Crawshaw, Yefeng Wang and other mem­bers in the Health Information Technologies Re­search Laboratory.</p><p>Deidentified clinical records used in this research were provided by the i2b2 National Center for Biomedical Computing funded by U54LM008748 and were originally prepared for the Shared Tasks for Challenges in NLP for Clinical Data organized by Dr. Ozlem Uzuner, i2b2 and SUNY.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">3373</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">166</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">51</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">94.44%</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">100.00%</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">97.14%</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">99.58%</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">99.49%</doubt><p>RELATIONSHIP <u>(sentence pair)</u><page local="5" global="103"/></p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>Type</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Token Level F-Sore</b></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p><b>Entity F-Score</b></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Medication Entry</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>87.33%</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>88.16%</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>David A. Evans, Nicholas D. Brownlowt, William R. Hersh, and Emily M. Campbell. 1996. Automating Concept Identification in the Electionic Meidcal Record: An Experiment in Extracting Doseage Infor­mation. <i>AMIA 1996 Symposium Proceedings, </i>388-392</p><p>Sigfried Gold, Noémie Elhadad. and Xinxin Zhu. 2008. Extracting Structured Medication Event Inforamtion from Dicharge Summaries, <i>AMIA 2008 Symposium Proceedings, </i>237</p><p>Jon Patrick, Yefeng Wang and Peter Budd. 2007. An automated system for conversion of clinical notes into SNOMED clinical terminology, <i>in Proc. 5rdAustrala­sian symposium on ACSW frontiers, </i>68: 219-226.</p><doubt alpha="66.1" length="56" tooSmall="False" monospace="0.0">E. Sirohi, and P. Peissig. 2005. Study of Effect of Drug</doubt><p>Lexicons on Medication Extraction From Electronic Medical Records. <i>Pacifi Symposium on Biocomputing.</i></p><doubt alpha="0.0" length="11" tooSmall="False" monospace="0.0">10: 308-318</doubt><p>Walter V. Sujansky. 1998. The benefits and challenges of an electronic medical record: much more than a "word-processed" patient chart. <i>West J Med, </i>169(3):176-83.</p></references></body></article>