tokenStartIndex++;
}
BaseToken startToken = (BaseToken) tokens
.get(tokenStartIndex);
BaseToken endToken = token;
DrugChangeStatusToken fractionToken = null;
if (fsm.equals(iv_startStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(),DrugChangeStatusToken.START);
} else if (fsm.equals(iv_stopStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.STOP);
} else if (fsm.equals(iv_increaseFromStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.INCREASEFROM);
} else if (fsm.equals(iv_decreaseFromStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.DECREASEFROM);
} else if (fsm.equals(iv_increaseStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.INCREASE);
} else if (fsm.equals(iv_decreaseStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.DECREASE);
} else if (fsm.equals(iv_noChangeStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.NOCHANGE);
} else if (fsm.equals(iv_changeStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.OTHER);
} else if (fsm.equals(iv_sumStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.SUM);
} else if (fsm.equals(iv_maxStatusMachine)) {
fractionToken = new DrugChangeStatusToken(startToken
.getStartOffset(), endToken.getEndOffset(), DrugChangeStatusToken.MAX);
}
fractionSet.add(fractionToken);