/*******************************************************************************
 * Copyright 2016 Centre for Development of Advanced Computing(C-DAC), Pune
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package in.cdac.medinfo.csnotk.csnolib.icdmap;

/**
 * Defines constants related to SNOMED CT to ICD-10 code conversion to be used throughout the package. 
 *
 */
class MappingConstants {

	static final String CATAGORY_ID_MAP_SOURCE_PROPERLY_CLASSIFIED = "447637006";
	static final String CATAGORY_ID_MAP_SOURCE_CONTEXT_DEPENDENT = "447639009";
	static final String ICD_MAP_TABLE = "der2_refset_snomedctmapicd";
	static final byte ACTIVE = 1;
	static final int MAP_ALL_RECORD=200000;
	static final String NO_MAP_FOUND = "NO_MAP_FOUND";
	static final String MAP_FOUND = "MAP_FOUND";
	static final String INDETERMINATE_MAP = "INDETERMINATE_MAP";
	/*Lucene directory constant*/
	static final String MAP_INDEX="MapIndex";
	
	static final String dot=".";
	static final String ID=ICD_MAP_TABLE+dot+"ID";
	static final String EFFECTIVE_TIME=ICD_MAP_TABLE+dot+"EFFECTIVETIME";
	static final String ICD_ACTIVE=ICD_MAP_TABLE+dot+"ACTIVE";
	static final String MODULE_ID=ICD_MAP_TABLE+dot+"MODULEID";
	static final String REFSET_ID=ICD_MAP_TABLE+dot+"REFSETID";
	static final String REFERENCED_COMPONENT_ID=ICD_MAP_TABLE+dot+"REFERENCEDCOMPONENTID";	
	static final String MAP_GROUP=ICD_MAP_TABLE+dot+"MAPGROUP";
	static final String MAP_PRIORITY=ICD_MAP_TABLE+dot+"MAPPRIORITY";
	static final String MAP_RULE=ICD_MAP_TABLE+dot+"MAPRULE";
	static final String MAP_ADVICE=ICD_MAP_TABLE+dot+"MAPADVICE";
	static final String MAP_TARGET=ICD_MAP_TABLE+dot+"MAPTARGET";
	static final String CORRELATION_ID=ICD_MAP_TABLE+dot+"CORRELATIONID";
	static final String MAPCATEGORY_ID=ICD_MAP_TABLE+dot+"MAPCATEGORYID";
	
	
	
	
}
