minor
This commit is contained in:
parent
0118f10c7a
commit
7bd8f2277b
10
app/Models/Enums/PatientSex.php
Normal file
10
app/Models/Enums/PatientSex.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Enums;
|
||||
|
||||
enum PatientSex: string
|
||||
{
|
||||
case Female = 'F';
|
||||
case Male = 'M';
|
||||
case Other = 'O';
|
||||
}
|
@ -19,7 +19,7 @@ public function up(): void
|
||||
$table->boolean('is_locked')->default(false);
|
||||
$table->unsignedTinyInteger('study_priority')->default(0);
|
||||
$table->string('patient_id')->nullable();
|
||||
$table->string('patient_uid')->nullable();
|
||||
$table->string('patient_uuid')->nullable()->index();
|
||||
$table->string('patient_name');
|
||||
$table->string('patient_sex')->nullable();
|
||||
$table->date('patient_birthdate')->nullable();
|
||||
@ -52,7 +52,7 @@ public function up(): void
|
||||
$table->timestamps();
|
||||
|
||||
$table->index(['referring_physician_id', 'receive_date']);
|
||||
$table->index(['institute_id', 'receive_date']);
|
||||
$table->index(['institute_id', 'receive_date', 'is_archived']);
|
||||
$table->index(['institute_id', 'report_status', 'study_priority', 'receive_date']);
|
||||
$table->index(['assigned_physician_id', 'report_status', 'study_priority', 'receive_date']);
|
||||
});
|
||||
|
@ -16,8 +16,8 @@ public function up(): void
|
||||
$table->text('surgical_history')->nullable();
|
||||
$table->text('lab_results')->nullable();
|
||||
$table->text('clinical_diagnosis')->nullable();
|
||||
$table->json('properties')->nullable();
|
||||
$table->json('series')->nullable();
|
||||
$table->jsonb('properties')->nullable();
|
||||
$table->jsonb('series')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user