endToken = token;
}
BaseToken startToken = (BaseToken) tokens
.get(tokenStartIndex);
IllnessDxIndicator si = null;
if (m.equals(iv_brainDxMachine))
{
si = new IllnessDxIndicator(
startToken.getStartOffset(),
endToken.getEndOffset(),
IllnessDxIndicator.BRAIN_STATUS);
}
else if (m.equals(iv_breastDxMachine))
{
si = new IllnessDxIndicator(
startToken.getStartOffset(),
endToken.getEndOffset(),
IllnessDxIndicator.BREAST_STATUS);
}
else if (m.equals(iv_colonDxMachine))
{
si = new IllnessDxIndicator(
startToken.getStartOffset(),
endToken.getEndOffset(),
IllnessDxIndicator.COLON_STATUS);
}
else if (m.equals(iv_padDxMachine))
{
si = new IllnessDxIndicator(
startToken.getStartOffset(),
endToken.getEndOffset(),
IllnessDxIndicator.PAD_STATUS);
}
outSet.add(si);