function hasRegExp(clPatient $patient) { $val = $patient->getInformation((string) $this->getAttributeCond('item')); $reg = (string) $this->getSxDef(); if ($val and ereg($reg, $val)) { return true; } return false; }