private CareSpellVo copyFromShort(CareSpellWithoutEpisodesVo shortVo) { CareSpellVo tempVo = new CareSpellVo(shortVo.getID_CareSpell(), shortVo.getVersion_CareSpell()); if (shortVo == null) return null; tempVo.setID_CareSpell(shortVo.getID_CareSpell()); tempVo.setEndDate(shortVo.getEndDate()); tempVo.setStartDate(shortVo.getStartDate()); tempVo.setIsRIE(shortVo.getIsRIE()); tempVo.setPatient(shortVo.getPatient()); tempVo.setSysInfo(shortVo.getSysInfo()); tempVo.setEpisodes(new EpisodeofCareVoCollection()); tempVo.setCurrentStatus(shortVo.getCurrentStatus()); tempVo.setStatusHistory(shortVo.getStatusHistory()); return tempVo; }
private CareSpellVo copyFromShort(CareSpellWithoutEpisodesVo shortVo) { CareSpellVo tempVo = new CareSpellVo(shortVo.getID_CareSpell(),shortVo.getVersion_CareSpell()); if(shortVo == null) return null; tempVo.setID_CareSpell(shortVo.getID_CareSpell()); tempVo.setEndDate(shortVo.getEndDate()); tempVo.setStartDate(shortVo.getStartDate()); tempVo.setIsRIE(shortVo.getIsRIE()); tempVo.setPatient(shortVo.getPatient()); tempVo.setSysInfo(shortVo.getSysInfo()); tempVo.setEpisodes( new EpisodeofCareVoCollection()); tempVo.setCurrentStatus(shortVo.getCurrentStatus()); tempVo.setStatusHistory(shortVo.getStatusHistory()); return tempVo; }