void setContextFilter() { ContextFilterVo tempVo = new ContextFilterVo(); if (form.cmbContext().getValue() == null) { form.getGlobalContext().Clinical.setContextFilter(null); return; } tempVo.setContext(getIndexItem(form.cmbContext().getValue())); tempVo.setDateFrom(form.dteDateFrom().getValue()); tempVo.setDateTo(form.dteDateTo().getValue()); form.getGlobalContext().Clinical.setContextFilter(tempVo); }
void setContextFilter() { ContextFilterVo tempVo = new ContextFilterVo(); if(form.cmbContext().getValue() == null) { form.getGlobalContext().Clinical.setContextFilter(null); return; } tempVo.setContext(getIndexItem(form.cmbContext().getValue())); tempVo.setDateFrom(form.dteDateFrom().getValue()); tempVo.setDateTo(form.dteDateTo().getValue()); form.getGlobalContext().Clinical.setContextFilter(tempVo); }
private void initialize() { createdDynamicGridList(); // wdev-2689 if (ConfigFlag.DOM.READ_AUDIT_ENABLED.getValue() == true) { try { domain.recordReadAudit(form.getGlobalContext().Core.getPatientShort()); } catch (StaleObjectException e) { e.printStackTrace(); } } // WDEV-14909 // Set local context to show / not show cancelled care contexts form.getLocalContext().setShowCancelledContexts(ConfigFlag.UI.PATIENT_SUMMARY_SHOW_CANCELLED_CONTEXTS_BY_DEFAULT.getValue()); form.getContextMenus().getClinicalContactsListNewCareGroupingItem().setVisible(true); updateContextMenuState(); form.ctnSummary().setCollapsed(false); form.chkPatientView().setValue(true); form.ctnSummary().GroupDiagnosis().setValue(GenForm.ctnSummaryContainer.GroupDiagnosisEnumeration.rdoAllDiag); form.ctnSummary().GroupProcedure().setValue(GenForm.ctnSummaryContainer.GroupProcedureEnumeration.rdoAllProc); form.getGlobalContext().Clinical.setReturnToFormName(null);// wdev-1716 form.getGlobalContext().Clinical.setReturnToFormMode(null);// wdev-1716 if (!allowPatientSummaryCDIdisplay()) { form.ctnSummary().setCollapsed(true); form.ctnSummary().setVisible(false); } // wdev-13335 form.cmbContext().clear(); form.cmbContext().newRow("Care Spell", "Care Spell"); form.cmbContext().newRow("Episode of Care", "Episode of Care"); form.cmbContext().newRow("Care Context", "Care Context"); form.cmbContext().newRow("Clinical Contact", "Clinical Contact");// WDEV-14914 // wdev-13618 ContextFilterVo tempVo = form.getGlobalContext().Clinical.getContextFilter(); if (tempVo != null) { form.cmbContext().setValue(getContext(tempVo.getContext())); form.dteDateFrom().setValue(tempVo.getDateFrom()); form.dteDateTo().setValue(tempVo.getDateTo()); } // --------- cmbContextValueHasChanghed(); }
private void initialize() { // wdev-2689 if (ConfigFlag.DOM.READ_AUDIT_ENABLED.getValue() == true) { try { domain.recordReadAudit(form.getGlobalContext().Core.getPatientShort()); } catch (StaleObjectException e) { e.printStackTrace(); } } // WDEV-14909 // Set local context to show / not show cancelled care contexts form.getLocalContext().setShowCancelledContexts(ConfigFlag.UI.PATIENT_SUMMARY_SHOW_CANCELLED_CONTEXTS_BY_DEFAULT.getValue()); form.getContextMenus().getClinicalContactsListNewCareGroupingItem().setVisible(true); updateContextMenuState(); form.ctnSummary().setCollapsed(false); form.chkPatientView().setValue(true); form.ctnSummary().GroupDiagnosis().setValue(GenForm.ctnSummaryContainer.GroupDiagnosisEnumeration.rdoAllDiag); form.ctnSummary().GroupProcedure().setValue(GenForm.ctnSummaryContainer.GroupProcedureEnumeration.rdoAllProc); form.getGlobalContext().Clinical.setReturnToFormName(null);//wdev-1716 form.getGlobalContext().Clinical.setReturnToFormMode(null);//wdev-1716 if (!allowPatientSummaryCDIdisplay()) { form.ctnSummary().setCollapsed(true); form.ctnSummary().setVisible(false); } //wdev-13335 form.cmbContext().clear(); form.cmbContext().newRow("Care Spell","Care Spell"); form.cmbContext().newRow("Episode of Care","Episode of Care"); form.cmbContext().newRow("Care Context","Care Context"); form.cmbContext().newRow("Clinical Contact", "Clinical Contact");// WDEV-14914 //wdev-13618 ContextFilterVo tempVo = form.getGlobalContext().Clinical.getContextFilter(); if(tempVo != null) { form.cmbContext().setValue(getContext(tempVo.getContext())); form.dteDateFrom().setValue(tempVo.getDateFrom()); form.dteDateTo().setValue(tempVo.getDateTo()); } //--------- cmbContextValueHasChanghed(); }