* @link https://www.open-emr.org * +------------------------------------------------------------------------------+ * */ //Check if new patient is added to hooks function checkIfPatientValidationHookIsActive() { $module_query = sqlStatement("SELECT * FROM modules WHERE mod_name= 'Patientvalidation' and mod_active=1"); if (sqlNumRows($module_query)) { //if you want to check inactive active hook please uncheck the following comment //$s = "
" . xl("You are using patient validation module") . "
"; // echo $s; return true; } else { return false; } }