public class MedNormAnnotator
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
| Constructor and Description |
|---|
MedNormAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
normalizeDrug(Medication med,
org.apache.uima.jcas.cas.FSArray attrs)
Return a normalized form of RxNorm for med
eg) For a given medication information "Fluoxetine [Prozac] 4 MG/ML Oral Solution"
Return "fluoxetine
|
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic void process(org.apache.uima.jcas.JCas jcas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionprotected String normalizeDrug(Medication med, org.apache.uima.jcas.cas.FSArray attrs)
med - ConceptMention medicationattrs - medication attributes in FSArrayCopyright © 2018 JULIE Lab, Germany. All rights reserved.