Package clips.delegate.service

Examples of clips.delegate.service.SerRenLocal$DiscountCardCache


    }

    public ArrayList<SerRenLocal> getSerRensByCollab(DirectoryCollaboratorFunctionsItem collab) throws ClipsException {
        ArrayList<SerRenLocal> serRens = new ArrayList<SerRenLocal>();
        for (int i = 0; i < getSerrenList().size(); i++) {
            SerRenLocal serRen = getSerrenList().get(i);
            if (serRen.isRendered() && serRen.getCollaboratorFunctions().getID() == collab.getID()) {
                serRens.add(serRen);
            }
        }
        return serRens;
    }
View Full Code Here


        ArrayList<String> serTitles = new ArrayList<String>();
        ArrayList<String> serUets = new ArrayList<String>();
        //TODO если посещение по МЭС, то УКЛ (уровень качества лечения)
        ArrayList<String> serUKLs = new ArrayList<String>();
        for (int i = 0; i < serrensInTap.size(); i++) {
            SerRenLocal serRen = serrensInTap.get(i);
            serDates.add(Converter.dateToString(serRen.getSerRenderDate(), "dd.MM.yy"));
            serTitles.add(serRen.getService().getFullCode());
            if (serRen.getCollaboratorFunctions().getReceptionType().getExtKey().contains("29")) {
                serUets.add(Double.toString(serRen.getUet()/100));
            }
        }
       
        data.put("service_dates", serDates);
        data.put("service_titles", serTitles);
View Full Code Here

            //Составим хеш результат - услуга
            List<SerRenLocal> serrenList = getDiseaseLocal().getSerrenList();
            SelectorEditable<MedSerrenResultData> resList = getResultList();
            HashMap<Integer, SerRenLocal> hash = new HashMap<Integer, SerRenLocal>();
            for (int i = 0; i < serrenList.size(); i++) {
                SerRenLocal serRenLocal = serrenList.get(i);
                for (int j = 0; j < resList.size(); j++) {
                    MedSerrenResultData res = resList.get(j);
                    if (res.getSerrenID() == serRenLocal.getID()) {
                        hash.put(res.getId(), serRenLocal);
                    }
                }
            }
            hashSerren.set(hash);
View Full Code Here

            return new ArrayList<SerRenLocal>();
        }

        @Override
        protected SerRenLocal createDelegate(ServiceRenderDetails d) throws Exception {
            return new SerRenLocal(DiseaseLocal.this, d, getAuditListener());
        }
View Full Code Here

        }
        @Override
        protected List<SerRenLocal> init() throws Exception {
            List<SerRenLocal> items = new ArrayList<SerRenLocal>();
            for (ServiceRenderDetails d: getBean().getServiceRendersNotInDisease()) {
                items.add(new SerRenLocal(d, getAuditListener()));
            }
            return items;
        }
View Full Code Here

private void btEmcActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btEmcActionPerformed
    if (tableErrors.getSelectedRowCount() > 0) {
        try {
            int row = tableErrors.getSelectedRowSorted();
            int serrenID = errorList.getSerrenID(row);
            SerRenLocal serren = new SerRenLocal(serrenID, getAuditManager());
            ClientLocal client = serren.getPolisData().getClient(getAuditManager());
            switch (errorList.getType(row)) {
                case ErrorList.SERREN_ERROR : {
                    PanelEMC panel = new PanelEMC(getContainer(), client);
                    getContainer().addNewPage(panel, this);
                    panel.selectInEmc(serren);
View Full Code Here

        @Override
        protected ArrayList<SerRenLocal> init() throws Exception {
            ArrayList<SerRenLocal> res = new ArrayList<SerRenLocal>();
            for (SickLongDetails sld  : getDetails().sickLongList) {
                res.add(new SerRenLocal(sld.serrenID, getAuditListener()));
            }
            return res;
        }
View Full Code Here

        this.dl2 = dl2;
    }
   
    @Override
    protected SerRenLocal init() throws Exception {
        return new SerRenLocal(dl2.getDetails().getServiceRenderID(), al);
    }
View Full Code Here

    public List<DirectionLocal> getDirectionList() throws ClipsException {
        List<DirectionLocal> directionLocals = new ArrayList<DirectionLocal>();
        try {
            List<DirectionDetails> list = getBean().getDirectionList();
            for(DirectionDetails d : list) {
                SerRenLocal serRen = new SerRenLocal(d.serviceRenderID, getAuditListener());
                DirectionLocal dir = new DirectionLocal(d, serRen, getAuditListener());
                directionLocals.add(dir);
            }
        } catch (Exception ex) {          
            clearBean();
View Full Code Here

    public List<ContraindicationLocal> getContraindicationList() throws ClipsException {
        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

TOP

Related Classes of clips.delegate.service.SerRenLocal$DiscountCardCache

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.