예제 #1
0
 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);
 }