/** * Instantiates a {@link NdcPropertiesModel} from the specified parameters. * * @param model the model */ public NdcPropertiesModel(NdcPropertiesModel model) { rxcui = model.getRxcui(); rxcuiName = model.getRxcuiName(); ndc11 = model.getNdc11(); ndc10 = model.getNdc10(); ndc9 = model.getNdc9(); splSetId = model.getSplSetId(); propertyList = new ArrayList<>(model.getPropertyList()); }
if (model.getRxcuiName() != null && rxcuiName != null) { if (analysisMode && !model.getRxcuiName().equals(rxcuiName)) { common.setRxcuiName(InfoModel.MULTIPLE_VALUES); } else if (model.getRxcuiName().equals(rxcuiName)) { common.setRxcuiName(rxcuiName); found = true;