mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
An updated set of source files and initialization was provided by streamline to address issues observed during initial testing. These files have been updated in order to generate a new set of app images.
24 lines
576 B
PHP
24 lines
576 B
PHP
<?php
|
|
|
|
namespace Streamline\Services;
|
|
|
|
use Streamline\Models\StreamlineSetupStep;
|
|
|
|
class StreamlineSetupService implements StreamlineSetupServiceInterface
|
|
{
|
|
public function __construct(){}
|
|
|
|
public function saveStep($name, $status): bool
|
|
{
|
|
$streamline_setup = new StreamlineSetupStep;
|
|
$streamline_setup->step = "clinics registration";
|
|
$streamline_setup->completion_status = 1;
|
|
|
|
try {
|
|
$streamline_setup->save();
|
|
return true;
|
|
} catch (\Exception $exception) {
|
|
return false;
|
|
}
|
|
}
|
|
} |