dicom DDL

This commit is contained in:
Dr Masroor Ehsan 2025-01-28 22:04:40 +06:00
parent 9c6dddb7a0
commit 3b9f677804
2 changed files with 21 additions and 3 deletions

View File

@ -16,7 +16,8 @@ public function up(): void
$table->string('server_name')->unique(); $table->string('server_name')->unique();
$table->string('geo_code', 2)->index(); $table->string('geo_code', 2)->index();
$table->string('host'); $table->string('host');
$table->integer('port'); $table->integer('http_port');
$table->integer('dicom_port');
$table->string('rest_api_endpoint'); $table->string('rest_api_endpoint');
$table->string('ae_title')->nullable(); $table->string('ae_title')->nullable();
$table->string('username')->nullable(); $table->string('username')->nullable();

View File

@ -78,7 +78,8 @@ public function run(): void
'server_name' => 'CTG-1', 'server_name' => 'CTG-1',
'geo_code' => 'BD', 'geo_code' => 'BD',
'host' => 'pacs.mylabctg.com', 'host' => 'pacs.mylabctg.com',
'port' => 8042, 'http_port' => 8042,
'dicom_port' => 4242,
'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/', 'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/',
'wado_path' => 'dicom-web', 'wado_path' => 'dicom-web',
'ae_title' => 'RADFUSION', 'ae_title' => 'RADFUSION',
@ -86,13 +87,29 @@ public function run(): void
'ohif_viewer_path' => 'ohif/viewer', 'ohif_viewer_path' => 'ohif/viewer',
] ]
); );
DicomServer::create(
[
'is_active' => true,
'server_name' => 'HEL-1',
'geo_code' => 'FI',
'host' => 'helsinki.mylabctg.com',
'http_port' => 8042,
'dicom_port' => 4242,
'rest_api_endpoint' => 'http://helsinki.mylabctg.com:8042/',
'wado_path' => 'dicom-web',
'ae_title' => 'RADFUSION',
'stone_viewer_path' => 'stone-webviewer/index.html',
'ohif_viewer_path' => 'ohif/viewer',
]
);
DicomServer::create( DicomServer::create(
[ [
'is_active' => false, 'is_active' => false,
'server_name' => 'MAA-1', 'server_name' => 'MAA-1',
'host' => 'pacs.mylabctg.com', 'host' => 'pacs.mylabctg.com',
'geo_code' => 'IN', 'geo_code' => 'IN',
'port' => 8043, 'http_port' => 8043,
'dicom_port' => 4242,
'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/', 'rest_api_endpoint' => 'http://pacs.mylabctg.com:8042/',
'ae_title' => 'RADFUSION', 'ae_title' => 'RADFUSION',
'wado_path' => 'dicom-web', 'wado_path' => 'dicom-web',