Работа над журналом для ст. мед сестер

This commit is contained in:
brusnitsyn
2026-05-04 17:11:16 +09:00
parent f107ebd167
commit 7a58812072
61 changed files with 3532 additions and 1163 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class MedicalHistoryCorrection extends Model
{
protected $fillable = [
'medical_history_id',
'medical_card_number',
'full_name',
'birth_date',
'recipient_date',
'extract_date',
'death_date',
'male',
'urgency_id',
'hospital_result_id',
'visit_result_id',
];
protected $casts = [
'birth_date' => 'datetime',
'recipient_date' => 'datetime',
'extract_date' => 'datetime',
'death_date' => 'datetime',
];
public function medicalHistory()
{
return $this->belongsTo(MedicalHistory::class);
}
}