data.financeSource = pr.getFinance().getId();
}
data.percent = pr.getPercent();
DloDrugList drug = pr.getDrug();
if (drug.getMnn() != null) {
data.mnn = drug.getMnn().getExtKey();
}
else {
if (drug.getTradeName() != null) {
data.trn = drug.getTradeName().getExtKey();
}
}
data.dosageForm = drug.getDosageForm() != null ? drug.getDosageForm().getExtKey() : "";
data.dosage = drug.getDosage();
data.dosageUnit = drug.getDosageUnit() != null ? drug.getDosageUnit().getExtKey() : "";
data.quantity = pr.getQuantity();
data.period = pr.getPeriod();
data.kek = pr.getKek() != null;
data.spCase = pr.getSpecialCase();