public void populate(ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.HcpLiteVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.mos = bean.getMos() == null ? null : bean.getMos().buildVo(map); this.hcptype = bean.getHcpType() == null ? null : ims.core.vo.lookups.HcpDisType.buildLookup(bean.getHcpType()); this.isactive = bean.getIsActive(); this.ishcparesponsiblehcp = bean.getIsHCPaResponsibleHCP(); this.isaresponsibleedclinician = bean.getIsAResponsibleEDClinician(); }
public void populate( ims.vo.ValueObjectBeanMap map, ims.core.vo.beans.ClinicalNotesFilterVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.discipline = bean.getDiscipline() == null ? null : ims.core.vo.lookups.HcpDisType.buildLookup(bean.getDiscipline()); this.datefrom = bean.getDateFrom() == null ? null : bean.getDateFrom().buildDateTime(); this.dateto = bean.getDateTo() == null ? null : bean.getDateTo().buildDateTime(); this.recordinguser = bean.getRecordingUser() == null ? null : bean.getRecordingUser().buildVo(map); this.status = bean.getStatus() == null ? null : ims.core.vo.lookups.ClinicalNotesStatus.buildLookup(bean.getStatus()); this.patient = bean.getPatient() == null ? null : bean.getPatient().buildVo(map); this.episodeofcare = bean.getEpisodeOfCare() == null ? null : new ims.core.admin.vo.EpisodeOfCareRefVo( new Integer(bean.getEpisodeOfCare().getId()), bean.getEpisodeOfCare().getVersion()); this.carecontext = bean.getCareContext() == null ? null : new ims.core.admin.vo.CareContextRefVo( new Integer(bean.getCareContext().getId()), bean.getCareContext().getVersion()); this.notetype = bean.getNoteType() == null ? null : ims.core.vo.lookups.ClinicalNoteType.buildLookup(bean.getNoteType()); this.forreview = bean.getForReview(); this.forreviewdiscipline = bean.getForReviewDiscipline() == null ? null : ims.core.vo.lookups.HcpDisType.buildLookup(bean.getForReviewDiscipline()); this.authoringhcp = bean.getAuthoringHCP() == null ? null : bean.getAuthoringHCP().buildVo(map); }
public ifMOSMessageQueueVo(ims.hl7.vo.beans.ifMOSMessageQueueVoBean bean) { this.id = bean.getId(); this.version = bean.getVersion(); this.name = bean.getName() == null ? null : bean.getName().buildVo(); this.stafftype = bean.getStaffType() == null ? null : ims.core.vo.lookups.StaffType.buildLookup(bean.getStaffType()); this.isactive = bean.getIsActive(); this.commchannels = ims.core.vo.CommChannelVoCollection.buildFromBeanCollection(bean.getCommChannels()); this.codemappings = ims.core.vo.TaxonomyMapCollection.buildFromBeanCollection(bean.getCodeMappings()); this.systeminformation = bean.getSystemInformation() == null ? null : bean.getSystemInformation().buildSystemInformation(); this.hcptype = bean.getHcpType() == null ? null : ims.core.vo.lookups.HcpDisType.buildLookup(bean.getHcpType()); }
private void loadAllCombos() { HcpDisTypeCollection coll = LookupHelper.getHcpDisType(domain.getLookupService()); // Hcp Type Filter && Hcp Select Type TreeNode[] rootNodes = coll.getRootNodes(); ArrayList<?> childColl; HcpDisType lookupInstance = null; for (int i = 0; i < rootNodes.length; i++) { HcpDisType lk = (HcpDisType) rootNodes[i]; form.lyrDetails().tabSelectHcpType().cmbSelectHcpType().newRow(lk, lk.getText()); if (lk.equals(HcpDisType.THERAPY)) { childColl = lk.getChildInstances(); for (int j = 0; j < childColl.size(); j++) { lookupInstance = (HcpDisType) childColl.get(j); form.lyrDetails() .tabTherapist() .cmbTherapistType() .newRow(lookupInstance, lookupInstance.getText()); } } else if (lk.equals(HcpDisType.NURSING)) { childColl = lk.getChildInstances(); for (int j = 0; j < childColl.size(); j++) { lookupInstance = (HcpDisType) childColl.get(j); form.lyrDetails() .tabNurse() .cmbNurseType() .newRow(lookupInstance, lookupInstance.getText()); } } else if (lk.equals(HcpDisType.MEDICAL)) { childColl = lk.getChildInstances(); for (int j = 0; j < childColl.size(); j++) { lookupInstance = (HcpDisType) childColl.get(j); form.lyrDetails() .tabMedic() .cmbMedicType() .newRow(lookupInstance, lookupInstance.getText()); } } else if (lk.equals(HcpDisType.OTHER)) { childColl = lk.getChildInstances(); for (int j = 0; j < childColl.size(); j++) { lookupInstance = (HcpDisType) childColl.get(j); form.lyrDetails().tabHcp().cmbHcpType().newRow(lookupInstance, lookupInstance.getText()); } } } }