function widget($varname, $patient) { global ${$varname}; return freemed::multiple_choice("SELECT id,eocdescrip,eocstartdate,eocdtlastsimilar " . "FROM " . $this->table_name . " WHERE " . "eocpatient='" . addslashes($patient) . "'", "##eocdescrip## (##eocstartdate## " . __("to") . " " . "##eocdtlastsimilar##)", $varname, ${$varname}, false); }