protected final void bindcmbSourceLookup() { this.form.cmbSource().clear(); ims.clinical.vo.lookups.PeriOpStageCollection lookupCollection = ims.clinical.vo.lookups.LookupHelper.getPeriOpStage(this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .cmbSource() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void bindcmbChartableOccurenceTypeLookup() { this.form.cmbChartableOccurenceType().clear(); ims.clinical.vo.lookups.ChartableOccuranceTypeCollection lookupCollection = ims.clinical.vo.lookups.LookupHelper.getChartableOccuranceType( this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .cmbChartableOccurenceType() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void bindcmbAnaesTypeLookup() { this.form.lyr1().tabSearch().cmbAnaesType().clear(); ims.clinical.vo.lookups.AnaestheticTypeCollection lookupCollection = ims.clinical.vo.lookups.LookupHelper.getAnaestheticType(this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .lyr1() .tabSearch() .cmbAnaesType() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void setcmbSourceLookupValue(int id) { ims.clinical.vo.lookups.PeriOpStage instance = ims.clinical.vo.lookups.LookupHelper.getPeriOpStageInstance( this.domain.getLookupService(), id); if (instance != null) this.form.cmbSource().setValue(instance); }
protected final void setcmbChartableOccurenceTypeLookupValue(int id) { ims.clinical.vo.lookups.ChartableOccuranceType instance = ims.clinical.vo.lookups.LookupHelper.getChartableOccuranceTypeInstance( this.domain.getLookupService(), id); if (instance != null) this.form.cmbChartableOccurenceType().setValue(instance); }
protected final void setcmbAnaesTypeLookupValue(int id) { ims.clinical.vo.lookups.AnaestheticType instance = ims.clinical.vo.lookups.LookupHelper.getAnaestheticTypeInstance( this.domain.getLookupService(), id); if (instance != null) this.form.lyr1().tabSearch().cmbAnaesType().setValue(instance); }