Added query to process nomenclaturalCode.