package com.ezdi.client;

import java.util.HashMap;
import java.util.Map;

public class Test {

	public static void main(String[] args) {
	
		Map<String,String> codeMap= new HashMap<String, String>();
		codeMap.put("A00.0", "Vibrio cholerae 01<OR>biovar cholerae");
		codeMap.put("A01", "Typhoid<AND>paratyphoid fevers");
		codeMap.put("A15.5", "Tuberculosis<AND>(larynx<OR>trachea<AND>bronchus)");
		codeMap.put("A06.4", "Amebic liver abscess");
		codeMap.put("A01.01", "Typhoid meningitis");
		codeMap.put("A01.02", "Typhoid fever<AND>heart involvement");
		codeMap.put("A01.03","Abdominal  aortic <AND> aneurysm");
		
		String query="Abdominal  aortic <AND> aneurysm";

		String value = codeMap.get("A01.02");
		if (value != null) {
			query = query + " || (" + value + ")";
		}
		System.out.println("query: " + query);
		System.out.println("value: " + value);

	}

}

@@ -131,17 +131,16 @@
 args) %7B%0A
-%09
 %0A%09%09Map%3CS
@@ -145,16 +145,17 @@
 %3CString,
+ 
 String%3E 
@@ -161,16 +161,17 @@
  codeMap
+ 
 = new Ha
@@ -575,16 +575,17 @@
 A01.03%22,
+ 
 %22Abdomin
@@ -613,18 +613,16 @@
 rysm%22);%0A
-%09%09
 %0A%09%09Strin
@@ -628,17 +628,19 @@
 ng query
-=
+ = 
 %22Abdomin

change 1st