diff --git a/app/Services/Pacs/Sync/Pipes/InsertStudies.php b/app/Services/Pacs/Sync/Pipes/InsertStudies.php index e9b6532..ac859a7 100644 --- a/app/Services/Pacs/Sync/Pipes/InsertStudies.php +++ b/app/Services/Pacs/Sync/Pipes/InsertStudies.php @@ -26,7 +26,6 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync $row = Study::create($payload['study']); $payload['details']['study_id'] = $row->id; - $payload['details']['orthanc_uuid'] = $orthanc_uuid; StudyDetails::create($payload['details']); audit() diff --git a/database/migrations/2024_12_28_144858_create_study_details_table.php b/database/migrations/2024_12_28_144858_create_study_details_table.php index bad9858..438c939 100644 --- a/database/migrations/2024_12_28_144858_create_study_details_table.php +++ b/database/migrations/2024_12_28_144858_create_study_details_table.php @@ -11,8 +11,6 @@ public function up(): void Schema::create('study_details', function (Blueprint $table) { $table->id(); $table->foreignId('study_id')->unique()->constrained('studies')->cascadeOnDelete(); - $table->string('orthanc_uuid')->unique(); - // $table->foreignId('user_id')->constrained('users'); $table->text('clinical_history')->nullable(); $table->text('surgical_history')->nullable(); $table->text('lab_results')->nullable();