EMRModule(); } // end constructor // The EMR box; probably the most important part of this module function summary ($patient, $num_summary_items) { if (file_exists(freemed::image_filename( $patient, 'identification', 'djvu'))) { $buffer .= "
"; } else { $buffer .= __("No photographic identification on file."); } return $buffer; } // end method summary function summary_bar() { if (file_exists(freemed::image_filename($_REQUEST['id'], 'identification', 'djvu'))) { $buffer .= "".__("Update")." | ".__("Remove")."\n"; } else { $buffer .= "".__("Update")."\n"; } return $buffer; } // end method summary_bar } // end class PhotoIdView register_module ("PhotoIdView"); ?>