Isha Ma'Am Hospital Data New
Isha Ma'Am Hospital Data New
into Department
values ('Anaesthesia','Floor 1','Critical Care & Pain Management'),
('Cardiac','Floor 2','Surgery'),
('Diagnostics','Floor 3','Diagnosis'),
('ENT','Floor 4','Medicine'),
('General Surgery','Floor 5','Surgery'),
('Neuro Sciences','Floor 6','Diagnosis with Surgery'),
('Physiotherapy','Floor 7','Critical care & Pain Management'),
('Psychiatry','Floor 8','Diagnosis'),
('Orthopaedic','Floor 9','Critical Care & Pain Management'),
('Pulmonary','Floor 10','Medicine');
==================================================
INSERT
into Doctor values ('DR01','Anaesthesia'),('DR02','Anaesthesia'),
('DC01','Anaesthesia'),('DC02','Anaesthesia'),
('DR03','Cardiac'),
('DR04','Cardiac'),
('DC03','Cardiac'),
('DC04','Cardiac'),
('DR05','Diagnostics'),
('DR06','Diagnostics'),
('DC05','Diagnostics'),
('DC06','Diagnostics'),
('DR07','ENT'),
('DR08','ENT'),
('DC07','ENT'),
('DC08','ENT'),
('DR09','General Surgery'),
('DR10','General Surgery'),
('DC09','General Surgery'),
('DC10','General Surgery'),
('DR11','Neuro Sciences'),
('DR12','Neuro Sciences'),
('DC11','Neuro Sciences'),
('DC12','Neuro Sciences'),
('DR13','Physiotherapy'),
('DR14','Physiotherapy'),
('DC13','Physiotherapy'),
('DC14','Physiotherapy'),
('DR15','Psychiatry'),
('DR16','Psychiatry'),
('DC15','Psychiatry'),
('DC16','Psychiatry'),
('DR17','Orthopaedic'),
('DR18','Orthopaedic'),
('DC17','Orthopaedic'),
('DC18','Orthopaedic'),
('DR19','Pulmonary'),('DR20','Pulmonary'),('DC19','Pulmonary'),
('DC20','Pulmonary');
===========================
=====================================================
INSERT
into ROOM_DETAILS values (101,'P AC','N','PT001',5000);
insert into ROOM_DETAILS values
(102,'P AC','N','PT003',5000),
(103,'P AC','N','PT010',5000),
(104,'P AC','N','PT019',5000),
(105,'P AC','N','PT020',5000),
(201,'P NON-AC','N','PT007',3000),
(202,'P NON-AC','N','PT005',3000);
insert into ROOM_DETAILS values
(203,'P NON-AC','Y',NULL,3000);
===================================================
INSERT
into DOC_REG values ('DR01','Dr. A','MD',80000,8090607011,'2004-01-01');
INSERT
into DOC_REG values
('DR02','Dr. B','MD',60000,8090607012,'2007-03-01'),
('DR03','Dr. C','MBBS',100000,8090607013,'2008-05-01'),
('DR04','Dr. D','MBBS',120000,8090607014,'2010-07-01'),
('DR05','Dr. E','MD',50000,8090607015,'2006-09-01'),
('DR06','Dr. F','MD',60000,8090607016,'2012-11-01'),
('DR07','Dr. G','MBBS',80000,8090607017,'2010-02-01'),
('DR08','Dr. H','MBBS',90000,8090607018,'2013-04-01'),
('DR09','Dr. I','MBBS',120000,8090607019,'2010-06-01'),
('DR10','Dr. J','MBBS',150000,8090607020,'2015-08-01'),
('DR11','Dr. K','MBBS',140000,8090607031,'2012-10-01'),
('DR12','Dr. L','MD',120000,8090607032,'2010-12-01'),
('DR13','Dr. M','MBBS',80000,8090607033,'2011-11-01'),
('DR14','Dr. N','MD',60000,8090607034,'2014-08-01'),
('DR15','Dr. O','MD',60000,8090607035,'2015-4-01'),
('DR16','Dr. P','MD',60000,8090607036,'2010-01-01'),
('DR17','Dr. Q','MBBS',90000,8090607037,'2007-03-01'),
('DR18','Dr. R','MD',70000,8090607038,'2009-06-01'),
('DR19','Dr. S','MD',650000,8090607039,'2010-09-01'),
('DR20','Dr. T','MD',70000,8090607040,'2012-12-01');
==================================================
INSERT
into Pat_checkup
values ('PT001','DR03','Cardiac Problem','Referred for Operation','Preliminary'),
('PT002','DR13','Physio Problem','Regular Patient','Regular Treatment'),
('PT003','DC13','ENT Problem','Admitted','Adviced Treatment'),
('PT004','DR05','Diagnostics Problem','Regular Patient','Regular Treatment'),
('PT005','DR11','Neuro Problem','Referred for Operation','Preliminary'),
('PT006','DC17','Ortho Problem','Regular Patient','Regular Treatment'),
('PT007','DC09','Surgery','Referred for Operation','Preliminary'),
('PT008','DC13','ENT Problem','Regular Patient','Regular Treatment'),
('PT009','DR09','Surgery','Referred for Operation','Preliminary'),
('PT010','DR11','Neuro Problem','Admitted','Adviced Treatment'),
('PT011','DR19','Pulmonary Problem','Admitted','Adviced Treatment'),
('PT012','DC09','Surgery','Referred for Operation','Preliminary'),
('PT013','DC13','ENT Problem','Regular Patient','Regular Treatment'),
('PT014','DR09','Surgery','Referred for Operation','Preliminary'),
('PT015','DR11','Neuro Problem','Regular Patient','Regular Treatment'),
('PT016','DR19','Pulmonary Problem','Regular Patient','Regular Treatment'),
('PT017','DR09','Surgery','Referred for Operation','Preliminary'),
('PT018','DR18','Ortho Problem','Regular Patient','Regular Treatment'),
('PT019','DR10','Surgery','Referred for Operation','Preliminary'),
('PT020','DC12','Neuro Problem','Admitted','Adviced Treatment');
====================================================================
INSERT
into Pat_Admit values
('PT001','DR03','Cardiac Problem','Referred for Operation','Preliminary','2016-05-
11',101),
('PT003','DC13','ENT Problem','Admitted','Adviced Treatment','2016-05-11',102),
('PT005','DR11','Neuro Problem','Referred for Operation','Preliminary','2016-05-
08',202),
('PT007','DC09','Surgery','Referred for Operation','Preliminary','2016-05-
09',201),
('PT009','DR09','Surgery','Referred for Operation','Preliminary','2016-05-09',301),
('PT010','DR11','Neuro Problem','Admitted','Adviced Treatment','2016-05-03',103),
('PT011','DR19','Pulmonary Problem','Admitted','Adviced Treatment','2016-05-
03',401),
('PT012','DC09','Surgery','Referred for Operation','Preliminary','2016-05-
01',302),
('PT014','DR09','Surgery','Referred for Operation','Preliminary','2016-05-
03',303),
('PT017','DR09','Surgery','Referred for Operation','Preliminary','2016-05-
01',402),
('PT019','DR10','Surgery','Referred for Operation','Preliminary','2016-05-03',104),
('PT020','DC12','Neuro Problem','Admitted','Adviced Treatment','2016-05-03',105);
====================================
INSERT
into Pat_Reg values ('PT001','2016-05-02','Cardiac
Problem','Preliminary','Regular'),
('PT002','2016-03-03','Physio Problem','Regular Treatment','Basic'),
('PT003','2016-02-12','ENT Problem','Adviced Treatment','Basic'),
('PT004','2016-04-05','Diagnostics Problem','Regular Treatment','Basic'),
('PT005','2016-04-11','Neuro Problem','Preliminary','Regular'),
('PT006','2016-05-01','Ortho Problem','Regular Treatment','Regular'),
('PT007','2016-05-03','Surgery','Preliminary','Cured'),
('PT008','2016-04-11','ENT Problem','Regular Treatment','Regular'),
('PT009','2016-05-12','Surgery','Preliminary','Cured'),
('PT010','2016-05-11','Neuro Problem','Adviced Treatment','Regular'),
('PT011','2016-02-01','Pulmonary Problem','Adviced Treatment','Basic'),
('PT012','2016-05-03','Surgery','Preliminary','Cured'),
('PT013','2016-04-01','ENT Problem','Regular Treatment','Basic'),
('PT014','2016-05-07','Surgery','Preliminary','Cured'),
('PT015','2016-03-01','Neuro Problem','Regular Treatment','Regular'),
('PT016','2016-04-09','Pulmonary Problem','Regular Treatment','Basic'),
('PT017','2016-05-02','Surgery','Preliminary','Cured'),
('PT018','2016-05-01','Ortho Problem','Regular Treatment','Regular'),
('PT019','2016-05-01','Surgery','Preliminary','Cured'),
('PT020','2016-06-02','Neuro Problem','Adviced Treatment','Regular');
==========================
INSERT
into Pat_Oprtn values ('PT001','DR03','2016-05-03','2016-06-01','Major','OT 1'),
('PT005','DR11','2016-05-03','2016-06-01','Major','OT 2'),
('PT007','DC09','2016-05-10','2016-06-02','Minor','OT 1'),
('PT009','DR09','2016-05-09','2016-06-03','Minor','OT 2'),
('PT012','DC09','2016-05-01','2016-06-02','Minor','OT 1'),
('PT014','DR09','2016-05-03','2016-06-03','Major','OT 2'),
('PT017','DR09','2016-05-01','2016-06-03','Minor','OT 1'),
('PT019','DR10','2016-05-03','2016-06-03','Major','OT 2');
=====================================
INSERT
into Pat_Dischrg values ('PT001','DR03','Cardiac Problem','Regular',154165,'2016-
06-06'),
('PT003','DC13','ENT Problem','Short Term',52304,'2016-06-04'),
('PT005','DR11','Neuro Problem','Long Term',184234,'2016-06-05'),
('PT007','DC09','Surgery','Short Term',41652,'2016-06-05'),
('PT009','DR09','Surgery','Regular',35485,'2016-06-03'),
('PT010','DR11','Neuro Problem','Regular',166168,'2016-06-07'),
('PT011','DR19','Pulmonary Problem','Long Term',55262,'2016-06-03'),
('PT012','DC09','Surgery','Short Term',54316,'2016-06-04'),
('PT014','DR09','Surgery','Long Term',124285,'2016-06-08'),
('PT017','DR09','Surgery','Short Term',34165,'2016-06-06'),
('PT019','DR10','Surgery','Long term',24165,'2016-06-02'),
('PT020','DC12','Neuro Problem','Regular',124784,'2016-06-04');