Package systole.synchronization.remote.ws

Examples of systole.synchronization.remote.ws.PatientSurgeryWs


        }

        if (patient.getSurgeriesPatient() != null) {
            Iterator<SurgeryPatient> surgeries = patient.getSurgeriesPatient().iterator();
            while (surgeries.hasNext()) {
                PatientSurgeryWs patientSurgeryWs = this.convertToRemoteSurgeryPatient(surgeries.next());
                if (patientSurgeryWs != null) {
                    patientWs.getSurgeries().add(patientSurgeryWs);
                }
            }
        }
View Full Code Here


        }
        SurgeryRemote surgeryRemote = FacadeDB.getInstance().getSurgerySyncBroker().getSurgeryRemoteBySurgery(surgeryPatient.getSurgery());
        if (surgeryRemote == null) {
            return null;
        }
        PatientSurgeryWs patientSurgeryWs = new PatientSurgeryWs();
        patientSurgeryWs.setSurgeryId(surgeryRemote.getRemoteId());
        patientSurgeryWs.setAgeAtSurgery(surgeryPatient.getAgeAtSurgery() != null ? surgeryPatient.getAgeAtSurgery() : 0);
        return patientSurgeryWs;
    }
View Full Code Here

TOP

Related Classes of systole.synchronization.remote.ws.PatientSurgeryWs

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.