diff --git a/app/Controllers/Opd_prescription.php b/app/Controllers/Opd_prescription.php index 36bbdf2..0710a2e 100644 --- a/app/Controllers/Opd_prescription.php +++ b/app/Controllers/Opd_prescription.php @@ -11960,7 +11960,6 @@ class Opd_prescription extends BaseController $this->db->table('opd_fhir_documents')->insert([ 'opd_id' => $opdId, 'opd_session_id' => $sessionId, - 'patient_id' => (int) ($patient['id'] ?? 0), 'bundle_type' => 'PrescriptionRecord', 'bundle_json' => $prescJson, 'generated_by' => $generatedBy,