feat: add lab tests, patient file management, and prescription improvements
This commit is contained in:
@@ -19,7 +19,9 @@ class Prescription extends Model
|
||||
'issue_datetime',
|
||||
'doctor',
|
||||
'medication_ids',
|
||||
'lab_test_ids',
|
||||
'content',
|
||||
'lab_content',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
@@ -27,6 +29,7 @@ protected function casts(): array
|
||||
return [
|
||||
'issue_datetime' => 'datetime',
|
||||
'medication_ids' => 'array',
|
||||
'lab_test_ids' => 'array',
|
||||
'created_at' => JalaliDatetime::class,
|
||||
'updated_at' => JalaliDatetime::class,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user