Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.
Add/Evaluate SD-Rules
This session describes how to add/evaluate a Sd-Rule. Once this step is done, an optimized Sd-Rules set needs to be derived as the next step.
ln -sf ${NOM_D_DIR}/data/{$YEAR}/data/nomD.yes.data.type.S to nomD.yes.S.data
		shell> cd ${SUFFIX_D_DIR}/bin
		shell> GetSdRule ${YEAR}
		2
		nomD
	ln -sf ../../2013/data/orgD.yes.S.data to ${ORG_D_DIR}/data/${YEAR}/data/orgD.yes.S.data
		shell> cd ${SUFFIX_D_DIR}/bin
		shell> GetSdRule ${YEAR}
		2
		orgFacts
	
			
shell> ${SUFFIX_D_DIR}/bin/GetSuffixD ${YEAR}
			
0
			
			
			
shell>mkdir -p ${SUFFIX_D_DIR}/data/${YEAR}/dataR/SdRulesCheck/${YEAR}
			
			shell> cd ${SUFFIX_D_DIR}/bin
		shell> GetSdRule {YEAR}
		5
		SD_YEAR (${YEAR})
		TEST_RULE (es$|noun|ic$|noun)
		-- It is a root parent-rule (OK)! -- Good: no parents, duplicated, children rules found!
shell> cd ${SUFFIX_D_DIR}/bin
		shell> GetSdRule {YEAR}
		4
		year
		${YEAR}
		After add new Sd-rules to the SD-Rule set, must run the program to standardize the set:
shell> cd ${SUFFIX_D_DIR}/bin
		shell> GetSdRule {YEAR}
		3
		others
		Sd-Rule file (./data/Org/sdRules.data.${YEAR})
		PS. might need to run step 2 first
shell> cd ${SUFFIX_D_DIR}/bin
	shell> GetSuffixD ${YEAR}
	10
	suffix-1|cat1|suffix-2|cat2|status|source|relation
	Save ./data/suffixD.tbd.data.option to ./data/newRules
1,2,3,9,4