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
19 lines
884 B
PHP
Executable File
19 lines
884 B
PHP
Executable File
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Streamline\Models\Patient;
|
|
use Streamline\Models\PatientEpisode;
|
|
|
|
class PointOfSaleSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeders.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
Patient::firstOrCreate(['first_name' => 'Point Of Sale','last_name' => 'Customer (WALK-IN)','date_of_birth' => '2000-01-01','gender' => '2','marital_status' => '3','occupation_id' => '2','phone' => '0700000000','national_id' => '12345567','phone_owner' => 'other','insurance_status' => '0','category_id' => '3','religion_id' => '7','language' => 'eng','next_of_kin' => 'Dad Doe','next_of_kin_relationship' => '9','lc_one' => 'lc1','hospital_contact' => NULL,'district_id' => '4','county_id' => '65','subcounty_id' => '147','parish_id' => '451','village_id' => '2621','created_by' => '1','updated_by' => '1']);
|
|
}
|
|
}
|