/** * Load CPT modifiers for the specified code and reference date. * * @param cbo The combo box. * @param cptCode The CPT4 code. * @param refDate The reference date. */ public static void loadModifiers(Combobox cbo, String cptCode, String refDate) { cbo.getItems().clear(); addModifier(cbo, "^^0"); if (!StringUtils.isEmpty(cptCode)) { List<String> lst = VistAUtil.getBrokerSession().callRPCList("BGOVCPT GETMODS", null, cptCode + StrUtil.U + refDate); for (String s : lst) { addModifier(cbo, s); // Name ^ CPT Modifier Code ^ Modifier IEN } } cbo.setSelectedIndex(0); }
@Override public void doAfterCompose(Component comp) throws Exception { super.doAfterCompose(comp); // chart.getRenderer().setBaseItemLabelsVisible(true); //chart.setPeriod(Chart.MINUTE); //chart.setDateFormat("dd-MMM-yy"); chart.getXAxis().gridLineWidth = 0; chart.getYAxis().gridLineWidth = 0; chart.options.exporting.buttons_printButton.onclick = "cwf.print(this.container);"; setDateFormats(chart.options.plotOptions.tooltip.dateTimeLabelFormats); setDateFormats(chart.getXAxis().dateTimeLabelFormats); broker = VistAUtil.getBrokerSession(); cboUnits.setSelectedIndex(0); datRange.setSelectedIndex(0); btnEnterVitals.setVisible(EntryController.isEnabled()); selectData("", "RGCWVM GRID", "RGCWVM DETAIL", null); }
cboPriority.setSelectedIndex(priority < 0 || priority > 5 ? 0 : priority); loadNotes();
dateTypePicker.setSelectedIndex(idx == -1 ? 0 : idx); dateTypePicker.setReadonly(true); initDateFilter().setDateType(sortModePref);