Package systole.domain.clinicalInformation

Examples of systole.domain.clinicalInformation.PathologyPatientId


     */
    @Override
    protected void save() {
        if (!this.isEditing()) {
            PathologyPatient pathologyPatient = (PathologyPatient) this.curretnEntity;
            pathologyPatient.setId(new PathologyPatientId(pathologyPatient.getPathology().getId(), pathologyPatient.getPatient().getId()));
            this.patient.getPathologiesPatient().add(pathologyPatient);
        }
    }
View Full Code Here


        Pathology pathology = FacadeDB.getInstance().getPathologySyncBroker().getPathologyByRemoteId(patientPathologyWs.getPathologyId());
        if (pathology == null) {
            return null;
        }
        PathologyPatient pathologyPatient = new PathologyPatient();
        PathologyPatientId id = new PathologyPatientId(pathology.getId(), patient.getId());
        pathologyPatient.setId(id);
        Integer difAges = patient.getAge() - patientPathologyWs.getAgeAtStart();
        pathologyPatient.setAgeAtStartAsInteger(difAges);
        pathologyPatient.setCurrently(patientPathologyWs.isCurrently());
        pathologyPatient.setInherited(patientPathologyWs.isInherited());
View Full Code Here

TOP

Related Classes of systole.domain.clinicalInformation.PathologyPatientId

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.