Package clips.delegate.doctor.prescription

Examples of clips.delegate.doctor.prescription.PrescriptionLocal


    }

    @Override
    public Object getValueAt(int row, int col) {
        try {
            PrescriptionLocal prescription = ii.get(row);
            switch (col) {
                case COL_DATE: {
                    return prescription.getDate();
                }
                case COL_COLL: {
                    return prescription.getSerrenLocal().getSerRenDirector();
                }
            }
        } catch (ClipsException ex) {
            return new ErrorValue(ex);
        }
View Full Code Here


private void jTableMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTableMouseClicked
    if (evt.getClickCount() == 2) {
        int row = jTable.getSelectedRowSorted();
            if (row >=0 ) {
            PrescriptionLocal p = prescriptionLocals.get(row);
            if (getContainer() instanceof PanelEMC) {
                try {
                    ((PanelEMC) getContainer()).selectInEmc(p);
                } catch (ClipsException ex) {
                    ex.printStackTrace();
View Full Code Here

                if (aClass.equals(ContraindicationLocal.class)) {
                    leaf = new ContraindicationLocal(selectedService);
                } else if (aClass.equals(CheckupLocal.class)) {
                    leaf = new CheckupLocal(selectedService);
                } else if (aClass.equals(PrescriptionLocal.class)) {
                    leaf = new PrescriptionLocal(selectedService);
                } else if (aClass.equals(DirectionLocal.class)) {
                    leaf = new DirectionLocal(selectedService);
                } else if (aClass.equals(RecommendationLocal.class)) {
                    leaf = new RecommendationLocal(selectedService);
                } else if (aClass.equals(DiagnosisLocal.class)) {
View Full Code Here

        List<PrescriptionLocal> prescriptionLocals = new ArrayList<PrescriptionLocal>();
        try {
            List<PrescriptionDetails> list = getBean().getPrescriptionList();
            for(PrescriptionDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                PrescriptionLocal prescriptionLocal = new PrescriptionLocal(d, serRen, getAuditListener());
                prescriptionLocals.add(prescriptionLocal);
            }
        } catch (Exception ex) {          
            clearBean();
            throw new ClipsException("Не удалось загрузить список выписанных назначений",ex);
View Full Code Here

            super(contaner);
        }
       
        @Override
        protected PrescriptionLocal createDelegate(PrescriptionDetails d) throws Exception {
            return new PrescriptionLocal(d, SerRenLocal.this, getAuditListener());
        }
View Full Code Here

TOP

Related Classes of clips.delegate.doctor.prescription.PrescriptionLocal

Copyright © 2018 www.massapicom. 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.