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

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