Knowledge-based system for the diagnosis and treatment of hypertension