<commit_before>/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * <EMAIL>
 * 
 * http://extjs.com/license
 */

Ext.onReady(function(){
  //  Ext.QuickTips.init();

  var ds = new Ext.data.Store({
        proxy: new Ext.data.HttpProxy({
            url: 'ComboDataAction.do'
        }),
        reader: new Ext.data.JsonReader({
            root: 'row',
            totalProperty: 'totalCount',
            id: 'id'
        }, [
              {name: 'excerpt', mapping: 'field'}
        ])
    });  

      var combo = new Ext.form.ComboBox({
        store: ds,
        displayField:'excerpt',
        typeAhead: true,
		width: 200,
	    pageSize:15,
		forceSelection: true  ,	
		queryParam : 'query',
		mode: 'remote', 
        triggerAction: 'all',
		minChars : 1,	
        
        selectOnFocus:true,
        applyTo: 'clinicaldiagnosis'
   });


});<commit_msg>Clinical diagnosis drop down updated as per bug 11091<commit_after>/*
 * Ext JS Library 2.0.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * <EMAIL>
 * 
 * http://extjs.com/license
 */

Ext.onReady(function(){
  //  Ext.QuickTips.init();

  var ds = new Ext.data.Store({
        proxy: new Ext.data.HttpProxy({
            url: 'ComboDataAction.do'
        }),
        reader: new Ext.data.JsonReader({
            root: 'row',
            totalProperty: 'totalCount',
            id: 'id'
        }, [
              {name: 'excerpt', mapping: 'field'}
        ])
    });  

      var combo = new Ext.form.ComboBox({
        store: ds,
        displayField:'excerpt',
        typeAhead: false,
		width: 200,
	    pageSize:15,
		forceSelection: true  ,	
		queryParam : 'query',
		mode: 'remote', 
        triggerAction: 'all',
		minChars : 3,	
		queryDelay : 300,
		typeAheadDelay : 900,
        selectOnFocus:true,
        applyTo: 'clinicaldiagnosis'
   });


});
{'fraction_non_alphanumeric': 0.14642082429501085, 'fraction_numerical': 0.02440347071583514, 'mean_word_length': 1.900943396226415, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2073769', 'n_tokens_mistral': 674, 'n_tokens_neox': 599, 'n_words': 134}