2 // Copyright (C) 2010 OpenEMR Support LLC
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License
5 // as published by the Free Software Foundation; either version 2
6 // of the License, or (at your option) any later version.
13 require_once(dirname(__FILE__
)."/../../interface/globals.php");
14 require_once($GLOBALS['srcdir'] . "/maviq_phone_api.php");
15 require_once($GLOBALS['srcdir'] . "/reminders.php");
20 <?php
html_header_show();?
>
21 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
22 <link rel
="stylesheet" href
="batchcom.css" type
="text/css">
24 <body
class="body_top">
25 <span
class="title"><?php
echo htmlspecialchars(xl('Patient Reminder Batch Job'), ENT_NOQUOTES
)?
></span
>
28 // Collect the sender information
37 <td
class='text' align
='left' colspan
="3"><br
>
39 <?php
$update_rem_log = update_reminders(); ?
>
41 <span
class="text"><?php
echo htmlspecialchars(xl('The patient reminders have been updated'), ENT_NOQUOTES
) . ":"?
></span
><br
>
42 <span
class="text"><?php
echo htmlspecialchars(xl('Total active actions'), ENT_NOQUOTES
) . ": " . $update_rem_log['total_active_actions'];?
></span
><br
>
43 <span
class="text"><?php
echo htmlspecialchars(xl('Total active reminders before update'), ENT_NOQUOTES
) . ": " . $update_rem_log['total_pre_active_reminders'];?
></span
><br
>
44 <span
class="text"><?php
echo htmlspecialchars(xl('Total unsent reminders before update'), ENT_NOQUOTES
) . ": " . $update_rem_log['total_pre_unsent_reminders'];?
></span
><br
>
45 <span
class="text"><?php
echo htmlspecialchars(xl('Total active reminders after update'), ENT_NOQUOTES
) . ": " . $update_rem_log['total_post_active_reminders'];?
></span
><br
>
46 <span
class="text"><?php
echo htmlspecialchars(xl('Total unsent reminders after update'), ENT_NOQUOTES
) . ": " . $update_rem_log['total_post_unsent_reminders'];?
></span
><br
>
47 <span
class="text"><?php
echo htmlspecialchars(xl('Total new reminders'), ENT_NOQUOTES
) . ": " . $update_rem_log['number_new_reminders'];?
></span
><br
>
48 <span
class="text"><?php
echo htmlspecialchars(xl('Total updated reminders'), ENT_NOQUOTES
) . ": " . $update_rem_log['number_updated_reminders'];?
></span
><br
>
49 <span
class="text"><?php
echo htmlspecialchars(xl('Total inactivated reminders'), ENT_NOQUOTES
) . ": " . $update_rem_log['number_inactivated_reminders'];?
></span
><br
>
50 <span
class="text"><?php
echo htmlspecialchars(xl('Total unchanged reminders'), ENT_NOQUOTES
) . ": " . $update_rem_log['number_unchanged_reminders'];?
></span
><br
>
52 <?php
$send_rem_log = send_reminders(); ?
>
54 <br
><span
class="text"><?php
echo htmlspecialchars(xl('The patient reminders have been sent'), ENT_NOQUOTES
) . ":"?
></span
><br
>
55 <span
class="text"><?php
echo htmlspecialchars(xl('Total unsent reminders before sending process'), ENT_NOQUOTES
) . ": " . $send_rem_log['total_pre_unsent_reminders'];?
></span
><br
>
56 <span
class="text"><?php
echo htmlspecialchars(xl('Total unsent reminders after sending process'), ENT_NOQUOTES
) . ": " . $send_rem_log['total_post_unsent_reminders'];?
></span
><br
>
57 <span
class="text"><?php
echo htmlspecialchars(xl('Total successful reminders sent via email'), ENT_NOQUOTES
) . ": " . $send_rem_log['number_success_emails'];?
></span
><br
>
58 <span
class="text"><?php
echo htmlspecialchars(xl('Total failed reminders sent via email'), ENT_NOQUOTES
) . ": " . $send_rem_log['number_failed_emails'];?
></span
><br
>
59 <span
class="text"><?php
echo htmlspecialchars(xl('Total successful reminders sent via phone'), ENT_NOQUOTES
) . ": " . $send_rem_log['number_success_calls'];?
></span
><br
>
60 <span
class="text"><?php
echo htmlspecialchars(xl('Total failed reminders sent via phone'), ENT_NOQUOTES
) . ": " . $send_rem_log['number_unchanged_reminders'];?
></span
><br
>
62 <br
><span
class="text"><?php
echo htmlspecialchars(xl('(Email delivery is immediate, while automated VOIP is sent to the service provider for further processing.)'), ENT_NOQUOTES
)?
></span
><br
><br
>