Files
streamline-emr/docker/_streamline-src/database/seeders/MessageBoardTableSeeder.php
T

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;
}
}