data.put("reception_date", Converter.dateToString(date));
data.put("collaborator_fio", getCollaborator().toString());
data.put("collaborator_code", getCollaborator().getCode());
DirectoryDrugListItem drug = getDrug();
String str = drug.getMnn() != null ? drug.getMnn().getTitle() : null;
if (str == null) {
str = drug.getTradeName() != null ? drug.getTradeName().getTitle() : "";
}
data.put("rp", str);
if (drug.getDosage() != null) {
data.put("dosage", drug.getDosage());
}
str = "" + (drug.getDosageQuantity() != 0 ? drug.getDosageQuantity() : "");
data.put("quantity", str);
str = "" + (drug.getDosageUnit() != null ? drug.getDosageUnit().getTitle() : "");
data.put("signa", str);
FormReportCreator creater = cCreator.createFormReporter(getClass(), 1);
creater.createReport(null, null, data.entrySet(), null);
creater.finish();