From ba8e5a6b5b023acee64c7a3428f4443890813959 Mon Sep 17 00:00:00 2001 From: Masroor Ehsan Date: Sun, 29 Dec 2024 22:14:09 +0600 Subject: [PATCH] pt-id --- app/Services/Pacs/StudyImporter.php | 2 +- database/migrations/2024_12_27_060234_create_studies_table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Pacs/StudyImporter.php b/app/Services/Pacs/StudyImporter.php index 9be6958..576b788 100644 --- a/app/Services/Pacs/StudyImporter.php +++ b/app/Services/Pacs/StudyImporter.php @@ -95,7 +95,7 @@ private function prepareData(mixed $study): array 'institution_name' => $inst_name, 'institute_id' => $inst_id, - 'patient_uuid' => $study['ParentPatient'], + 'patient_uid' => $study['ParentPatient'], 'patient_id' => data_get($study, 'PatientMainDicomTags.PatientID'), 'patient_name' => data_get($study, 'PatientMainDicomTags.PatientName'), 'patient_sex' => data_get($study, 'PatientMainDicomTags.PatientSex'), diff --git a/database/migrations/2024_12_27_060234_create_studies_table.php b/database/migrations/2024_12_27_060234_create_studies_table.php index 2faa5d3..01e2925 100644 --- a/database/migrations/2024_12_27_060234_create_studies_table.php +++ b/database/migrations/2024_12_27_060234_create_studies_table.php @@ -20,7 +20,7 @@ public function up(): void $table->boolean('is_locked')->default(true); $table->unsignedTinyInteger('study_priority')->default(0); $table->string('patient_id')->nullable(); - $table->string('patient_uuid')->nullable(); + $table->string('patient_uid')->nullable(); $table->string('patient_name'); $table->string('patient_sex')->nullable(); $table->date('patient_birthdate')->nullable();