Package beans.doctor.disease

Examples of beans.doctor.disease.DiseaseDetails


        Iterator i = list.iterator();
        List<Pair<DiseaseDetails, DiagnosisDetails>> detailsList = new ArrayList<Pair<DiseaseDetails, DiagnosisDetails>>();
        while(i.hasNext()) {
            Disease s = (Disease) i.next();
            DiagnosisDetails diagnosysDiagnosis = map.get(s);
            DiseaseDetails diseaseDetails = s.getDetails((RightChecker) this);
            detailsList.add(new Pair<DiseaseDetails, DiagnosisDetails>(diseaseDetails, diagnosysDiagnosis));
        }
        return detailsList;
    }
View Full Code Here


            if (list.size() == 1) {
                c.diseaseID = list.get(0).getId();
                return;
            } else {
                //Создаем новое заболевание
                DiseaseDetails d = new DiseaseDetails();
                d.collaboratorID = c.collID;
                d.created = c.date;
                d.dateReg = c.dataSt;
                d.emcID = c.emcID;
                d.extKey = c.nSyst;
View Full Code Here

    }

    private DiseaseDetails closeDisease(QuickInputChunk c,
            boolean needResult, ArrayList<AuditDetails> auditDetailsList) throws ClipsServerException {

        DiseaseDetails d = findEntity(Disease.class, c.diseaseID).getDetails(this);
        diseaseBean.initByID(c.diseaseID, getSessionId());
        if (c.resultID != 0) {
            d.closed = c.dateEnd == null ? c.date : c.dateEnd;
            d.closerID = c.collID;
        }
View Full Code Here

    }

    public void createDiseaseForEvent(FollowupEventData event) throws ClipsException {
        try {
            ModDisease modDisease = getBean().createDisease(event.getDetails());
            DiseaseDetails dd = modDisease.diseaseDetails;
            DiseaseLocal disease = new DiseaseLocal(getClient().getEMC(), dd, getAuditListener());
            getClient().getEMC().addDisease(disease);
            event.setDisease(disease);
            fireContentStateEvent();
            super.addChild(disease);
View Full Code Here

        super(diseaseID, auditListener);
    }

    @Override
    protected DiseaseDetails getNewDetails() {
        return new DiseaseDetails();
    }
View Full Code Here

TOP

Related Classes of beans.doctor.disease.DiseaseDetails

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.