Package cli_fmw.report

Examples of cli_fmw.report.FormReportCreator.finish()


    try {
        FormReportCreator creater = ReporterFactory.createFormReporter(getClass());
        HashMap<String, Object> extraFields = jobLocal.getPrintFields();
        extraFields.put("clientFIO", client.toString());
        creater.createReport(null, null, extraFields.entrySet(), null);
        creater.finish();
    } catch (ClipsException ex) {
        MessageBox.showException(ex);
    }
}//GEN-LAST:event_btPrintActionPerformed
View Full Code Here


    @Override
    public void print(CombinedReportCreator cCreator) throws ClipsException {
        FormReportCreator creater = cCreator.createFormReporter(getClass(), 1);
        creater.createReport(null, null, data.entrySet(), null);
        creater.finish();
    }
   
   
    /**
     * кеш диагноза
View Full Code Here

        data.put("clientEMC", client.getEMC().getID());
        data.put("recipeCollab", collab.getTitle());
        data.put("recipeVidal", itemData.getVidal().toString());
        data.put("recipeTake", itemData.getTakeDrug().toString());
        creater.createReport(null, null, data.entrySet(), null);
        creater.finish();
    }
   
    public TableModel getItemsTableModel() throws ClipsException {
        boolean canBeEdit = getSerrenLocal().canReadMedicalData();
        TableModelPrescription model = new TableModelPrescription(getPrescriptionItemList(), canBeEdit);
View Full Code Here

        HashMap<String, Object> data = new HashMap<String, Object>();
        data.put("client", getSerrenLocal().getPolisData().getClient(getAuditListener()).toString());
        data.put("date", Converter.dateToString(getDate()));
        data.put("collab", collab.toString());
        creater.createReport(null, null, data.entrySet(), getItemsTableModel());
        creater.finish();
    }
   
    /**
     *
     */
 
View Full Code Here

        String title = "Данные непереносимости действующих веществ";
        data.put("client", "Пациент: " + getSerrenLocal().getPolisData().getClient(getAuditListener()).toString());
        data.put("date", "Дата выписки: " + Converter.dateToString(getDate()));
        data.put("contraindication", "Непереносимость действующего вещества: " + getMatter().getTitle());
        creater.createReport(title, ops, data.entrySet(), null);
        creater.finish();
    }

    @Override
    public boolean isSignCorrect() throws ClipsException{
        //STUB
View Full Code Here

        data.put("recClient", getSerrenLocal().getPolisData().getClient(getAuditListener()).toString());
        data.put("recValue", value);
        data.put("recCollab", " " + serDirector.getTitle());
       
        creater.createReport(null, null, data.entrySet(), null);
        creater.finish();
    }
   
    @Override
    public Icon getIcon() {
        return icon;
View Full Code Here

        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();
    }

    @Override
    public boolean isSignCorrect() throws ClipsException{
        //STUB
View Full Code Here

        data.put("duration", String.valueOf(dur));
        data.put("date", Converter.dateToString(TimeLocal.getCurrentTime().getTime()));
        data.put("collab", UserInfo.get().getCollaboratorLocal().toString());

        creater.createReport(null, null, data.entrySet(), null);
        creater.finish();
    }

  private static final int        SICK_LIST_PAGE_WIGHT = 413;
  private static final int        SICK_LIST_SUBREPORT_PAGE_WIGHT = 350;
  public void printOverBlank() throws ClipsException{
View Full Code Here

    else{
      data.put("date_till_4", null);
    }

        creator.createReport(null, null, data.entrySet(), null);
        creator.finish();
    combined.finish();
  }

  class DECDiagnosis extends DelegateSecondaryCacheDgt<DiagnosisLocal>{
    SicklistBeanRemote.DiagType          type;
View Full Code Here

            extraData += "\n";
        }
        data.put("extra_data", extraData);

        creater.createReport(data, null);
        creater.finish();
    }
   
    public TableModel getItemsTableModel() throws ClipsException {
        return new TableModelFollowUpEvents(this);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.