This commit is contained in:
Masroor Ehsan 2024-12-29 22:14:09 +06:00
parent 033bd8be0b
commit ba8e5a6b5b
2 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ private function prepareData(mixed $study): array
'institution_name' => $inst_name, 'institution_name' => $inst_name,
'institute_id' => $inst_id, 'institute_id' => $inst_id,
'patient_uuid' => $study['ParentPatient'], 'patient_uid' => $study['ParentPatient'],
'patient_id' => data_get($study, 'PatientMainDicomTags.PatientID'), 'patient_id' => data_get($study, 'PatientMainDicomTags.PatientID'),
'patient_name' => data_get($study, 'PatientMainDicomTags.PatientName'), 'patient_name' => data_get($study, 'PatientMainDicomTags.PatientName'),
'patient_sex' => data_get($study, 'PatientMainDicomTags.PatientSex'), 'patient_sex' => data_get($study, 'PatientMainDicomTags.PatientSex'),

View File

@ -20,7 +20,7 @@ public function up(): void
$table->boolean('is_locked')->default(true); $table->boolean('is_locked')->default(true);
$table->unsignedTinyInteger('study_priority')->default(0); $table->unsignedTinyInteger('study_priority')->default(0);
$table->string('patient_id')->nullable(); $table->string('patient_id')->nullable();
$table->string('patient_uuid')->nullable(); $table->string('patient_uid')->nullable();
$table->string('patient_name'); $table->string('patient_name');
$table->string('patient_sex')->nullable(); $table->string('patient_sex')->nullable();
$table->date('patient_birthdate')->nullable(); $table->date('patient_birthdate')->nullable();