public PatientAlertLiteVo(ims.core.vo.beans.PatientAlertLiteVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.alerttype = bean.getAlertType() == null ? null : ims.core.vo.lookups.AlertType.buildLookup(bean.getAlertType()); this.iscurrentlyactivealert = bean.getIsCurrentlyActiveAlert(); this.sourceofinformation = bean.getSourceofInformation() == null ? null : ims.core.vo.lookups.SourceofInformation.buildLookup(bean.getSourceofInformation()); this.patient = bean.getPatient() == null ? null : new ims.core.patient.vo.PatientRefVo( new Integer(bean.getPatient().getId()), bean.getPatient().getVersion()); this.comments = bean.getComments(); this.dateidentified = bean.getDateIdentified() == null ? null : bean.getDateIdentified().buildPartialDate(); }