Package systole.domain.clinicalInformation

Examples of systole.domain.clinicalInformation.SurgeryPatientId


     */
    @Override
    protected void save() {
        if (!this.isEditing()) {
            SurgeryPatient surgeryPatient = (SurgeryPatient) this.curretnEntity;
            surgeryPatient.setId(new SurgeryPatientId(surgeryPatient.getPatient().getId(), surgeryPatient.getSurgery().getId()));
            this.patient.getSurgeriesPatient().add(surgeryPatient);
        }
    }
View Full Code Here


        Surgery surgery = FacadeDB.getInstance().getSurgerySyncBroker().getSurgeryByRemoteId(patientSurgeryWs.getSurgeryId());
        if (surgery == null) {
            return null;
        }
        SurgeryPatient surgeryPatient = new SurgeryPatient();
        SurgeryPatientId id = new SurgeryPatientId(patient.getId(), surgery.getId());
        surgeryPatient.setId(id);
        surgeryPatient.setSurgery(surgery);
        surgeryPatient.setPatient(patient);
        surgeryPatient.setAgeAtSurgery(patientSurgeryWs.getAgeAtSurgery());
        return surgeryPatient;
View Full Code Here

TOP

Related Classes of systole.domain.clinicalInformation.SurgeryPatientId

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.