Package clips.delegate.doctor.contraindication

Examples of clips.delegate.doctor.contraindication.ContraindicationLocal


    }

    @Override
    public Object getValueAt(int row, int col) {
        try {
            ContraindicationLocal cl = ii.get(row);
            switch (col) {
                case COL_DATE: {                   
                    return cl.getDate();
                }
                case COL_MATTER: {
                    return cl.getMatter();
                }
                default: return null;
            }
        } 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 && row < jTable.getRowCount()) {
                ContraindicationLocal ci = contraindicationList.get(row);
                if (getContainer() instanceof PanelEMC) {
                    try {
                        ((PanelEMC) getContainer()).selectInEmc(ci);
                    } catch (ClipsException ex) {
                        ex.printStackTrace();
View Full Code Here

        if (selectedServiceNode != null) {
            SerRenLocal selectedService = selectedServiceNode.getDelegate();
            try {
                DelegateNode leaf = null;
                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)) {
View Full Code Here

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

            List<ContraindicationLocal> contraindicationList = getContraindicationList();
            if (contraindicationList.size() > 0) {
                html += "<P><FONT COLOR=RED> <u>Непереносимость действующих веществ</u></FONT>";
                html += "<ul COLOR=RED>";
                for (int i = 0; i < contraindicationList.size(); i++) {
                    ContraindicationLocal contraindicationLocal = contraindicationList.get(i);
                    html += "<li><FONT COLOR=RED >"+ contraindicationLocal.getMatter().getTitle() +"</FONT></li>";
                }
                html += "</ul></P>";
            }
        } catch (ClipsException ex) {
            html += "<P><FONT COLOR=BLACK>Не доступна информация о противопоказаниях пациента</FONT></P>";
View Full Code Here

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

TOP

Related Classes of clips.delegate.doctor.contraindication.ContraindicationLocal

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.