public IntraOperativeDetailsLiteVoBean(ims.clinical.vo.IntraOperativeDetailsLiteVo vo) { this.id = vo.getBoId(); this.version = vo.getBoVersion(); this.skinpreparationused = vo.getSkinPreparationUsed() == null ? null : vo.getSkinPreparationUsed().getBeanCollection(); this.dressing = vo.getDressing() == null ? null : vo.getDressing().getBeanCollection(); this.drains = vo.getDrains() == null ? null : (ims.clinical.vo.beans.DrainsVoBean) vo.getDrains().getBean(); this.patientposition = vo.getPatientPosition() == null ? null : (ims.vo.LookupInstanceBean) vo.getPatientPosition().getBean(); this.specimentype = vo.getSpecimenType(); this.histopathology = vo.getHistopathology(); this.microbiology = vo.getMicrobiology(); this.haematology = vo.getHaematology(); this.cytology = vo.getCytology(); this.otherskinpreparationused = vo.getOtherSkinPreparationUsed(); }