Package beans.doctor.sicklist.entity

Examples of beans.doctor.sicklist.entity.SicklistDetails


                    System.out.println(MessageBox.parseException(ex));
                    out.println(MessageBox.parseException(ex));
                }
            }
            if (diag != null) {
                SicklistDetails s = null;
                try {
                    //Проверить есть ли на данный диагноз и посещение больничный
                    s = updaterStattalonBean.get().getSicklist(diag.id);
                } catch (Exception ex) {
                    updaterStattalonBean.clear();
                    System.out.println(MessageBox.parseException(ex));
                    out.println(MessageBox.parseException(ex));
                    counter ++;
                    continue;
                }
                if (s == null) {
                    //Только если есть диагноз и больничный для него отсутствует в базе то создаем больничный
                    s = new SicklistDetails();
                }
                // s.organizationID = UserInfo.get().getCollaborator().getLpu().getID();
                EmcLocal emc = new EmcLocal(emcID, am);
                List<JobLocal> jobList = emc.getClient().getJobList();
                if (jobList.size() > 0) {
View Full Code Here


     * @throws ClipsServerException
     */
    @Override
    protected void onUpdate(Sicklist entity, EntityDetails details,
            AuditDoc auditDoc, List<AuditDoc> auditDocList) throws ClipsServerException{
        SicklistDetails d = (SicklistDetails) details;
    boolean        actionPreformed = false;
        //Разграничение по действиям
        //открытие больничного
        if (onOpen(entity, d)){
            actionPreformed = true;
View Full Code Here

    public SicklistLocal getSickListState(ArrayList<SerRenLocal> serrens) throws ClipsException {
        Set<Integer> serIds = new HashSet<Integer>();
        for (SerRenLocal serren : serrens) {
            serIds.add(serren.getID());
        }
        SicklistDetails details = getBean().getSickListData(serIds);
        if (details == null) {
            return null;
        }
        return new SicklistLocal(details, getAuditListener());
    }
View Full Code Here

    clientCache.initBy(cl);
    }

    @Override
    protected SicklistDetails getNewDetails() {
        SicklistDetails sicklistDetails = new SicklistDetails();
        sicklistDetails.sickLongList = new ArrayList<SickLongDetails>();
        return sicklistDetails;
    }
View Full Code Here

TOP

Related Classes of beans.doctor.sicklist.entity.SicklistDetails

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.