/*
SQLyog Community v13.1.9 (64 bit)
MySQL - 8.0.35 
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;

create table `appointment_details` (
	`id` int (100),
	`emp_id` varchar (300),
	`doctor_id` varchar (300),
	`date` datetime ,
	`time` varchar (300),
	`day` varchar (300),
	`app_type` varchar (33),
	`ohc_type_id` int (11),
	`status` varchar (33),
	`modified_by` int (11),
	`last_modified` timestamp ,
	`Remarks` varchar (300),
	`app_id` int (11)
); 
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('1','3412','','2024-01-08 00:00:00','12','','MED','1','BOOKED','118','2024-01-05 19:13:14','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('2','24415','','2024-01-08 00:00:00','12','','MED','1','DRA','0','2024-01-05 19:35:30','','89849');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('3','3872','','2024-01-08 00:00:00','12','','MED','1','DRA','0','2024-01-05 20:33:33','','89848');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('5','1885','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','107','2024-01-06 12:54:07','Mr. Kumara - Lab Technician is on leave','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('6','6345','','2024-01-08 00:00:00','12','','MED','1','DRA','0','2024-01-06 13:39:29','','89846');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('7','22990','','2024-01-08 00:00:00','12','','MED','1','DRA','0','2024-01-06 15:46:25','','89847');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('8','8501','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-07 11:44:21','','89940');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('9','155','','2024-01-09 00:00:00','12','','MED','1','DRA','0','2024-01-07 14:17:55','','89904');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('10','4334','','2024-01-09 00:00:00','12','','MED','1','DRA','0','2024-01-07 18:08:07','','89893');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('11','22762','','2024-01-09 00:00:00','12','','MED','1','DRA','0','2024-01-07 18:36:27','','89898');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('12','4331','','2024-01-10 00:00:00','12','','MED','1','BOOKED','0','2024-01-07 20:06:15','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('13','3909','','2024-01-09 00:00:00','12','','MED','1','DRA','0','2024-01-07 20:44:15','','89894');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('14','1357','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 07:41:19','','89932');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('15','4401','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 08:12:08','','89929');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('16','9760','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 08:25:26','','89931');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('17','10481','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 08:25:27','','89933');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('18','7927','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','107','2024-01-08 08:59:16','Mr. Kumara - Lab Technician is on leave','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('19','4003','','2024-01-31 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 09:04:16','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('20','9729','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 09:12:45','','89930');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('21','13999','','2024-01-10 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 09:14:31','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('22','5439','','2024-01-10 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 09:38:38','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('23','1376','','2024-01-12 00:00:00','12','','MED','1','DRA','0','2024-01-08 09:42:01','','93213');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('24','6161','','2024-01-10 00:00:00','12','','MED','1','DRA','0','2024-01-08 09:58:50','','89935');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('25','12','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-08 10:07:36','','89981');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('26','10294','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','0','2024-01-08 10:13:50','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('27','20843','','2024-01-25 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 11:01:03','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('28','6481','','2024-01-12 00:00:00','12','','MED','1','DRA','0','2024-01-08 12:01:25','','93215');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('29','4209','','2024-01-25 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 12:13:41','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('30','2277','','2024-01-31 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 12:26:08','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('31','257','','2024-01-11 00:00:00','12','','MED','1','BOOKED','0','2024-01-08 12:56:20','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('32','9827','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-08 14:10:38','','89974');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('33','10317','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','107','2024-01-08 15:32:53','Mr. Kumara - Lab Technician is on leave','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('35','10342','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-08 17:40:13','','89973');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('36','10369','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-09 07:28:08','','89975');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('37','10382','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-09 07:30:44','','89979');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('38','9780','','2024-01-18 00:00:00','12','','MED','1','BOOKED','0','2024-01-09 09:05:59','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('39','5508','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-09 12:22:36','','89978');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('40','16503','','2024-01-22 00:00:00','12','','MED','1','BOOKED','0','2024-01-09 13:12:14','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('42','24226','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-09 14:35:37','','89977');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('43','5428','','2024-01-12 00:00:00','12','','MED','1','DRA','0','2024-01-09 17:22:33','','93221');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('44','10381','','2024-01-12 00:00:00','12','','MED','1','DRA','0','2024-01-10 08:19:22','','93216');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('46','8124','','2024-01-19 00:00:00','12','','MED','1','BOOKED','0','2024-01-10 13:01:59','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('47','6526','','2024-01-12 00:00:00','12','','MED','1','DRA','0','2024-01-10 14:15:30','','93217');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('51','3823','','2024-01-11 00:00:00','12','','MED','1','DRA','0','2024-01-10 20:08:32','','89976');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('54','3989','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','0','2024-01-11 19:43:52','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('55','3982','','2024-01-17 00:00:00','12','','MED','1','CANCELLED','0','2024-01-12 12:28:48','','0');
insert into `appointment_details` (`id`, `emp_id`, `doctor_id`, `date`, `time`, `day`, `app_type`, `ohc_type_id`, `status`, `modified_by`, `last_modified`, `Remarks`, `app_id`) values('57','1321','','2024-01-18 00:00:00','12','','MED','1','BOOKED','107','2024-01-12 15:17:45','','0');
