'Catch-all', 'is_active' => true, ]); $chev = Institute::create([ 'name' => 'Chevron', 'is_active' => true, ]); $cmch = Institute::create([ 'name' => 'CMCH', 'is_active' => true, ]); Institute::create([ 'name' => 'Dummy Site', 'is_active' => false, ]); $chev_xr = Facility::create( [ 'server_name' => 'Orthanc Main', 'host' => 'pacs.mylabctg.com', 'port' => 8042, 'ae_title' => 'RADFUSION', 'institute_id' => $chev->id, ] ); DB::table('institute_names')->insert([ 'name' => 'CHEVRON CLINICAL LABORATORY , PANCHLAISH,CTG', 'institute_id' => $chev->id, 'match_mode' => NameMatchModes::Exact->value, ]); DB::table('institute_names')->insert([ 'name' => 'CHEVRON CLINICAL', 'institute_id' => $chev->id, 'match_mode' => NameMatchModes::StartsWith->value, ]); OrthancHost::create( [ 'is_active' => true, 'server_name' => 'Orthanc Main', 'host' => 'pacs.mylabctg.com', 'port' => 8042, 'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/', 'ae_title' => 'RADFUSION', ] ); OrthancHost::create( [ 'is_active' => false, 'server_name' => 'Orthanc XR', 'host' => 'pacs.mylabctg.com', 'port' => 8043, 'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/', 'ae_title' => 'RADFUSION', 'institute_id' => $chev->id, 'facility_id' => $chev_xr->id, ] ); } }