fix(opd): remove nonexistent patient_id column from opd_fhir_documents insert

This commit is contained in:
DevSoftTech Server 2026-10-08 10:38:53 +05:30
parent c9f378870e
commit 91d7fe77d2

View File

@ -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,