Files
streamline-emr/docker/streamline-src/database/seeders/PointOfSaleSeeder.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

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']);
}
}