Family family = FacadeDB.getInstance().getFamilySyncBroker().getFamilyByRemoteId(patientFamilyWs.getFamilyId());
if (family == null) {
return null;
}
FamilyPatientBackground familyPatientBackground = new FamilyPatientBackground();
FamilyPatientBackgroundId id = new FamilyPatientBackgroundId(family.getId(), patient.getId());
familyPatientBackground.setId(id);
familyPatientBackground.setFamily(family);
familyPatientBackground.setPatient(patient);
familyPatientBackground.setBackgroundCardiac(patientFamilyWs.isBackgroundCardiac());
familyPatientBackground.setBackgroundCholesterol(patientFamilyWs.isBackgroundCholesterol());