
CREATE TABLE `medicine_bad_stock` (
  `id` int NOT NULL AUTO_INCREMENT,
  `medicine_batch_details_id` int DEFAULT NULL,
  `pharmacy_id` int DEFAULT NULL,
  `outward_date` date NOT NULL,
  `expiry_date` date NOT NULL,
  `batch_no` varchar(100) NOT NULL,
  `quantity` varchar(20) NOT NULL,
  `note` text,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `pharmacy_id` (`pharmacy_id`),
  KEY `medicine_batch_details_id` (`medicine_batch_details_id`),
  KEY `index_outward_date` (`outward_date`),
  KEY `index_expiry_date` (`expiry_date`),
  KEY `index_batch_no` (`batch_no`),
  KEY `index_quantity` (`quantity`),
  CONSTRAINT `medicine_bad_stock_ibfk_1` FOREIGN KEY (`pharmacy_id`) REFERENCES `pharmacy` (`id`) ON DELETE CASCADE,
  CONSTRAINT `medicine_bad_stock_ibfk_2` FOREIGN KEY (`medicine_batch_details_id`) REFERENCES `medicine_batch_details` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (1, 29, 95, '2022-04-01', '2023-08-31', '452', '200', '', '2022-04-01 06:20:42');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (4, 29, 95, '2022-04-15', '2022-11-30', '452', '400', '', '2022-04-01 06:23:08');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (5, 39, 96, '2022-04-18', '2022-10-31', '8552', '200', '', '2022-04-01 06:23:24');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (8, 29, 4, '2022-04-10', '2022-08-31', '452', '250', '', '2022-04-01 06:26:24');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (9, 31, 26, '2022-04-23', '2022-09-30', '450', '200', '', '2022-04-01 06:26:49');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (11, 44, 96, '2022-04-21', '2022-08-31', '4210', '100', '', '2022-04-01 06:29:01');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (12, 29, 95, '2022-04-28', '2022-11-30', '452', '100', '', '2022-04-01 06:30:08');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (13, 29, 95, '2022-04-17', '2023-07-31', '452', '100', '', '2022-04-01 06:30:55');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (14, 29, 95, '2022-04-01', '2022-08-31', '452', '200', '', '2022-04-01 06:34:49');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (16, 29, 95, '2022-04-01', '2023-11-30', '452', '100', '', '2022-04-01 06:37:53');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (17, 29, 95, '2022-04-01', '2023-12-31', '452', '2', '', '2022-04-01 06:39:33');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (18, 29, 95, '2022-04-13', '2022-08-31', '452', '1', '', '2022-04-01 06:42:58');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (21, 44, 96, '2022-06-20', '2022-10-31', '4210', '100', '', '2022-06-02 11:35:35');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (23, 11, 91, '2022-10-04', '2022-12-31', '852', '600', '', '2022-10-04 08:48:43');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (24, 46, 1, '2022-10-04', '2022-12-31', '4120', '200', '', '2022-10-04 08:52:04');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (25, 46, 1, '2022-10-04', '2022-12-31', '4120', '100', '', '2022-10-04 08:52:55');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (26, 22, 92, '2022-12-14', '2022-12-31', '1600', '200', '', '2022-10-04 08:56:51');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (27, 29, 4, '2022-12-15', '2023-01-31', '452', '500', '', '2022-11-03 12:16:08');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (28, 41, 84, '2023-05-04', '2023-08-31', '3432', '200', '', '2023-05-04 05:20:54');
INSERT INTO `medicine_bad_stock` (`id`, `medicine_batch_details_id`, `pharmacy_id`, `outward_date`, `expiry_date`, `batch_no`, `quantity`, `note`, `created_at`) VALUES (31, 120, 2, '2024-05-02', '2024-04-30', '230', '1', '', '2024-05-02 08:28:02');


#
# TABLE STRUCTURE FOR: medicine_batch_details
#


CREATE TABLE `medicine_batch_details` (
  `id` int NOT NULL AUTO_INCREMENT,
  `supplier_bill_basic_id` int DEFAULT NULL,
  `pharmacy_id` int DEFAULT NULL,
  `inward_date` datetime NOT NULL,
  `expiry` date NOT NULL,
  `batch_no` varchar(100) NOT NULL,
  `packing_qty` varchar(100) NOT NULL,
  `purchase_rate_packing` varchar(100) NOT NULL,
  `quantity` varchar(200) NOT NULL,
  `mrp` float(10,2) DEFAULT '0.00',
  `purchase_price` float(10,2) DEFAULT '0.00',
  `tax` float(10,2) DEFAULT '0.00',
  `sale_rate` float(10,2) DEFAULT '0.00',
  `batch_amount` float(10,2) DEFAULT '0.00',
  `amount` float(10,2) DEFAULT '0.00',
  `available_quantity` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `supplier_bill_basic_id` (`supplier_bill_basic_id`),
  KEY `pharmacy_id` (`pharmacy_id`),
  KEY `index_inward_date` (`inward_date`),
  KEY `index_expiry` (`expiry`),
  KEY `index_batch_no` (`batch_no`),
  KEY `index_packing_qty` (`packing_qty`),
  KEY `index_purchase_rate_packing` (`purchase_rate_packing`),
  KEY `index_quantity` (`quantity`),
  KEY `index_mrp` (`mrp`),
  KEY `index_purchase_price` (`purchase_price`),
  KEY `index_tax` (`tax`),
  KEY `index_sale_rate` (`sale_rate`),
  KEY `index_batch_amount` (`batch_amount`),
  KEY `index_amount` (`amount`),
  KEY `index_available_quantity` (`available_quantity`),
  CONSTRAINT `medicine_batch_details_ibfk_1` FOREIGN KEY (`supplier_bill_basic_id`) REFERENCES `supplier_bill_basic` (`id`) ON DELETE CASCADE,
  CONSTRAINT `medicine_batch_details_ibfk_2` FOREIGN KEY (`pharmacy_id`) REFERENCES `pharmacy` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=163 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (100, 90, 27, '2023-09-04 17:16:00', '2024-12-31', '768', '1000', '', '1000', '100.00', '50.00', '10.00', '50.00', '50.00', '50000.00', 1000, '2023-09-04 11:46:59');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (102, 92, 23, '2023-09-30 17:17:00', '2025-08-31', '30221', '1000', '', '1000', '25.00', '50.00', '10.00', '100.00', '50.00', '50000.00', 1000, '2023-09-04 11:49:05');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (103, 93, 4, '2023-09-15 17:19:00', '2024-11-30', '5646', '1000', '', '1000', '100.00', '50.00', '2.00', '50.00', '50.00', '50000.00', 1000, '2023-09-04 11:54:59');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (104, 94, 41, '2023-09-16 17:24:00', '2025-08-31', '34534', '1000', '', '1000', '50.00', '50.00', '10.00', '50.00', '100.00', '50000.00', 1000, '2023-09-04 11:57:06');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (105, 95, 91, '2023-09-25 17:27:00', '2024-08-31', '454', '1000', '', '1000', '50.00', '50.00', '2.00', '50.00', '100.00', '50000.00', 1000, '2023-09-04 11:58:31');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (106, 96, 86, '2023-09-28 17:28:00', '2025-10-31', '34222', '1000', '', '1000', '100.00', '50.00', '10.00', '50.00', '50.00', '50000.00', 1000, '2023-09-04 12:00:06');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (107, 97, 32, '2023-09-04 17:30:00', '2025-08-31', '12001', '1000', '', '1000', '50.00', '50.00', '10.00', '50.00', '100.00', '50000.00', 1000, '2023-09-04 12:10:11');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (108, 98, 64, '2023-09-12 17:40:00', '2025-07-31', '08906', '1000', '', '1000', '20.00', '55.00', '0.00', '50.00', '50.00', '55000.00', 1000, '2023-09-04 12:14:08');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (109, 99, 37, '2023-09-05 17:44:00', '2025-11-30', '0977', '1000', '', '1000', '55.00', '50.00', '0.00', '50.00', '50.00', '50000.00', 1000, '2023-09-04 12:15:54');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (110, 100, 95, '2023-09-14 17:54:00', '2025-08-31', '34534', '1000', '', '1000', '35.00', '55.00', '10.00', '55.00', '50.00', '55000.00', 1000, '2023-09-04 12:25:34');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (117, 107, 85, '2023-12-22 16:26:00', '2024-08-31', '3421', '500', '', '1000', '35.00', '30.00', '0.00', '100.00', '50.00', '30000.00', 1000, '2023-12-04 10:58:14');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (119, 109, 68, '2023-12-04 16:29:00', '2024-08-31', '6744', '500', '', '900', '35.00', '35.00', '0.00', '32.00', '25.00', '31500.00', 900, '2023-12-04 11:00:31');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (124, 114, 98, '2024-02-02 10:47:00', '2024-10-31', '533', '1000', '', '500', '50.00', '110.00', '10.00', '100.00', '55.00', '55000.00', 500, '2024-02-02 05:18:04');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (125, 115, 52, '2024-02-20 10:48:00', '2025-07-31', '674', '1000', '', '500', '78.00', '35.00', '0.00', '120.00', '55.00', '17500.00', 500, '2024-02-02 05:20:30');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (126, 116, 46, '2024-02-22 10:50:00', '2025-08-31', '674', '500', '', '500', '63.00', '100.00', '0.00', '120.00', '50.00', '50000.00', 500, '2024-02-02 05:21:44');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (127, 117, 44, '2024-02-18 14:30:00', '2025-11-30', '7553', '1000', '', '1000', '65.00', '55.00', '0.00', '120.00', '55.00', '55000.00', 1000, '2024-02-02 05:23:15');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (128, 118, 93, '2024-02-28 13:30:00', '2025-08-31', '8678', '1000', '', '1000', '60.00', '62.00', '10.00', '65.00', '80.00', '62000.00', 1000, '2024-02-02 05:28:24');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (129, 119, 90, '2024-02-12 11:00:00', '2025-11-30', '7843', '1000', '', '1000', '35.00', '60.00', '0.00', '80.00', '55.00', '60000.00', 1000, '2024-02-02 05:31:49');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (130, 120, 43, '2024-02-02 11:01:00', '2025-10-31', '78555', '60', '', '1000', '54.00', '1000.00', '0.00', '50.00', '30.00', '1000000.00', 1000, '2024-02-02 05:32:49');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (131, 121, 57, '2024-03-01 15:34:00', '2025-08-31', '57876', '1000', '', '500', '35.00', '32.00', '10.00', '30.00', '50.00', '16000.00', 500, '2024-03-01 10:05:52');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (132, 122, 76, '2024-03-05 15:35:00', '2025-07-31', '8976', '1000', '', '500', '35.00', '30.00', '10.00', '45.00', '50.00', '15000.00', 500, '2024-03-01 10:08:37');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (133, 123, 66, '2024-03-10 15:38:00', '2025-10-31', '8796', '5000', '', '2000', '50.00', '80.00', '10.00', '85.00', '100.00', '160000.00', 2000, '2024-03-01 10:10:05');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (134, 124, 56, '2024-03-12 16:30:00', '2025-07-31', '8675', '1000', '', '500', '40.00', '35.00', '5.00', '55.00', '50.00', '17500.00', 500, '2024-03-01 10:16:32');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (135, 125, 61, '2024-03-16 16:30:00', '2025-07-31', '3434', '1500', '', '1000', '100.00', '85.00', '0.00', '120.00', '55.00', '85000.00', 1000, '2024-03-01 10:18:22');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (137, 127, 46, '2024-03-28 20:30:00', '2025-10-31', '5675', '2000', '', '1000', '55.00', '64.00', '0.00', '50.00', '30.00', '64000.00', 1000, '2024-03-01 10:23:16');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (138, 128, 59, '2024-03-31 15:53:00', '2025-08-31', '0967', '1000', '', '1000', '35.00', '55.00', '0.00', '55.00', '50.00', '55000.00', 1000, '2024-03-01 10:24:48');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (139, 129, 83, '2024-03-23 15:54:00', '2026-06-30', '5465', '5000', '', '1000', '80.00', '62.00', '0.00', '60.00', '75.00', '62000.00', 1000, '2024-03-01 10:27:03');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (140, 130, 1, '2024-04-02 14:39:00', '2025-08-31', '4523', '1000', '', '500', '50.00', '60.00', '5.00', '35.00', '55.00', '30000.00', 500, '2024-04-02 09:10:26');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (141, 131, 84, '2024-04-16 14:41:00', '2025-12-31', '23442', '1000', '', '500', '35.00', '52.00', '0.00', '55.00', '45.00', '26000.00', 500, '2024-04-02 09:12:23');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (142, 132, 2, '2024-05-05 13:56:00', '2025-08-31', '09784', '500', '', '1000', '35.00', '30.00', '5.00', '15.00', '20.00', '30000.00', 1000, '2024-05-02 08:26:41');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (143, 133, 65, '2024-05-15 17:13:00', '2025-08-31', '3411', '500', '', '1000', '35.00', '25.00', '0.00', '30.00', '20.00', '25000.00', 1000, '2024-05-02 11:48:20');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (144, 134, 92, '2024-06-03 13:31:00', '2025-08-31', '56734', '500', '', '1000', '25.00', '26.00', '10.00', '15.00', '30.00', '26000.00', 1000, '2024-06-03 08:00:34');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (145, 135, 88, '2024-06-12 13:31:00', '2025-11-30', '978978', '500', '', '1000', '35.00', '30.00', '10.00', '25.00', '30.00', '30000.00', 1000, '2024-06-03 09:09:58');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (146, 136, 94, '2024-06-25 20:50:00', '2025-12-31', '7554', '500', '', '1000', '35.00', '25.00', '10.00', '20.00', '30.00', '25000.00', 1000, '2024-06-03 09:11:56');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (147, 137, 73, '2024-06-30 12:30:00', '2025-10-31', '789', '500', '', '1000', '35.00', '20.00', '10.00', '25.00', '30.00', '20000.00', 1000, '2024-06-03 09:13:25');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (148, 138, 46, '2024-07-01 17:30:00', '2025-08-31', '4352', '1000', '', '500', '25.00', '32.00', '10.00', '20.00', '35.00', '16000.00', 500, '2024-07-01 12:01:17');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (149, 139, 58, '2024-07-10 17:31:00', '2025-07-31', '6742', '1000', '', '500', '25.00', '22.00', '10.00', '20.00', '30.00', '11000.00', 500, '2024-07-01 12:02:32');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (150, 140, 24, '2024-07-15 17:32:00', '2025-10-31', '87978', '1000', '', '500', '35.00', '28.00', '10.00', '32.00', '30.00', '14000.00', 500, '2024-07-01 12:03:43');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (151, 141, 42, '2024-07-20 17:33:00', '2025-08-31', '655', '1000', '', '500', '35.00', '35.00', '10.00', '42.00', '40.00', '17500.00', 500, '2024-07-01 12:05:05');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (152, 142, 84, '2024-08-02 16:25:00', '2025-08-31', '45331', '1000', '', '500', '30.00', '25.00', '10.00', '40.00', '35.00', '12500.00', 500, '2024-08-02 10:55:30');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (153, 143, 2, '2024-08-10 16:26:00', '2026-08-31', '08978', '1000', '', '500', '67.00', '42.00', '5.00', '45.00', '50.00', '21000.00', 500, '2024-08-02 10:57:23');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (154, 144, 72, '2024-08-15 16:28:00', '2026-10-31', '898546', '1000', '', '500', '55.00', '45.00', '10.00', '45.00', '40.00', '22500.00', 500, '2024-08-02 10:58:56');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (155, 145, 95, '2024-10-05 10:11:00', '2026-08-31', '2341', '1000', '', '500', '45.00', '42.00', '10.00', '30.00', '40.00', '21000.00', 500, '2024-10-05 04:42:47');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (156, 146, 92, '2024-10-10 13:30:00', '2026-12-31', '4534', '1000', '', '500', '35.00', '32.00', '10.00', '25.00', '30.00', '16000.00', 500, '2024-10-05 04:43:50');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (157, 147, 84, '2024-11-06 15:50:00', '2025-08-31', '3652', '1000', '', '500', '30.00', '20.00', '10.00', '25.00', '34.00', '10000.00', 500, '2024-11-06 10:35:33');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (158, 148, 96, '2024-11-07 14:36:00', '2025-12-31', '455', '1000', '', '500', '35.00', '28.00', '10.00', '32.00', '30.00', '14000.00', 500, '2024-11-07 09:41:22');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (159, 149, 97, '2024-11-12 15:34:00', '2025-12-31', '4563', '1000', '', '500', '50.00', '42.00', '10.00', '45.00', '55.00', '21000.00', 500, '2024-11-07 10:04:54');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (160, 150, 2, '2024-11-20 15:36:00', '2025-11-30', '56756', '1000', '', '500', '60.00', '52.00', '5.00', '55.00', '65.00', '26000.00', 500, '2024-11-07 10:12:37');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (161, 151, 96, '2024-12-06 12:27:00', '2026-08-31', '3625', '1000', '', '500', '50.00', '35.00', '10.00', '40.00', '55.00', '17500.00', 500, '2024-12-06 06:58:51');
INSERT INTO `medicine_batch_details` (`id`, `supplier_bill_basic_id`, `pharmacy_id`, `inward_date`, `expiry`, `batch_no`, `packing_qty`, `purchase_rate_packing`, `quantity`, `mrp`, `purchase_price`, `tax`, `sale_rate`, `batch_amount`, `amount`, `available_quantity`, `created_at`) VALUES (162, 152, 3, '2024-12-10 12:41:00', '2026-11-30', '675', '1000', '', '500', '50.00', '38.00', '2.00', '40.00', '55.00', '19000.00', 500, '2024-12-06 07:11:47');


#
# TABLE STRUCTURE FOR: medicine_category
#


CREATE TABLE `medicine_category` (
  `id` int NOT NULL AUTO_INCREMENT,
  `medicine_category` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_medicine_category` (`medicine_category`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (1, 'Syrup', '2021-10-25 07:06:06');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (2, 'Capsule', '2021-10-25 07:06:12');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (3, 'Injection', '2021-10-25 07:06:18');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (4, 'Ointment', '2021-10-25 07:06:22');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (5, 'Cream', '2021-10-25 07:06:30');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (6, 'Surgical', '2021-10-25 07:06:36');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (7, 'Drops', '2021-10-25 07:06:41');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (8, 'Inhalers', '2021-10-25 07:06:49');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (9, 'Implants / Patches', '2021-10-25 07:06:54');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (10, 'Liquid', '2021-10-25 07:07:01');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (11, 'Preparations', '2021-10-25 07:07:09');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (12, 'Diaper	', '2021-10-25 07:07:19');
INSERT INTO `medicine_category` (`id`, `medicine_category`, `created_at`) VALUES (13, 'Tablet', '2021-10-25 07:07:25');


#
# TABLE STRUCTURE FOR: medicine_dosage
#


CREATE TABLE `medicine_dosage` (
  `id` int NOT NULL AUTO_INCREMENT,
  `medicine_category_id` int DEFAULT NULL,
  `dosage` varchar(100) NOT NULL,
  `units_id` int DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `medicine_category_id` (`medicine_category_id`),
  KEY `charge_units_id` (`units_id`),
  KEY `index_dosage` (`dosage`),
  CONSTRAINT `medicine_dosage_ibfk_1` FOREIGN KEY (`medicine_category_id`) REFERENCES `medicine_category` (`id`) ON DELETE CASCADE,
  CONSTRAINT `medicine_dosage_ibfk_2` FOREIGN KEY (`units_id`) REFERENCES `unit` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (1, 1, '1 ', 1, '2021-10-25 12:17:51');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (2, 2, '1', 8, '2021-10-25 12:18:58');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (3, 5, '1', 1, '2021-10-25 12:20:16');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (4, 7, '1', 4, '2021-10-25 12:20:24');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (5, 13, '1/2', 4, '2021-10-25 12:20:42');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (6, 13, '1', 5, '2021-10-25 12:20:49');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (7, 3, '0.5', 1, '2021-11-01 06:57:22');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (8, 3, '1', 4, '2021-11-01 06:59:19');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (9, 4, '1', 16, '2024-10-05 04:45:37');
INSERT INTO `medicine_dosage` (`id`, `medicine_category_id`, `dosage`, `units_id`, `created_at`) VALUES (10, 4, '2', 18, '2024-10-05 04:45:37');


#
# TABLE STRUCTURE FOR: medicine_group
#


CREATE TABLE `medicine_group` (
  `id` int NOT NULL AUTO_INCREMENT,
  `group_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_group_name` (`group_name`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_group` (`id`, `group_name`, `created_at`) VALUES (1, 'Antibacterials', '2024-08-28 08:17:12');
INSERT INTO `medicine_group` (`id`, `group_name`, `created_at`) VALUES (2, 'Antimycobacterials', '2024-08-28 08:17:12');
INSERT INTO `medicine_group` (`id`, `group_name`, `created_at`) VALUES (3, 'Antiparasitics', '2024-08-28 08:17:12');
INSERT INTO `medicine_group` (`id`, `group_name`, `created_at`) VALUES (4, 'Antigout agents', '2024-08-28 08:17:12');
INSERT INTO `medicine_group` (`id`, `group_name`, `created_at`) VALUES (5, 'HIPERIN', '2024-08-28 08:17:12');


#
# TABLE STRUCTURE FOR: medicine_supplier
#


CREATE TABLE `medicine_supplier` (
  `id` int NOT NULL AUTO_INCREMENT,
  `supplier` varchar(200) NOT NULL,
  `contact` varchar(200) NOT NULL,
  `supplier_person` varchar(200) NOT NULL,
  `supplier_person_contact` varchar(200) NOT NULL,
  `supplier_drug_licence` varchar(200) NOT NULL,
  `address` varchar(200) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_supplier` (`supplier`),
  KEY `index_contact` (`contact`),
  KEY `index_supplier_person` (`supplier_person`),
  KEY `index_supplier_person_contact` (`supplier_person_contact`),
  KEY `index_supplier_drug_licence` (`supplier_drug_licence`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;

INSERT INTO `medicine_supplier` (`id`, `supplier`, `contact`, `supplier_person`, `supplier_person_contact`, `supplier_drug_licence`, `address`, `created_at`) VALUES (1, 'SGS Pharmacy', '7864251478', 'Nitin Viraj', '7864251478', 'RTD-74586', 'Civil lines', '2021-10-25 07:08:04');
INSERT INTO `medicine_supplier` (`id`, `supplier`, `contact`, `supplier_person`, `supplier_person_contact`, `supplier_drug_licence`, `address`, `created_at`) VALUES (2, 'Anant Pharmacy', '9856478521', 'Anant Singh', '9856478521', 'SFR-96-HJNFV', '', '2021-10-25 07:08:38');
INSERT INTO `medicine_supplier` (`id`, `supplier`, `contact`, `supplier_person`, `supplier_person_contact`, `supplier_drug_licence`, `address`, `created_at`) VALUES (3, 'VKS Pharmacy', '7546985214', 'Vinay Shrivastava', '9754632587', 'DFDR555--000', 'Andheri, Mumbai', '2021-10-25 07:09:11');


#
# TABLE STRUCTURE FOR: messages
#


CREATE TABLE `messages` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(200) DEFAULT NULL,
  `template_id` varchar(100) NOT NULL,
  `message` text,
  `send_mail` varchar(10) DEFAULT '0',
  `send_sms` varchar(10) DEFAULT '0',
  `is_group` varchar(10) DEFAULT '0',
  `is_individual` varchar(10) DEFAULT '0',
  `file` varchar(200) NOT NULL,
  `group_list` text,
  `user_list` text,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_title` (`title`),
  KEY `index_send_mail` (`send_mail`),
  KEY `index_send_sms` (`send_sms`),
  KEY `index_is_group` (`is_group`),
  KEY `index_is_individual` (`is_individual`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3;

INSERT INTO `messages` (`id`, `title`, `template_id`, `message`, `send_mail`, `send_sms`, `is_group`, `is_individual`, `file`, `group_list`, `user_list`, `created_at`) VALUES (1, 'diwali message', '', '<p>Hello&nbsp;All&nbsp;<strong>,</strong></p>\r\n\r\n<p>Wish<strong>&nbsp;</strong>you a very happy and wonderful&nbsp;Holi. May your life always be filled with the colors of joy and happiness. Happy&nbsp;Holi. May God paint the canvas of your life with the colors of joy, love, happiness, prosperity, good health and success.</p>\r\n\r\n<p>&nbsp;From</p>\r\n\r\n<p>Medical Department , Ravi&nbsp;Memorial Medical College, Raipur</p>\r\n', '1', '0', '1', '0', '', '[]', NULL, '2021-10-30 09:25:44');
INSERT INTO `messages` (`id`, `title`, `template_id`, `message`, `send_mail`, `send_sms`, `is_group`, `is_individual`, `file`, `group_list`, `user_list`, `created_at`) VALUES (2, 'test', '', '<p>ttttt</p>\r\n', '1', '0', '1', '0', '', '[]', NULL, '2024-08-30 11:20:44');


#
# TABLE STRUCTURE FOR: migrations
#


CREATE TABLE `migrations` (
  `version` bigint NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

#
# TABLE STRUCTURE FOR: notification_roles
#


CREATE TABLE `notification_roles` (
  `id` int NOT NULL AUTO_INCREMENT,
  `send_notification_id` int DEFAULT NULL,
  `role_id` int DEFAULT NULL,
  `is_active` int DEFAULT '0',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `send_notification_id` (`send_notification_id`),
  KEY `role_id` (`role_id`),
  CONSTRAINT `notification_roles_ibfk_1` FOREIGN KEY (`send_notification_id`) REFERENCES `send_notification` (`id`) ON DELETE CASCADE,
  CONSTRAINT `notification_roles_ibfk_2` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1393 DEFAULT CHARSET=utf8mb3;

INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1017, 171, 2, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1018, 171, 3, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1019, 171, 4, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1020, 171, 7, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1021, 171, 8, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1022, 171, 9, 0, '2024-03-01 05:47:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1023, 172, 3, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1024, 172, 4, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1025, 172, 5, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1026, 172, 6, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1027, 172, 7, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1028, 172, 9, 0, '2024-03-01 05:47:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1041, 175, 1, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1042, 175, 2, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1043, 175, 3, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1044, 175, 4, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1045, 175, 5, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1046, 175, 6, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1047, 175, 7, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1048, 175, 8, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1049, 175, 9, 0, '2024-04-01 08:11:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1050, 176, 3, 0, '2024-04-01 08:11:35');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1051, 176, 4, 0, '2024-04-01 08:11:35');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1052, 176, 5, 0, '2024-04-01 08:11:35');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1053, 176, 7, 0, '2024-04-01 08:11:35');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1054, 176, 9, 0, '2024-04-01 08:11:35');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1055, 177, 2, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1056, 177, 3, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1057, 177, 5, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1058, 177, 6, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1059, 177, 7, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1060, 177, 9, 0, '2024-04-01 08:12:09');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1061, 178, 3, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1062, 178, 4, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1063, 178, 5, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1064, 178, 6, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1065, 178, 7, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1066, 178, 9, 0, '2024-04-01 08:12:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1067, 179, 1, 0, '2024-04-01 08:13:06');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1068, 179, 3, 0, '2024-04-01 08:13:06');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1069, 179, 7, 0, '2024-04-01 08:13:06');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1070, 180, 1, 0, '2024-04-01 08:16:33');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1071, 180, 7, 0, '2024-04-01 08:16:33');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1072, 180, 9, 0, '2024-04-01 08:16:33');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1073, 181, 1, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1074, 181, 2, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1075, 181, 3, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1076, 181, 5, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1077, 181, 7, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1078, 181, 8, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1079, 181, 9, 0, '2024-05-01 10:29:53');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1080, 182, 2, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1081, 182, 3, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1082, 182, 4, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1083, 182, 5, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1084, 182, 7, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1085, 182, 9, 0, '2024-05-01 10:30:22');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1086, 183, 1, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1087, 183, 2, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1088, 183, 3, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1089, 183, 4, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1090, 183, 5, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1091, 183, 6, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1092, 183, 7, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1093, 183, 8, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1094, 183, 9, 0, '2024-05-01 10:30:51');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1095, 184, 3, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1096, 184, 4, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1097, 184, 5, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1098, 184, 6, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1099, 184, 7, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1100, 184, 9, 0, '2024-05-01 10:31:19');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1101, 185, 2, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1102, 185, 3, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1103, 185, 4, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1104, 185, 5, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1105, 185, 6, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1106, 185, 7, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1107, 185, 9, 0, '2024-05-01 10:32:10');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1108, 186, 1, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1109, 186, 2, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1110, 186, 3, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1111, 186, 4, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1112, 186, 5, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1113, 186, 6, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1114, 186, 7, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1115, 186, 8, 0, '2024-06-01 05:29:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1116, 187, 1, 0, '2024-06-01 05:31:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1117, 187, 3, 0, '2024-06-01 05:31:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1118, 187, 5, 0, '2024-06-01 05:31:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1119, 187, 7, 0, '2024-06-01 05:31:04');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1120, 188, 1, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1121, 188, 2, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1122, 188, 3, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1123, 188, 4, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1124, 188, 5, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1125, 188, 6, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1126, 188, 7, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1127, 188, 8, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1128, 188, 9, 0, '2024-06-01 05:31:44');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1129, 189, 1, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1130, 189, 2, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1131, 189, 3, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1132, 189, 4, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1133, 189, 5, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1134, 189, 6, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1135, 189, 7, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1136, 189, 9, 0, '2024-06-01 05:32:34');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1137, 190, 1, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1138, 190, 2, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1139, 190, 3, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1140, 190, 4, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1141, 190, 5, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1142, 190, 6, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1143, 190, 7, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1144, 190, 8, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1145, 190, 9, 0, '2024-06-01 05:36:41');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1146, 191, 1, 0, '2024-06-01 05:39:24');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1147, 191, 7, 0, '2024-06-01 05:39:24');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1148, 191, 9, 0, '2024-06-01 05:39:24');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1149, 192, 1, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1150, 192, 2, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1151, 192, 3, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1152, 192, 4, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1153, 192, 5, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1154, 192, 6, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1155, 192, 7, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1156, 192, 8, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1157, 192, 9, 0, '2024-07-01 08:01:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1158, 193, 1, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1159, 193, 2, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1160, 193, 3, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1161, 193, 5, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1162, 193, 6, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1163, 193, 7, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1164, 193, 9, 0, '2024-07-01 08:01:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1165, 194, 1, 0, '2024-07-01 08:02:20');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1166, 194, 3, 0, '2024-07-01 08:02:20');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1167, 194, 7, 0, '2024-07-01 08:02:20');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1168, 195, 2, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1169, 195, 3, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1170, 195, 4, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1171, 195, 5, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1172, 195, 7, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1173, 195, 9, 0, '2024-07-01 08:02:58');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1174, 196, 2, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1175, 196, 3, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1176, 196, 4, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1177, 196, 5, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1178, 196, 6, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1179, 196, 7, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1180, 196, 8, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1181, 196, 9, 0, '2024-07-01 08:03:40');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1182, 197, 3, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1183, 197, 4, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1184, 197, 5, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1185, 197, 6, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1186, 197, 7, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1187, 197, 8, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1188, 197, 9, 0, '2024-07-01 08:04:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1189, 198, 1, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1190, 198, 2, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1191, 198, 3, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1192, 198, 4, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1193, 198, 5, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1194, 198, 6, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1195, 198, 7, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1196, 198, 8, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1197, 198, 9, 0, '2024-08-01 06:09:52');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1198, 199, 1, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1199, 199, 2, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1200, 199, 3, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1201, 199, 4, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1202, 199, 5, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1203, 199, 6, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1204, 199, 7, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1205, 199, 8, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1206, 199, 9, 0, '2024-08-01 06:10:29');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1207, 200, 1, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1208, 200, 2, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1209, 200, 3, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1210, 200, 4, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1211, 200, 5, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1212, 200, 6, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1213, 200, 7, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1214, 200, 8, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1215, 200, 9, 0, '2024-08-01 06:11:00');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1216, 201, 1, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1217, 201, 2, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1218, 201, 3, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1219, 201, 4, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1220, 201, 5, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1221, 201, 6, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1222, 201, 7, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1223, 201, 8, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1224, 201, 9, 0, '2024-08-01 06:11:54');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1225, 202, 1, 0, '2024-08-01 06:12:50');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1226, 202, 3, 0, '2024-08-01 06:12:50');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1227, 202, 7, 0, '2024-08-01 06:12:50');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1228, 203, 1, 0, '2024-08-01 06:13:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1229, 203, 6, 0, '2024-08-01 06:13:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1230, 203, 7, 0, '2024-08-01 06:13:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1231, 203, 9, 0, '2024-08-01 06:13:30');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1232, 204, 1, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1233, 204, 2, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1234, 204, 3, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1235, 204, 4, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1236, 204, 5, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1237, 204, 6, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1238, 204, 7, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1239, 204, 8, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1240, 204, 9, 0, '2024-08-01 06:13:59');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1241, 205, 3, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1242, 205, 4, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1243, 205, 5, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1244, 205, 7, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1245, 205, 8, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1246, 205, 9, 0, '2024-08-31 05:46:47');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1247, 206, 1, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1248, 206, 2, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1249, 206, 3, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1250, 206, 4, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1251, 206, 5, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1252, 206, 7, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1253, 206, 9, 0, '2024-10-03 07:19:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1254, 207, 1, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1255, 207, 2, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1256, 207, 3, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1257, 207, 4, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1258, 207, 5, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1259, 207, 6, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1260, 207, 7, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1261, 207, 8, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1262, 207, 9, 0, '2024-10-03 07:19:46');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1263, 208, 2, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1264, 208, 3, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1265, 208, 4, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1266, 208, 5, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1267, 208, 6, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1268, 208, 7, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1269, 208, 8, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1270, 208, 9, 0, '2024-10-03 07:20:11');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1271, 209, 3, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1272, 209, 4, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1273, 209, 5, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1274, 209, 6, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1275, 209, 7, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1276, 209, 9, 0, '2024-10-03 07:20:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1277, 210, 1, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1278, 210, 2, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1279, 210, 3, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1280, 210, 4, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1281, 210, 5, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1282, 210, 6, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1283, 210, 7, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1284, 210, 8, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1285, 210, 9, 0, '2024-10-03 07:22:03');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1286, 211, 2, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1287, 211, 3, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1288, 211, 4, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1289, 211, 5, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1290, 211, 6, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1291, 211, 7, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1292, 211, 9, 0, '2024-10-03 07:22:37');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1293, 212, 3, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1294, 212, 4, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1295, 212, 5, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1296, 212, 6, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1297, 212, 7, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1298, 212, 8, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1299, 212, 9, 0, '2024-10-03 07:23:18');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1300, 213, 1, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1301, 213, 2, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1302, 213, 3, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1303, 213, 4, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1304, 213, 5, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1305, 213, 6, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1306, 213, 7, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1307, 213, 8, 0, '2024-11-06 06:56:55');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1308, 214, 1, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1309, 214, 2, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1310, 214, 3, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1311, 214, 4, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1312, 214, 5, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1313, 214, 6, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1314, 214, 7, 0, '2024-11-06 06:57:31');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1315, 215, 1, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1316, 215, 2, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1317, 215, 3, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1318, 215, 4, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1319, 215, 5, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1320, 215, 6, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1321, 215, 7, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1322, 215, 8, 0, '2024-11-06 06:58:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1323, 216, 1, 0, '2024-11-06 06:59:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1324, 216, 3, 0, '2024-11-06 06:59:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1325, 216, 6, 0, '2024-11-06 06:59:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1326, 216, 7, 0, '2024-11-06 06:59:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1327, 217, 1, 0, '2024-11-06 06:59:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1328, 217, 3, 0, '2024-11-06 06:59:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1329, 217, 7, 0, '2024-11-06 06:59:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1330, 217, 9, 0, '2024-11-06 06:59:48');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1331, 218, 1, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1332, 218, 2, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1333, 218, 3, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1334, 218, 4, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1335, 218, 5, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1336, 218, 6, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1337, 218, 7, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1338, 218, 8, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1339, 218, 9, 0, '2024-11-06 07:00:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1340, 219, 1, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1341, 219, 2, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1342, 219, 3, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1343, 219, 4, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1344, 219, 5, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1345, 219, 6, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1346, 219, 7, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1347, 219, 8, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1348, 219, 9, 0, '2024-12-04 11:02:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1349, 220, 1, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1350, 220, 2, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1351, 220, 3, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1352, 220, 4, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1353, 220, 5, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1354, 220, 6, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1355, 220, 7, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1356, 220, 8, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1357, 220, 9, 0, '2024-12-04 11:08:15');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1358, 221, 1, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1359, 221, 2, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1360, 221, 3, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1361, 221, 4, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1362, 221, 5, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1363, 221, 6, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1364, 221, 7, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1365, 221, 8, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1366, 221, 9, 0, '2024-12-04 11:08:42');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1367, 222, 1, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1368, 222, 2, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1369, 222, 3, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1370, 222, 4, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1371, 222, 5, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1372, 222, 7, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1373, 222, 8, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1374, 222, 9, 0, '2024-12-04 11:09:13');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1375, 223, 1, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1376, 223, 2, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1377, 223, 3, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1378, 223, 4, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1379, 223, 5, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1380, 223, 6, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1381, 223, 7, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1382, 223, 8, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1383, 223, 9, 0, '2024-12-04 11:10:56');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1384, 224, 1, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1385, 224, 2, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1386, 224, 3, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1387, 224, 4, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1388, 224, 5, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1389, 224, 6, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1390, 224, 7, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1391, 224, 8, 0, '2024-12-04 11:11:17');
INSERT INTO `notification_roles` (`id`, `send_notification_id`, `role_id`, `is_active`, `created_at`) VALUES (1392, 224, 9, 0, '2024-12-04 11:11:17');


