feat: add lab tests, patient file management, and prescription improvements
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Observers;
|
||||
|
||||
use App\Models\PatientIllness;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
|
||||
class PatientIllnessObserver
|
||||
{
|
||||
public function saved(PatientIllness $patientIllness): void
|
||||
{
|
||||
Cache::forget('illness_options_1');
|
||||
Cache::forget('illness_options_2');
|
||||
}
|
||||
|
||||
public function deleted(PatientIllness $patientIllness): void
|
||||
{
|
||||
Cache::forget('illness_options_1');
|
||||
Cache::forget('illness_options_2');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user