Package systole.domain.clinicalInformation

Examples of systole.domain.clinicalInformation.SportPatientId


     */
    @Override
    protected void save() {
        if (!this.isEditing()) {
            SportPatient sportPatient = (SportPatient) this.curretnEntity;
            sportPatient.setId(new SportPatientId(sportPatient.getSport().getId(), sportPatient.getPatient().getId()));
            this.patient.getSportsPatient().add(sportPatient);
        }
    }
View Full Code Here


        Sport sport = FacadeDB.getInstance().getSportSyncBroker().getSportByRemoteId(patientSportWs.getSportId());
        if (sport == null) {
            return null;
        }
        SportPatient sportPatient = new SportPatient();
        SportPatientId id = new SportPatientId(sport.getId(), patient.getId());
        sportPatient.setId(id);
        sportPatient.setSport(sport);
        sportPatient.setPatient(patient);
        Integer difAges = patient.getAge() - patientSportWs.getAgeAtStart();
        sportPatient.setAgeAtStartAsInteger(difAges);
View Full Code Here

TOP

Related Classes of systole.domain.clinicalInformation.SportPatientId

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.