#
# TABLE STRUCTURE FOR: notification_setting
#


CREATE TABLE `notification_setting` (
  `id` int NOT NULL AUTO_INCREMENT,
  `type` varchar(100) DEFAULT NULL,
  `is_mail` int DEFAULT '0',
  `is_sms` int DEFAULT '0',
  `is_mobileapp` int NOT NULL,
  `is_notification` int NOT NULL,
  `display_notification` int NOT NULL,
  `display_sms` int NOT NULL,
  `template` longtext,
  `template_id` varchar(100) NOT NULL,
  `subject` text,
  `variables` text,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_type` (`type`),
  KEY `index_is_mail` (`is_mail`),
  KEY `index_is_sms` (`is_sms`),
  KEY `index_is_mobileapp` (`is_mobileapp`),
  KEY `index_is_notification` (`is_notification`),
  KEY `index_display_notification` (`display_notification`),
  KEY `index_display_sms` (`display_sms`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3;

INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (1, 'opd_patient_registration', 0, 0, 0, 0, 1, 1, 'Dear {{patient_name}} your OPD Registration at Smart Hospital is successful on date {{appointment_date}} with Patient Id {{patient_id}} and OPD No {{opdno}}', '', 'OPD Patient', '{{patient_name}} {{appointment_date}} {{patient_id}} {{opdno}}', '2021-10-28 09:12:44');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (2, 'ipd_patient_registration', 0, 0, 0, 0, 1, 1, 'Dear {{patient_name}} your IPD Registration at Smart Hospital is successful  with Patient Id {{patient_id}} and IPD No {{ipd_no}}', '', 'IPD Patient Registration', '{{patient_name}} {{patient_id}} {{ipd_no}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (3, 'ipd_patient_discharged', 0, 0, 0, 0, 1, 1, 'IPD Patient {{patient_name}} is now discharged from Smart Hospital\r\nTotal bill amount is {{currency_symbol}}{{total_amount}}\r\nTotal paid amount is {{currency_symbol}}{{paid_amount}}\r\nTotal balance bill amount is {{currency_symbol}}{{balance_amount}}', '', 'IPD Patient Discharge', '{{patient_name}} {{currency_symbol}} {{total_amount}} {{paid_amount}} {balance_amount}}', '2024-08-31 05:45:40');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (5, 'login_credential', 0, 0, 0, 0, 0, 1, 'Hello {{display_name}} your Smart Hospital login details are Url: {{url}} Username: {{username}} Password: {{password}}', '', 'Smart Hospital Login Credential', '{{display_name}} {{url}} {{username}} {{password}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (6, 'appointment_approved', 0, 0, 0, 0, 1, 1, 'Dear {{patient_name}} your appointment with {{staff_name}} {{staff_surname}} is confirmed on {{date}} with appointment no: {{appointment_no}}', '', 'Appointment Approved', '{{patient_name}} {{staff_name}}\n{{staff_surname}}  {{date}} {{appointment_no}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (7, 'live_meeting', 0, 0, 0, 0, 0, 1, 'Dear staff, your live meeting {{title}} has been scheduled on {{date}} for the duration of {{duration}} minute.', '', 'Live Meeting', '{{title}} {{date}} {{duration}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (8, 'live_consult', 0, 0, 0, 0, 1, 1, 'Dear patient, your live consultation {{title}} has been scheduled on {{date}} for the duration of {{duration}} minute.', '', 'Live Consultation', '{{title}} {{date}} {{duration}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (9, 'opd_patient_discharged', 0, 0, 0, 0, 1, 1, 'OPD No {{opd_no}}  {{patient_name}} is now discharged from Smart Hospital.\r\n\r\nTotal bill amount was {{currency_symbol}}  {{total_amount}} \r\nTotal paid amount was {{currency_symbol}}{{paid_amount}}  \r\nTotal balance amount is {{currency_symbol}}{{balance_amount}}', '', 'OPD Patient Discharged', '{{patient_name}} {{mobileno}} {{email}} {{dob}} {{gender}} {{patient_unique_id}} {{opd_no}}{{currency_symbol}} {{billing_amount}}', '2021-10-25 11:42:10');
INSERT INTO `notification_setting` (`id`, `type`, `is_mail`, `is_sms`, `is_mobileapp`, `is_notification`, `display_notification`, `display_sms`, `template`, `template_id`, `subject`, `variables`, `created_at`) VALUES (10, 'forgot_password', 0, 0, 0, 0, 0, 0, 'Dear  {{display_name}}, recently a request was submitted to reset password for your account with email: {{email}}. If you didn\'t make the request, just ignore this email, otherwise you can reset your password using this link <a href=\'{{resetpasslink}}\'>click here to reset your password</a>, if you\'re having trouble clicking the password reset link, copy and paste below URL  into your web browser. {{resetpasslink}} <br> Regards,  <br>\r\nSmart Hospital', '', 'Reset Password Request', '{{display_name}}  {{email}}  {{resetpasslink}', '2024-08-31 05:45:40');


#
# TABLE STRUCTURE FOR: nurse_note
#


CREATE TABLE `nurse_note` (
  `id` int NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL,
  `ipd_id` int DEFAULT NULL,
  `staff_id` int DEFAULT NULL,
  `note` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci,
  `comment` text,
  `created_by` int NOT NULL,
  `updated_at` datetime NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `ipd_id` (`ipd_id`),
  KEY `staff_id` (`staff_id`),
  KEY `index_date` (`date`),
  CONSTRAINT `nurse_note_ibfk_1` FOREIGN KEY (`ipd_id`) REFERENCES `ipd_details` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nurse_note_ibfk_2` FOREIGN KEY (`staff_id`) REFERENCES `staff` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=148 DEFAULT CHARSET=utf8mb3;

INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (1, '2021-10-25 18:04:00', 2, 10, 'The purpose of a consultation is to hear out the persons needs and help identify a plan of attack for solving their problems and accomplishing their goals', 'The purpose of a consultation is to hear out the person \r\ns needs and help identify', 0, '2021-10-25 18:04:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (5, '2021-10-27 12:00:00', 7, 10, 'Medicine after lunch ( ZukoliteWen)', 'Intake time to time.', 0, '2021-10-27 12:00:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (8, '2021-10-26 01:00:00', 8, 16, 'composure, stability, self-possession submissiveness, sufferance. 3 indefatigability, persistence, assiduity.', 'Na', 0, '2021-10-26 01:00:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (9, '2021-10-29 12:00:00', 7, 16, 'Make healthy eating and physical activity part of your daily routine. Maintain a healthy weight. Monitor your blood sugar, and follow your doctor s instructions for managing your blood sugar level. Take your medications as directed by your doctor.', 'Primary care physician.', 0, '2021-10-29 12:00:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (29, '2022-02-03 17:03:00', 21, 10, 'Medicine will be change in this week', 'Not sure either medicine change or contain change.', 0, '2022-02-03 17:03:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (34, '2022-04-04 13:12:00', 26, 10, 'Blood Pressure- systolic: less than 120 mm Hg diastolic: less than 80 mm Hg', 'At Risk (prehypertension).', 0, '2022-04-04 13:12:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (39, '2022-06-02 16:55:00', 31, 16, 'BP-normal', 'na', 0, '2022-05-03 16:55:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (61, '2022-10-09 15:27:00', 47, 10, 'Skin Problem not Good', 'Comment \r\nNA', 0, '2022-10-09 15:27:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (71, '2022-12-05 16:27:00', 55, 16, 'Regular Checkup', 'Comment\r\nRegular Checkup', 0, '2022-12-02 16:27:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (77, '2023-01-08 17:41:00', 60, 10, 'Regular Checkup', 'Regular Checkup', 0, '2023-01-08 17:41:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (78, '2023-01-12 17:56:00', 61, 16, 'Regular Check-up', 'Regular Check-up', 0, '2023-01-12 17:56:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (80, '2023-02-08 14:46:00', 62, 10, 'Regular Check-up', 'Regular Check-up', 0, '2023-02-08 14:46:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (81, '2023-02-14 17:30:00', 63, 10, 'Take medicine after meal everyday.', 'Take medicine after meal everyday.', 0, '2023-02-14 17:30:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (82, '2023-02-22 18:30:00', 64, 10, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-02-22 18:30:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (95, '2023-05-08 12:30:00', 74, 16, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2023-05-08 12:30:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (98, '2023-06-22 15:52:00', 77, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-06-22 15:52:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (104, '2023-08-14 17:33:00', 80, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday also eat one egg daily at morning time.', 0, '2023-08-14 17:33:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (105, '2023-08-22 19:30:00', 81, 10, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-08-22 19:30:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (107, '2023-09-16 12:31:00', 82, 16, 'Regular Check up', 'Take medicine after meal everyday also eat one egg daily at morning time.', 0, '2023-09-16 12:31:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (108, '2023-09-26 12:52:00', 83, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-09-26 12:52:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (109, '2023-09-28 15:08:00', 84, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2023-09-28 15:08:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (112, '2023-10-18 14:11:00', 86, 10, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-10-18 14:11:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (113, '2023-10-28 12:35:00', 87, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2023-10-28 12:35:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (114, '2023-11-08 18:25:00', 88, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2023-11-08 18:25:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (117, '2023-12-12 12:52:00', 90, 16, 'Take medicine after meal everyday', 'Take medicine after meal everyday', 0, '2023-12-12 12:52:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (118, '2023-12-18 13:14:00', 91, 10, 'Regular Check up', 'Take medicine after meal everyday also eat one egg daily at morning time.', 0, '2023-12-18 13:14:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (120, '2024-01-06 15:14:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2024-01-06 15:14:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (122, '2024-02-05 15:13:00', 93, 16, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2024-02-05 15:13:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (123, '2024-02-12 17:30:00', 14, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2024-02-12 17:30:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (126, '2024-04-05 16:22:00', 14, 16, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2024-04-05 16:22:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (128, '2024-05-05 17:17:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday also eat one egg daily at morning time.', 0, '2024-05-05 17:17:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (130, '2024-06-12 16:00:00', 14, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 0, '2024-06-12 16:00:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (131, '2024-06-22 17:39:00', 97, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2024-06-22 17:39:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (132, '2024-07-10 15:48:00', 98, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2024-07-10 15:48:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (133, '2024-07-05 15:12:00', 14, 16, 'Take medicine after meal everyday', 'Take medicine after meal everyday also eat one egg daily at morning time.', 0, '2024-07-05 15:12:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (134, '2024-08-08 17:16:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 0, '2024-08-08 17:16:00', '2024-08-28 06:46:36');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (136, '2024-08-15 13:29:00', 99, 16, 'test', 'test', 1, '2024-08-15 13:29:00', '2024-08-28 07:59:15');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (137, '2024-09-05 10:53:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-09-05 10:53:00', '2024-08-31 05:23:11');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (138, '2024-10-05 16:43:00', 100, 16, 'Take medicine', 'Take medicine after meal everyday.', 1, '2024-10-05 16:43:00', '2024-10-04 11:13:32');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (139, '2024-10-18 16:55:00', 14, 10, 'Take medicine after meal everyday also eat one egg daily at morning time.', 'Take medicine after meal everyday also eat one egg daily at morning time.', 1, '2024-10-18 16:55:00', '2024-10-04 11:25:52');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (140, '2024-11-06 16:50:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-11-06 16:50:00', '2024-11-06 11:20:23');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (141, '2024-11-12 12:17:00', 101, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-11-12 12:17:00', '2024-11-07 06:47:18');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (142, '2024-05-06 12:19:00', 96, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-05-06 12:19:00', '2024-11-08 06:49:58');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (143, '2024-04-12 12:22:00', 95, 16, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 1, '2024-04-12 12:22:00', '2024-11-08 06:52:55');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (144, '2024-03-07 12:26:00', 94, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 1, '2024-03-07 12:26:00', '2024-11-08 06:56:05');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (145, '2024-01-10 12:44:00', 92, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-01-10 12:44:00', '2024-11-08 07:14:09');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (146, '2024-12-12 10:58:00', 14, 16, 'Take medicine after meal everyday .', 'Take medicine after meal everyday .', 1, '2024-12-12 10:58:00', '2024-12-06 05:28:11');
INSERT INTO `nurse_note` (`id`, `date`, `ipd_id`, `staff_id`, `note`, `comment`, `created_by`, `updated_at`, `created_at`) VALUES (147, '2024-12-08 11:11:00', 102, 10, 'Follow diet as planned for you.', 'Follow diet as planned for you.', 1, '2024-12-08 11:11:00', '2024-12-06 05:41:05');


#
# TABLE STRUCTURE FOR: nurse_notes_comment
#


CREATE TABLE `nurse_notes_comment` (
  `id` int NOT NULL AUTO_INCREMENT,
  `nurse_note_id` int DEFAULT NULL,
  `comment_staffid` int DEFAULT NULL,
  `comment_staff` text,
  `created_at` datetime DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `nurse_note_id` (`nurse_note_id`),
  KEY `comment_staffid` (`comment_staffid`),
  CONSTRAINT `nurse_notes_comment_ibfk_1` FOREIGN KEY (`nurse_note_id`) REFERENCES `nurse_note` (`id`) ON DELETE CASCADE,
  CONSTRAINT `nurse_notes_comment_ibfk_2` FOREIGN KEY (`comment_staffid`) REFERENCES `staff` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3;

INSERT INTO `nurse_notes_comment` (`id`, `nurse_note_id`, `comment_staffid`, `comment_staff`, `created_at`) VALUES (1, 1, 1, 'Add extra dose if required.', '2021-10-26 10:25:36');
INSERT INTO `nurse_notes_comment` (`id`, `nurse_note_id`, `comment_staffid`, `comment_staff`, `created_at`) VALUES (8, 39, 16, 'All check list done.', '2022-05-03 11:58:29');


#
# TABLE STRUCTURE FOR: obstetric_history
#


CREATE TABLE `obstetric_history` (
  `id` int NOT NULL AUTO_INCREMENT,
  `patient_id` int NOT NULL,
  `place_of_delivery` varchar(250) NOT NULL,
  `pregnancy_duration` varchar(250) NOT NULL,
  `pregnancy_complications` varchar(250) NOT NULL,
  `birth_weight` varchar(250) NOT NULL,
  `gender` varchar(100) NOT NULL,
  `infant_feeding` varchar(250) NOT NULL,
  `alive_dead` varchar(50) NOT NULL,
  `date` date DEFAULT NULL,
  `death_cause` varchar(250) NOT NULL,
  `previous_medical_history` text NOT NULL,
  `special_instruction` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `index_place_of_delivery` (`place_of_delivery`),
  KEY `index_pregnancy_duration` (`pregnancy_duration`),
  KEY `index_pregnancy_complications` (`pregnancy_complications`),
  KEY `index_birth_weight` (`birth_weight`),
  KEY `index_gender` (`gender`),
  KEY `index_infant_feeding` (`infant_feeding`),
  KEY `index_alive_dead` (`alive_dead`),
  KEY `index_date` (`date`),
  KEY `index_death_cause` (`death_cause`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;

INSERT INTO `obstetric_history` (`id`, `patient_id`, `place_of_delivery`, `pregnancy_duration`, `pregnancy_complications`, `birth_weight`, `gender`, `infant_feeding`, `alive_dead`, `date`, `death_cause`, `previous_medical_history`, `special_instruction`, `created_at`) VALUES (1, 1121, 'Johannesburg', '280days', 'Fever and infection', '2kg', 'Female', 'Breastfeeding', 'alive', '2024-10-12', '', 'NA', 'NA', '2024-10-04 11:18:00');


#
# TABLE STRUCTURE FOR: opd_details
#


CREATE TABLE `opd_details` (
  `id` int NOT NULL AUTO_INCREMENT,
  `case_reference_id` int DEFAULT NULL,
  `patient_id` int DEFAULT NULL,
  `generated_by` int DEFAULT NULL,
  `is_ipd_moved` int NOT NULL DEFAULT '0',
  `discharged` varchar(10) NOT NULL DEFAULT 'no',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `patient_id` (`patient_id`),
  KEY `case_reference_id` (`case_reference_id`),
  KEY `generated_by` (`generated_by`),
  CONSTRAINT `opd_details_ibfk_1` FOREIGN KEY (`patient_id`) REFERENCES `patients` (`id`) ON DELETE CASCADE,
  CONSTRAINT `opd_details_ibfk_2` FOREIGN KEY (`case_reference_id`) REFERENCES `case_references` (`id`) ON DELETE CASCADE,
  CONSTRAINT `opd_details_ibfk_3` FOREIGN KEY (`generated_by`) REFERENCES `staff` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6839 DEFAULT CHARSET=utf8mb3;

INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (2851, 2875, 628, NULL, 0, 'no', '2023-01-04 12:16:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (2981, 3005, 642, NULL, 1, 'no', '2023-02-01 09:40:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (3061, 3085, 658, NULL, 0, 'no', '2023-02-02 10:59:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (3128, 3152, NULL, 1, 0, 'no', '2023-02-02 12:49:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (3680, 3704, 151, 1, 1, 'yes', '2023-05-03 13:07:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (3743, 3767, NULL, 1, 0, 'no', '2023-05-04 07:40:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4101, 4125, NULL, 1, 0, 'no', '2023-06-05 11:30:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4444, 4468, 827, NULL, 1, 'yes', '2023-08-02 11:54:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4547, 4571, 2, 1, 0, 'no', '2023-08-03 07:14:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4599, 4623, 642, 1, 0, 'no', '2023-08-03 10:22:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4699, 4723, 868, NULL, 1, 'yes', '2023-09-04 06:40:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4719, 4743, 872, NULL, 1, 'no', '2023-09-04 07:16:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4723, 4747, 873, NULL, 1, 'yes', '2023-09-04 07:33:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4726, 4750, 190, 1, 0, 'no', '2023-09-04 07:54:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4742, 4766, 874, NULL, 0, 'no', '2023-09-04 09:23:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4744, 4768, 874, NULL, 0, 'no', '2023-09-04 09:25:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4781, 4805, 878, NULL, 0, 'no', '2023-09-04 11:10:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4788, 4812, 878, NULL, 0, 'no', '2023-09-04 11:17:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4805, 4829, 539, 1, 0, 'no', '2023-09-04 11:40:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4809, 4833, 872, 1, 0, 'no', '2023-09-04 11:55:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4817, 4841, 879, NULL, 0, 'no', '2023-10-04 08:01:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4819, 4843, 879, NULL, 0, 'no', '2023-10-04 08:04:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4820, 4844, 879, NULL, 0, 'no', '2023-10-04 08:05:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4821, 4845, 879, NULL, 0, 'no', '2023-10-04 08:08:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4822, 4846, 879, NULL, 0, 'no', '2023-10-04 08:10:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4823, 4847, 879, NULL, 0, 'no', '2023-10-04 08:12:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4837, 4861, 1, NULL, 0, 'no', '2023-10-04 09:54:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4870, 4894, 886, NULL, 0, 'no', '2023-10-04 11:59:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4872, 4896, 886, NULL, 1, 'no', '2023-10-04 12:07:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4966, 4990, 896, NULL, 0, 'no', '2023-10-05 06:56:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (4967, 4991, 896, NULL, 1, 'no', '2023-10-05 06:56:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5050, 5074, 1, NULL, 0, 'no', '2023-11-03 06:50:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5061, 5085, 121, 1, 1, 'no', '2023-11-03 07:49:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5065, 5089, 658, 1, 0, 'no', '2023-11-03 07:56:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5083, 5107, 484, 1, 0, 'no', '2023-11-03 09:53:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5103, 5127, 539, 1, 0, 'no', '2023-11-03 10:06:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5129, 5153, 916, NULL, 0, 'no', '2023-11-03 11:04:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5130, 5154, 916, NULL, 0, 'no', '2023-11-03 11:05:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5131, 5155, 916, NULL, 0, 'no', '2023-11-03 11:06:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5132, 5156, 531, 1, 0, 'no', '2023-11-03 11:10:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5147, 5171, 916, 1, 0, 'no', '2023-11-03 11:23:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5171, 5195, 921, NULL, 0, 'no', '2023-11-03 12:47:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5174, 5198, 921, NULL, 0, 'no', '2023-11-03 12:49:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5177, 5201, 580, 1, 0, 'no', '2023-11-03 12:52:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5178, 5202, 921, NULL, 0, 'no', '2023-11-03 13:00:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5181, 5205, 921, NULL, 0, 'no', '2023-11-03 13:40:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5226, 5250, 928, NULL, 0, 'no', '2023-11-04 05:32:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5230, 5254, 1, NULL, 0, 'no', '2023-12-04 05:17:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5276, 5300, 937, NULL, 0, 'no', '2023-12-04 07:08:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5278, 5302, 937, NULL, 0, 'no', '2023-12-04 07:08:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5280, 5304, 937, NULL, 1, 'no', '2023-12-04 07:09:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5283, 5307, 939, NULL, 1, 'no', '2023-12-04 07:10:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5285, 5309, 939, NULL, 0, 'no', '2023-12-04 07:11:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5331, 5355, 916, 1, 0, 'no', '2023-12-04 08:20:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5334, 5358, 928, 1, 0, 'no', '2023-12-04 08:22:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5342, 5366, 151, 1, 0, 'no', '2023-12-04 09:08:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5355, 5379, 363, 1, 0, 'no', '2023-12-04 09:30:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5376, 5400, 121, 1, 0, 'no', '2024-01-03 05:51:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5387, 5411, 781, 1, 0, 'no', '2024-01-03 06:24:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5394, 5418, 916, 1, 0, 'no', '2024-01-03 06:24:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5398, 5422, 916, 1, 0, 'no', '2024-01-03 07:03:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5408, 5432, 190, 1, 0, 'no', '2024-01-03 07:03:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5421, 5445, 939, 1, 0, 'no', '2024-01-03 07:42:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5426, 5450, 539, 1, 0, 'no', '2024-01-03 07:42:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5427, 5451, 493, 1, 0, 'no', '2024-01-03 07:42:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5431, 5455, 531, 1, 0, 'no', '2024-01-03 07:42:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5432, 5456, 493, 1, 1, 'no', '2024-01-03 07:42:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5439, 5463, 954, NULL, 0, 'no', '2024-01-03 08:16:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5440, 5464, 954, NULL, 0, 'no', '2024-01-03 08:17:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5441, 5465, 954, NULL, 0, 'no', '2024-01-03 08:19:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5442, 5466, 954, NULL, 0, 'no', '2024-01-03 08:25:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5443, 5467, 954, NULL, 0, 'no', '2024-01-03 08:26:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5444, 5468, 954, NULL, 0, 'no', '2024-01-03 08:28:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5446, 5470, 954, NULL, 0, 'no', '2024-01-03 09:09:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5447, 5471, 954, NULL, 0, 'no', '2024-01-03 09:10:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5510, 5534, 1, NULL, 0, 'no', '2024-01-04 04:51:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5628, 5652, 493, 1, 0, 'no', '2024-01-04 12:03:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5633, 5657, 563, 1, 0, 'no', '2024-01-04 12:05:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5634, 5658, 980, NULL, 0, 'no', '2024-01-04 12:11:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5635, 5659, 980, NULL, 0, 'no', '2024-01-04 12:12:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5637, 5661, 980, NULL, 0, 'no', '2024-01-04 12:12:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5638, 5662, 980, NULL, 0, 'no', '2024-01-04 12:13:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5639, 5663, 980, NULL, 0, 'no', '2024-01-04 12:13:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5640, 5664, 980, NULL, 0, 'no', '2024-01-04 12:14:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5671, 5695, 987, NULL, 0, 'no', '2024-02-01 08:12:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5672, 5696, 987, NULL, 0, 'no', '2024-02-01 08:13:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5673, 5697, 987, NULL, 0, 'no', '2024-02-01 08:14:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5674, 5698, 987, NULL, 0, 'no', '2024-02-01 08:15:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5675, 5699, 987, NULL, 0, 'no', '2024-02-01 08:15:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5676, 5700, 987, NULL, 0, 'no', '2024-02-01 08:16:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5685, 5709, 990, NULL, 1, 'no', '2024-02-01 09:34:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5697, 5721, 1, NULL, 0, 'no', '2024-02-01 10:06:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5725, 5749, 489, 1, 0, 'no', '2024-02-01 10:57:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5743, 5767, 643, 1, 0, 'no', '2024-02-01 11:46:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5744, 5768, 658, 1, 0, 'no', '2024-02-01 11:47:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5748, 5772, 878, 1, 0, 'no', '2024-02-01 11:55:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5776, 5800, 363, 1, 0, 'no', '2024-02-02 04:37:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5778, 5802, 641, 1, 0, 'no', '2024-02-02 04:39:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5783, 5807, 584, 1, 0, 'no', '2024-02-02 04:45:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5784, 5808, 563, 1, 0, 'no', '2024-02-02 04:46:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5785, 5809, 840, 1, 0, 'no', '2024-02-02 04:49:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5786, 5810, 844, 1, 0, 'no', '2024-02-02 04:50:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5787, 5811, 520, 1, 0, 'no', '2024-02-02 04:51:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5791, 5815, 873, 1, 0, 'no', '2024-02-02 05:04:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5792, 5816, 928, 1, 0, 'no', '2024-02-02 05:04:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5793, 5817, 121, 1, 0, 'no', '2024-02-02 05:05:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5794, 5818, 539, 1, 0, 'no', '2024-02-02 05:05:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5797, 5821, 884, 1, 0, 'no', '2024-02-02 05:07:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5798, 5822, 781, 1, 0, 'no', '2024-02-02 05:07:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5801, 5825, 878, 1, 0, 'no', '2024-02-02 05:14:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5803, 5827, 1005, NULL, 1, 'no', '2024-03-01 07:18:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5804, 5828, 1, NULL, 0, 'no', '2024-03-01 07:43:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5847, 5871, 363, 1, 0, 'no', '2024-03-01 10:54:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5848, 5872, 489, 1, 0, 'no', '2024-03-01 10:56:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5858, 5882, 1014, NULL, 0, 'no', '2024-03-01 11:17:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5859, 5883, 484, 1, 0, 'no', '2024-03-01 11:18:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5861, 5885, 1014, NULL, 0, 'no', '2024-03-01 11:19:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5863, 5887, 493, 1, 0, 'no', '2024-03-01 11:19:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5864, 5888, 1014, NULL, 0, 'no', '2024-03-01 11:20:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5865, 5889, 1014, NULL, 0, 'no', '2024-03-01 11:20:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5866, 5890, 1014, NULL, 0, 'no', '2024-03-01 11:21:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5867, 5891, 878, 1, 1, 'no', '2024-03-01 11:22:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5868, 5892, 1014, NULL, 0, 'no', '2024-03-01 11:22:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5869, 5893, 288, 1, 0, 'no', '2024-03-01 11:23:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5870, 5894, 121, 1, 0, 'no', '2024-03-01 11:23:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5871, 5895, 363, 1, 0, 'no', '2024-03-01 11:24:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5873, 5897, 484, 1, 0, 'no', '2024-03-01 11:24:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5874, 5898, 781, 1, 0, 'no', '2024-03-01 11:25:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5875, 5899, 509, 1, 0, 'no', '2024-03-01 11:25:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5876, 5900, 563, 1, 0, 'no', '2024-03-01 11:25:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5884, 5908, 628, 1, 0, 'no', '2024-03-01 11:34:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5886, 5910, 928, 1, 0, 'no', '2024-03-01 11:35:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5887, 5911, 781, 1, 0, 'no', '2024-03-01 11:39:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5888, 5912, 539, 1, 0, 'no', '2024-03-01 11:40:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5909, 5933, 1019, NULL, 0, 'no', '2024-03-01 12:40:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5911, 5935, 628, 1, 0, 'no', '2024-03-02 05:11:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5912, 5936, 643, 1, 0, 'no', '2024-03-02 05:11:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5913, 5937, 563, 1, 0, 'no', '2024-03-02 05:12:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5914, 5938, 489, 1, 0, 'no', '2024-03-02 05:12:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5916, 5940, 658, 1, 0, 'no', '2024-03-02 05:20:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5941, 5965, 1025, NULL, 0, 'no', '2024-03-02 06:54:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5944, 5968, 1025, NULL, 0, 'no', '2024-03-02 06:55:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5945, 5969, 1025, NULL, 0, 'no', '2024-03-02 06:55:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (5960, 5984, 493, 1, 0, 'no', '2024-03-02 07:23:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6024, 6048, 363, 1, 0, 'no', '2024-04-02 04:32:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6025, 6049, 484, 1, 0, 'no', '2024-04-02 04:32:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6028, 6052, 520, 1, 0, 'no', '2024-04-02 04:39:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6029, 6053, 288, 1, 0, 'no', '2024-04-02 04:43:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6031, 6055, 509, 1, 0, 'no', '2024-04-02 04:56:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6032, 6056, 563, 1, 0, 'no', '2024-04-02 04:59:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6034, 6058, 484, 1, 0, 'no', '2024-04-02 05:00:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6035, 6059, 539, 1, 0, 'no', '2024-04-02 05:00:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6036, 6060, 628, 1, 0, 'no', '2024-04-02 05:09:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6038, 6062, 629, 1, 0, 'no', '2024-04-02 05:10:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6039, 6063, 2, 1, 0, 'no', '2024-04-02 05:10:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6041, 6065, 980, 1, 0, 'no', '2024-04-02 05:14:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6042, 6066, 940, 1, 0, 'no', '2024-04-02 05:14:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6043, 6067, 580, 1, 0, 'no', '2024-04-02 05:18:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6044, 6068, 844, 1, 0, 'no', '2024-04-02 05:25:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6045, 6069, 781, 1, 0, 'no', '2024-04-02 05:27:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6046, 6070, 922, 1, 0, 'no', '2024-04-02 05:29:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6050, 6074, 493, 1, 0, 'no', '2024-04-02 05:40:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6053, 6077, 919, 1, 0, 'no', '2024-04-02 05:41:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6058, 6082, 1040, NULL, 0, 'no', '2024-04-02 06:03:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6098, 6122, 190, 1, 0, 'no', '2024-04-02 07:32:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6103, 6127, 1, NULL, 0, 'no', '2024-04-02 07:39:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6114, 6138, 1, NULL, 0, 'no', '2024-05-01 12:27:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6122, 6146, 363, 14, 0, 'no', '2024-05-02 05:18:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6124, 6148, 563, 14, 0, 'no', '2024-05-02 05:20:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6125, 6149, 484, 14, 0, 'no', '2024-05-02 05:20:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6127, 6151, 840, 1, 0, 'no', '2024-05-02 05:27:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6130, 6154, 539, 1, 0, 'no', '2024-05-02 05:33:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6132, 6156, 584, 1, 0, 'no', '2024-05-02 05:36:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6133, 6157, 840, 1, 0, 'no', '2024-05-02 05:37:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6135, 6159, 288, 1, 0, 'no', '2024-05-02 05:38:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6139, 6163, 658, 1, 0, 'no', '2024-05-02 05:44:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6146, 6170, 827, 1, 0, 'no', '2024-05-02 05:52:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6150, 6174, 121, 1, 0, 'no', '2024-05-02 05:59:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6158, 6182, 843, 1, 1, 'no', '2024-05-02 06:12:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6160, 6184, 990, 14, 0, 'no', '2024-05-02 06:18:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6161, 6185, 288, 14, 0, 'no', '2024-05-02 06:19:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6163, 6187, 884, 14, 0, 'no', '2024-05-02 06:22:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6164, 6188, 781, 14, 0, 'no', '2024-05-02 06:23:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6165, 6189, 643, 14, 0, 'no', '2024-05-02 06:24:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6167, 6191, 879, 14, 0, 'no', '2024-05-02 06:27:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6169, 6193, 1040, 14, 0, 'no', '2024-05-02 06:28:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6211, 6235, 642, 14, 0, 'no', '2024-05-02 08:03:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6212, 6236, 1, 14, 0, 'no', '2024-05-02 08:05:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6221, 6245, 520, 1, 0, 'no', '2024-05-02 09:38:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6228, 6252, 1063, NULL, 0, 'no', '2024-05-02 10:02:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6229, 6253, 1063, NULL, 0, 'no', '2024-05-02 10:04:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6230, 6254, 1063, NULL, 0, 'no', '2024-05-02 10:05:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6231, 6255, 1063, NULL, 0, 'no', '2024-05-02 10:18:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6232, 6256, 1063, NULL, 0, 'no', '2024-05-02 10:26:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6233, 6257, 1063, NULL, 0, 'no', '2024-05-02 10:27:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6239, 6263, 1065, NULL, 0, 'no', '2024-05-02 10:50:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6240, 6264, 1065, NULL, 0, 'no', '2024-05-02 10:51:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6241, 6265, 1065, NULL, 0, 'no', '2024-05-02 10:51:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6242, 6266, 1065, NULL, 0, 'no', '2024-05-02 10:52:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6243, 6267, 1065, NULL, 0, 'no', '2024-05-02 10:53:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6244, 6268, 1065, NULL, 0, 'no', '2024-05-02 10:54:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6252, 6276, 1067, NULL, 0, 'no', '2024-05-02 11:25:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6253, 6277, 484, 1, 0, 'no', '2024-05-02 11:35:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6254, 6278, 840, 1, 0, 'no', '2024-05-02 11:36:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6255, 6279, 781, 1, 0, 'no', '2024-05-02 11:37:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6256, 6280, 1068, NULL, 0, 'no', '2024-06-01 09:20:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6257, 6281, 493, 1, 0, 'no', '2024-06-01 09:22:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6258, 6282, 1068, NULL, 0, 'no', '2024-06-01 09:24:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6259, 6283, 1068, NULL, 0, 'no', '2024-06-01 09:25:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6260, 6284, 1068, NULL, 0, 'no', '2024-06-01 09:26:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6261, 6285, 1068, NULL, 0, 'no', '2024-06-01 09:28:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6262, 6286, 1068, NULL, 0, 'no', '2024-06-01 09:35:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6263, 6287, 1068, NULL, 0, 'no', '2024-06-01 09:36:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6264, 6288, 363, 1, 0, 'no', '2024-06-01 09:38:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6265, 6289, 509, 1, 0, 'no', '2024-06-01 09:39:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6266, 6290, 980, 1, 1, 'no', '2024-06-01 09:40:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6267, 6291, 1063, 1, 0, 'no', '2024-06-01 09:45:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6276, 6300, 363, 1, 0, 'no', '2024-06-01 10:00:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6277, 6301, 1063, 1, 0, 'no', '2024-06-01 10:01:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6278, 6302, 1, NULL, 0, 'no', '2024-06-01 10:03:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6279, 6303, 509, 1, 0, 'no', '2024-06-01 10:03:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6280, 6304, 288, 1, 0, 'no', '2024-06-01 10:09:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6290, 6314, 151, 1, 0, 'no', '2024-06-01 10:35:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6291, 6315, 937, 1, 0, 'no', '2024-06-01 10:35:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6292, 6316, 844, 1, 0, 'no', '2024-06-01 10:36:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6293, 6317, 363, 1, 0, 'no', '2024-06-01 10:38:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6294, 6318, 987, 1, 0, 'no', '2024-06-01 10:38:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6295, 6319, 939, 1, 0, 'no', '2024-06-01 10:40:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6296, 6320, 580, 1, 0, 'no', '2024-06-01 10:49:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6298, 6322, 363, 1, 0, 'no', '2024-06-01 10:54:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6299, 6323, 1071, NULL, 0, 'no', '2024-06-01 10:59:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6300, 6324, 1071, NULL, 0, 'no', '2024-06-01 11:01:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6301, 6325, 1071, NULL, 0, 'no', '2024-06-01 11:02:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6302, 6326, 1071, NULL, 0, 'no', '2024-06-01 11:04:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6303, 6327, 1071, NULL, 0, 'no', '2024-06-01 11:06:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6304, 6328, 1071, NULL, 0, 'no', '2024-06-01 11:08:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6305, 6329, 1072, NULL, 0, 'no', '2024-06-01 11:51:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6306, 6330, 1072, NULL, 0, 'no', '2024-06-01 11:52:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6307, 6331, 1072, NULL, 0, 'no', '2024-06-01 11:53:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6308, 6332, 1072, NULL, 0, 'no', '2024-06-01 11:54:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6309, 6333, 1072, NULL, 0, 'no', '2024-06-01 11:56:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6310, 6334, 1072, NULL, 0, 'no', '2024-06-01 11:58:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6311, 6335, 1072, NULL, 0, 'no', '2024-06-01 11:59:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6312, 6336, 151, 1, 0, 'no', '2024-06-01 12:17:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6314, 6338, 872, 1, 0, 'no', '2024-06-01 12:22:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6315, 6339, 1025, 1, 0, 'no', '2024-06-01 12:23:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6316, 6340, 954, 1, 0, 'no', '2024-06-01 12:24:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6317, 6341, 509, 1, 0, 'no', '2024-06-01 12:25:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6318, 6342, 937, 1, 0, 'no', '2024-06-01 12:27:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6319, 6343, 1073, NULL, 0, 'no', '2024-06-01 12:41:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6320, 6344, 1073, NULL, 0, 'no', '2024-06-01 12:42:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6322, 6346, 484, 1, 0, 'no', '2024-06-01 12:44:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6323, 6347, 1073, NULL, 0, 'no', '2024-06-01 12:45:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6324, 6348, 987, 1, 0, 'no', '2024-06-01 12:47:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6325, 6349, 1073, NULL, 0, 'no', '2024-06-01 12:49:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6326, 6350, 939, 1, 0, 'no', '2024-06-01 12:52:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6327, 6351, 484, 1, 0, 'no', '2024-06-01 12:54:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6328, 6352, 1073, NULL, 0, 'no', '2024-06-01 12:57:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6329, 6353, 840, 1, 0, 'no', '2024-06-03 04:43:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6331, 6355, 539, 1, 0, 'no', '2024-06-03 04:44:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6332, 6356, 493, 1, 0, 'no', '2024-06-03 04:48:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6333, 6357, 781, 1, 0, 'no', '2024-06-03 04:49:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6334, 6358, 643, 1, 0, 'no', '2024-06-03 04:51:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6335, 6359, 363, 1, 0, 'no', '2024-06-03 04:51:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6336, 6360, 844, 1, 0, 'no', '2024-06-03 04:56:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6337, 6361, 484, 1, 0, 'no', '2024-06-03 04:56:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6339, 6363, 954, 1, 0, 'no', '2024-06-03 05:02:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6340, 6364, 980, 1, 0, 'no', '2024-06-03 05:03:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6341, 6365, 872, 1, 0, 'no', '2024-06-03 05:05:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6342, 6366, 1071, 1, 0, 'no', '2024-06-03 05:06:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6344, 6368, 939, 1, 0, 'no', '2024-06-03 05:12:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6345, 6369, 288, 1, 0, 'no', '2024-06-03 05:18:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6347, 6371, 584, 1, 0, 'no', '2024-06-03 05:33:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6348, 6372, 827, 1, 0, 'no', '2024-06-03 05:37:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6349, 6373, 288, 1, 0, 'no', '2024-06-03 05:37:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6351, 6375, 980, 1, 0, 'no', '2024-06-03 05:39:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6352, 6376, 940, 1, 0, 'no', '2024-06-03 05:40:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6354, 6378, 639, 1, 0, 'no', '2024-06-03 06:01:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6355, 6379, 1063, 1, 0, 'no', '2024-06-03 06:02:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6356, 6380, 928, 1, 0, 'no', '2024-06-03 06:05:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6357, 6381, 874, 1, 0, 'no', '2024-06-03 06:06:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6360, 6384, 1074, NULL, 0, 'no', '2024-06-03 06:15:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6362, 6386, 1074, NULL, 0, 'no', '2024-06-03 06:17:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6363, 6387, 1074, NULL, 0, 'no', '2024-06-03 06:19:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6364, 6388, 1075, NULL, 0, 'no', '2024-06-03 06:27:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6365, 6389, 1075, NULL, 0, 'no', '2024-06-03 06:48:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6366, 6390, 1075, NULL, 0, 'no', '2024-06-03 06:48:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6367, 6391, 1075, NULL, 0, 'no', '2024-06-03 06:48:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6368, 6392, 1076, NULL, 0, 'no', '2024-06-03 06:51:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6369, 6393, 1076, NULL, 0, 'no', '2024-06-03 06:52:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6370, 6394, 1076, NULL, 0, 'no', '2024-06-03 06:54:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6375, 6399, 1078, NULL, 0, 'no', '2024-06-03 07:32:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6376, 6400, 1078, NULL, 0, 'no', '2024-06-03 07:36:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6377, 6401, 1078, NULL, 0, 'no', '2024-06-03 07:37:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6378, 6402, 531, 1, 0, 'no', '2024-06-03 07:39:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6379, 6403, 1, 1, 0, 'no', '2024-06-03 07:40:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6380, 6404, 1078, NULL, 0, 'no', '2024-06-03 07:41:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6382, 6406, 1079, NULL, 0, 'no', '2024-06-03 07:46:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6383, 6407, 641, 1, 0, 'no', '2024-06-03 07:57:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6384, 6408, 1079, NULL, 0, 'no', '2024-06-03 08:00:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6386, 6410, 1079, NULL, 0, 'no', '2024-06-03 08:04:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6387, 6411, 1079, NULL, 0, 'no', '2024-06-03 08:05:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6388, 6412, 1079, NULL, 0, 'no', '2024-06-03 08:06:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6389, 6413, 1079, NULL, 0, 'no', '2024-06-03 08:10:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6390, 6414, 1079, NULL, 0, 'no', '2024-06-03 08:12:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6391, 6415, 493, 1, 0, 'no', '2024-06-03 08:22:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6393, 6417, 1080, NULL, 0, 'no', '2024-06-03 09:12:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6394, 6418, 1080, NULL, 0, 'no', '2024-06-03 09:13:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6395, 6419, 1080, NULL, 0, 'no', '2024-06-03 09:14:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6396, 6420, 1080, NULL, 0, 'no', '2024-06-03 09:16:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6397, 6421, 1080, NULL, 0, 'no', '2024-06-03 09:17:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6398, 6422, 1080, NULL, 0, 'no', '2024-06-03 09:19:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6399, 6423, 1080, NULL, 0, 'no', '2024-06-03 09:20:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6400, 6424, 843, 1, 0, 'no', '2024-06-03 09:22:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6401, 6425, 874, 1, 0, 'no', '2024-06-03 09:23:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6402, 6426, 363, 1, 0, 'no', '2024-06-03 09:24:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6403, 6427, 1065, 1, 0, 'no', '2024-06-03 09:24:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6405, 6429, 874, 1, 0, 'no', '2024-06-03 09:28:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6406, 6430, 1081, NULL, 0, 'no', '2024-06-03 09:31:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6408, 6432, 1081, NULL, 0, 'no', '2024-06-03 09:47:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6409, 6433, 1081, NULL, 0, 'no', '2024-06-03 09:48:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6410, 6434, 1081, NULL, 0, 'no', '2024-06-03 09:50:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6411, 6435, 1081, NULL, 0, 'no', '2024-06-03 09:51:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6412, 6436, 1081, NULL, 0, 'no', '2024-06-03 09:53:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6413, 6437, 1081, NULL, 0, 'no', '2024-06-03 09:54:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6414, 6438, 1081, NULL, 0, 'no', '2024-06-03 09:56:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6415, 6439, 1081, NULL, 0, 'no', '2024-06-03 09:57:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6416, 6440, 1082, NULL, 0, 'no', '2024-06-03 09:59:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6417, 6441, 1082, NULL, 0, 'no', '2024-06-03 10:02:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6418, 6442, 1082, NULL, 0, 'no', '2024-06-03 10:04:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6419, 6443, 1082, NULL, 0, 'no', '2024-06-03 10:05:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6420, 6444, 1082, NULL, 0, 'no', '2024-06-03 10:07:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6421, 6445, 922, 1, 0, 'no', '2024-06-03 10:20:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6422, 6446, 1082, NULL, 0, 'no', '2024-06-03 10:28:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6423, 6447, 1082, NULL, 0, 'no', '2024-06-03 10:30:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6424, 6448, 1083, NULL, 0, 'no', '2024-06-03 10:36:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6425, 6449, 1083, NULL, 0, 'no', '2024-06-03 10:37:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6426, 6450, 1083, NULL, 0, 'no', '2024-06-03 10:38:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6427, 6451, 1084, NULL, 0, 'no', '2024-07-01 05:57:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6428, 6452, 1084, NULL, 0, 'no', '2024-07-01 06:02:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6429, 6453, 1084, NULL, 0, 'no', '2024-07-01 06:09:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6430, 6454, 1084, NULL, 0, 'no', '2024-07-01 06:10:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6431, 6455, 1084, NULL, 0, 'no', '2024-07-01 06:12:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6432, 6456, 1084, NULL, 0, 'no', '2024-07-01 06:21:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6433, 6457, 1084, NULL, 1, 'no', '2024-07-01 06:23:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6434, 6458, 1085, NULL, 0, 'no', '2024-07-01 06:30:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6435, 6459, 1085, NULL, 0, 'no', '2024-07-01 06:31:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6436, 6460, 1085, NULL, 0, 'no', '2024-07-01 06:37:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6437, 6461, 1085, NULL, 0, 'no', '2024-07-01 06:38:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6438, 6462, 1085, NULL, 0, 'no', '2024-07-01 06:39:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6439, 6463, 1086, NULL, 0, 'no', '2024-07-01 10:27:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6440, 6464, 1086, NULL, 0, 'no', '2024-07-01 10:28:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6441, 6465, 1086, NULL, 0, 'no', '2024-07-01 10:29:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6442, 6466, 1086, NULL, 0, 'no', '2024-07-01 10:33:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6443, 6467, 1086, NULL, 0, 'no', '2024-07-01 10:35:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6444, 6468, 1086, NULL, 0, 'no', '2024-07-01 10:36:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6445, 6469, 1086, NULL, 0, 'no', '2024-07-01 10:40:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6446, 6470, 1087, NULL, 0, 'no', '2024-07-01 10:48:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6447, 6471, 1087, NULL, 0, 'no', '2024-07-01 10:53:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6448, 6472, 1087, NULL, 0, 'no', '2024-07-01 10:57:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6449, 6473, 1087, NULL, 0, 'no', '2024-07-01 10:57:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6450, 6474, 1087, NULL, 0, 'no', '2024-07-01 11:06:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6451, 6475, 1087, NULL, 0, 'no', '2024-07-01 11:07:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6452, 6476, 288, 1, 0, 'no', '2024-07-01 11:26:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6453, 6477, 643, 1, 0, 'no', '2024-07-01 11:42:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6454, 6478, 840, 1, 0, 'no', '2024-07-01 11:42:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6455, 6479, 484, 1, 0, 'no', '2024-07-01 11:43:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6456, 6480, 827, 1, 0, 'no', '2024-07-01 11:43:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6457, 6481, 643, 1, 0, 'no', '2024-07-01 11:43:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6458, 6482, 563, 1, 0, 'no', '2024-07-01 11:44:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6461, 6485, 765, 1, 0, 'no', '2024-07-01 11:45:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6463, 6487, 658, 1, 0, 'no', '2024-07-01 11:48:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6464, 6488, 628, 1, 0, 'no', '2024-07-01 11:49:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6465, 6489, 1081, 1, 0, 'no', '2024-07-01 11:49:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6466, 6490, 980, 1, 0, 'no', '2024-07-01 11:50:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6468, 6492, 642, 1, 0, 'no', '2024-07-01 11:51:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6469, 6493, 520, 1, 0, 'no', '2024-07-01 11:51:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6470, 6494, 781, 1, 0, 'no', '2024-07-01 11:51:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6471, 6495, 922, 1, 0, 'no', '2024-07-01 11:52:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6472, 6496, 879, 1, 0, 'no', '2024-07-01 11:52:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6473, 6497, 840, 1, 0, 'no', '2024-07-01 11:54:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6475, 6499, 939, 1, 0, 'no', '2024-07-01 11:54:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6476, 6500, 830, 1, 0, 'no', '2024-07-01 11:54:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6477, 6501, 1080, 1, 0, 'no', '2024-07-01 11:55:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6478, 6502, 1068, 1, 0, 'no', '2024-07-01 11:55:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6479, 6503, 1075, 1, 0, 'no', '2024-07-01 11:56:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6480, 6504, 1088, NULL, 0, 'no', '2024-07-01 12:15:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6481, 6505, 1088, NULL, 0, 'no', '2024-07-01 12:17:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6482, 6506, 1088, NULL, 0, 'no', '2024-07-01 12:17:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6483, 6507, 1089, NULL, 0, 'no', '2024-07-01 12:19:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6484, 6508, 1089, NULL, 0, 'no', '2024-07-01 12:21:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6485, 6509, 1089, NULL, 0, 'no', '2024-07-01 12:21:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6486, 6510, 1090, NULL, 0, 'no', '2024-07-01 12:23:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6487, 6511, 1090, NULL, 0, 'no', '2024-07-01 12:24:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6488, 6512, 1091, NULL, 0, 'no', '2024-07-01 12:26:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6489, 6513, 1090, NULL, 0, 'no', '2024-07-01 12:28:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6490, 6514, 1091, NULL, 0, 'no', '2024-07-01 12:28:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6491, 6515, 1091, NULL, 0, 'no', '2024-07-01 12:28:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6492, 6516, 1092, NULL, 0, 'no', '2024-07-01 12:29:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6493, 6517, 1091, NULL, 0, 'no', '2024-07-01 12:30:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6494, 6518, 874, 1, 0, 'no', '2024-07-01 12:30:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6495, 6519, 1091, NULL, 0, 'no', '2024-07-01 12:31:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6496, 6520, 1092, NULL, 0, 'no', '2024-07-01 12:32:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6497, 6521, 1091, NULL, 0, 'no', '2024-07-01 12:33:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6498, 6522, 1092, NULL, 0, 'no', '2024-07-01 12:33:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6499, 6523, 1091, NULL, 0, 'no', '2024-07-01 12:40:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6500, 6524, 1093, NULL, 0, 'no', '2024-07-01 12:46:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6501, 6525, 1093, NULL, 0, 'no', '2024-07-01 12:48:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6502, 6526, 1093, NULL, 0, 'no', '2024-07-01 12:49:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6503, 6527, 1094, NULL, 0, 'no', '2024-07-02 03:01:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6504, 6528, 1094, NULL, 0, 'no', '2024-07-02 03:03:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6505, 6529, 1094, NULL, 0, 'no', '2024-07-02 03:03:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6506, 6530, 1094, NULL, 0, 'no', '2024-07-02 03:04:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6507, 6531, 1094, NULL, 0, 'no', '2024-07-02 03:05:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6508, 6532, 1094, NULL, 0, 'no', '2024-07-02 03:06:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6509, 6533, 1094, NULL, 0, 'no', '2024-07-02 03:07:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6510, 6534, 1095, NULL, 0, 'no', '2024-07-02 03:19:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6511, 6535, 1095, NULL, 0, 'no', '2024-07-02 03:20:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6512, 6536, 1095, NULL, 0, 'no', '2024-07-02 03:21:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6513, 6537, 1095, NULL, 0, 'no', '2024-07-02 03:25:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6514, 6538, 1095, NULL, 0, 'no', '2024-07-02 03:26:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6515, 6539, 1095, NULL, 0, 'no', '2024-07-02 03:27:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6516, 6540, 1096, NULL, 0, 'no', '2024-07-02 03:46:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6517, 6541, 1096, NULL, 0, 'no', '2024-07-02 03:48:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6518, 6542, 1096, NULL, 0, 'no', '2024-07-02 03:49:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6519, 6543, 1096, NULL, 0, 'no', '2024-07-02 03:50:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6520, 6544, 1096, NULL, 0, 'no', '2024-07-02 03:53:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6521, 6545, 1096, NULL, 0, 'no', '2024-07-02 03:54:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6522, 6546, 1096, NULL, 0, 'no', '2024-07-02 03:55:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6523, 6547, 1097, NULL, 0, 'no', '2024-07-02 05:31:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6524, 6548, 1097, NULL, 0, 'no', '2024-07-02 05:34:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6525, 6549, 1097, NULL, 0, 'no', '2024-07-02 05:34:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6526, 6550, 1097, NULL, 0, 'no', '2024-07-02 05:34:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6527, 6551, 1, NULL, 0, 'no', '2024-07-02 05:51:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6528, 6552, 1, NULL, 0, 'no', '2024-08-01 08:23:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6529, 6553, 643, 1, 0, 'no', '2024-08-01 12:24:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6531, 6555, 493, 1, 0, 'no', '2024-08-01 12:34:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6532, 6556, 509, 1, 0, 'no', '2024-08-01 12:35:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6533, 6557, 628, 1, 0, 'no', '2024-08-01 12:35:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6534, 6558, 484, 1, 0, 'no', '2024-08-01 12:35:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6535, 6559, 363, 1, 0, 'no', '2024-08-01 12:36:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6537, 6561, 916, 1, 0, 'no', '2024-08-01 12:37:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6538, 6562, 643, 1, 0, 'no', '2024-08-01 12:37:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6539, 6563, 288, 1, 0, 'no', '2024-08-01 12:41:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6540, 6564, 781, 1, 0, 'no', '2024-08-01 12:41:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6541, 6565, 1077, 1, 0, 'no', '2024-08-01 12:42:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6542, 6566, 939, 1, 0, 'no', '2024-08-01 12:42:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6543, 6567, 940, 1, 0, 'no', '2024-08-02 05:26:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6544, 6568, 578, 1, 0, 'no', '2024-08-02 05:27:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6545, 6569, 288, 1, 0, 'no', '2024-08-02 05:27:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6546, 6570, 509, 1, 0, 'no', '2024-08-02 05:28:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6547, 6571, 830, 1, 0, 'no', '2024-08-02 05:28:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6548, 6572, 539, 1, 0, 'no', '2024-08-02 05:29:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6549, 6573, 639, 1, 0, 'no', '2024-08-02 05:29:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6550, 6574, 919, 1, 0, 'no', '2024-08-02 05:29:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6551, 6575, 121, 1, 0, 'no', '2024-08-02 05:30:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6552, 6576, 987, 1, 0, 'no', '2024-08-02 05:30:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6554, 6578, 584, 1, 0, 'no', '2024-08-02 05:31:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6555, 6579, 879, 1, 0, 'no', '2024-08-02 05:32:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6556, 6580, 843, 1, 0, 'no', '2024-08-02 05:33:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6557, 6581, 1098, NULL, 0, 'no', '2024-08-02 05:41:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6558, 6582, 1098, NULL, 0, 'no', '2024-08-02 05:41:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6559, 6583, 1098, NULL, 0, 'no', '2024-08-02 05:42:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6560, 6584, 1099, NULL, 0, 'no', '2024-08-02 05:45:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6561, 6585, 1099, NULL, 0, 'no', '2024-08-02 05:45:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6562, 6586, 1099, NULL, 0, 'no', '2024-08-02 05:45:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6563, 6587, 1099, NULL, 0, 'no', '2024-08-02 05:45:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6564, 6588, 1099, NULL, 0, 'no', '2024-08-02 05:46:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6565, 6589, 1100, NULL, 0, 'no', '2024-08-02 05:49:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6566, 6590, 1100, NULL, 0, 'no', '2024-08-02 05:49:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6567, 6591, 1100, NULL, 0, 'no', '2024-08-02 05:50:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6568, 6592, 1100, NULL, 0, 'no', '2024-08-02 05:50:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6569, 6593, 1100, NULL, 0, 'no', '2024-08-02 05:50:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6570, 6594, 1101, NULL, 0, 'no', '2024-08-02 06:17:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6571, 6595, 1101, NULL, 0, 'no', '2024-08-02 06:17:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6572, 6596, 1101, NULL, 0, 'no', '2024-08-02 06:17:56');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6573, 6597, 1101, NULL, 0, 'no', '2024-08-02 06:26:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6574, 6598, 1101, NULL, 0, 'no', '2024-08-02 06:26:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6575, 6599, 1101, NULL, 0, 'no', '2024-08-02 06:27:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6576, 6600, 1102, NULL, 0, 'no', '2024-08-02 06:33:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6577, 6601, 1102, NULL, 0, 'no', '2024-08-02 06:34:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6578, 6602, 1102, NULL, 0, 'no', '2024-08-02 06:34:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6579, 6603, 1102, NULL, 0, 'no', '2024-08-02 06:36:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6580, 6604, 1103, NULL, 1, 'no', '2024-08-02 06:46:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6581, 6605, 1103, NULL, 0, 'no', '2024-08-02 06:47:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6582, 6606, 1103, NULL, 0, 'no', '2024-08-02 06:57:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6583, 6607, 1103, NULL, 0, 'no', '2024-08-02 06:57:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6584, 6608, 1103, NULL, 0, 'no', '2024-08-02 07:01:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6585, 6609, 1104, NULL, 0, 'no', '2024-08-02 09:15:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6586, 6610, 1104, NULL, 0, 'no', '2024-08-02 09:18:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6587, 6611, 1104, NULL, 0, 'no', '2024-08-02 09:18:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6588, 6612, 1105, NULL, 0, 'no', '2024-08-02 09:50:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6589, 6613, 1105, NULL, 0, 'no', '2024-08-02 09:54:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6590, 6614, 1105, NULL, 0, 'no', '2024-08-02 10:03:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6591, 6615, 1105, NULL, 0, 'no', '2024-08-02 10:06:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6592, 6616, 1106, NULL, 0, 'no', '2024-08-02 10:22:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6593, 6617, 1106, NULL, 0, 'no', '2024-08-02 10:22:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6594, 6618, 1106, NULL, 0, 'no', '2024-08-02 10:22:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6595, 6619, 1107, NULL, 0, 'no', '2024-08-02 10:42:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6596, 6620, 1107, NULL, 0, 'no', '2024-08-02 10:42:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6597, 6621, 1107, NULL, 0, 'no', '2024-08-02 10:46:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6598, 6622, 1107, NULL, 0, 'no', '2024-08-02 10:46:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6599, 6623, 121, 1, 0, 'no', '2024-08-02 11:30:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6600, 6624, 840, 1, 0, 'no', '2024-08-02 11:30:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6601, 6625, 781, 1, 0, 'no', '2024-08-02 11:31:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6602, 6626, 520, 1, 0, 'no', '2024-08-02 11:31:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6603, 6627, 827, 1, 0, 'no', '2024-08-02 11:32:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6604, 6628, 484, 1, 0, 'no', '2024-08-02 11:32:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6605, 6629, 1005, 1, 0, 'no', '2024-08-02 11:32:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6606, 6630, 642, 1, 0, 'no', '2024-08-28 09:15:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6607, 6631, 1, NULL, 0, 'no', '2024-08-28 12:06:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6608, 6632, 830, 1, 0, 'no', '2024-08-29 06:26:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6609, 6633, 1, 1, 0, 'no', '2024-08-31 06:51:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6611, 6635, 1063, 1, 0, 'no', '2024-08-31 06:53:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6612, 6636, 628, 1, 0, 'no', '2024-08-31 06:53:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6613, 6637, 484, 1, 0, 'no', '2024-08-31 06:54:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6614, 6638, 1109, NULL, 0, 'no', '2024-08-31 07:00:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6615, 6639, 1109, NULL, 0, 'no', '2024-08-31 07:00:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6616, 6640, 1109, NULL, 0, 'no', '2024-08-31 07:01:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6617, 6641, 1110, NULL, 0, 'no', '2024-08-31 07:04:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6618, 6642, 1110, NULL, 0, 'no', '2024-08-31 07:04:42');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6619, 6643, 1110, NULL, 0, 'no', '2024-08-31 07:07:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6620, 6644, 1110, NULL, 0, 'no', '2024-08-31 07:07:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6621, 6645, 1110, NULL, 0, 'no', '2024-08-31 07:07:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6622, 6646, 1111, NULL, 0, 'no', '2024-08-31 07:16:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6623, 6647, 1111, NULL, 0, 'no', '2024-08-31 07:16:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6624, 6648, 1111, NULL, 0, 'no', '2024-08-31 07:16:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6625, 6649, 1111, NULL, 0, 'no', '2024-08-31 07:17:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6627, 6651, 288, 1, 0, 'no', '2024-08-31 07:18:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6628, 6652, 493, 1, 0, 'no', '2024-08-31 07:18:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6629, 6653, 874, 1, 0, 'no', '2024-08-31 07:18:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6631, 6655, 1112, NULL, 0, 'no', '2024-08-31 07:23:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6632, 6656, 1112, NULL, 0, 'no', '2024-08-31 07:23:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6633, 6657, 288, 1, 0, 'no', '2024-08-31 07:23:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6634, 6658, 781, 1, 0, 'no', '2024-08-31 07:24:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6635, 6659, 1112, NULL, 0, 'no', '2024-08-31 07:25:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6636, 6660, 1113, NULL, 0, 'no', '2024-08-31 07:35:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6637, 6661, 1113, NULL, 0, 'no', '2024-08-31 07:35:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6638, 6662, 1113, NULL, 0, 'no', '2024-08-31 07:54:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6639, 6663, 1114, NULL, 0, 'no', '2024-08-31 09:26:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6641, 6665, 1114, NULL, 0, 'no', '2024-08-31 09:31:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6642, 6666, 1114, NULL, 0, 'no', '2024-08-31 09:49:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6644, 6668, 629, 1, 0, 'no', '2024-08-31 10:17:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6645, 6669, 1, NULL, 0, 'no', '2024-10-03 07:56:34');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6646, 6670, 493, 1, 0, 'no', '2024-10-04 07:09:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6647, 6671, 363, 1, 0, 'no', '2024-10-04 07:10:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6648, 6672, 1115, NULL, 0, 'no', '2024-10-04 07:13:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6649, 6673, 1115, NULL, 0, 'no', '2024-10-04 07:13:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6650, 6674, 1115, NULL, 0, 'no', '2024-10-04 07:13:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6651, 6675, 1115, NULL, 0, 'no', '2024-10-04 07:14:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6652, 6676, 1116, NULL, 0, 'no', '2024-10-04 07:18:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6653, 6677, 1116, NULL, 0, 'no', '2024-10-04 07:18:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6654, 6678, 1116, NULL, 0, 'no', '2024-10-04 07:19:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6655, 6679, 1116, NULL, 0, 'no', '2024-10-04 07:19:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6656, 6680, 1116, NULL, 0, 'no', '2024-10-04 07:19:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6657, 6681, 1117, NULL, 0, 'no', '2024-10-04 07:27:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6658, 6682, 1117, NULL, 0, 'no', '2024-10-04 07:27:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6659, 6683, 1117, NULL, 0, 'no', '2024-10-04 07:27:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6660, 6684, 1117, NULL, 0, 'no', '2024-10-04 07:28:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6661, 6685, 1118, NULL, 0, 'no', '2024-10-04 07:43:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6662, 6686, 1118, NULL, 0, 'no', '2024-10-04 07:43:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6663, 6687, 1118, NULL, 0, 'no', '2024-10-04 07:43:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6664, 6688, 1118, NULL, 0, 'no', '2024-10-04 07:44:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6665, 6689, 1118, NULL, 0, 'no', '2024-10-04 07:44:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6666, 6690, 1119, NULL, 0, 'no', '2024-10-04 07:51:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6667, 6691, 1119, NULL, 0, 'no', '2024-10-04 07:52:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6668, 6692, 1119, NULL, 0, 'no', '2024-10-04 07:52:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6669, 6693, 1119, NULL, 0, 'no', '2024-10-04 07:52:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6670, 6694, 1120, NULL, 0, 'no', '2024-10-04 07:55:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6671, 6695, 1120, NULL, 0, 'no', '2024-10-04 07:55:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6672, 6696, 1120, NULL, 0, 'no', '2024-10-04 07:56:06');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6673, 6697, 1120, NULL, 0, 'no', '2024-10-04 07:56:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6674, 6698, 1120, NULL, 0, 'no', '2024-10-04 07:56:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6675, 6699, 1119, 1, 0, 'no', '2024-10-04 07:58:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6676, 6700, 1120, NULL, 0, 'no', '2024-10-04 07:59:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6677, 6701, 1118, 1, 0, 'no', '2024-10-04 08:01:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6678, 6702, 1117, 1, 0, 'no', '2024-10-04 08:09:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6679, 6703, 1084, 1, 0, 'no', '2024-10-04 08:10:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6680, 6704, 1090, 1, 0, 'no', '2024-10-04 08:12:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6681, 6705, 1104, 1, 0, 'no', '2024-10-04 08:12:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6682, 6706, 1117, 1, 0, 'no', '2024-10-04 08:22:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6683, 6707, 830, 1, 0, 'no', '2024-10-04 09:12:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6684, 6708, 629, 1, 0, 'no', '2024-10-04 09:13:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6685, 6709, 584, 1, 0, 'no', '2024-10-04 09:13:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6686, 6710, 520, 1, 0, 'no', '2024-10-04 09:14:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6687, 6711, 1121, NULL, 0, 'no', '2024-10-04 09:17:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6688, 6712, 781, 1, 0, 'no', '2024-10-04 09:18:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6689, 6713, 639, 1, 0, 'no', '2024-10-04 09:18:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6690, 6714, 578, 1, 0, 'no', '2024-10-04 09:19:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6691, 6715, 642, 1, 0, 'no', '2024-10-04 09:19:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6692, 6716, 896, 1, 0, 'no', '2024-10-04 09:20:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6693, 6717, 641, 1, 0, 'no', '2024-10-04 09:21:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6694, 6718, 921, 1, 0, 'no', '2024-10-04 09:21:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6695, 6719, 1121, NULL, 0, 'no', '2024-10-04 09:22:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6696, 6720, 916, 1, 0, 'no', '2024-10-04 09:22:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6697, 6721, 1121, NULL, 1, 'no', '2024-10-04 09:23:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6698, 6722, 1122, NULL, 0, 'no', '2024-10-04 09:29:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6699, 6723, 919, 1, 0, 'no', '2024-10-04 09:30:03');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6700, 6724, 509, 1, 0, 'no', '2024-10-04 09:32:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6701, 6725, 1085, 1, 0, 'no', '2024-10-04 09:32:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6702, 6726, 1090, 1, 0, 'no', '2024-10-04 09:33:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6703, 6727, 1082, 1, 0, 'no', '2024-10-04 09:33:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6704, 6728, 1122, NULL, 0, 'no', '2024-10-04 09:34:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6705, 6729, 1073, 1, 0, 'no', '2024-10-04 09:35:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6706, 6730, 484, 1, 0, 'no', '2024-10-04 09:36:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6707, 6731, 1123, NULL, 0, 'no', '2024-10-05 04:09:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6708, 6732, 1124, NULL, 0, 'no', '2024-10-05 04:52:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6709, 6733, 509, 1, 0, 'no', '2024-10-05 04:53:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6710, 6734, 563, 1, 0, 'no', '2024-10-05 04:53:59');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6711, 6735, 1079, 1, 0, 'no', '2024-10-05 04:54:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6712, 6736, 1124, NULL, 0, 'no', '2024-10-05 04:56:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6713, 6737, 1124, NULL, 0, 'no', '2024-10-05 04:56:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6714, 6738, 1124, NULL, 0, 'no', '2024-10-05 04:56:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6715, 6739, 1124, NULL, 0, 'no', '2024-10-05 04:57:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6716, 6740, 1, NULL, 0, 'no', '2024-11-06 11:15:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6717, 6741, 643, 1, 0, 'no', '2024-11-07 04:18:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6718, 6742, 765, 1, 0, 'no', '2024-11-07 04:19:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6719, 6743, 363, 1, 0, 'no', '2024-11-07 04:19:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6720, 6744, 563, 1, 0, 'no', '2024-11-07 04:19:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6721, 6745, 1085, 1, 0, 'no', '2024-11-07 04:20:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6723, 6747, 844, 1, 0, 'no', '2024-11-07 04:21:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6724, 6748, 1081, 1, 0, 'no', '2024-11-07 04:21:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6725, 6749, 578, 1, 0, 'no', '2024-11-07 04:22:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6726, 6750, 884, 14, 0, 'no', '2024-11-07 04:22:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6727, 6751, 1077, 14, 0, 'no', '2024-11-07 04:22:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6728, 6752, 896, 14, 0, 'no', '2024-11-07 04:23:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6729, 6753, 563, 2, 0, 'no', '2024-11-07 04:24:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6730, 6754, 916, 2, 0, 'no', '2024-11-07 04:24:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6731, 6755, 928, 2, 0, 'no', '2024-11-07 04:24:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6732, 6756, 1121, 2, 0, 'no', '2024-11-07 04:25:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6733, 6757, 1084, 1, 0, 'no', '2024-11-07 04:27:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6734, 6758, 584, 1, 0, 'no', '2024-11-07 04:27:55');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6735, 6759, 1123, 1, 0, 'no', '2024-11-07 04:28:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6736, 6760, 921, 1, 0, 'no', '2024-11-07 04:28:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6737, 6761, 940, 1, 0, 'no', '2024-11-07 04:29:04');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6738, 6762, 1072, 1, 0, 'no', '2024-11-07 04:29:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6739, 6763, 844, 1, 0, 'no', '2024-11-07 04:29:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6740, 6764, 1122, 1, 0, 'no', '2024-11-07 04:30:15');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6741, 6765, 1106, 1, 0, 'no', '2024-11-07 04:30:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6742, 6766, 643, 1, 0, 'no', '2024-11-07 04:32:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6743, 6767, 1083, 1, 0, 'no', '2024-11-07 04:32:45');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6744, 6768, 1123, 1, 0, 'no', '2024-11-07 04:33:05');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6745, 6769, 1125, NULL, 0, 'no', '2024-11-07 04:47:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6746, 6770, 1125, NULL, 0, 'no', '2024-11-07 04:48:22');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6747, 6771, 1125, NULL, 0, 'no', '2024-11-07 04:48:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6748, 6772, 1125, NULL, 0, 'no', '2024-11-07 04:49:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6749, 6773, 1125, NULL, 0, 'no', '2024-11-07 04:50:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6750, 6774, 1126, NULL, 0, 'no', '2024-11-07 04:56:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6751, 6775, 1126, NULL, 0, 'no', '2024-11-07 04:57:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6752, 6776, 1126, NULL, 0, 'no', '2024-11-07 04:57:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6753, 6777, 1126, NULL, 0, 'no', '2024-11-07 04:58:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6754, 6778, 1126, NULL, 0, 'no', '2024-11-07 04:58:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6755, 6779, 1127, NULL, 0, 'no', '2024-11-07 05:02:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6756, 6780, 1127, NULL, 0, 'no', '2024-11-07 05:02:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6757, 6781, 1127, NULL, 0, 'no', '2024-11-07 05:03:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6758, 6782, 1127, NULL, 0, 'no', '2024-11-07 05:03:54');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6759, 6783, 1127, NULL, 0, 'no', '2024-11-07 05:08:16');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6760, 6784, 1128, NULL, 0, 'no', '2024-11-07 05:11:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6761, 6785, 1128, NULL, 0, 'no', '2024-11-07 05:11:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6762, 6786, 1128, NULL, 0, 'no', '2024-11-07 05:11:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6763, 6787, 1128, NULL, 0, 'no', '2024-11-07 05:12:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6764, 6788, 1128, NULL, 0, 'no', '2024-11-07 05:12:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6765, 6789, 1129, NULL, 0, 'no', '2024-11-07 05:26:53');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6766, 6790, 1129, NULL, 0, 'no', '2024-11-07 05:28:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6767, 6791, 1129, NULL, 0, 'no', '2024-11-07 05:29:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6768, 6792, 1129, NULL, 0, 'no', '2024-11-07 05:29:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6769, 6793, 1129, NULL, 0, 'no', '2024-11-07 05:30:39');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6770, 6794, 1130, NULL, 0, 'no', '2024-11-07 05:40:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6771, 6795, 1131, NULL, 0, 'no', '2024-11-07 06:03:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6772, 6796, 1132, NULL, 0, 'no', '2024-11-07 06:05:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6773, 6797, 1133, NULL, 0, 'no', '2024-11-07 06:07:38');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6774, 6798, 1133, NULL, 0, 'no', '2024-11-07 06:08:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6775, 6799, 1131, NULL, 0, 'no', '2024-11-07 06:09:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6776, 6800, 1134, NULL, 0, 'no', '2024-11-07 06:12:17');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6777, 6801, 1134, NULL, 1, 'no', '2024-11-07 06:13:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6778, 6802, 1, NULL, 0, 'no', '2024-12-05 04:11:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6779, 6803, 1125, 1, 0, 'no', '2024-12-05 06:25:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6780, 6804, 830, 1, 0, 'no', '2024-12-05 06:27:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6781, 6805, 1087, 1, 0, 'no', '2024-12-05 06:28:11');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6782, 6806, 1071, 1, 0, 'no', '2024-12-05 06:30:31');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6783, 6807, 1117, 1, 0, 'no', '2024-12-05 06:30:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6784, 6808, 1073, 1, 0, 'no', '2024-12-05 06:31:49');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6785, 6809, 1099, 1, 0, 'no', '2024-12-05 06:32:20');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6786, 6810, 1125, 1, 0, 'no', '2024-12-05 06:33:08');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6787, 6811, 1124, 1, 0, 'no', '2024-12-05 06:36:32');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6788, 6812, 641, 1, 0, 'no', '2024-12-05 06:41:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6789, 6813, 1125, 1, 0, 'no', '2024-12-05 06:49:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6790, 6814, 765, 1, 0, 'no', '2024-12-05 06:49:47');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6791, 6815, 928, 1, 0, 'no', '2024-12-05 06:50:26');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6792, 6816, 884, 1, 0, 'no', '2024-12-05 06:52:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6793, 6817, 1089, 1, 0, 'no', '2024-12-05 06:55:14');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6794, 6818, 879, 1, 0, 'no', '2024-12-05 06:55:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6795, 6819, 1079, 1, 0, 'no', '2024-12-05 06:56:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6796, 6820, 363, 1, 0, 'no', '2024-12-05 06:56:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6797, 6821, 1106, 1, 0, 'no', '2024-12-05 06:57:12');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6798, 6822, 781, 1, 0, 'no', '2024-12-05 06:59:29');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6799, 6823, 628, 1, 0, 'no', '2024-12-05 07:00:18');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6800, 6824, 1075, 1, 0, 'no', '2024-12-05 07:00:33');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6801, 6825, 121, 1, 0, 'no', '2024-12-05 07:02:52');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6802, 6826, 928, 1, 0, 'no', '2024-12-05 07:04:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6803, 6827, 844, 1, 0, 'no', '2024-12-05 07:06:57');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6804, 6828, 1135, NULL, 0, 'no', '2024-12-05 09:42:07');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6805, 6829, 1135, NULL, 0, 'no', '2024-12-05 11:31:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6806, 6830, 1135, NULL, 0, 'no', '2024-12-05 11:32:01');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6807, 6831, 1135, NULL, 0, 'no', '2024-12-05 11:32:27');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6808, 6832, 1136, NULL, 0, 'no', '2024-12-05 11:39:30');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6809, 6833, 1136, NULL, 0, 'no', '2024-12-05 11:40:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6810, 6834, 1136, NULL, 0, 'no', '2024-12-05 11:41:23');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6811, 6835, 1136, NULL, 0, 'no', '2024-12-05 11:41:48');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6812, 6836, 1137, NULL, 0, 'no', '2024-12-05 11:43:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6813, 6837, 1137, NULL, 0, 'no', '2024-12-05 11:47:13');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6814, 6838, 1137, NULL, 0, 'no', '2024-12-05 11:50:46');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6815, 6839, 1137, NULL, 0, 'no', '2024-12-05 11:52:28');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6816, 6840, 1138, NULL, 0, 'no', '2024-12-05 11:57:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6817, 6841, 1138, NULL, 0, 'no', '2024-12-05 12:04:09');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6818, 6842, 1138, NULL, 0, 'no', '2024-12-05 12:04:40');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6819, 6843, 1138, NULL, 0, 'no', '2024-12-05 12:05:19');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6820, 6844, 1139, NULL, 0, 'no', '2024-12-05 12:10:50');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6821, 6845, 1139, NULL, 0, 'no', '2024-12-05 12:12:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6822, 6846, 1139, NULL, 0, 'no', '2024-12-05 12:13:02');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6823, 6847, 1139, NULL, 0, 'no', '2024-12-05 12:13:21');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6824, 6848, 1139, NULL, 0, 'no', '2024-12-05 12:13:44');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6825, 6849, 1107, 1, 1, 'no', '2024-12-05 12:24:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6826, 6850, 1140, NULL, 0, 'no', '2024-12-05 12:27:35');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6827, 6851, 1140, NULL, 0, 'no', '2024-12-05 12:28:51');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6828, 6852, 1076, 1, 0, 'no', '2024-12-06 05:06:36');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6829, 6853, 1127, 1, 0, 'no', '2024-12-06 05:07:10');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6830, 6854, 1141, NULL, 0, 'no', '2024-12-06 05:10:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6831, 6855, 1142, 1, 0, 'no', '2024-12-06 05:22:00');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6832, 6856, 1141, NULL, 0, 'no', '2024-12-06 05:22:58');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6833, 6857, 643, 1, 0, 'no', '2024-12-06 05:23:37');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6834, 6858, 1143, NULL, 0, 'no', '2024-12-06 05:25:43');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6835, 6859, 878, 1, 0, 'no', '2024-12-06 05:27:24');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6836, 6860, 643, 1, 0, 'no', '2024-12-13 20:19:41');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6837, 6861, 844, 1, 0, 'no', '2024-12-13 22:10:25');
INSERT INTO `opd_details` (`id`, `case_reference_id`, `patient_id`, `generated_by`, `is_ipd_moved`, `discharged`, `created_at`) VALUES (6838, 6862, 1144, 1, 0, 'no', '2024-12-13 23:07:37');


#
# TABLE STRUCTURE FOR: operation
#


CREATE TABLE `operation` (
  `id` int NOT NULL AUTO_INCREMENT,
  `operation` varchar(250) NOT NULL,
  `category_id` int DEFAULT NULL,
  `is_active` varchar(10) NOT NULL,
  `created_at` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `category_id` (`category_id`),
  KEY `index_operation` (`operation`),
  CONSTRAINT `operation_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `operation_category` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3;

INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (1, 'Bronchoscopy', 8, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (2, 'Hydrocele and varicocele excision', 7, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (3, 'Cataract extraction ophthalmological procedures', 5, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (4, 'Dilation and curettage', 6, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (5, ' Tooth extraction', 1, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (6, 'Arthroscopic surgery including ACL repair', 1, 'yes', '2021-10-25');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (7, ' Facelift Surgery', 3, 'yes', '2024-06-01');
INSERT INTO `operation` (`id`, `operation`, `category_id`, `is_active`, `created_at`) VALUES (8, 'Coronary artery bypass', 4, 'yes', '2024-06-01');


#
# TABLE STRUCTURE FOR: operation_category
#

