reverted to plain text
This commit is contained in:
parent
fd8395d7ae
commit
1bec941b8c
@ -395,6 +395,11 @@ public function setReportStatus(ReportStatus $status, User|int|null $user = null
|
||||
$this->update($params);
|
||||
}
|
||||
|
||||
public function canEditReport(): bool
|
||||
{
|
||||
$this->report_status <= ReportStatus::Finalized;
|
||||
}
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
@ -409,9 +414,4 @@ protected function casts(): array
|
||||
'patient_birthdate' => 'immutable_date',
|
||||
];
|
||||
}
|
||||
|
||||
public function canEditReport(): bool
|
||||
{
|
||||
$this->report_status <= ReportStatus::Finalized;
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Casts\Compressed;
|
||||
use App\Models\Traits\HashableId;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
@ -41,10 +40,6 @@ protected function casts(): array
|
||||
'properties' => 'array',
|
||||
'series' => 'array',
|
||||
'assignment_log' => 'array',
|
||||
'clinical_history' => Compressed::class,
|
||||
'surgical_history' => Compressed::class,
|
||||
'lab_results' => Compressed::class,
|
||||
'clinical_diagnosis' => Compressed::class,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,10 @@ public function up(): void
|
||||
$table->foreignId('study_id')->unique()->constrained('studies')->cascadeOnDelete();
|
||||
$table->string('orthanc_uuid')->unique();
|
||||
// $table->foreignId('user_id')->constrained('users');
|
||||
$table->binary('clinical_history')->nullable();
|
||||
$table->binary('surgical_history')->nullable();
|
||||
$table->binary('lab_results')->nullable();
|
||||
$table->binary('clinical_diagnosis')->nullable();
|
||||
$table->text('clinical_history')->nullable();
|
||||
$table->text('surgical_history')->nullable();
|
||||
$table->text('lab_results')->nullable();
|
||||
$table->text('clinical_diagnosis')->nullable();
|
||||
$table->jsonb('dicom_properties')->nullable();
|
||||
$table->jsonb('properties')->nullable();
|
||||
$table->jsonb('series')->nullable();
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">{{ $title }}</h5>
|
||||
<p class="card-text text-wrap">
|
||||
{{ $content }}
|
||||
{!! nl2br(e($content)) !!}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user