Files
streamline-emr/docker/streamline-src/database/seeders/MessageBoardTableSeeder.php
T
alec.turner a424394109 Build modified streamline images
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
2024-03-10 16:17:50 -07:00

30 lines
1006 B
PHP
Executable File

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
use Streamline\Models\MessageBoard;
class MessageBoardTableSeeder extends Seeder
{
/**
* Run the database seeders.
*
* @return void
*/
public function run()
{
$messages = ['<h1 style="text-align: left;"><span style="color: #008080;"><strong>Welcome to the Stre@mline system.</strong></span></h1>
<p style="text-align: left;">Stre@mline is designed to follow the patient journey from initial registration to triage, consultation, investigation, diagnosis and treatment and can be used by multi-disciplinary staff.</p>
<p style="text-align: left;">We have intergrated important patient safety prompts and resources.</p>
<p style="text-align: left;">Stre@mline takes care of data so that medics can take care of patients</p>'
];
foreach ($messages as $message):
MessageBoard::firstOrCreate([
"body" => $message
]);
endforeach;
}
}