Examples of PatientFamilyWs


Examples of systole.synchronization.remote.ws.PatientFamilyWs

        }

        if (patient.getFamilyPatientBackgrounds() != null) {
            Iterator<FamilyPatientBackground> backgrounds = patient.getFamilyPatientBackgrounds().iterator();
            while (backgrounds.hasNext()) {
                PatientFamilyWs patientFamilyWs = this.convertToRemoteFamilyPatient(backgrounds.next());
                if (patientFamilyWs != null) {
                    patientWs.getFamilyBackground().add(patientFamilyWs);
                }
            }
        }
View Full Code Here

Examples of systole.synchronization.remote.ws.PatientFamilyWs

        FamilyRemote familyRemote = FacadeDB.getInstance().getFamilySyncBroker().getFamilyRemoteByFamily(background.getFamily());
        if (familyRemote == null) {
            return null;
        }
        PatientFamilyWs familyWs = new PatientFamilyWs();
        familyWs.setFamilyId(familyRemote.getRemoteId());
        familyWs.setBackgroundCardiac(background.getBackgroundCardiac() != null ? background.getBackgroundCardiac() : false);
        familyWs.setBackgroundCholesterol(background.getBackgroundCholesterol() != null ? background.getBackgroundCholesterol() : false);
        familyWs.setBackgroundDiabetic(background.getBackgroundDiabetic() != null ? background.getBackgroundDiabetic() : false);
        familyWs.setBackgroundHypertension(background.getBackgroundHypertension() != null ? background.getBackgroundHypertension() : false);
        return familyWs;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.