4 * Executes the background service for billing, which sends EDI claims
5 * directly to the x-12 partner (if enabled)
8 * @link http://www.open-emr.org
9 * @author Ken Chapple <ken@mi-squared.com>
10 * @copyright Copyright (c) 2021 Ken Chapple <ken@mi-squared.com>
11 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
14 use OpenEMR\Billing\BillingProcessor\X12RemoteTracker
;
17 * This function is called by background services,
18 * reads the x12_remote_tracker table and sends
19 * files to x12 partners that are in the 'waiting'
22 function start_X12_SFTP()
24 if ($GLOBALS['auto_sftp_claims_to_x12_partner']) {
25 X12RemoteTracker
::sftpSendWaitingFiles();