fix: auto-populate prescription content and lab content from pre-selected defaults

This commit is contained in:
SajjadMahmoody
2026-04-18 13:45:07 +03:30
parent bbb727cffe
commit 4abd856bf9
7 changed files with 147 additions and 22 deletions
+2
View File
@@ -11,6 +11,7 @@
use App\Models\SurgeryAppointment;
use App\Models\SurgeryCenter;
use App\Models\Treatment;
use App\Models\LabTest;
use App\Models\Visit;
use App\Observers\PatientIllnessObserver;
use App\Observers\PatientObserver;
@@ -31,6 +32,7 @@ public function boot(): void
Patient::observe($observer);
Patient::observe(PatientObserver::class);
Doctor::observe($observer);
LabTest::observe($observer);
Treatment::observe($observer);
Medication::observe($observer);
PaymentType::observe($observer);