*/
public ClinicalInfoWs generateRemoteClinicalInformation(ClinicalInformation clinicalInformation) throws ExceptionDAO {
if (clinicalInformation == null) {
return null;
}
PatientRemote patientRemote = FacadeDB.getInstance().getPatientSyncBroker().getPatientRemoteByPatient(clinicalInformation.getPatient());
if (patientRemote == null) {
return null;
}
ClinicalInfoWs clinicalInfoWs = new ClinicalInfoWs();
clinicalInfoWs.setPatientId(patientRemote.getRemoteId());
clinicalInfoWs.setAge(clinicalInformation.getYears());
clinicalInfoWs.setDate(this.dateToXMLGregorianCalendar(clinicalInformation.getInformationDate()));
clinicalInfoWs.setWeight(clinicalInformation.getWeight());
clinicalInfoWs.setHeight(clinicalInformation.getHeight());
clinicalInfoWs.setHdl(clinicalInformation.getHdl());