}
if (curLine.getAlternativeMkbCode() == null || curLine.getAlternativeMkbCode().trim().isEmpty()){
curLine.setItems(new int[0]);
return;
}
MKBParser parser = new MKBParser(MKBParser.ParseLevel.soft);
try {
ArrayList<MKBCode> codes = parser.parse(curLine.getAlternativeMkbCode());
DirectoryMKB10 mkbDir = DirectoryLocator.getDirectory(DirectoryMKB10.class);
MKbSelector selector = new MKbSelector(mkbDir, MKbSelector.SelectType.single);
ArrayList<DirectoryMKB10Item> mkbItems = selector.getSelectedItem(codes);
int[] ids = new int[mkbItems.size()];
for (int i = 0; i < ids.length; i++) {