mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
50 lines
1.4 KiB
PHP
Executable File
50 lines
1.4 KiB
PHP
Executable File
<?php
|
|
|
|
namespace Streamline\Console;
|
|
|
|
use Illuminate\Console\Scheduling\Schedule;
|
|
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
|
|
use Streamline\Console\Commands\CorrectFinanceCommand;
|
|
use Streamline\Console\Commands\ImportCsvPriceListsCommand;
|
|
use Streamline\Console\Commands\MigrateInsuranceExpenditureCommand;
|
|
use Streamline\Console\Commands\SendAppointmentRemaindersCommand;
|
|
use Streamline\Console\Commands\ImportCsvItemsCommand;
|
|
use Streamline\Console\Commands\SetupCHICommand;
|
|
|
|
class Kernel extends ConsoleKernel {
|
|
/**
|
|
* The Artisan commands provided by your application.
|
|
*
|
|
* @var array
|
|
*/
|
|
|
|
protected $commands = [
|
|
// Publishing commands
|
|
SendAppointmentRemaindersCommand::class,
|
|
ImportCsvItemsCommand::class,
|
|
ImportCsvPriceListsCommand::class,
|
|
CorrectFinanceCommand::class,
|
|
SetupCHICommand::class,
|
|
MigrateInsuranceExpenditureCommand::class,
|
|
];
|
|
|
|
/**
|
|
* Define the application's command schedule.
|
|
*
|
|
* @param \Illuminate\Console\Scheduling\Schedule $schedule
|
|
* @return void
|
|
*/
|
|
protected function schedule(Schedule $schedule) {
|
|
$schedule->command('appointment:remainders')->dailyAt('09:00');
|
|
}
|
|
|
|
/**
|
|
* Register the Closure based commands for the application.
|
|
*
|
|
* @return void
|
|
*/
|
|
protected function commands() {
|
|
require base_path('routes/console.php');
|
|
}
|
|
}
|