} else if (eventMention instanceof ProcedureMention) { //(eventMention.getTypeID()==CONST.NE_TYPE_ID_PROCEDURE) { ProcedureMention pm = (ProcedureMention) eventMention; pm.setBodyLocation(locationOfTextRelation); } else if (eventMention instanceof SignSymptomMention) { //(eventMention.getTypeID()==CONST.NE_TYPE_ID_FINDING) { SignSymptomMention ssm = (SignSymptomMention) eventMention;
ProcedureMention p = ((ProcedureMention)arg1); if(p.getBodyLocation() == null){ p.setBodyLocation(locRel); }else{ Annotation a = p.getBodyLocation().getArg2().getArgument(); int newSize = arg2.getEnd() - arg2.getEnd(); if(newSize > oldSize){ p.setBodyLocation(locRel);
ProcedureMention p = ((ProcedureMention)arg1); if(p.getBodyLocation() == null){ p.setBodyLocation(locRel); }else{ Annotation a = p.getBodyLocation().getArg2().getArgument(); int newSize = arg2.getEnd() - arg2.getEnd(); if(newSize > oldSize){ p.setBodyLocation(locRel);