-- Table structure for table `lab_setup`
--

CREATE TABLE `lab_setup` (
  `id` binary(0) DEFAULT NULL,
  `subhead` varchar(100) NOT NULL,
  `qms_dept_id` int(11) NOT NULL,
  `description` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `price` int(100) NOT NULL,
  `old_price` int(100) NOT NULL,
  `sort_index` int(11) NOT NULL,
  `account` varchar(50) DEFAULT NULL,
  `head` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `other_range` varchar(50) CHARACTER SET utf8 COLLATE utf8_swedish_ci DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `commission_type` varchar(50) NOT NULL,
  `percentage` int(11) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `label_type` varchar(20) DEFAULT NULL,
  `report_type` varchar(20) DEFAULT NULL,
  `print_type` varchar(20) DEFAULT NULL,
  `collect_sample` varchar(20) DEFAULT NULL,
  `to_be_analyzed` varchar(20) DEFAULT NULL,
  `to_be_reported` varchar(20) DEFAULT NULL,
  `upload_doc` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` varchar(100) DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `lab_head` int(10) NOT NULL,
  `lab_code` int(11) NOT NULL,
  `selectable` varchar(20) NOT NULL,
  `label_name` varchar(100) NOT NULL,
  `unit_code` varchar(50) NOT NULL,
  `unit_name` varchar(50) NOT NULL,
  `payable_head` varchar(50) NOT NULL,
  `receivable_head` varchar(50) NOT NULL,
  `account_name` varchar(100) NOT NULL,
  `payable_head_name` varchar(50) NOT NULL,
  `receivable_head_name` varchar(50) NOT NULL,
  `department_code` varchar(50) NOT NULL,
  `printable` tinyint(1) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `lab_setup`
--

INSERT INTO `lab_setup` (`id`, `subhead`, `qms_dept_id`, `description`, `price`, `old_price`, `sort_index`, `account`, `head`, `unit`, `range_from`, `range_to`, `other_range`, `specimen`, `commission_type`, `percentage`, `noOfLabels`, `label_type`, `report_type`, `print_type`, `collect_sample`, `to_be_analyzed`, `to_be_reported`, `upload_doc`, `created_at`, `updated_at`, `facilityId`, `created_by`, `lab_head`, `lab_code`, `selectable`, `label_name`, `unit_code`, `unit_name`, `payable_head`, `receivable_head`, `account_name`, `payable_head_name`, `receivable_head_name`, `department_code`, `printable`) VALUES
(NULL, '1000', 0, 'PSC Specialist Clinic', 0, 0, 0, NULL, '', NULL, NULL, NULL, '', '', '', 0, 1, 'single', NULL, 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 0, 0, 'not allowed', 'PSC Specialist Clinic', '', '', '', '', '', '', '', '', 0),
(NULL, '10001', 0, 'Genotype', 3000, 0, 0, NULL, '2022', '', '', '', NULL, '', '', 0, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'no', 'no', '2021-12-02 05:17:21', NULL, '052100000000', '', 0, 0, '', 'Genotype', '', '', '', '', '', '', '', '', 1),
(NULL, '2000', 3, 'Hematology', 5000, 0, 0, NULL, '2022', '', '', '', '', 'No specimen', '', 0, 1, 'grouped', NULL, 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 2000, 0, 'not allowed', 'Hematology', '', '', '', '', '', '', '', '', 1),
(NULL, '200019', 3, 'INR', 2500, 2500, 10, '20001', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', NULL, '052100000000', 'admin', 2000, 2000, '', 'INR', '', '', '', '', '', '', '', '', 0),
(NULL, '2000192', 3, 'Sample (PT)', 2000, 0, 0, '20001', '200019', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'INR', '', '', '', '', '', '', '', '', 1),
(NULL, '2000193', 3, 'INR (PT)', 1500, 0, 0, '20001', '200019', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'INR', '', '', '', '', '', '', '', '', 1),
(NULL, '2001', 3, 'PCV', 1000, 600, 10, '20001', '2022', '%', '30', '45', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'PCV', '', '', '', '', '', '', '', '', 1),
(NULL, '2002', 3, 'PTTK/APTT', 2500, 2500, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'PTTK/APTT', '', '', '', '', '', '', '', '', 0),
(NULL, '20021', 3, 'Control(PTT)', 1000, 0, 1, '20001', '2002', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'PTTK/APTT', '', '', '', '', '', '', '', '', 1),
(NULL, '20022', 3, 'Sample(PTT)', 0, 0, 2, '20001', '2002', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'PTTK/APTT', '', '', '', '', '', '', '', '', 1),
(NULL, '20023', 3, 'Ratio(PTT)', 0, 0, 3, '20001', '2002', NULL, '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'PTTK/APTT', '', '', '', '', '', '', '', '', 1),
(NULL, '2003', 3, 'Prothrombin time', 2500, 2500, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'Prothrombin time', '', '', '', '', '', '', '', '', 0),
(NULL, '20031', 3, 'Control(PT)', 0, 0, 1, '20001', '2003', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'Prothrombin time', '', '', '', '', '', '', '', '', 1),
(NULL, '20032', 3, 'Sample(PT)', 0, 0, 2, '20001', '2003', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'Prothrombin time', '', '', '', '', '', '', '', '', 1),
(NULL, '20033', 3, 'INR(PT)', 0, 0, 3, '20001', '2003', 'secs', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 2000, 2000, 'not allowed', 'Prothrombin time', '', '', '', '', '', '', '', '', 1),
(NULL, '2004', 3, 'Reticulocyte', 7000, 7000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'Reticulocyte', '', '', '', '', '', '', '', '', 1),
(NULL, '2005', 3, 'Thrombin Time', 1000, 1000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'Thrombin Time', '', '', '', '', '', '', '', '', 1),
(NULL, '2006', 3, 'VITAMIN B12', 8000, 8000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'VITAMIN B12', '', '', '', '', '', '', '', '', 1),
(NULL, '2007', 3, 'Blood group & RH', 2000, 800, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'Blood group & RH', '', '', '', '', '', '', '', '', 1),
(NULL, '2008', 3, 'Direct Coombs Test', 1000, 1000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 2000, 2000, '', 'Direct Coombs Test', '', '', '', '', '', '', '', '', 1),
(NULL, '2009', 3, 'ESR', 2000, 1000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-06-01 06:19:23', '', '052100000000', '', 2000, 2000, '', 'ESR', '', '', '', '', '', '', '', '', 1),
(NULL, '2010', 3, 'FOLATE', 8000, 8000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 0, 2000, '', 'FOLATE', '', '', '', '', '', '', '', '', 1),
(NULL, '2013', 3, 'Haemoglobin Hb', 600, 600, 10, '20001', '2022', 'g/dL', '11', '16', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 0, 2000, '', 'Haemoglobin Hb', '', '', '', '', '', '', '', '', 1),
(NULL, '2014', 3, 'Indirect Coombs Test', 1500, 1500, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 0, 2000, '', 'Indirect Coombs Test', '', '', '', '', '', '', '', '', 1),
(NULL, '2015', 3, 'Fine Niddle Aspiration', 5000, 5000, 10, '20001', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', '', '052100000000', '', 0, 2000, '', 'Fine Niddle Aspiration', '', '', '', '', '', '', '', '', 1),
(NULL, '2019', 3, 'Clothing Profile', 6000, 5000, 3, '20001', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', NULL, '052100000000', 'admin', 0, 2000, '', 'Clothing Profile', '', '', '', '', '', '', '', '', 0),
(NULL, '20191', 3, 'Control (PTT)', 0, 0, 0, '20001', '2019', 'secs', '60', '75', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '20192', 3, 'Sample (PTT)', 0, 0, 0, '20001', '2019', 'secs', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '20193', 3, 'Ratio (PTT)', 0, 0, 0, '20001', '2019x', '', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '20194', 3, 'Control (PT)', 0, 0, 0, '20001', '2019', 'secs', '10', '25', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '20195', 3, 'Sample (PT)', 0, 0, 4, '20001', '2019', 'secs', '10', '25', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '20196', 3, 'INR (PT)', 0, 0, 5, '20001', '2019', '', '0.8', '1.1', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Clothing Profile', '', '', '', '', '', '', '', '', 1),
(NULL, '2020', 3, 'HPLC Test', 8000, 6500, 2, '20001', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 2, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 23:03:50', NULL, '052100000000', 'admin', 0, 2000, '', 'HPLC Test', '', '', '', '', '', '', '', '', 0),
(NULL, '20201', 3, 'HbC(hplc)', 0, 0, 1, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '202010', 3, 'P3(hplc)', 0, 0, 8, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20202', 3, 'LA1c/CHb-1(hplc)', 0, 0, 9, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20203', 3, 'HbS(hplc)', 0, 0, 10, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20204', 3, 'A1a(hplc)', 0, 0, 2, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20205', 3, 'A1b(hplc)', 0, 0, 3, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20206', 3, 'A1c(hplc)', 0, 0, 4, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20207', 3, 'A0(hplc)', 0, 0, 5, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20208', 3, 'A2(hplc)', 0, 0, 6, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '20209', 3, 'F(hplc)', 0, 0, 7, '20001', '2020', '%', '', '', NULL, 'Blood', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'HPLC Test', '', '', '', '', '', '', '', '', 1),
(NULL, '2021', 3, 'Full Blood Count', 4000, 2000, 1, '20001', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-06-01 06:16:24', NULL, '052100000000', 'admin', 0, 2000, '', 'Full Blood Count', '', '', '', '', '', '', '', '', 0),
(NULL, '20211', 3, 'WBC', 0, 0, 1, '20001', '2021', '0.02x10^9/L', '4.00', '10.00', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:40:47', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202110', 3, 'HCT', 0, 0, 4, '20001', '2021', '0.1 %', '35', '50', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:00', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202111', 3, 'MCV', 0, 0, 5, '20001', '2021', 'fL', '80', '100', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:06', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202112', 3, 'MCH', 0, 0, 6, '20001', '2021', 'pg', '27', '34', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:15', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202113', 3, 'MCHC', 0, 0, 7, '20001', '2021', 'g/L', '32.0', '36.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:20', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202114', 3, 'RDW-SD', 0, 0, 16, '20001', '2021', 'fL', '35.0', '56.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:25', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202115', 3, 'RDW-CV', 0, 0, 15, '20001', '2021', '%', '10.0', '15.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:29', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202116', 3, 'PLT', 0, 0, 8, '20001', '2021', '8x10^9/L', '100', '300', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:34', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202117', 3, 'MPV', 0, 0, 17, '20001', '2021', 'fL', '7', '11', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:39', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202118', 3, 'PDW', 0, 2200, 18, '20001', '2021', '%', '10', '18', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:48', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202119', 3, 'PCT', 0, 0, 20, '20001', '2021', '%', '0.100', '0.500', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:53', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20212', 3, 'LYM#', 0, 0, 12, '20001', '2021', '10^9/L', '0.80', '4.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:41:57', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '202120', 3, 'P-LCR', 0, 0, 19, '20001', '2021', '%', '13', '43', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:01', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20213', 3, 'MID#', 0, 0, 13, '20001', '2021', '10^9/L', '0.10', '0.90', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:06', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20214', 3, 'GRA#', 0, 0, 14, '20001', '2021', '10^9/L', '2.00', '7.80', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:14', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20215', 3, 'LYM%', 0, 0, 9, '20001', '2021', '%', '20.0', '40.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:18', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20216', 3, 'MID%', 0, 0, 10, '20001', '2021', '%', '3.0', '15.0', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:26', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20217', 3, 'GRA%', 0, 0, 11, '20001', '2021', '%', '50', '70', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:31', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20218', 3, 'RBC', 0, 0, 2, '20001', '2021', '0.02 10^12/L', '3.50', '5.50', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:36', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '20219', 3, 'HGB', 0, 0, 3, '20001', '2021', '0.0 g/dL', '11', '16.5', NULL, 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'no', 'yes', NULL, '2021-05-31 02:42:40', NULL, '052100000000', 'admin', 0, 2000, 'not allowed', 'Full Blood Count', '', '', '', '', '', '', '', '', 1),
(NULL, '2022', 3, 'Others', 0, 0, 1, '20001', '202200', NULL, NULL, NULL, NULL, '', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 2000, 2000, 'not allowed', 'Others', '', '', '', '', '', '', '', '', 0),
(NULL, '202200', 3, 'Laboratories', 0, 0, 1, '20001', '1000', NULL, NULL, NULL, NULL, '', '', 0, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 2000, 2000, 'not allowed', 'Others', '', '', '', '', '', '', '', '', 0),
(NULL, '3000', 3, 'Chemical Pathology', 0, 0, 0, NULL, '2022', '', '', '', '', 'No specimen', '', 0, 1, 'grouped', NULL, 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 3000, 0, 'not allowed', 'Chemical Pathology', '', '', '', '', '', '', '', '', 1),
(NULL, '30001', 3, '2H PP', 800, 600, 10, '20002', '2022', 'mmol/L', '3.5', '7.7', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-15 01:43:50', '', '052100000000', '', 3000, 3000, '', '2H PP', '', '', '', '', '', '', '', '', 1),
(NULL, '30002', 3, '6 POINT GLUCOSE ', 3500, 3500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-15 01:43:50', '', '052100000000', '', 3000, 3000, '', '6 POINT GLUCOSE ', '', '', '', '', '', '', '', '', 1),
(NULL, '30005', 3, 'ASCITIC FLUID CHEMISTRY', 2000, 2000, 10, '20002', '2022', '', '7', '45', '', 'Ascitic Fluid', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:54:50', '', '052100000000', '', 3000, 3000, '', 'ASCITIC FLUID CHEMISTRY', '', '', '', '', '', '', '', '', 1),
(NULL, '30006', 3, 'ASCITIC FLUID LDH', 1500, 1500, 10, '20002', '2022', 'U/I', '200', '400', '', 'Ascitic Fluid', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:54:56', '', '052100000000', '', 3000, 3000, '', 'ASCITIC FLUID LDH', '', '', '', '', '', '', '', '', 1),
(NULL, '30007', 3, 'ASCITIC FLUID PROTEIN', 1000, 1000, 10, '20002', '2022', '', '7', '45', '', 'Ascitic Fluid', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:55:00', '', '052100000000', '', 3000, 3000, '', 'ASCITIC FLUID PROTEIN', '', '', '', '', '', '', '', '', 1),
(NULL, '30009', 3, 'Acid Phosphatase', 2000, 2000, 10, '20002', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-15 01:43:50', '', '052100000000', '', 3000, 3000, '', 'Acid Phosphatase', '', '', '', '', '', '', '', '', 1),
(NULL, '300100', 3, 'Hormones', 0, 0, 1, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Hormones', '', '', '', '', '', '', '', '', 1),
(NULL, '3001001', 3, 'Oestrogen', 5000, 5500, 0, '20002', '2022', 'pg/ml', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Oestrogen', '', '', '', '', '', '', '', '', 1),
(NULL, '30010010', 3, 'Prolactin', 5500, 6000, 0, '20002', '2022', 'mu/L', '72', '511', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Prolactin', '', '', '', '', '', '', '', '', 1),
(NULL, '30010011', 3, 'Testosterone', 5500, 5000, 0, '20002', '2022', 'ng/ml', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Testosterone', '', '', '', '', '', '', '', '', 1),
(NULL, '30010012', 3, 'T3', 9000, 6000, 0, '20002', '2022', 'nmol/L', '0.6', '4.12', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-06-01 06:10:59', NULL, '052100000000', 'admin', 3000, 3000, '', 'T3', '', '', '', '', '', '', '', '', 1),
(NULL, '30010013', 3, 'T4', 9000, 6500, 0, '20002', '2022', 'nmol/L', '58', '140', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'T4', '', '', '', '', '', '', '', '', 1),
(NULL, '30010014', 3, 'TSH', 9000, 5000, 0, '20002', '2022', 'mu/L', '0.45', '4.12', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'TSH', '', '', '', '', '', '', '', '', 1),
('', '30010015', 3, 'HbA1c (STRIP)', 9000, 0, 14, '20002', '2022', '', '', '', NULL, 'Urine', '', 15, 1, 'single', 'table', 'grouped', 'no', NULL, NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'HbA1c (STRIP)', '', '', '', '', '', '', '', '', 1),
('', '30010016', 3, 'CRP', 9000, 0, 15, '20002', '2022', '', '', '', NULL, 'Urine', '', 15, 1, 'grouped', 'table', 'grouped', 'no', NULL, NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'CRP', '', '', '', '', '', '', '', '', 1),
('', '30010017', 3, 'SERUM FERRITIN', 7000, 0, 16, '20002', '2022', '', '', '', NULL, 'Blood', '', 15, 1, 'grouped', 'table', 'grouped', 'no', NULL, NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'SERUM FERRITIN', '', '', '', '', '', '', '', '', 1),
(NULL, '3001002', 3, 'Troponin-I', 9000, 5000, 0, '20002', '2022', 'nanogram/mL', '', '<1.0', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Troponin-I', '', '', '', '', '', '', '', '', 1),
(NULL, '3001003', 3, 'RHEUMATOID FACTOR', 6500, 2500, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'RHEUMATOID FACTOR', '', '', '', '', '', '', '', '', 1),
(NULL, '3001004', 3, 'Progesterone', 5500, 2500, 0, '20002', '2022', 'ng/I', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Progesterone', '', '', '', '', '', '', '', '', 1),
(NULL, '3001005', 3, 'D - DIMER', 6000, 2500, 0, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:50:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'D - DIMER', '', '', '', '', '', '', '', '', 1),
(NULL, '3001006', 3, 'Cortisol', 7000, 5000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Cortisol', '', '', '', '', '', '', '', '', 1),
(NULL, '3001007', 3, 'C - REACTIVE PROTEIN (CRP)', 9000, 6500, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'C - REACTIVE PROTEIN (CRP)', '', '', '', '', '', '', '', '', 1),
(NULL, '3001008', 3, 'HbA1c', 9000, 6500, 0, '20002', '2022', '', '<6.4', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'HbA1c', '', '', '', '', '', '', '', '', 1),
(NULL, '3001009', 3, 'ESTRADIOL', 7500, 5500, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'ESTRADIOL', '', '', '', '', '', '', '', '', 1),
(NULL, '300101', 3, 'Serum Proteins', 0, 0, 8, '20002', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'Serum Proteins', '', '', '', '', '', '', '', '', 0),
(NULL, '3001011', 3, 'T.Protein', 2000, 1000, 0, '20002', '300101', 'g/L', '59', '86', NULL, 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Serum Proteins', '', '', '', '', '', '', '', '', 1),
(NULL, '3001013', 3, 'Globulin.', 0, 600, 0, '20002', '300101', 'g/L', '20', '43', NULL, 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Serum Proteins', '', '', '', '', '', '', '', '', 1),
(NULL, '300102', 3, 'Others', 0, 0, 3, NULL, '2022', NULL, NULL, NULL, NULL, '', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 3000, 3000, 'not allowed', 'Others', '', '', '', '', '', '', '', '', 1),
('', '30010280', 3, 'CONPRHENSIVE GPR ESTIMATION', 20000, 0, 79, '20002', '2022', '', '', '', NULL, 'Blood', '', 15, 1, 'single', 'table', 'grouped', 'no', NULL, NULL, NULL, '2021-05-15 01:43:50', NULL, '052100000000', 'admin', 3000, 3000, '', 'CONPRHENSIVE GPR ESTIMATION', '', '', '', '', '', '', '', '', 1),
('', '300103', 3, '24 HR VMA/HMMAESTIMATION', 35000, 0, 10, '20002', '2022', NULL, NULL, NULL, NULL, 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', '', 3000, 3000, '', '24 HR VMA/HMMAESTIMATION', '', '', '', '', '', '', '', '', 1),
(NULL, '30011', 3, 'Albumin Creatinine Ratio (ACR)', 5000, 5000, 10, '20002', '2022', '', '32', '51', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Albumin Creatinine Ratio (ACR)', '', '', '', '', '', '', '', '', 1),
(NULL, '30012', 3, 'BONE CHEMISTRY', 1500, 1200, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'BONE CHEMISTRY', '', '', '', '', '', '', '', '', 1),
(NULL, '30015', 3, 'CA - 15 - 3', 8000, 10000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CA - 15 - 3', '', '', '', '', '', '', '', '', 1),
(NULL, '30016', 3, 'CA 125', 8000, 7000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:49:28', '', '052100000000', '', 3000, 3000, '', 'CA 125', '', '', '', '', '', '', '', '', 1),
(NULL, '30017', 3, 'CA 19.9', 8000, 7000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CA 19.9', '', '', '', '', '', '', '', '', 1),
(NULL, '30018', 3, 'C - REACTIVE PROTEIN (CRP)', 9000, 6000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'C - REACTIVE PROTEIN (CRP)', '', '', '', '', '', '', '', '', 1),
(NULL, '30019', 3, 'CD4 Count', 7000, 7000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CD4 Count', '', '', '', '', '', '', '', '', 1),
(NULL, '30020', 3, 'CEA', 7000, 7000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CEA', '', '', '', '', '', '', '', '', 1),
(NULL, '30021', 3, 'CK MB', 2500, 2500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CK MB', '', '', '', '', '', '', '', '', 1),
(NULL, '30023', 3, 'CREATIVE KINASE', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CREATIVE KINASE', '', '', '', '', '', '', '', '', 1),
(NULL, '30024', 3, 'CSF (Albumin & Glucose)', 1500, 1500, 10, '20002', '2022', '', '', '', '', 'CSF', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 04:02:19', '', '052100000000', '', 3000, 3000, '', 'CSF (Albumin & Glucose)', '', '', '', '', '', '', '', '', 1),
(NULL, '30025', 3, 'CSF BIOCHEMISTRY', 1500, 1500, 10, '20002', '2022', '', '', '', '', 'CSF', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 04:02:41', '', '052100000000', '', 3000, 3000, '', 'CSF BIOCHEMISTRY', '', '', '', '', '', '', '', '', 1),
(NULL, '30026', 3, 'CSF Culture', 3000, 3000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'CSF Culture', '', '', '', '', '', '', '', '', 1),
(NULL, '30027', 3, 'Calcium', 2000, 600, 10, '20002', '2022', 'mmol/L', '2.15', '2.55', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Calcium', '', '', '', '', '', '', '', '', 1),
(NULL, '30029', 3, 'Cortisol', 7000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Cortisol', '', '', '', '', '', '', '', '', 1),
(NULL, '30031', 3, 'Creatinine Clearance', 3000, 3000, 10, '20002', '2022', 'mmol/L', '55', '110', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Creatinine Clearance', '', '', '', '', '', '', '', '', 1),
(NULL, '30032', 3, 'D - DIMER', 6000, 6000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'D - DIMER', '', '', '', '', '', '', '', '', 1),
(NULL, '30033', 3, 'DEXAMETHASONE SUPPRESSION TEST', 25000, 25000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'DEXAMETHASONE SUPPRESSION TEST', '', '', '', '', '', '', '', '', 1),
(NULL, '30034', 3, 'ESTRADIOL', 7500, 5000, 10, '20002', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'ESTRADIOL', '', '', '', '', '', '', '', '', 1),
(NULL, '30035', 3, 'FPG/FBS', 1000, 600, 10, '20002', '2022', 'mmol/L', '3', '5.8', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:49:50', '', '052100000000', '', 3000, 3000, '', 'FPG/FBS', '', '', '', '', '', '', '', '', 1),
(NULL, '30036', 3, 'FSH', 5500, 5000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'FSH', '', '', '', '', '', '', '', '', 1),
(NULL, '30037', 3, 'GFR (Glomerula Filtration Rate)', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'GFR (Glomerula Filtration Rate)', '', '', '', '', '', '', '', '', 1),
(NULL, '30038', 3, 'GH - GLUCOSE SEPERATION TEST', 30000, 30000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'GH - GLUCOSE SEPERATION TEST', '', '', '', '', '', '', '', '', 1),
(NULL, '30039', 3, 'GROWTH HORMONE', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'GROWTH HORMONE', '', '', '', '', '', '', '', '', 1),
(NULL, '30040', 3, 'Gamma GT', 3500, 3500, 10, '20002', '2022', 'U/I', '7', '45', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Gamma GT', '', '', '', '', '', '', '', '', 1),
(NULL, '30041', 3, 'Globulin.', 600, 600, 10, '20002', '2022', 'g/L', '20', '45', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Globulin.', '', '', '', '', '', '', '', '', 1),
(NULL, '30042', 3, 'Glucose (CSF)', 600, 600, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Glucose (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '30043', 3, 'HCG', 6000, 6000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'HCG', '', '', '', '', '', '', '', '', 1),
(NULL, '30046', 3, 'Hb A1 c (STRIP)', 3500, 3500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Hb A1 c (STRIP)', '', '', '', '', '', '', '', '', 1),
(NULL, '30047', 3, 'INSULIN', 6000, 6000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'INSULIN', '', '', '', '', '', '', '', '', 1),
(NULL, '30048', 3, 'Inorganic Phosphorus', 700, 600, 10, '20002', '2022', 'mmol/L', '0.94', '1.71', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Inorganic Phosphorus', '', '', '', '', '', '', '', '', 1),
(NULL, '30050', 3, 'KARYOTYPING', 70000, 70000, 10, '20002', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'KARYOTYPING', '', '', '', '', '', '', '', '', 1),
(NULL, '30051', 3, 'LDH', 1500, 1500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'LDH', '', '', '', '', '', '', '', '', 1),
(NULL, '30053', 3, 'LH', 5500, 5500, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'LH', '', '', '', '', '', '', '', '', 1),
(NULL, '30054', 3, 'LIPASE', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'LIPASE', '', '', '', '', '', '', '', '', 1),
(NULL, '30057', 3, 'MICROALBUMINURIA', 4000, 4000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'MICROALBUMINURIA', '', '', '', '', '', '', '', '', 1),
(NULL, '30058', 3, 'Magnesium (Mg2+)', 1600, 1600, 10, '20002', '2022', 'mmol/L', '0.7', '1.2', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Magnesium (Mg2+)', '', '', '', '', '', '', '', '', 1),
(NULL, '30059', 3, 'Myoglobin', 5500, 2500, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Myoglobin', '', '', '', '', '', '', '', '', 1),
(NULL, '30061', 3, 'OGTT', 3500, 3500, 0, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 4, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'OGTT', '', '', '', '', '', '', '', '', 0),
(NULL, '300612', 0, '1Hr PP (OGTT)', 0, 0, 1, NULL, '30061', 'mmol / l', '4', '10.5', NULL, 'Blood', '', 15, 1, 'single', NULL, 'grouped', 'no', NULL, NULL, NULL, '2021-06-25 04:30:09', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'OGTT', '', '', '', '', '', '', '', '', 1),
(NULL, '300613', 0, '2H PP', 0, 0, 2, NULL, '30061', 'mmol / l', '3.5', '7.7', NULL, 'Blood', '', 15, 1, 'single', NULL, 'grouped', 'no', NULL, NULL, NULL, '2021-06-25 04:30:09', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'OGTT', '', '', '', '', '', '', '', '', 1),
(NULL, '300614', 0, '3Hr PP (OGTT)', 0, 0, 3, NULL, '30061', 'mmol / l', '3.8', '6', NULL, 'Blood', '', 15, 1, 'single', NULL, 'grouped', 'no', NULL, NULL, NULL, '2021-06-25 04:30:09', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'OGTT', '', '', '', '', '', '', '', '', 1),
(NULL, '30063', 3, 'PERICARDIAL FLUID (GLUCOSE & PROTEIN)', 2000, 2000, 10, '20002', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'PERICARDIAL FLUID (GLUCOSE & PROTEIN)', '', '', '', '', '', '', '', '', 1),
(NULL, '30064', 3, 'PLEURAL FLUID CHEMISTRY (GLUCOSE, PROTEIN, LDH)', 3500, 3500, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'PLEURAL FLUID CHEMISTRY (GLUCOSE, PROTEIN, LDH)', '', '', '', '', '', '', '', '', 1),
(NULL, '30065', 3, 'PROTEIN ESTIMATION', 2500, 2500, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'PROTEIN ESTIMATION', '', '', '', '', '', '', '', '', 1),
(NULL, '30066', 3, 'PSA', 9000, 5500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'PSA', '', '', '', '', '', '', '', '', 1),
(NULL, '30067', 3, 'Pregnancy Test (BHCG Qualitative)', 700, 600, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Pregnancy Test (BHCG Qualitative)', '', '', '', '', '', '', '', '', 1),
(NULL, '30070', 3, 'Protein (CSF)', 1000, 1000, 10, '20002', '2022', '', '', '', '', 'CSF', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 04:05:54', '', '052100000000', '', 3000, 3000, '', 'Protein (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '30071', 3, 'RHEUMATOID FACTOR', 6500, 6500, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'RHEUMATOID FACTOR', '', '', '', '', '', '', '', '', 1),
(NULL, '30072', 3, 'RPG/RBS', 1000, 600, 10, '20002', '2022', 'mmol/L', '3.2', '7.7', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'RPG/RBS', '', '', '', '', '', '', '', '', 1),
(NULL, '30073', 3, 'SHORT SYNAETHON STIMULATE TEST', 30000, 30000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'SHORT SYNAETHON STIMULATE TEST', '', '', '', '', '', '', '', '', 1),
(NULL, '30074', 3, 'STOOL REDUCING SUBSTANCES', 2000, 2000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'STOOL REDUCING SUBSTANCES', '', '', '', '', '', '', '', '', 1),
(NULL, '30075', 3, 'T.Protein', 1000, 1000, 10, '20002', '2022', 'g/L', '55', '85', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'T.Protein', '', '', '', '', '', '', '', '', 1),
(NULL, '30076', 3, 'T3', 9000, 2500, 10, '20002', '2022', 'ng/dl', '0.6', '4.12', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:47:42', '', '052100000000', '', 3000, 3000, '', 'T3', '', '', '', '', '', '', '', '', 1),
(NULL, '30077', 3, 'T4', 9000, 2500, 10, '20002', '2022', 'nmol', '58', '140', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:47:24', '', '052100000000', '', 3000, 3000, '', 'T4', '', '', '', '', '', '', '', '', 1),
(NULL, '30078', 3, 'TSH', 9000, 2500, 10, '20002', '2022', '', '0.45', '4.12', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:47:06', '', '052100000000', '', 3000, 3000, '', 'TSH', '', '', '', '', '', '', '', '', 1),
(NULL, '30080', 3, 'Triglycerides', 1000, 1000, 10, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Triglycerides', '', '', '', '', '', '', '', '', 1),
(NULL, '30081', 3, 'Troponin-I', 9000, 6500, 10, '20002', '2022', 'nanogram/mL', '', '<1.0', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Troponin-I', '', '', '', '', '', '', '', '', 1),
(NULL, '30083', 3, 'URINARY ALBUMIN ', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINARY ALBUMIN ', '', '', '', '', '', '', '', '', 1),
(NULL, '30084', 3, 'URINARY CREATININE', 1000, 1000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINARY CREATININE', '', '', '', '', '', '', '', '', 1),
(NULL, '30085', 3, 'URINARY MICROALBUMIN', 5000, 5000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINARY MICROALBUMIN', '', '', '', '', '', '', '', '', 1),
(NULL, '30086', 3, 'URINE CALCIUM', 600, 600, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINE CALCIUM', '', '', '', '', '', '', '', '', 1),
(NULL, '30087', 3, 'URINE DRUG', 10000, 10000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINE DRUG', '', '', '', '', '', '', '', '', 1),
(NULL, '30088', 3, 'URINE ELECTROLYTE', 3000, 3000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINE ELECTROLYTE', '', '', '', '', '', '', '', '', 1),
(NULL, '30089', 3, 'URINE PO4', 500, 500, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINE PO4', '', '', '', '', '', '', '', '', 1),
(NULL, '30090', 3, 'URINE REDUCING SUBSTANCES', 2000, 2000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'URINE REDUCING SUBSTANCES', '', '', '', '', '', '', '', '', 1),
(NULL, '30092', 3, 'Uric Acid', 3000, 1000, 10, '20002', '2022', 'umol/L', '200', '430', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'Uric Acid', '', '', '', '', '', '', '', '', 1),
(NULL, '30093', 3, 'WATER DEPRIVATION TEST', 50000, 50000, 10, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'WATER DEPRIVATION TEST', '', '', '', '', '', '', '', '', 1),
(NULL, '30094', 3, 'HbA1c', 9000, 6500, 10, '20002', '2022', '%', '<6.4', '6', '', 'Blood', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 3000, 3000, '', 'HbA1c', '', '', '', '', '', '', '', '', 1),
(NULL, '30095', 3, 'Urea, Electrolyte & Creatinine', 5000, 0, 4, '20002', '2022', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-15 01:43:50', NULL, '052100000000', '', 3000, 3000, '', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 0),
(NULL, '300951', 3, 'Urea', 0, 600, 1, '20002', '30095', 'mmol/L', '2.6', '6.7', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '3009510', 3, 'Na', 700, 600, 2, '20002', '2022', 'mmol/L', '134', '145', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Na', '', '', '', '', '', '', '', '', 1);
INSERT INTO `lab_setup` (`id`, `subhead`, `qms_dept_id`, `description`, `price`, `old_price`, `sort_index`, `account`, `head`, `unit`, `range_from`, `range_to`, `other_range`, `specimen`, `commission_type`, `percentage`, `noOfLabels`, `label_type`, `report_type`, `print_type`, `collect_sample`, `to_be_analyzed`, `to_be_reported`, `upload_doc`, `created_at`, `updated_at`, `facilityId`, `created_by`, `lab_head`, `lab_code`, `selectable`, `label_name`, `unit_code`, `unit_name`, `payable_head`, `receivable_head`, `account_name`, `payable_head_name`, `receivable_head_name`, `department_code`, `printable`) VALUES
(NULL, '3009511', 3, 'CL', 700, 600, 5, '20002', '2022', 'mmol/L', '94', '108', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'CL', '', '', '', '', '', '', '', '', 1),
(NULL, '3009512', 3, 'HCO3', 700, 600, 4, '20002', '2022', 'mmol/L', '22', '28', '', 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'HCO3', '', '', '', '', '', '', '', '', 1),
(NULL, '300952', 3, 'K', 0, 600, 3, '20002', '30095', 'mmol/L', '3.5', '5.5', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300953', 3, 'Na', 0, 600, 2, '20002', '30095', 'mmol/L', '135', '145', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300954', 3, 'CL', 0, 600, 5, '20002', '30095', 'mmol/L', '98', '108', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300955', 3, 'HCO3', 0, 600, 4, '20002', '30095', 'mmol/L', '21', '28', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300956', 3, 'Creatinine', 0, 600, 6, '20002', '30095', 'mmol/L', '83', '125', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Urea, Electrolyte & Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300958', 3, 'Urea', 800, 600, 1, '20002', '2022', 'mmol/L', '2.6', '6.7', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Urea', '', '', '', '', '', '', '', '', 1),
(NULL, '3009580', 3, 'Creatinine', 1000, 600, 6, '20002', '2022', 'mmol/L', '55', '110', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Creatinine', '', '', '', '', '', '', '', '', 1),
(NULL, '300959', 3, 'K', 700, 600, 3, '20002', '2022', 'mmol/L', '3.4', '5.5', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'K', '', '', '', '', '', '', '', '', 1),
(NULL, '30096', 3, 'Lipids Profile.', 6000, 4200, 5, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 05:13:23', NULL, '052100000000', 'admin', 3000, 3000, '', 'Lipids Profile.', '', '', '', '', '', '', '', '', 0),
(NULL, '300961', 3, 'Cholesterol', 0, 1200, 0, '20002', '30096', 'mmol/L', '2.5', '6', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Lipids Profile.', '', '', '', '', '', '', '', '', 1),
(NULL, '3009610', 3, 'Cholesterol', 1200, 1200, 0, '20002', '2022', 'mmol/L', '2.5', '6', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Cholesterol', '', '', '', '', '', '', '', '', 1),
(NULL, '300962', 3, 'LDL-Cholesterol', 0, 1000, 0, '20002', '30096', 'mmol/L', '0.8', '4.3', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Lipids Profile.', '', '', '', '', '', '', '', '', 1),
(NULL, '3009620', 3, 'LDL-Cholesterol', 1000, 1000, 0, '20002', '2022', 'mmol/L', '0.8', '4.3', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'LDL-Cholesterol', '', '', '', '', '', '', '', '', 1),
(NULL, '300963', 3, 'HDL - Cholesterol', 0, 1000, 0, '20002', '30096', 'mmol/L', '0.8', '2.6', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Lipids Profile.', '', '', '', '', '', '', '', '', 1),
(NULL, '3009630', 3, 'HDL - Cholesterol', 1000, 1000, 0, '20002', '2022', 'mmol/L', '0.8', '2.6', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'HDL - Cholesterol', '', '', '', '', '', '', '', '', 1),
(NULL, '300964', 3, 'Triglycerides', 0, 1000, 0, '20002', '30096', 'mmol/L', '0.5', '2.8', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Lipids Profile.', '', '', '', '', '', '', '', '', 1),
(NULL, '3009640', 3, 'Triglycerides', 1000, 1000, 0, '20002', '2022', 'mmol/L', '0.5', '2.8', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Triglycerides', '', '', '', '', '', '', '', '', 1),
(NULL, '30097', 3, 'Liver Function Test (LFT)', 6000, 8700, 6, '20002', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-06-01 07:13:11', NULL, '052100000000', 'admin', 3000, 3000, '', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 0),
(NULL, '300971', 3, 'ALP', 0, 600, 0, '20002', '30097', 'U/I', '60', '306', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009710', 3, 'ALP', 700, 600, 0, '20002', '2022', 'U/I', '60', '306', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'ALP', '', '', '', '', '', '', '', '', 1),
(NULL, '300972', 3, 'ALT (SGPT)', 0, 600, 0, '20002', '30097', 'U/I', '0', '50', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009720', 3, 'ALT (SGPT)', 700, 600, 0, '20002', '2022', 'U/I', '0', '50', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'ALT (SGPT)', '', '', '', '', '', '', '', '', 1),
(NULL, '300973', 3, 'AST (SGOT)', 0, 600, 0, '20002', '30097', 'U/I', '0', '47', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009730', 3, 'AST (SGOT)', 700, 600, 0, '20002', '2022', 'U/I', '0', '47', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'AST (SGOT)', '', '', '', '', '', '', '', '', 1),
(NULL, '300974', 3, 'Gamma GT', 0, 3500, 0, '20002', '30097', 'U/I', '7', '45', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009740', 3, 'Gamma GT', 3500, 3500, 0, '20002', '2022', 'U/I', '7', '45', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Gamma GT', '', '', '', '', '', '', '', '', 1),
(NULL, '300975', 3, 'Bilirubin (Total)', 0, 600, 0, '20002', '30097', 'umol/L', '1.71', '20.5', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009750', 3, 'Bilirubin (Total)', 700, 600, 0, '20002', '2022', 'umol/L', '1.71', '20.5', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Bilirubin (Total)', '', '', '', '', '', '', '', '', 1),
(NULL, '300976', 3, 'Bilirubin (Direct)', 0, 600, 0, '20002', '30097', 'umol/L', '0', '5.1', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009760', 3, 'Bilirubin (Direct)', 700, 600, 0, '20002', '2022', 'umol/L', '0', '5.2', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Bilirubin (Direct)', '', '', '', '', '', '', '', '', 1),
(NULL, '300977', 3, 'T.Protein', 0, 1000, 0, '20002', '30097', 'g/L', '55', '85', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009770', 3, 'T.Protein', 1000, 1000, 0, '20002', '2022', 'g/L', '55', '85', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'T.Protein', '', '', '', '', '', '', '', '', 1),
(NULL, '300978', 3, 'Albumin', 0, 600, 0, '20002', '30097', 'g/L', '32', '52', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009780', 3, 'Albumin', 2000, 600, 0, '20002', '2022', 'g/L', '32', '52', '', 'Urine', 'percentage', 15, 1, 'grouped', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Albumin', '', '', '', '', '', '', '', '', 1),
(NULL, '300979', 3, 'Globulin.', 0, 600, 0, '20002', '30097', 'g/L', '20', '45', '', 'Urine', 'percentage', 15, 1, 'grouped_single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Liver Function Test (LFT)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009790', 3, 'Globulin.', 600, 600, 0, '20002', '2022', 'g/L', '20', '45', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Globulin.', '', '', '', '', '', '', '', '', 1),
(NULL, '30098', 3, 'Tumor Markers', 0, 0, 2, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Tumor Markers', '', '', '', '', '', '', '', '', 1),
(NULL, '300981', 3, 'PSA', 9000, 5500, 0, '20002', '2022', 'ng/ml', '0', '4', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'PSA', '', '', '', '', '', '', '', '', 1),
(NULL, '3009810', 3, 'Amylase', 2500, 2500, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'Amylase', '', '', '', '', '', '', '', '', 1),
(NULL, '3009811', 3, 'LIPASE', 5000, 5000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'LIPASE', '', '', '', '', '', '', '', '', 1),
(NULL, '300982', 3, 'HCG', 6000, 6000, 0, '20002', '2022', 'm/u/l', '', '<4', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'HCG', '', '', '', '', '', '', '', '', 1),
(NULL, '300983', 3, 'CEA', 7000, 7000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'CEA', '', '', '', '', '', '', '', '', 1),
(NULL, '300984', 3, 'CA 125', 8000, 7000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'CA 125', '', '', '', '', '', '', '', '', 1),
(NULL, '300985', 3, 'CA - 15 - 3', 8000, 10000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'CA - 15 - 3', '', '', '', '', '', '', '', '', 1),
(NULL, '300986', 3, 'VITAMIN B12', 8000, 8000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'VITAMIN B12', '', '', '', '', '', '', '', '', 1),
(NULL, '300987', 3, 'FOLATE', 8000, 8000, 0, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'FOLATE', '', '', '', '', '', '', '', '', 1),
(NULL, '300989', 3, 'AFP', 7000, 7000, 0, '20002', '2022', 'U/L', '0', '5', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'AFP', '', '', '', '', '', '', '', '', 1),
(NULL, '30099', 3, 'Ceresbrospinal Fluid (CSF)', 1, 0, 7, '20002', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', NULL, '052100000000', 'admin', 3000, 3000, '', 'Ceresbrospinal Fluid (CSF)', '', '', '', '', '', '', '', '', 0),
(NULL, '300991', 3, 'Glucose (CSF)', 0, 600, 0, '20002', '30099', 'mg/dl', '2.5', '4.4', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Ceresbrospinal Fluid (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009910', 3, 'Glucose (CSF)', 600, 600, 0, '20002', '2022', 'mg/dl', '2.5', '4.4', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Glucose (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '300992', 3, 'Protein (CSF)', 0, 1000, 0, '20002', '30099', 'mg/dl', '15', '40', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Ceresbrospinal Fluid (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009920', 3, 'Protein (CSF)', 1000, 1000, 0, '20002', '2022', 'mg/dl', '15', '40', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Protein (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '300993', 3, 'Chloride (csf)', 0, 600, 0, '20002', '30099', 'mmol/L', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, 'not allowed', 'Ceresbrospinal Fluid (CSF)', '', '', '', '', '', '', '', '', 1),
(NULL, '3009930', 3, 'Chloride (csf)', 700, 600, 0, '20002', '2022', 'mmol/L', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'table', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 3000, 3000, '', 'Chloride (csf)', '', '', '', '', '', '', '', '', 1),
(NULL, '4000', 3, 'Microbiology', 0, 0, 0, NULL, '2022', NULL, NULL, NULL, '', 'No specimen', '', 0, 1, 'single', NULL, 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 4000, 0, 'not allowed', 'Microbiology', '', '', '', '', '', '', '', '', 0),
(NULL, '4001', 3, 'AFB', 700, 7000, 4, '20003', '2022', '', '', '', '', 'Sputum', 'percentage', 15, 1, 'single', 'macroscopy', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'AFB', '', '', '', '', '', '', '', '', 1),
(NULL, '4002', 3, 'ASCITIC FLUID M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Ascitic Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:55:06', '', '052100000000', '', 4000, 4000, '', 'ASCITIC FLUID M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4003', 3, 'BLOOD CULTURE*3', 9000, 9000, 4, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'BLOOD CULTURE*3', '', '', '', '', '', '', '', '', 1),
(NULL, '4004', 3, 'Blood Culture', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'Blood Culture', '', '', '', '', '', '', '', '', 1),
(NULL, '4005', 3, 'Brain Abscess M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'Brain Abscess M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4006', 3, 'Chlamydia-Serum', 2500, 2500, 4, '20003', '2022', '', '', '', '', 'Serum', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:52:48', '', '052100000000', '', 4000, 4000, '', 'Chlamydia-Serum', '', '', '', '', '', '', '', '', 1),
(NULL, '4007', 3, 'Chloride (csf)', 700, 600, 4, '20003', '2022', '', '', '', '', 'Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'Chloride (csf)', '', '', '', '', '', '', '', '', 1),
(NULL, '4009', 3, 'Ear M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 4000, 4000, '', 'Ear M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4010', 3, 'Eye Swab M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Eye Swab M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4011', 3, 'Fungal Studies', 1500, 1500, 4, '20003', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Fungal Studies', '', '', '', '', '', '', '', '', 1),
(NULL, '4012', 3, 'HBs Ag', 2000, 1200, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:48:11', '', '052100000000', '', 0, 4000, '', 'HBs Ag', '', '', '', '', '', '', '', '', 1),
(NULL, '4013', 3, 'HCV Ab', 2000, 1200, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:51:00', '', '052100000000', '', 0, 4000, '', 'HCV Ab', '', '', '', '', '', '', '', '', 1),
(NULL, '4014', 3, 'HIV Viral Load', 25000, 25000, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:48:37', '', '052100000000', '', 0, 4000, '', 'HIV Viral Load', '', '', '', '', '', '', '', '', 1),
(NULL, '4015', 3, 'HVS Culture', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'HVS Culture', '', '', '', '', '', '', '', '', 1),
(NULL, '4016', 3, 'Helicobacter pylori', 1500, 1500, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:51:28', '', '052100000000', '', 0, 4000, '', 'Helicobacter pylori', '', '', '', '', '', '', '', '', 1),
(NULL, '4017', 3, 'Hepatitis B Combo.', 3500, 3200, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:49:01', '', '052100000000', '', 0, 4000, '', 'Hepatitis B Combo.', '', '', '', '', '', '', '', '', 1),
(NULL, '4018', 3, 'Hepatitis B Viral Load', 25000, 25000, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:49:29', '', '052100000000', '', 0, 4000, '', 'Hepatitis B Viral Load', '', '', '', '', '', '', '', '', 1),
(NULL, '4019', 3, 'Hepatitis C Viral Load', 35000, 35000, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:49:38', '', '052100000000', '', 0, 4000, '', 'Hepatitis C Viral Load', '', '', '', '', '', '', '', '', 1),
(NULL, '4020', 3, 'MALARIA PARASITES', 1000, 800, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-22 06:50:52', '', '052100000000', '', 0, 4000, '', 'MALARIA PARASITES', '', '', '', '', '', '', '', '', 1),
(NULL, '4021', 3, 'Malaria RDTs', 500, 500, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 02:46:43', '', '052100000000', '', 0, 4000, '', 'Malaria RDTs', '', '', '', '', '', '', '', '', 1),
(NULL, '4022', 3, 'PERICARDIAL AFB', 700, 700, 4, '20003', '2022', '', '', '', '', 'Sputum', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'PERICARDIAL AFB', '', '', '', '', '', '', '', '', 1),
(NULL, '4023', 3, 'PERICARDINAL FLUID AFB', 700, 700, 4, '20003', '2022', '', '', '', '', 'Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'PERICARDINAL FLUID AFB', '', '', '', '', '', '', '', '', 1),
(NULL, '4024', 3, 'PERICARDINAL FLUID M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'PERICARDINAL FLUID M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4025', 3, 'PLURAL FLUID M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'PLURAL FLUID M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4026', 3, 'Pregnancy Test (Urine)', 600, 600, 4, '20003', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:50:38', '', '052100000000', '', 0, 4000, '', 'Pregnancy Test (Urine)', '', '', '', '', '', '', '', '', 1),
(NULL, '4027', 3, 'Prostatic C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Prostatic C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4028', 3, 'Pus culture & Sen.', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Pus', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Pus culture & Sen.', '', '', '', '', '', '', '', '', 1),
(NULL, '4029', 3, 'Retroviral Screening', 1700, 1600, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-28 04:52:27', '', '052100000000', '', 0, 4000, '', 'Retroviral Screening', '', '', '', '', '', '', '', '', 1),
(NULL, '4030', 3, 'SWAB M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'SWAB M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4031', 3, 'Sputum AFB', 800, 700, 4, '20003', '2022', '', '', '', '', 'Sputum', 'percentage', 15, 1, 'single', 'macroscopy', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Sputum AFB', '', '', '', '', '', '', '', '', 1),
(NULL, '4032', 3, 'Sputum M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Sputum', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Sputum M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4033', 3, 'Stool M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Stool', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Stool M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4034', 3, 'Stool Microscopy', 600, 500, 4, '20003', '2022', '', '', '', '', 'Stool', 'percentage', 15, 1, 'single', 'macroscopy', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Stool Microscopy', '', '', '', '', '', '', '', '', 1),
(NULL, '4035', 3, 'THROAT SWAB', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'THROAT SWAB', '', '', '', '', '', '', '', '', 1),
(NULL, '4036', 3, 'TORCHES', 1000, 1000, 4, '20003', '2022', '', '', '', '', 'No specimen', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'TORCHES', '', '', '', '', '', '', '', '', 1),
(NULL, '4037', 3, 'URETHRAL SWAB M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'URETHRAL SWAB M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4038', 3, 'Urine-Analysis', 1000, 600, 4, '20003', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'macroscopy', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Urine-Analysis', '', '', '', '', '', '', '', '', 1),
(NULL, '4039', 3, 'Urine M/C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Urine M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4040', 3, 'Urine Microscopy', 600, 500, 4, '20003', '2022', '', '', '', '', 'Urine', 'percentage', 15, 1, 'single', 'macroscopy', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Urine Microscopy', '', '', '', '', '', '', '', '', 1),
(NULL, '4041', 3, 'VDRL', 2000, 1400, 4, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-06-04 04:21:20', '', '052100000000', '', 0, 4000, '', 'VDRL', '', '', '', '', '', '', '', '', 1),
(NULL, '4042', 3, 'WIDAL TEST Ab.', 800, 800, 0, '20003', '2022', '', '', '', '', 'Blood', 'percentage', 15, 1, 'grouped', 'input', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-22 06:54:49', '', '052100000000', '', 0, 4000, '', 'WIDAL TEST Ab.', '', '', '', '', '', '', '', '', 0),
('', '40422', 3, 'S. Paratyphi A (O, H)', 0, 0, 2, NULL, '4042', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'ho_widal', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, 'not allowed', 'WIDAL TEST Ab.', '', '', '', '', '', '', '', '', 1),
('', '40423', 3, 'S. Paratyphi B (O, H)', 0, 0, 3, NULL, '4042', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'ho_widal', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, 'not allowed', 'WIDAL TEST Ab.', '', '', '', '', '', '', '', '', 1),
('', '40424', 3, 'S. Typhi (O, H)', 0, 0, 1, NULL, '4042', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'ho_widal', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, 'not allowed', 'WIDAL TEST Ab.', '', '', '', '', '', '', '', '', 1),
('', '40425', 3, 'S. Paratyphi C (O, H)', 0, 0, 4, NULL, '4042', '', '', '', NULL, 'Blood', 'percentage', 15, 1, 'grouped', 'ho_widal', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, 'not allowed', 'WIDAL TEST Ab.', '', '', '', '', '', '', '', '', 1),
(NULL, '4043', 3, 'Wound C/S', 3000, 3000, 4, '20003', '2022', '', '', '', '', 'Swab', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-10 22:59:27', '', '052100000000', '', 0, 4000, '', 'Wound C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4044', 3, 'Microbiology', 0, 0, 4, NULL, '4000', NULL, NULL, NULL, NULL, '', '', 0, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 0, 4000, 'not allowed', 'Microbiology', '', '', '', '', '', '', '', '', 1),
('', '404432', 3, 'ASPIRATE M/C/S', 3000, 0, 31, '20003', '2022', '', '', '', NULL, 'Ascitic Fluid', 'percentage', 15, 1, 'single', 'microbiology_form', 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 03:57:47', NULL, '052100000000', 'admin', 0, 4000, '', 'ASPIRATE M/C/S', '', '', '', '', '', '', '', '', 1),
('', '404433', 3, 'Helicobacter Pylori (Using Stool)', 2000, 0, 32, '20003', '2022', '', '', '', NULL, '', '', 0, 1, 'grouped', 'microbiology_form', 'grouped', 'no', NULL, NULL, NULL, '2021-05-28 04:51:37', NULL, '052100000000', 'admin', 0, 4000, '', 'Helicobacter Pylori (Using Stool)', '', '', '', '', '', '', '', '', 1),
('', '404434', 3, 'MANTOUX', 1000, 0, 33, '20003', '2022', '', '', '', NULL, '', '', 0, 1, 'single', 'microbiology_form', 'grouped', 'no', NULL, NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, '', 'MANTOUX', '', '', '', '', '', '', '', '', 1),
('', '404435', 3, 'MASTOIDS', 4000, 0, 34, '20003', '2022', '', '', '', NULL, '', '', 0, 1, 'single', 'microbiology_form', 'grouped', 'no', NULL, NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', 'admin', 0, 4000, '', 'MASTOIDS', '', '', '', '', '', '', '', '', 1),
(NULL, '404436', 3, 'ECS M/C/S', 3000, 3000, 0, '20004', '2022', '', '', '', '', 'Tissue/Vaginal Smear', 'percentage', 15, 1, 'grouped', NULL, 'grouped', 'no', 'yes', 'yes', NULL, '2021-05-26 04:04:46', '', '052100000000', '', 0, 4000, '', 'ECS M/C/S', '', '', '', '', '', '', '', '', 1),
(NULL, '4045', 3, 'Serology', 0, 0, 1, NULL, '4000', NULL, NULL, NULL, NULL, '', '', 0, 1, 'single', NULL, 'grouped', 'no', 'yes', NULL, NULL, '2021-05-20 06:10:29', NULL, '052100000000', '', 0, 4000, 'not allowed', 'Serology', '', '', '', '', '', '', '', '', 1),
('', '404512', 3, 'RVS Viral Load', 25000, 0, 11, '20003', '2022', '', '', '', NULL, '', '', 0, 1, 'grouped', 'input', 'grouped', 'no', NULL, NULL, NULL, '2021-05-28 04:53:12', NULL, '052100000000', 'admin', 0, 4000, '', 'RVS Viral Load', '', '', '', '', '', '', '', '', 1);

-- --------------------------------------------------------

--
-- Table structure for table `lab_setup2`
--

CREATE TABLE `lab_setup2` (
  `id` int(100) NOT NULL DEFAULT 0,
  `subhead` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `head` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `description` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `price` int(100) DEFAULT NULL,
  `noOfLabels` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `lab_setup2`
--

INSERT INTO `lab_setup2` (`id`, `subhead`, `head`, `description`, `unit`, `range_from`, `range_to`, `specimen`, `price`, `noOfLabels`, `created_at`, `updated_at`, `facilityId`, `created_by`) VALUES
(2, '', 'Optimum Diagnostics', '', NULL, NULL, NULL, '', NULL, 0, '2020-08-16 01:30:37', NULL, '966a89f6-05d8-4564-b319-2f8863821e75', ''),
(72, 'Test', 'test1', '', 'mmol/L', '1', '2', 'Blood', 500, 0, '2020-09-18 08:48:58', NULL, '966a89f6-05d8-4564-b319-2f8863821e75', 'admin');

-- --------------------------------------------------------

--
-- Table structure for table `lab_setup3`
--

CREATE TABLE `lab_setup3` (
  `id` int(11) NOT NULL,
  `subhead` varchar(100) DEFAULT NULL,
  `head` varchar(100) DEFAULT NULL,
  `description` varchar(200) NOT NULL,
  `unit` varchar(100) DEFAULT NULL,
  `range_from` varchar(100) DEFAULT NULL,
  `range_to` varchar(100) DEFAULT NULL,
  `specimen` varchar(100) DEFAULT NULL,
  `price` int(100) DEFAULT NULL,
  `percentage` int(11) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) DEFAULT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_by` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `lab_setup3`
--

INSERT INTO `lab_setup3` (`id`, `subhead`, `head`, `description`, `unit`, `range_from`, `range_to`, `specimen`, `price`, `percentage`, `noOfLabels`, `created_at`, `updated_at`, `facilityId`, `created_by`) VALUES
(1, '2000', '1000', 'Hematology', NULL, NULL, NULL, 'No specimen', NULL, 0, 0, '2020-11-15 22:55:46', NULL, '966a89f6-05d8-4564-b319-2f8863821e75', ''),
(361, '30013', '3001', 'K', 'mmol/L', '3.0', '5.6', 'Urine', 600, 0, 0, '2020-11-15 22:54:01', NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'emaitee');

-- --------------------------------------------------------

--
-- Table structure for table `lab_setup4`
--

CREATE TABLE `lab_setup4` (
  `id` int(11) NOT NULL DEFAULT 0,
  `subhead` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `head` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `description` varchar(200) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `other_range` varchar(50) DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `price` int(100) DEFAULT NULL,
  `percentage` int(11) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `lab_setup4`
--

INSERT INTO `lab_setup4` (`id`, `subhead`, `head`, `description`, `unit`, `range_from`, `range_to`, `other_range`, `specimen`, `price`, `percentage`, `noOfLabels`, `created_at`, `updated_at`, `facilityId`, `created_by`) VALUES
(351, '1000', '', 'PSC Prime Lab', NULL, NULL, NULL, '', '', NULL, 0, 0, '0000-00-00 00:00:00', NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', ''),
(292, '5136', '5000', 'hs CRP', '', '', '', '', '', 2500, 0, 1, '2020-11-17 13:24:22', '', '966a89f6-05d8-4564-b319-2f8863821e75', '');

-- --------------------------------------------------------

--
-- Table structure for table `main_account`
--

CREATE TABLE `main_account` (
  `code` varchar(20) NOT NULL,
  `Description` varchar(50) NOT NULL,
  `type` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `main_account`
--

INSERT INTO `main_account` (`code`, `Description`, `type`) VALUES
('100010', 'Capital Account', 4),
('100020', 'Deposit Account', 4),
('100030', 'Suupliers Account', 4),
('600010', 'cash Account', 3),
('600020', 'Bank Account', 3),
('700010', 'Wages', 1),
('700020', 'Fuel', 1),
('800020', 'Drugs', 2),
('800010', 'Labs', 2);

-- --------------------------------------------------------

--
-- Stand-in structure for view `medication_report`
-- (See below for the actual view)
--
CREATE TABLE `medication_report` (
`patient_id` int(1)
,`drug` int(1)
,`dosage` int(1)
,`route` int(1)
,`time_stamp` int(1)
,`status` int(1)
,`served_by` int(1)
,`nurse_name` int(1)
,`reason` int(1)
);

-- --------------------------------------------------------

--
-- Table structure for table `members`
--

CREATE TABLE `members` (
  `name` varchar(50) NOT NULL,
  `email` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `members`
--

INSERT INTO `members` (`name`, `email`) VALUES
('adi', 'kamal'),
('abbba', 'sanio'),
('kamilu', 'danbata'),
('abba', 'collipad'),
('sarki', 'aliyu'),
('aminu', 'salim'),
('undefined', 'undefined'),
('undefined', 'undefined'),
('undefined', 'undefined'),
('undefined', 'undefined'),
('undefined', 'mubrak@gmail.ocm');

-- --------------------------------------------------------

--
-- Table structure for table `monthly_register`
--

CREATE TABLE `monthly_register` (
  `code` int(11) NOT NULL,
  `month` varchar(20) NOT NULL,
  `amount` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `number_generator`
--

CREATE TABLE `number_generator` (
  `description` varchar(100) NOT NULL,
  `prefix` varchar(100) NOT NULL,
  `code_no` int(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `number_generator`
--

INSERT INTO `number_generator` (`description`, `prefix`, `code_no`) VALUES
('Good Receive Note', 'GRN', 9552),
('invoice', 'inv', 287),
('Goods transfer', 'trn', 1);

-- --------------------------------------------------------

--
-- Table structure for table `nursing_note`
--

CREATE TABLE `nursing_note` (
  `id` int(11) NOT NULL,
  `report` varchar(150) DEFAULT NULL,
  `patient_id` varchar(20) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) DEFAULT NULL,
  `facilityId` varchar(60) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `nursing_report`
--

CREATE TABLE `nursing_report` (
  `id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `created_by` varchar(50) NOT NULL,
  `report` varchar(2000) NOT NULL,
  `facilityId` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `operationnotes`
--

CREATE TABLE `operationnotes` (
  `facilityId` varchar(50) DEFAULT NULL,
  `id` int(11) NOT NULL,
  `uuid` varchar(50) DEFAULT NULL,
  `date` varchar(20) DEFAULT NULL,
  `patientId` varchar(10) NOT NULL,
  `diagnosis` varchar(150) DEFAULT NULL,
  `surgeons` varchar(300) DEFAULT NULL,
  `surgery` varchar(150) DEFAULT NULL,
  `anesthetist` varchar(80) DEFAULT NULL,
  `anesthetic` varchar(20) DEFAULT NULL,
  `scrubNurse` varchar(50) DEFAULT NULL,
  `remarks` varchar(50) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `pintsGiven` varchar(10) DEFAULT NULL,
  `bloodLoss` varchar(15) DEFAULT NULL,
  `intraOpAntibiotics` varchar(20) DEFAULT NULL,
  `intraOpFindings` varchar(2000) DEFAULT NULL,
  `procedureNotes` varchar(2000) DEFAULT NULL,
  `pathologyRequest` varchar(2000) DEFAULT NULL,
  `postOpOrder` varchar(1500) DEFAULT NULL,
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp(),
  `updatedAt` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Triggers `operationnotes`
--
DELIMITER $$
CREATE TRIGGER `default_date` BEFORE INSERT ON `operationnotes` FOR EACH ROW if ( isnull(new.date) ) then
 set new.date=curdate();
end if
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `set_op_notes_updateAt` BEFORE UPDATE ON `operationnotes` FOR EACH ROW SET NEW.updatedAt = NOW()
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Stand-in structure for view `overview`
-- (See below for the actual view)
--
CREATE TABLE `overview` (
`drug` int(1)
,`quantity_bought` int(1)
,`amount_bought` int(1)
,`quantity_in_store` int(1)
,`amount_in_store` int(1)
,`quantity_sold` int(1)
,`amount_sold` int(1)
,`quantity_in_shelf` int(1)
,`amount_in_shelf` int(1)
,`sales_date` int(1)
,`purchase_date` int(1)
,`facilityId` int(1)
);

-- --------------------------------------------------------

--
-- Stand-in structure for view `overview_wo_store`
-- (See below for the actual view)
--
CREATE TABLE `overview_wo_store` (
`drug` int(1)
,`price` int(1)
,`quantity_in_shelf` int(1)
,`amount_in_shelf` int(1)
,`quantity_sold` int(1)
,`amount_sold` int(1)
,`expiry_date` int(1)
,`created_at` int(1)
,`facilityId` int(1)
);

-- --------------------------------------------------------

--
-- Table structure for table `pagenavigation`
--

CREATE TABLE `pagenavigation` (
  `id` int(11) NOT NULL,
  `role` varchar(30) NOT NULL,
  `home_page` varchar(100) NOT NULL,
  `facilityId` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pagenavigation`
--

INSERT INTO `pagenavigation` (`id`, `role`, `home_page`, `facilityId`) VALUES
(1, 'Cashier', '/me/account/review', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(2, 'Receptionist', '/me/records/patients/list', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(3, 'Technician', '/me/lab/sample-collection', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(4, 'Sample Collector', '/me/lab/sample-collection', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(5, 'Doctor', '/me/doctor', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(6, 'Sample Collection', '/me/lab/sample-collection', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(7, 'Scientist', '/me/lab/patients', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(8, 'Accountant', '/me/account/report', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(9, 'Lab Scientist', '/me/lab', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(10, 'Manager', '/me/account/services', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(11, 'Admin', '/me/admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(12, 'IT Staff', '/me/pharmacy', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(13, 'Nurse', '/me/nurse/vital-signs', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(14, 'Neurosurgeon', '/me/doctor', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a');

-- --------------------------------------------------------

--
-- Table structure for table `patientfileinfo`
--

CREATE TABLE `patientfileinfo` (
  `id` int(11) NOT NULL,
  `accountNo` varchar(7) NOT NULL,
  `firstname` varchar(50) NOT NULL,
  `surname` varchar(50) NOT NULL,
  `beneficiaries` int(5) NOT NULL,
  `balance` int(11) NOT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `patientfileno`
--

CREATE TABLE `patientfileno` (
  `id` int(11) NOT NULL,
  `facilityId` varchar(50) DEFAULT NULL,
  `accountNo` int(7) DEFAULT NULL,
  `accName` varchar(50) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `accountType` varchar(50) DEFAULT NULL,
  `contactName` varchar(100) DEFAULT NULL,
  `contactAddress` varchar(500) DEFAULT NULL,
  `contactPhone` varchar(20) DEFAULT NULL,
  `contactEmail` varchar(50) DEFAULT NULL,
  `contactWebsite` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `surname` varchar(50) DEFAULT NULL,
  `beneficiaries` bigint(21) NOT NULL DEFAULT 0,
  `balance` int(11) NOT NULL DEFAULT 0,
  `status` varchar(50) NOT NULL DEFAULT 'approved',
  `guarantor_name` varchar(50) DEFAULT NULL,
  `guarantor_address` varchar(100) DEFAULT NULL,
  `guarantor_phone` varchar(20) DEFAULT NULL,
  `created_by` varchar(50) DEFAULT NULL,
  `approved_by` varchar(50) DEFAULT NULL,
  `createdAt` timestamp NULL DEFAULT current_timestamp(),
  `approved_at` timestamp NULL DEFAULT NULL,
  `payable_head_name` varchar(150) DEFAULT NULL,
  `payable_head` varchar(50) DEFAULT NULL,
  `receivable_head_name` varchar(150) DEFAULT NULL,
  `receivable_head` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `patientfileno`
--

INSERT INTO `patientfileno` (`id`, `facilityId`, `accountNo`, `accName`, `description`, `accountType`, `contactName`, `contactAddress`, `contactPhone`, `contactEmail`, `contactWebsite`, `firstname`, `surname`, `beneficiaries`, `balance`, `status`, `guarantor_name`, `guarantor_address`, `guarantor_phone`, `created_by`, `approved_by`, `createdAt`, `approved_at`, `payable_head_name`, `payable_head`, `receivable_head_name`, `receivable_head`) VALUES
(1, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 1, 'John Doe', NULL, 'Single', NULL, '', '09087654321', '', '', NULL, NULL, 0, -269800, 'approved', '', '', '', NULL, NULL, '2024-08-10 13:52:20', NULL, NULL, NULL, NULL, NULL),
(2, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 2, 'Marilyn Montana', NULL, 'Single', NULL, '', '09012121212', '', '', NULL, NULL, 0, 800, 'approved', '', '', '', NULL, NULL, '2024-08-12 07:46:59', NULL, NULL, NULL, NULL, NULL),
(3, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 3, 'Nazif Musa', NULL, 'Single', NULL, '', '09023232323', '', '', NULL, NULL, 0, 100, 'approved', '', '', '', NULL, NULL, '2024-08-19 13:06:11', NULL, NULL, NULL, NULL, NULL),
(4, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 4, 'Poloa Main', NULL, 'Single', NULL, '', '09090121212', '', '', NULL, NULL, 0, 7700, 'approved', '', '', '', NULL, NULL, '2024-08-19 13:11:46', NULL, NULL, NULL, NULL, NULL),
(5, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 5, 'NAF Patient', NULL, 'Single', NULL, '', '090', '', '', NULL, NULL, 0, 1000, 'approved', '', '', '', NULL, NULL, '2024-08-20 10:16:24', NULL, NULL, NULL, NULL, NULL),
(6, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 6, 'Musa Isah', NULL, 'Single', NULL, '', '09012121212', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2024-09-10 11:07:33', NULL, NULL, NULL, NULL, NULL),
(7, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 7, 'Nagudu Maibaki', NULL, 'Single', NULL, '', '09012121212', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2024-09-10 11:11:34', NULL, NULL, NULL, NULL, NULL),
(8, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 8, 'Murtala Dodo', NULL, 'Single', NULL, '', '09012121222', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2024-09-10 11:30:44', NULL, NULL, NULL, NULL, NULL),
(9, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 9, 'Kabir Ahmad', NULL, 'Insurance', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 98000, 'approved', '', '', '', NULL, NULL, '2024-09-26 16:03:48', NULL, NULL, NULL, NULL, NULL),
(10, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 10, 'Kabir Ahmad', NULL, 'Insurance', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2024-09-27 08:28:57', NULL, NULL, NULL, NULL, NULL),
(11, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 11, 'Kabir Ahmad', NULL, 'Insurance', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2024-09-27 08:31:52', NULL, NULL, NULL, NULL, NULL),
(12, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 12, 'Kabir Ahmad', NULL, 'Single', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 122, 'approved', '', '', '', NULL, NULL, '2024-09-30 14:32:52', NULL, NULL, NULL, NULL, NULL),
(13, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 13, 'Haruna Sadiq', NULL, 'Single', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2024-09-30 15:35:44', NULL, NULL, NULL, NULL, NULL),
(14, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 14, 'Kabir Ahmad', NULL, 'Single', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 122, 'approved', '', '', '', NULL, NULL, '2024-09-30 15:37:25', NULL, NULL, NULL, NULL, NULL),
(15, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 15, 'Emanuela John', NULL, 'Single', NULL, 'Milky way Galaxy', '123456789', '', '', NULL, NULL, 0, 122, 'approved', '', '', '', NULL, NULL, '2024-09-30 15:45:20', NULL, NULL, NULL, NULL, NULL),
(16, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 16, 'Kabir Nurul Iman', NULL, 'Single', NULL, 'Kurna tudun fulani', '09129513810', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2024-10-01 08:46:48', NULL, NULL, NULL, NULL, NULL),
(17, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 17, 'Ss Ss', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-29 14:52:14', NULL, NULL, NULL, NULL, NULL),
(18, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 18, 'Ddd Sadiq', NULL, 'Family', NULL, 'Kano', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-29 15:05:48', NULL, NULL, NULL, NULL, NULL),
(19, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 19, 'Qqq Qqq', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2025-01-29 15:07:40', NULL, NULL, NULL, NULL, NULL),
(20, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 20, 'Amina Amina', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2025-01-29 15:23:57', NULL, NULL, NULL, NULL, NULL),
(21, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 21, 'Ff Bb', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2025-01-29 15:25:32', NULL, NULL, NULL, NULL, NULL),
(22, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 22, 'Kks Kks', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2025-01-29 15:27:40', NULL, NULL, NULL, NULL, NULL),
(23, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 23, 'Zz Zz', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 22, 'approved', '', '', '', NULL, NULL, '2025-01-29 16:00:20', NULL, NULL, NULL, NULL, NULL),
(24, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 24, 'Yyy Yyy', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-29 16:14:47', NULL, NULL, NULL, NULL, NULL),
(25, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 25, 'Vvv Vvv', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-29 16:28:21', NULL, NULL, NULL, NULL, NULL),
(26, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 26, 'Ggg Ggg', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-29 16:32:29', NULL, NULL, NULL, NULL, NULL),
(27, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 27, 'Lll Lll', NULL, 'Single', NULL, 'Kano naibawa', '07032151593', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-01-30 10:02:25', NULL, NULL, NULL, NULL, NULL),
(28, '052100000000', 1, 'Hh Aa', NULL, 'Single', NULL, '', '09012340987', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-06 18:08:32', NULL, NULL, NULL, NULL, NULL),
(29, '052100000000', 2, 'Anjali Sharma', NULL, 'Single', NULL, '', '09012121212', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-06 21:59:53', NULL, NULL, NULL, NULL, NULL),
(30, '052100000000', 3, 'Rahul Nolove', NULL, 'Single', NULL, '', '090', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-06 22:10:44', NULL, NULL, NULL, NULL, NULL),
(31, '052100000000', 4, 'Alim Capital', NULL, 'Single', NULL, '', '2323', '', '', NULL, NULL, 0, -2950, 'approved', '', '', '', NULL, NULL, '2025-02-06 22:16:26', NULL, NULL, NULL, NULL, NULL),
(32, '052100000000', 5, 'Salla Dallam', NULL, 'Single', NULL, '', '09038420099', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-06 22:26:31', NULL, NULL, NULL, NULL, NULL),
(33, '052100000000', 6, 'Some name of pat Oher', NULL, 'Single', NULL, '', '09000990099', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 00:11:40', NULL, NULL, NULL, NULL, NULL),
(34, '052100000000', 7, 'Testing  Fullname', NULL, 'Single', NULL, '', '09023231122', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:32:57', NULL, NULL, NULL, NULL, NULL),
(35, '052100000000', 8, 'Other Makale', NULL, 'Single', NULL, '', '0902323', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:34:47', NULL, NULL, NULL, NULL, NULL),
(36, '052100000000', 9, 'New Normal', NULL, 'Single', NULL, '', '09340304', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:39:54', NULL, NULL, NULL, NULL, NULL),
(37, '052100000000', 10, 'Othernam Joj', NULL, 'Single', NULL, '', '09023231122', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:41:05', NULL, NULL, NULL, NULL, NULL),
(38, '052100000000', 11, 'Testig Otne', NULL, 'Single', NULL, '', '00023', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:41:58', NULL, NULL, NULL, NULL, NULL),
(39, '052100000000', 12, 'Ofeliya Samson', NULL, 'Single', NULL, '', '232', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 01:44:13', NULL, NULL, NULL, NULL, NULL),
(40, '052100000001', 1, 'Murtala Akinyemi', NULL, 'Single', NULL, '', '09012345678', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 06:53:46', NULL, NULL, NULL, NULL, NULL),
(41, '052100000000', 13, 'Olayemi Mathew', NULL, 'Single', NULL, '', '09023232322', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 11:15:31', NULL, NULL, NULL, NULL, NULL),
(42, '052100000000', 14, 'Sule Lamido', NULL, 'Single', NULL, '', '09013', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 11:17:23', NULL, NULL, NULL, NULL, NULL),
(43, '052100000000', 15, 'Yahaya Musa', NULL, 'Single', NULL, '', '09023239433', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 11:27:03', NULL, NULL, NULL, NULL, NULL),
(44, '052100000000', 16, 'Cvc Yge', NULL, 'Single', NULL, '', '12345678', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2025-02-07 14:08:35', NULL, NULL, NULL, NULL, NULL),
(45, '052100000000', 17, 'Maryam Musa', NULL, 'Single', NULL, '', '090121212221', '', '', NULL, NULL, 0, -2900, 'approved', '', '', '', NULL, NULL, '2025-02-07 16:10:08', NULL, NULL, NULL, NULL, NULL),
(46, '052100000000', 18, 'Isa Musa', NULL, 'Single', NULL, '', '090123455667', '', '', NULL, NULL, 0, -1000, 'approved', '', '', '', NULL, NULL, '2025-02-07 16:28:47', NULL, NULL, NULL, NULL, NULL),
(47, '052100000000', 19, 'ASDASD SFASD', NULL, 'Single', NULL, '', '0903434', '', '', NULL, NULL, 0, -12500, 'approved', '', '', '', NULL, NULL, '2025-02-07 17:09:52', NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `patientfileno2`
--

CREATE TABLE `patientfileno2` (
  `id` int(11) NOT NULL DEFAULT 0,
  `facilityId` varchar(50) DEFAULT NULL,
  `accountNo` int(7) DEFAULT NULL,
  `accName` varchar(50) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `accountType` varchar(50) DEFAULT NULL,
  `contactName` varchar(100) DEFAULT NULL,
  `contactAddress` varchar(500) DEFAULT NULL,
  `contactPhone` varchar(20) DEFAULT NULL,
  `contactEmail` varchar(50) DEFAULT NULL,
  `contactWebsite` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `surname` varchar(50) DEFAULT NULL,
  `beneficiaries` bigint(21) NOT NULL DEFAULT 0,
  `balance` int(11) NOT NULL DEFAULT 0,
  `status` varchar(50) NOT NULL DEFAULT 'pending',
  `guarantor_name` varchar(50) DEFAULT NULL,
  `guarantor_address` varchar(100) DEFAULT NULL,
  `guarantor_phone` varchar(20) DEFAULT NULL,
  `created_by` varchar(50) DEFAULT NULL,
  `approved_by` varchar(50) DEFAULT NULL,
  `createdAt` timestamp NULL DEFAULT current_timestamp(),
  `approved_at` timestamp NULL DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `patientfileno2`
--

INSERT INTO `patientfileno2` (`id`, `facilityId`, `accountNo`, `accName`, `description`, `accountType`, `contactName`, `contactAddress`, `contactPhone`, `contactEmail`, `contactWebsite`, `firstname`, `surname`, `beneficiaries`, `balance`, `status`, `guarantor_name`, `guarantor_address`, `guarantor_phone`, `created_by`, `approved_by`, `createdAt`, `approved_at`) VALUES
(1, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 238, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Abba', 'Sulaiman', 2, 0, 'pending', NULL, NULL, NULL, NULL, NULL, '2019-12-19 07:29:26', NULL),
(8237, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 4678, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Salisu', 'Sani', 1, 0, 'pending', NULL, NULL, NULL, NULL, NULL, '2020-12-03 05:33:53', NULL);

-- --------------------------------------------------------

--
-- Stand-in structure for view `patientfileno_full`
-- (See below for the actual view)
--
CREATE TABLE `patientfileno_full` (
`id` int(1)
,`acc_count` int(1)
,`accountNo` int(1)
,`beneficiaries` int(1)
,`firstname` int(1)
,`surname` int(1)
,`status` int(1)
,`createdAt` int(1)
,`accName` int(1)
,`description` int(1)
,`accountType` int(1)
,`contactName` int(1)
,`contactAddress` int(1)
,`contactPhone` int(1)
,`contactEmail` int(1)
,`contactWebsite` int(1)
,`balance` int(1)
,`guarantor_name` int(1)
,`guarantor_address` int(1)
,`guarantor_phone` int(1)
,`created_by` int(1)
,`approved_by` int(1)
,`approved_at` int(1)
);

-- --------------------------------------------------------

--
-- Table structure for table `patientfileno_test`
--

CREATE TABLE `patientfileno_test` (
  `id` int(11) NOT NULL DEFAULT 0,
  `acc_count` bigint(21) NOT NULL DEFAULT 0,
  `accountNo` int(7) DEFAULT NULL,
  `beneficiaries` bigint(21) NOT NULL DEFAULT 0,
  `firstname` varchar(50) DEFAULT NULL,
  `surname` varchar(50) DEFAULT NULL,
  `status` varchar(50) NOT NULL DEFAULT 'pending',
  `createdAt` timestamp NULL DEFAULT NULL,
  `accName` varchar(50) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `accountType` varchar(50) DEFAULT NULL,
  `contactName` varchar(100) DEFAULT NULL,
  `contactAddress` varchar(500) DEFAULT NULL,
  `contactPhone` varchar(20) DEFAULT NULL,
  `contactEmail` varchar(50) DEFAULT NULL,
  `contactWebsite` varchar(50) DEFAULT NULL,
  `balance` int(11) NOT NULL DEFAULT 0,
  `guarantor_name` varchar(50) DEFAULT NULL,
  `guarantor_address` varchar(100) DEFAULT NULL,
  `guarantor_phone` varchar(20) DEFAULT NULL,
  `created_by` varchar(50) DEFAULT NULL,
  `approved_by` varchar(50) DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `patientfileno_test`
--

INSERT INTO `patientfileno_test` (`id`, `acc_count`, `accountNo`, `beneficiaries`, `firstname`, `surname`, `status`, `createdAt`, `accName`, `description`, `accountType`, `contactName`, `contactAddress`, `contactPhone`, `contactEmail`, `contactWebsite`, `balance`, `guarantor_name`, `guarantor_address`, `guarantor_phone`, `created_by`, `approved_by`, `approved_at`) VALUES
(7563, 1, 1, 1, 'Hauwa', 'Musbahu', 'pending', '2020-12-03 05:33:53', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(8237, 1, 4678, 1, 'Salisu', 'Sani', 'pending', '2020-12-03 05:33:53', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `patientrecords`
--

CREATE TABLE `patientrecords` (
  `facilityId` varchar(50) NOT NULL,
  `title` varchar(10) DEFAULT NULL,
  `accountType` varchar(50) DEFAULT NULL,
  `surname` varchar(50) DEFAULT NULL,
  `firstname` varchar(50) DEFAULT NULL,
  `other` varchar(50) DEFAULT NULL,
  `Gender` varchar(10) DEFAULT NULL,
  `age` int(3) DEFAULT 0,
  `maritalstatus` varchar(20) DEFAULT '0',
  `DOB` varchar(20) DEFAULT NULL,
  `dateCreated` varchar(50) DEFAULT NULL,
  `phoneNo` varchar(30) DEFAULT '',
  `email` varchar(50) DEFAULT '',
  `state` varchar(50) DEFAULT '',
  `lga` varchar(50) DEFAULT '',
  `occupation` varchar(50) DEFAULT '',
  `address` varchar(500) DEFAULT '',
  `kinName` varchar(100) DEFAULT '',
  `kinRelationship` varchar(20) DEFAULT '',
  `kinPhone` varchar(30) DEFAULT '0',
  `kinEmail` varchar(50) DEFAULT '0',
  `kinAddress` varchar(500) DEFAULT '0',
  `accountNo` int(7) DEFAULT NULL,
  `beneficiaryNo` int(3) DEFAULT NULL,
  `balance` int(11) DEFAULT 0,
  `id` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `patient_id` int(11) NOT NULL,
  `enteredBy` varchar(20) DEFAULT NULL,
  `patientStatus` varchar(50) DEFAULT NULL,
  `assigned_to` varchar(20) DEFAULT NULL,
  `createdAt` varchar(20) DEFAULT NULL,
  `date_assigned` datetime DEFAULT NULL,
  `status` varchar(50) DEFAULT 'registered',
  `hematology` varchar(20) DEFAULT NULL,
  `microbiology` varchar(20) DEFAULT NULL,
  `chem_path` varchar(20) DEFAULT NULL,
  `radiology` varchar(20) DEFAULT NULL,
  `seen_by` varchar(50) DEFAULT NULL,
  `date_seen` datetime DEFAULT NULL,
  `patient_passport` varchar(100) DEFAULT NULL,
  `enrollee_no` varchar(50) DEFAULT NULL,
  `insurance_scheme` varchar(50) DEFAULT NULL,
  `hmo` varchar(50) DEFAULT NULL,
  `organization` varchar(200) DEFAULT NULL,
  `cardno` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `patientrecords`
--

INSERT INTO `patientrecords` (`facilityId`, `title`, `accountType`, `surname`, `firstname`, `other`, `Gender`, `age`, `maritalstatus`, `DOB`, `dateCreated`, `phoneNo`, `email`, `state`, `lga`, `occupation`, `address`, `kinName`, `kinRelationship`, `kinPhone`, `kinEmail`, `kinAddress`, `accountNo`, `beneficiaryNo`, `balance`, `id`, `patient_id`, `enteredBy`, `patientStatus`, `assigned_to`, `createdAt`, `date_assigned`, `status`, `hematology`, `microbiology`, `chem_path`, `radiology`, `seen_by`, `date_seen`, `patient_passport`, `enrollee_no`, `insurance_scheme`, `hmo`, `organization`, `cardno`) VALUES
('052100000000', '', 'Single', 'Ofeliya', 'Samson', '', 'Male', 0, 'Married', '2021-02-07', '2025-02-07', '232', '', '', '', '23', '', '', '', '', '', '', 12, 1, 0, '12-1', 53, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, 'undefined', '', 'undefined', 'undefined', 'undefined', ''),
('052100000000', '', '', 'Test', 'Patient', NULL, 'Male', 0, 'Divorce', '', '2025-02-08', '0902345678', '', '', '', 'Teacher', 'KL', 'TYu', 'Father', '0908765', '', 'Kano', 7865, 0, 0, 'NAS-0001', 65, NULL, NULL, 'waiting', NULL, NULL, 'waiting', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', ''),
('052100000000', '', '', 'kadiri', 'haruna', NULL, 'Male', 0, '', '', '2025-03-18', '07032151593', '', '', '', 'Director', 'Kano naibawa', 'haruna kadiri', 'dad', '07032151593', '', 'kano', 25, 0, 0, 'NAS-0025', 92, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '1111'),
('052100000000', '', '', 'Musa', 'Dangana', NULL, 'Male', 0, 'Single', '', '2025-03-18', '07032151593', '', '', '', 'Developer', 'Kano naibawa', 'sadiq', 'mum', '07032151593', '', 'kano', 26, 0, 0, 'NAS-0026', 93, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', ''),
('052100000000', '', '', 'kadiri', 'aliyu', NULL, 'Male', 0, 'Single', '', '2025-03-18', '07032151593', '', '', '', 'Director', 'Kano naibawa', 'haruna kadiri', 'dad', '07032151593', '', '', 27, 0, 0, 'NAS-0027', 94, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '67676666'),
('052100000000', '', '', 'fatima', 'aliyu', NULL, 'Male', 0, 'Married', '', '2025-03-18', '07032151593', '', '', '', '', 'Kano naibawa', 'haruna kadiri', 'dad', '07032151593', '', 'kano', 28, 0, 0, 'NAS-0028', 95, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', ''),
('052100000000', '', '', 'frank ', 'sultan', NULL, 'Male', 0, 'Single', '', '2025-03-18', '07032151593', '', '', '', 'Developer', 'Kano naibawa', 'Sadiq Haruna', 'mum', '07032151593', '', 'kano', 29, 0, 0, 'NAS-0029', 96, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', ''),
('052100000000', '', '', 'frank', 'gideon', NULL, 'Male', 0, 'Widow', '', '2025-03-18', '09876545678', 'haru@gmail.com', '', '', 'developer', 'ghfjfjfjfjfjfjfjfjfjfjfjfjfff', 'kkkkk', 'nin', '090654567876543456', '', 'kmmkmkmkm', 30, 0, 0, 'NAS-0030', 97, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '0009'),
('052100000000', '', '', 'Doe', 'John', NULL, 'Male', 0, 'Widow', '', '2025-03-18', '090987654', 'pp@gmail.com', '', '', 'dev', 'kano', 'sad', 'big bro', '0908765434567', '', 'kano', 31, 0, 0, 'NAS-0031', 98, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '12345', 'NHIS', '', '', ''),
('052100000000', '', '', 'faith', 'faith', NULL, 'Female', 0, 'Married', '', '2025-03-18', '0906565656', 'faith@gmail.com', '', '', 'bib', 'kanonnnkdnd', 'faikekke', 'sis', '09876543', '', 'kanoa', 32, 0, 0, 'NAS-0032', 99, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '54545'),
('052100000000', '', '', 'Isa', 'Musa Bawa', NULL, 'Male', 0, 'Divorce', '', '2025-03-19', '09023231122', '', '', '', 'Plumber', 'kano', 'musa', 'Father', '09011223344', '', 'kano', 33, 0, 0, 'NAS-0033', 100, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '012012', 'NHIS', '', '', '0120');

-- --------------------------------------------------------

--
-- Table structure for table `patientrecords_bkp`
--

CREATE TABLE `patientrecords_bkp` (
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `title` varchar(10) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `accountType` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `surname` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `firstname` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `other` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `Gender` varchar(10) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `age` int(3) DEFAULT 0,
  `maritalstatus` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '0',
  `DOB` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `dateCreated` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `phoneNo` varchar(30) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `email` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `state` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `lga` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `occupation` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `address` varchar(500) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `kinName` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `kinRelationship` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
  `kinPhone` varchar(30) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '0',
  `kinEmail` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '0',
  `kinAddress` varchar(500) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '0',
  `accountNo` int(7) DEFAULT NULL,
  `beneficiaryNo` int(3) DEFAULT NULL,
  `balance` int(11) DEFAULT 0,
  `id` varchar(10) NOT NULL,
  `patient_id` int(11) NOT NULL DEFAULT 0,
  `enteredBy` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `patientStatus` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `assigned_to` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `createdAt` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `date_assigned` datetime DEFAULT NULL,
  `status` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT 'registered',
  `hematology` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `microbiology` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `chem_path` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `radiology` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `seen_by` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `date_seen` datetime DEFAULT NULL,
  `patient_passport` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Stand-in structure for view `patient_bed`
-- (See below for the actual view)
--
CREATE TABLE `patient_bed` (
`allocation_id` int(11)
,`bed_id` int(11)
,`allocated` timestamp
,`allocated_by` varchar(50)
,`allocation_status` varchar(20)
,`patient_name` varchar(101)
,`patient_id` varchar(50)
,`accountNo` int(7)
,`facilityId` varchar(50)
);

-- --------------------------------------------------------

--
-- Table structure for table `patient_history`
--

CREATE TABLE `patient_history` (
  `id` int(11) NOT NULL,
  `patient_id` varchar(50) NOT NULL,
  `request_id` int(11) NOT NULL,
  `history` varchar(1000) NOT NULL,
  `file` varchar(200) NOT NULL,
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp(),
  `facilityId` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `patient_history`
--

INSERT INTO `patient_history` (`id`, `patient_id`, `request_id`, `history`, `file`, `createdAt`, `facilityId`) VALUES
(0, '1-1', 2147483647, '', '', '2024-08-10 14:04:39', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a');

-- --------------------------------------------------------

--
-- Table structure for table `pending_lab_txn`
--

CREATE TABLE `pending_lab_txn` (
  `account` int(11) NOT NULL,
  `description` varchar(100) NOT NULL,
  `group_head` varchar(20) NOT NULL,
  `price` int(11) NOT NULL,
  `test` varchar(50) NOT NULL,
  `request_id` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pending_lab_txn`
--

INSERT INTO `pending_lab_txn` (`account`, `description`, `group_head`, `price`, `test`, `request_id`, `status`) VALUES
(20001, 'Full Blood Count', '2021', 2200, '2021', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20002, 'URINE ELECTROLYTE', '0', 3000, '30088', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20003, 'HBs Ag', '0', 1400, '4012', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20003, 'HIV Viral Load', '0', 25000, '4014', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20002, 'RPG/RBS', '0', 800, '30072', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20001, 'Clothing Profile', '2019', 5000, '2019', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20003, 'HCV Ab', '0', 1400, '4013', 'a8c6aa2e-98cc-411f-a202-82dcf9ea430a', 'pending'),
(20001, 'Full Blood Count', '2021', 2200, '2021', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20002, 'Urea, Electrolyte & Creatinine', '30095', 3000, '30095', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20002, 'PSA', '0', 5500, '30066', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20003, 'MALARIA PARASITES', '0', 700, '4020', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20001, 'ESR', '0', 1200, '2009', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20002, 'RPG/RBS', '0', 800, '30072', '7670d011-e56b-48c6-a79e-1ca55a00f7f0', 'pending'),
(20002, 'Calcium', '0', 800, '30027', 'ce88aea7-a50b-40a1-9394-224a0b9f28c8', 'pending'),
(20002, 'Uric Acid', '0', 1000, '30092', 'ce88aea7-a50b-40a1-9394-224a0b9f28c8', 'pending'),
(20001, 'PCV', '0', 700, '2001', 'b809144a-6a30-40da-922e-3326bd1987da', 'pending'),
(20002, 'Urea, Electrolyte & Creatinine', '30095', 3000, '30095', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20001, 'Full Blood Count', '2021', 2200, '2021', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20003, 'Urinalysis', '0', 700, '4038', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20002, 'Lipids Profile.', '30096', 3300, '30096', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20002, 'Uric Acid', '0', 1000, '30092', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20002, 'Albumin', '0', 1000, '300978', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20002, 'Inorganic Phosphorus', '0', 700, '30048', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20002, 'Calcium', '0', 800, '30027', '1329b5ea-7af9-41ea-8110-fc045495447e', 'pending'),
(20001, 'Full Blood Count', '2021', 2200, '2021', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20002, 'Urea, Electrolyte & Creatinine', '30095', 3000, '30095', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20003, 'MALARIA PARASITES', '0', 700, '4020', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20003, 'Urinalysis', '0', 700, '4038', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20001, 'ESR', '0', 1200, '2009', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20002, 'Calcium', '0', 800, '30027', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20003, 'Urine M/C/S', '0', 3000, '4039', '8a68022f-7d36-4f03-bb9d-eab160b1216c', 'pending'),
(20001, 'Full Blood Count', '2021', 2200, '2021', '56cfeb9b-bb3c-492b-995e-bb8c7bff65ca', 'pending'),
(20002, 'Urea, Electrolyte & Creatinine', '30095', 3000, '30095', '56cfeb9b-bb3c-492b-995e-bb8c7bff65ca', 'pending'),
(20003, 'MALARIA PARASITES', '0', 700, '4020', '56cfeb9b-bb3c-492b-995e-bb8c7bff65ca', 'pending'),
(20003, 'Urinalysis', '0', 700, '4038', '56cfeb9b-bb3c-492b-995e-bb8c7bff65ca', 'pending'),
(20001, 'Full Blood Count', '2021', 2200, '2021', '76850440-5608-4719-8ba2-5a20453193ce', 'pending'),
(20003, 'MALARIA PARASITES', '0', 700, '4020', '76850440-5608-4719-8ba2-5a20453193ce', 'pending'),
(20001, 'ESR', '0', 1200, '2009', '76850440-5608-4719-8ba2-5a20453193ce', 'pending'),
(20002, 'Calcium', '0', 800, '30027', '8d60223a-3336-495a-a36b-e35d1b904b8c', 'pending'),
(20003, 'Urinalysis', '0', 700, '4038', '63a3fd64-7aa3-4b8e-a9ad-278a3dd9a35e', 'pending'),
(20003, 'Urine M/C/S', '0', 3000, '4039', '63a3fd64-7aa3-4b8e-a9ad-278a3dd9a35e', 'pending'),
(20002, 'Calcium', '0', 800, '30027', '63a3fd64-7aa3-4b8e-a9ad-278a3dd9a35e', 'pending'),
(20002, 'C - REACTIVE PROTEIN (CRP)', '0', 6000, '3001007', '63a3fd64-7aa3-4b8e-a9ad-278a3dd9a35e', 'pending');

-- --------------------------------------------------------

--
-- Table structure for table `pending_txn`
--

CREATE TABLE `pending_txn` (
  `id` int(11) NOT NULL,
  `transaction_id` varchar(50) DEFAULT NULL,
  `description` varchar(200) NOT NULL,
  `head` varchar(10) NOT NULL,
  `subhead` varchar(10) NOT NULL,
  `amount` int(11) NOT NULL,
  `service_type` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `patient_name` varchar(150) NOT NULL,
  `patient_id` varchar(50) NOT NULL,
  `patient_type` varchar(50) NOT NULL,
  `total_amount` int(11) NOT NULL,
  `client_acc` varchar(45) NOT NULL DEFAULT 'pending',
  `tx_status` varchar(45) NOT NULL DEFAULT 'pending',
  `facilityId` varchar(50) NOT NULL,
  `created_by` varchar(50) NOT NULL,
  `updated_by` varchar(50) DEFAULT NULL,
  `transaction_date` datetime DEFAULT NULL,
  `igr_amount` int(11) DEFAULT NULL,
  `igr` varchar(50) DEFAULT NULL,
  `billing_unit` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pending_txn`
--

INSERT INTO `pending_txn` (`id`, `transaction_id`, `description`, `head`, `subhead`, `amount`, `service_type`, `created_at`, `patient_name`, `patient_id`, `patient_type`, `total_amount`, `client_acc`, `tx_status`, `facilityId`, `created_by`, `updated_by`, `transaction_date`, `igr_amount`, `igr`, `billing_unit`) VALUES
(4, '202500285', 'Esr', '', '20000', 2000, '', '2025-03-20 09:41:04', 'Musa Dangana', 'NAS-0026', 'existing', 0, 'NAS', 'pending', '052100000000', 'cashierpay', '', NULL, 200, 'IGR', '11'),
(5, '202500286', 'Fbs', '', '20000', 30000, '', '2025-03-20 09:44:34', 'frank gideon', 'NAS-0030', 'existing', 0, 'NAS', 'Paid', '052100000000', 'cashierpay', 'cashierpay', '2025-03-20 09:45:46', 3000, 'IGR', '11'),
(6, '202500287', 'Bilurubin', '', '20000', 3600, '', '2025-03-20 11:03:49', 'Isa Musa Bawa', 'NAS-0033', 'existing', 0, 'NAS', 'pending', '052100000000', 'cashierpay', '', NULL, 360, 'IGR', '11');

-- --------------------------------------------------------

--
-- Table structure for table `pending_txn2`
--

CREATE TABLE `pending_txn2` (
  `id` int(11) NOT NULL DEFAULT 0,
  `transaction_id` varchar(50) DEFAULT NULL,
  `description` varchar(200) NOT NULL,
  `head` varchar(10) NOT NULL,
  `subhead` varchar(10) NOT NULL,
  `amount` int(11) NOT NULL,
  `service_type` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `patient_name` varchar(150) NOT NULL,
  `patient_id` varchar(50) NOT NULL,
  `patient_type` varchar(50) NOT NULL,
  `total_amount` int(11) NOT NULL,
  `client_acc` varchar(45) NOT NULL DEFAULT 'pending',
  `tx_status` varchar(45) NOT NULL DEFAULT 'pending',
  `facilityId` varchar(50) NOT NULL,
  `created_by` varchar(50) NOT NULL,
  `updated_by` varchar(50) DEFAULT NULL,
  `transaction_date` datetime DEFAULT NULL,
  `igr_amount` int(11) DEFAULT NULL,
  `igr` varchar(50) DEFAULT NULL,
  `billing_unit` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pending_txn2`
--

INSERT INTO `pending_txn2` (`id`, `transaction_id`, `description`, `head`, `subhead`, `amount`, `service_type`, `created_at`, `patient_name`, `patient_id`, `patient_type`, `total_amount`, `client_acc`, `tx_status`, `facilityId`, `created_by`, `updated_by`, `transaction_date`, `igr_amount`, `igr`, `billing_unit`) VALUES
(4, '20250206112631', 'Laboratory: Clotting Time', 'MAWSH.8', '20000', 300, 'REGISTRATION', '2025-02-06 23:26:31', 'Dallam Salla', '5-1', 'Single', 0, '5', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 30, 'IGR', '6'),
(12, '25020700904', 'Isoflurane', '100001', '100000', 1800, 'PHARMACY', '2025-02-07 00:09:04', 'Rahul Nolove', '3-2', 'Single', 0, '3', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 180, 'IGR', '10'),
(13, '20250207122321', 'Laboratory: Skin Snif', 'MAWSH.25', '20000', 800, 'CONSULTATION', '2025-02-07 00:23:21', 'Anjali Sharma', '2-2', 'Single', 0, '2', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 80, 'IGR', '6'),
(15, '20250207011140', 'Laboratory: Pttk', 'MAWSH.6', '20000', 600, 'REGISTRATION', '2025-02-07 01:11:40', 'Oher Some name of pat', '6-1', 'Single', 0, '6', 'pending', '052100000000', '', '', '2025-01-13 15:35:24', 60, 'IGR', '6'),
(16, '20250207012241', 'Laboratory: Pttk', 'MAWSH.6', '20000', 600, 'GENERAL', '2025-02-07 01:22:41', 'undefined', '2-2', 'undefined', 0, '2', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(17, '20250207022029', 'Laboratory: Lft', 'MAWSH.10', '20000', 500, 'GENERAL', '2025-02-07 02:20:29', 'undefined', '5-1', 'undefined', 0, '5', 'pending', '052100000000', '', '', '2025-02-04 15:35:24', 50, 'NO IGR', '6'),
(18, '20250207022029', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-07 02:20:29', 'undefined', '5-1', 'undefined', 0, '5', 'pending', '052100000000', '', '', '2025-02-05 15:35:24', 10, 'IGR', '6'),
(19, '20250207022029', 'Laboratory: Esr', 'MAWSH.3', '20000', 200, 'GENERAL', '2025-02-07 02:20:29', 'undefined', '5-1', 'undefined', 0, '5', 'pending', '052100000000', '', '', '2025-02-06 15:35:24', 20, 'IGR', '6'),
(20, '25020722733', 'Isoflurane', '100001', '100000', 900, 'PHARMACY', '2025-02-07 02:27:33', 'Salla Dallam', '5-1', 'Single', 0, '5', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 90, 'IGR', '10'),
(21, '25020722828', 'Isoflurane', '100001', '100000', 900, 'PHARMACY', '2025-02-07 02:28:28', 'Some name of pat Oher', '6-1', 'Single', 0, '6', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 90, 'IGR', '10'),
(22, '25020723209', 'Isoflurane', '100001', '100000', 900, 'PHARMACY', '2025-02-07 02:32:09', 'Salla Dallam', '5-1', 'Single', 0, '5', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 90, 'IGR', '10'),
(23, '20250207023257', 'Laboratory: Bleeding Time', 'MAWSH.7', '20000', 300, 'REGISTRATION', '2025-02-07 02:32:57', 'Fullname Testing ', '7-1', 'Single', 0, '7', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 30, 'IGR', '6'),
(24, '20250207023350', 'Laboratory: Lft', 'MAWSH.10', '20000', 500, 'CONSULTATION', '2025-02-07 02:33:50', 'Rahul Nolove', '3-2', 'Single', 0, '3', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 50, 'IGR', '6'),
(25, '20250207023447', 'Laboratory: Afbx I', 'MAWSH.34', '20000', 200, 'REGISTRATION', '2025-02-07 02:34:47', 'Makale Other', '8-1', 'Single', 0, '8', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 20, 'NO IGR', '6'),
(26, '20250207023954', 'Laboratory: Pcv', 'MAWSH.4', '20000', 100, 'REGISTRATION', '2025-02-07 02:39:54', 'Normal New', '9-1', 'Single', 0, '9', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(27, '20250207024105', 'Laboratory: Prothrombin Time', 'MAWSH.5', '20000', 600, 'REGISTRATION', '2025-02-07 02:41:05', 'Joj Othernam', '10-1', 'Single', 0, '10', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(28, '20250207024158', 'Laboratory: Fbs', 'MAWSH.1', '20000', 300, 'REGISTRATION', '2025-02-07 02:41:58', 'Otne Testig', '11-1', 'Single', 0, '11', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 30, 'IGR', '6'),
(29, '20250207024413', 'Laboratory: Lft', 'MAWSH.10', '20000', 500, 'REGISTRATION', '2025-02-07 02:44:13', 'Samson Ofeliya', '12-1', 'Single', 0, '12', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 50, 'IGR', '6'),
(30, '20250207075346', 'Phathology: Rbs', 'ZONE 6.4', '20000', 150, 'REGISTRATION', '2025-02-07 07:53:46', 'Akinyemi Murtala', '1-3', 'Single', 0, '1', 'pending', '052100000001', '', '', '2025-02-07 15:35:24', 15, 'IGR', '8'),
(31, '20250207080449', 'Phathology: Wound Swab M/C/S', 'ZONE 6.44', '20000', 700, 'GENERAL', '2025-02-07 08:04:49', 'undefined', '1-3', 'undefined', 0, '1', 'pending', '052100000001', '', '', '2025-02-07 15:35:24', 70, 'NO IGR', '8'),
(32, '20250207080449', 'X-Ray Of Head And Neck: Man Dible (Jaws)', 'ZONE 6.70', '20000', 7500, 'GENERAL', '2025-02-07 08:04:49', 'undefined', '1-3', 'undefined', 0, '1', 'pending', '052100000001', '', '', '2024-12-16 15:35:24', 750, 'IGR', '8'),
(33, '20250207080449', 'Uss Services: Renal Uss', 'ZONE 6.99', '20000', 3000, 'GENERAL', '2025-02-07 08:04:49', 'undefined', '1-3', 'undefined', 0, '1', 'pending', '052100000001', '', '', '2024-12-23 15:35:24', 300, 'IGR', '8'),
(38, '20250207111600', 'Regular Consultation', '20003', '20000', 6000, 'REGISTRATION', '2025-02-07 11:16:00', 'Dasf Sdfsadf', '5-2', 'Single', 0, '5', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2024-11-03 15:35:24', 600, 'IGR', ''),
(39, '20250207111815', 'Regular Consultation', '20003', '20000', 6000, 'GENERAL', '2025-02-07 11:18:15', 'undefined', '3-1', 'undefined', 0, '3', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-07 15:35:24', 600, 'IGR', ''),
(40, '20250207121531', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'REGISTRATION', '2025-02-07 12:15:31', 'Mathew Olayemi', '13-1', 'Single', 0, '13', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(41, '20250207121723', 'Laboratory: Pcv', 'MAWSH.4', '20000', 100, 'REGISTRATION', '2025-02-07 12:17:23', 'Lamido Sule', '14-1', 'Single', 0, '14', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(42, '20250207122703', 'Laboratory: Pcv', 'MAWSH.4', '20000', 100, 'REGISTRATION', '2025-02-07 12:27:03', 'Musa Yahaya', '15-1', 'Single', 0, '15', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(43, '250207122744', 'Isoflurane', '100001', '100000', 3600, 'PHARMACY', '2025-02-07 12:27:44', 'Sule Lamido', '14-1', 'Single', 0, '14', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 360, 'IGR', '10'),
(44, '20250207123535', 'Laboratory: Pcv', 'MAWSH.4', '20000', 100, 'GENERAL', '2025-02-07 12:35:36', 'undefined', '10-1', 'undefined', 0, '10', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(45, '20250207014001', 'Laboratory: Pcv', 'MAWSH.4', '20000', 100, 'GENERAL', '2025-02-07 13:40:01', 'undefined', '7-1', 'undefined', 0, '7', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 10, 'IGR', '6'),
(46, '20250207014120', 'Laboratory: Pttk', 'MAWSH.6', '20000', 600, 'GENERAL', '2025-02-07 13:41:20', 'undefined', '9-1', 'undefined', 0, '9', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(47, '20250207021801', 'Registration ( Family )', '20002', '20000', 10000, 'GENERAL', '2025-02-07 14:18:01', 'undefined', '4-2', 'undefined', 0, '4', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-07 15:35:24', 1000, 'IGR', ''),
(48, '20250207030835', 'Laboratory: Afbx I', 'MAWSH.34', '20000', 200, 'REGISTRATION', '2025-02-07 15:08:35', 'Yge Cvc', '16-1', 'Single', 0, '16', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 20, 'IGR', '6'),
(49, '20250207030939', 'Laboratory: Semen Analysis', 'MAWSH.30', '20000', 200, 'GENERAL', '2025-02-07 15:09:39', 'undefined', '10-1', 'undefined', 0, '10', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 20, 'IGR', '6'),
(50, '20250207030939', 'Digital X-Ray: Paranasal Sinus (Pns', 'MAWSH.51', '20000', 120000, 'GENERAL', '2025-02-07 15:09:39', 'undefined', '10-1', 'undefined', 0, '10', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 12000, 'IGR', '6'),
(51, '20250207040258', 'Private ( 1, 2, Yellow )', '20006', '20000', 25000, 'GENERAL', '2025-02-07 16:02:58', 'undefined', '4-2', 'undefined', 0, '4', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-07 15:35:24', 2500, 'IGR', ''),
(52, '20250207051008', 'Admission: Card Fee', 'MAWSH.295', '20000', 300, 'REGISTRATION', '2025-02-07 17:10:08', 'Musa Maryam', '17-1', 'Single', 0, '17', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 30, 'IGR', '6'),
(53, '20250207051117', 'Laboratory: Pbs/Rbs', 'MAWSH.13', '20000', 800, 'GENERAL', '2025-02-07 17:11:17', 'undefined', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 80, 'IGR', '6'),
(54, '250207171151', 'Isoflurane', '100001', '100000', 3600, 'PHARMACY', '2025-02-07 17:11:51', 'Maryam Musa', '17-1', 'Single', 0, '17', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 360, 'IGR', '10'),
(55, '20250207052846', 'Ent: Ear Dressing', 'MAWSH.238', '20000', 500, 'REGISTRATION', '2025-02-07 17:28:47', 'Musa Isa', '18-1', 'Single', 0, '18', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 50, 'IGR', '6'),
(56, '20250207052846', 'Admission: Card Fee', 'MAWSH.295', '20000', 300, 'REGISTRATION', '2025-02-07 17:28:47', 'Musa Isa', '18-1', 'Single', 0, '18', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 30, 'IGR', '6'),
(57, '20250207052846', 'Laboratory: Prothrombin Time', 'MAWSH.5', '20000', 600, 'REGISTRATION', '2025-02-07 17:28:47', 'Musa Isa', '18-1', 'Single', 0, '18', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(58, '20250207053143', 'Laboratory: Prothrombin Time', 'MAWSH.5', '20000', 600, 'GENERAL', '2025-02-07 17:31:43', 'undefined', '18-1', 'undefined', 0, '18', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(59, '250207174340', 'Isoflurane', '100001', '100000', 2700, 'PHARMACY', '2025-02-07 17:43:40', 'Isa Musa', '18-1', 'Single', 0, '18', 'pending', '052100000000', '', '', '2025-02-07 15:35:24', 270, 'IGR', '10'),
(60, '20250207060952', 'Laboratory: Prothrombin Time', 'MAWSH.5', '20000', 600, 'REGISTRATION', '2025-02-07 18:09:52', 'SFASD ASDASD', '19-1', 'Single', 0, '19', 'pending', '052100000000', 'nasarawa', 'nasarawa', '2025-02-07 15:35:24', 60, 'IGR', '6'),
(61, '20250208102039', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-08 10:20:39', 'undefined', '18-1', 'undefined', 0, '18', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 10, 'IGR', '6'),
(62, '20250208120737', 'Registration ( Family )', '20002', '20000', 20000, 'GENERAL', '2025-02-08 12:07:37', 'undefined', '3-1', 'undefined', 0, '3', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-08 15:35:24', 2000, 'IGR', ''),
(63, '20250208120737', 'Houses ( White, Blue, Green, Annex Double )', '20008', '20000', 40000, 'GENERAL', '2025-02-08 12:07:37', 'undefined', '3-1', 'undefined', 0, '3', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-08 15:35:24', 4000, 'IGR', ''),
(64, '20250208120737', 'Specialist F/up', '20034', '20000', 16000, 'GENERAL', '2025-02-08 12:07:37', 'undefined', '3-1', 'undefined', 0, '3', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-08 15:35:24', 1600, 'IGR', ''),
(65, '20250208023140', 'Registration ( Family )', '20002', '20000', 10000, 'GENERAL', '2025-02-08 14:31:40', 'undefined', '3-1', 'undefined', 0, '3', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-08 15:35:24', 1000, 'IGR', ''),
(66, '20250208024630', 'Registration ( Family )', '20002', '20000', 10000, 'GENERAL', '2025-02-08 14:46:30', 'Mola Saddiku', '4-2', 'undefined', 0, '4', 'pending', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '2025-02-08 15:35:24', 1000, 'IGR', ''),
(67, '202500002', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-08 17:43:22', 'SFASD ASDASD', '19-1', 'undefined', 0, '19', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 10, 'IGR', '6'),
(68, '202500002', 'Laboratory: Clotting Time', 'MAWSH.8', '20000', 300, 'GENERAL', '2025-02-08 17:43:22', 'SFASD ASDASD', '19-1', 'undefined', 0, '19', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 30, 'IGR', '6'),
(69, '202500003', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-08 17:44:35', 'Patient Test', 'KIRS/NAS/0001', 'undefined', 0, 'KIRS/NAS/0001', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 10, 'IGR', '6'),
(70, '202500003', 'Laboratory: Bleeding Time', 'MAWSH.7', '20000', 300, 'GENERAL', '2025-02-08 17:44:35', 'Patient Test', 'KIRS/NAS/0001', 'undefined', 0, 'KIRS/NAS/0001', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 30, 'IGR', '6'),
(71, '202500004', 'Laboratory: Semen M/C/S', 'MAWSH.29', '20000', 400, 'GENERAL', '2025-02-08 17:47:37', 'Musa Maryam', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 40, 'IGR', '6'),
(72, '202500004', 'Laboratory: R. Factor', 'MAWSH.44', '20000', 100000, 'GENERAL', '2025-02-08 17:47:37', 'Musa Maryam', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 10000, 'IGR', '6'),
(73, '202500004', 'Laboratory: Lipid Profile', 'MAWSH.11', '20000', 150000, 'GENERAL', '2025-02-08 17:47:37', 'Musa Maryam', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 15000, 'IGR', '6'),
(74, '202500005', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-08 18:27:10', 'SFASD ASDASD', '19-1', 'undefined', 0, '19', 'pending', '052100000000', '', '', '2025-02-08 15:35:24', 10, 'IGR', '6'),
(75, '202500006', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-09 10:16:29', 'SFASD ASDASD', '19-1', 'undefined', 0, '19', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 10, 'IGR', '6'),
(76, '202500007', 'Isoflurane', '100001', '100000', 5400, 'PHARMACY', '2025-02-09 12:37:07', 'General File', '17-1', '', 0, 'undefined', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 540, 'IGR', '10'),
(77, '202500008', 'Laboratory: Esr', 'MAWSH.2', '20000', 200, 'GENERAL', '2025-02-09 13:54:11', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 20, 'IGR', '6'),
(78, '202500008', 'Laboratory: Bleeding Time', 'MAWSH.2', '20000', 300, 'GENERAL', '2025-02-09 13:54:11', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 30, 'IGR', '6'),
(79, '202500009', 'Laboratory: Bleeding Time', 'MAWSH.2', '20000', 300, 'GENERAL', '2025-02-09 13:54:32', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 30, 'IGR', '6'),
(80, '202500009', 'Laboratory: Lipid Profile', 'MAWSH.2', '20000', 150000, 'GENERAL', '2025-02-09 13:54:32', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 15000, 'IGR', '6'),
(81, '202500010', 'Laboratory: Esr', 'MAWSH.2', '20000', 200, 'GENERAL', '2025-02-09 13:55:11', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 20, 'IGR', '6'),
(82, '202500011', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-09 13:57:37', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 10, 'IGR', '6'),
(83, '202500011', 'Laboratory: Esr', 'MAWSH.2', '20000', 200, 'GENERAL', '2025-02-09 13:57:37', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 20, 'IGR', '6'),
(84, '202500012', 'Laboratory: Fbs', 'MAWSH.2', '20000', 300, 'GENERAL', '2025-02-09 13:58:13', 'undefined', '17-1', 'undefined', 0, '1', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 30, 'IGR', '6'),
(85, '202500013', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-09 14:08:15', 'Maryam Musa', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 10, 'IGR', '6'),
(86, '202500013', 'Laboratory: Esr', 'MAWSH.2', '20000', 200, 'GENERAL', '2025-02-09 14:08:15', 'Maryam Musa', '17-1', 'undefined', 0, '17', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 20, 'IGR', '6'),
(87, '202500014', 'Laboratory: Bleeding Time', 'MAWSH.2', '20000', 300, 'GENERAL', '2025-02-09 14:47:04', 'Muhammad OIsmla', 'KIRS/NAS/0002', 'undefined', 0, 'KIRS/NAS/0002', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 30, 'IGR', '6'),
(88, '202500014', 'Laboratory: Pttk', 'MAWSH.2', '20000', 600, 'GENERAL', '2025-02-09 14:47:04', 'Muhammad OIsmla', 'KIRS/NAS/0002', 'undefined', 0, 'KIRS/NAS/0002', 'pending', '052100000000', '', '', '2025-02-09 15:35:24', 60, 'IGR', '6'),
(89, '202500015', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-09 15:14:17', 'Muhammad OIsmla', 'KIRS/NAS/0002', 'undefined', 0, 'KIRS/NAS/0002', 'pending', '052100000000', '', '', '2025-01-12 15:35:24', 10, 'IGR', '6'),
(90, '202500015', 'Laboratory: Pttk', 'MAWSH.2', '20000', 600, 'GENERAL', '2025-02-09 15:14:17', 'Muhammad OIsmla', 'KIRS/NAS/0002', 'undefined', 0, 'KIRS/NAS/0002', 'pending', '052100000000', '', '', '2025-01-20 15:35:24', 60, 'IGR', '6'),
(91, '202500015', 'Laboratory: Lft', 'MAWSH.2', '20000', 500, 'GENERAL', '2025-02-09 15:14:17', 'Muhammad OIsmla', 'KIRS/NAS/0002', 'undefined', 0, 'KIRS/NAS/0002', 'pending', '052100000000', '', '', '2025-01-28 15:35:24', 50, 'IGR', '6'),
(92, '202500016', 'Laboratory: Lft', 'MAWSH.2', '20000', 500, 'GENERAL', '2025-02-10 10:10:59', 'Cvc Yge', '16-1', 'undefined', 0, '16', 'Paid', '052100000000', '', '', '2025-02-10 02:47:34', 50, NULL, NULL),
(93, '202500016', 'Laboratory: Lipid Profile', 'MAWSH.2', '20000', 150000, 'GENERAL', '2025-02-10 10:10:59', 'Cvc Yge', '16-1', 'undefined', 0, '16', 'Paid', '052100000000', '', '', '2025-02-10 02:47:34', 15000, NULL, NULL),
(94, '202500017', 'Laboratory: Fbs', 'MAWSH.2', '20000', 300, 'GENERAL', '2025-02-10 10:16:12', 'Ngozi  Emmanuel', 'KIRS/NAS/0007', 'undefined', 0, 'KIRS/NAS/0007', 'pending', '052100000000', '', '', NULL, 30, NULL, NULL),
(95, '202500017', 'Laboratory: Prothrombin Time', 'MAWSH.2', '20000', 600, 'GENERAL', '2025-02-10 10:16:12', 'Ngozi  Emmanuel', 'KIRS/NAS/0007', 'undefined', 0, 'KIRS/NAS/0007', 'pending', '052100000000', '', '', NULL, 60, NULL, NULL),
(96, '202500018', 'Laboratory: Mp', 'MAWSH.2', '20000', 100, 'GENERAL', '2025-02-10 10:25:15', 'Test Patient', 'NAS-0001', 'undefined', 0, 'NAS', 'Paid', '052100000000', 'nasarawa', '', '2025-02-10 02:47:07', 10, NULL, '6'),
(97, '202500018', 'Laboratory: Pttk', 'MAWSH.2', '20000', 600, 'GENERAL', '2025-02-10 10:25:15', 'Test Patient', 'NAS-0001', 'undefined', 0, 'NAS', 'Paid', '052100000000', 'nasarawa', '', '2025-02-10 02:47:07', 60, NULL, '6'),
(98, '202500019', 'Isoflurane', '100001', '100000', 900, 'PHARMACY', '2025-02-10 10:27:49', 'Maryam Musa', '17-1', 'Single', 0, '17', 'pending', '052100000000', 'nasarawa', '', NULL, 90, NULL, ''),
(99, '202500019', 'neostgimin iv', '100001', '100000', 1800, 'PHARMACY', '2025-02-10 10:27:49', 'Maryam Musa', '17-1', 'Single', 0, '17', 'pending', '052100000000', 'nasarawa', '', NULL, 180, NULL, ''),
(100, '202500020', 'Laboratory: Pttk', 'MAWSH.2', '20000', 1200, 'GENERAL', '2025-02-10 13:53:49', 'Yahaya Musa', '15-1', 'undefined', 0, '15', 'pending', '052100000000', 'nasarawa', '', NULL, 120, NULL, '6'),
(101, '202500020', 'Laboratory: Bleeding Time', 'MAWSH.2', '20000', 900, 'GENERAL', '2025-02-10 13:53:49', 'Yahaya Musa', '15-1', 'undefined', 0, '15', 'pending', '052100000000', 'nasarawa', '', NULL, 90, NULL, '6'),
(102, '202500021', 'Testese', '', '20000', 500, 'GENERAL', '2025-02-10 19:42:03', 'Cvc Yge', '16-1', 'undefined', 0, '16', 'pending', '052100000000', 'nasarawa', '', NULL, NULL, NULL, '6'),
(103, '202500022', 'NewRev', '', '20000', 400, 'GENERAL', '2025-02-11 11:11:23', 'Isa Musa', '18-1', 'undefined', 0, '18', 'pending', '052100000000', 'nasarawa', '', NULL, 80, 'IGR', '6'),
(104, '202500023', 'Laboratory: Lipid Profile', '', '20000', 750000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(105, '202500023', 'Laboratory: Genotype', '', '20000', 100000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(106, '202500023', 'Laboratory: Albumen', '', '20000', 900000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(107, '202500023', 'Laboratory: R. Factor', '', '20000', 100000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(108, '202500023', 'Laboratory: Pap Smear', '', '20000', 100000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(109, '202500023', 'Laboratory: Exfo Cyto', '', '20000', 100000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(110, '202500023', 'Laboratory: Trau Cyto', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'IGR', '6'),
(111, '202500023', 'Digital X-Ray: Paranasal Sinus (Pns', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(112, '202500023', 'Digital X-Ray: Skull Ap View', '', '20000', 240000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(113, '202500023', 'Digital X-Ray: Skull Ap And Lat', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(114, '202500023', 'Digital X-Ray: Mandible Ap View', '', '20000', 240000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(115, '202500023', 'Digital X-Ray: Both Mandibles (L) Oblqs', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(116, '202500023', 'Digital X-Ray: Right (R) S And M', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(117, '202500023', 'Digital X-Ray: Left (L) S And M', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(118, '202500023', 'Digital X-Ray: Temporo-Mandibular Joint', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(119, '202500023', 'Digital X-Ray: Nasal Bones', '', '20000', 240000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(120, '202500023', 'Digital X-Ray: Base Of Skull (Smv)', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(121, '202500023', 'Digital X-Ray: Lumbo - Sacrae', '', '20000', 240000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(122, '202500023', 'Digital X-Ray: Lumbar-Spine Ap View', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(123, '202500023', 'Digital X-Ray: Sacrum And Coccyx', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(124, '202500023', 'Digital X-Ray: Shoulder/Scapula Ap', '', '20000', 0, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(125, '202500023', 'Digital X-Ray: Shoulder/Scapula Ap/Lat', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(126, '202500023', 'Digital X-Ray: Acromio-Clavicula Joint', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6f'),
(127, '202500023', 'Digital X-Ray: Right (R) Clavicle', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(128, '202500023', 'Digital X-Ray: Left (L) Clavicle', '', '20000', 120000, 'GENERAL', '2025-02-12 10:03:58', 'Olayemi Mathew', '13-1', 'undefined', 0, '13', 'pending', '052100000000', 'admin', '', '2025-02-12 00:00:00', 0, 'NO IGR', '6'),
(129, '202500024', 'Phathology: Blood Transfusion, Screening Only', '', '20000', 1500, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'IGR', ''),
(130, '202500024', 'Radiology: Thoraco Lumber', '', '20000', 1500, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(131, '202500024', 'Uss Services: Muscular/Skeletol', '', '20000', 2000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(132, '202500024', 'Obstertic & Gynaecology: Myomectomy', '', '20000', 300000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(133, '202500024', 'Obstertic & Gynaecology: Uterine/Cervical Polype', '', '20000', 330000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(134, '202500024', 'Obstertic & Gynaecology: Prolapse', '', '20000', 180000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(135, '202500024', 'Obstertic & Gynaecology: Ant. Colphoraphy', '', '20000', 240000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(136, '202500024', 'Obstertic & Gynaecology: Vaginal Hysterectomy', '', '20000', 105000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(137, '202500024', 'Ent: Tonsillectomy', '', '20000', 120000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(138, '202500024', 'Ent: Adenoidectomy', '', '20000', 105000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(139, '202500024', 'Ent: Adeno Tonsillectomy', '', '20000', 180000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(140, '202500024', 'Ent: Nasal Polypectomy', '', '20000', 220000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(141, '202500024', 'Ent: Aural Polypectomy', '', '20000', 180000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(142, '202500024', 'Ent: Mastidectomy', '', '20000', 330000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(143, '202500024', 'Ent: Foreign Body In The Oesoglapus', '', '20000', 240000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(144, '202500024', 'Ent: Tracheotomy', '', '20000', 20000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(145, '202500024', 'Ent: Foreign Body In The Airways', '', '20000', 200000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(146, '202500024', 'Ent: Ramua Excision', '', '20000', 340000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(147, '202500024', 'Ent: Repair Of Palatal Laceration', '', '20000', 15000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(148, '202500024', 'Ent: Intra Nasal Antrostomy', '', '20000', 340000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(149, '202500024', 'Eye Clinic: Trabeculectomy', '', '20000', 190000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(150, '202500024', 'Eye Clinic: Cornea Repair', '', '20000', 102000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(151, '202500024', 'Phathology : Blood Transfusion Screen Ng Only', '', '20000', 10500, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(152, '202500024', 'Phathology : Pcv', '', '20000', 200, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(153, '202500024', 'Phathology : Clotting Time', '', '20000', 400, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(154, '202500024', 'Phathology : Urinalys S', '', '20000', 400, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(155, '202500024', 'Phathology : Stoolmanalys S', '', '20000', 400, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(156, '202500024', 'Phathology : Sputum Mcs', '', '20000', 7700, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(157, '202500024', 'Phathology : Blood Mcs', '', '20000', 9100, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(158, '202500024', 'Phathology : Wound Swab M/C/S', '', '20000', 11900, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(159, '202500024', 'Uss Services: Small Partis Uss', '', '20000', 8000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(160, '202500024', 'Uss Services: Obstetr Cs + 4d', '', '20000', 12000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', ''),
(161, '202500024', 'Uss Services: Pelv Cs Uss', '', '20000', 5000, 'GENERAL', '2025-02-12 10:08:29', 'Murtala Akinyemi', '1-3', 'undefined', 0, '1', 'Paid', '052100000001', 'murtala', 'murtala', '2025-02-12 10:33:30', 0, 'NO IGR', '');

-- --------------------------------------------------------

--
-- Table structure for table `pharm_branches`
--

CREATE TABLE `pharm_branches` (
  `id` int(11) NOT NULL,
  `branch_name` varchar(50) NOT NULL,
  `location` varchar(50) DEFAULT NULL,
  `address` varchar(100) DEFAULT NULL,
  `phone` varchar(15) DEFAULT NULL,
  `crm` varchar(50) DEFAULT NULL,
  `created_time` timestamp NULL DEFAULT current_timestamp(),
  `facilityId` varchar(50) NOT NULL,
  `store_type` varchar(100) NOT NULL,
  `admin_name` varchar(50) NOT NULL,
  `created_by` varchar(50) NOT NULL,
  `manage_by` varchar(100) NOT NULL,
  `store_code` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pharm_branches`
--

INSERT INTO `pharm_branches` (`id`, `branch_name`, `location`, `address`, `phone`, `crm`, `created_time`, `facilityId`, `store_type`, `admin_name`, `created_by`, `manage_by`, `store_code`) VALUES
(1, 'Prime Pharmacy', 'PSC Prime', '2 Lamido Crescent , Kano', '', NULL, '2022-09-20 04:42:48', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Store', 'abdurrahman', '5', '5', '13bc4489-4807-4ad5-aa55-4b13ed697074'),
(2, 'Nursing Station', 'PSC Prime', '', '', NULL, '2022-09-21 12:01:42', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Store', 'abdurrahman', '5', '5', 'c449bdaf-413a-4c53-94ee-7743c5e4c4e5'),
(3, 'Theater Store', 'Theater', '', '', NULL, '2022-10-08 06:57:25', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Store', 'Maryam', '825', '825', 'a6631135-54bd-44d7-aff9-328d5bb5badf'),
(4, 'Laboratory Store', 'Laboratory', '', NULL, NULL, '2022-11-08 06:57:25', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Store', 'Suliaman', '825', '825', 'a6631135-54bd-44d7-aff9-32899bb5badf'),
(5, 'RECEPTION ', 'PRIME HOSPITAL', '', '', NULL, '2022-12-16 05:28:34', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Store', 'Suleiman', '11', '11', '7e25c08d-6dbe-4587-b169-637da7c304ab'),
(6, 'Main Store', 'Kano', 'Kano', '', NULL, '2025-02-06 22:32:24', '052100000000', 'Point Of Sales', 'nasarawa', '878', '878', 'f3e29231-2cf4-46b4-925c-a47049a02244'),
(7, 'Defaukt', 'Kano', 'Kano', '', NULL, '2025-02-07 06:57:47', '052100000001', 'Point Of Sales', 'murtala', '879', '879', '103d7a9a-0312-4307-ad6a-ccd49b9805ec'),
(8, 'Main Store', '', 'No 10 Sokoto Road, Kano', '', NULL, '2025-02-15 15:26:43', '052100000003', 'Point Of Sales', 'pharmacy', '886', '886', 'cd24b428-cf1a-49fe-a3a9-691f57ef62f0'),
(9, 'Nasarawa Hospital Main Store', '', '', '09012121212', NULL, '2025-02-16 14:34:20', '052100000000', 'Store', 'nasarawa', '881', '881', '16770944-f46a-4afc-987c-0f38f5554cd4'),
(10, 'Prime Pharmacy', 'Nigeria', 'Kano naibawa', '07032151593', NULL, '2025-03-10 08:48:52', '052100000000', 'Point Of Sales', 'baba', '915', '915', '50428298-9bda-4eb2-b152-07c0ab0d1fca');

-- --------------------------------------------------------

--
-- Table structure for table `pharm_store`
--

CREATE TABLE `pharm_store` (
  `balance` int(11) DEFAULT 0,
  `drug_name` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `price` float DEFAULT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `item_code` varchar(50) NOT NULL,
  `group_code` varchar(50) DEFAULT NULL,
  `specification` varchar(50) DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `expired_status` varchar(50) DEFAULT 'false',
  `expiry_date` date NOT NULL DEFAULT '1111-11-11',
  `store` varchar(50) NOT NULL,
  `selling_price` float NOT NULL,
  `supplier_name` varchar(100) DEFAULT NULL,
  `supplier_code` varchar(100) DEFAULT NULL,
  `store_location` varchar(50) DEFAULT NULL,
  `generic_name` varchar(50) DEFAULT NULL,
  `insert_date` datetime DEFAULT NULL,
  `reoder_level` int(50) DEFAULT NULL,
  `uom` varchar(100) DEFAULT NULL,
  `drug_category` varchar(100) DEFAULT NULL,
  `item_id` varchar(60) DEFAULT NULL,
  `barcode` varchar(100) DEFAULT NULL,
  `grn_no` varchar(20) DEFAULT NULL,
  `drug_type` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pharm_store`
--

INSERT INTO `pharm_store` (`balance`, `drug_name`, `price`, `prefix`, `item_code`, `group_code`, `specification`, `facilityId`, `expired_status`, `expiry_date`, `store`, `selling_price`, `supplier_name`, `supplier_code`, `store_location`, `generic_name`, `insert_date`, `reoder_level`, `uom`, `drug_category`, `item_id`, `barcode`, `grn_no`, `drug_type`) VALUES
(0, 'Aminophylline inj 250mg', 0, NULL, '229', NULL, NULL, '052100000000', 'false', '2025-02-12', 'Main Store', 600, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, 'New Drug', '2025-02-14 14:41:01', 90, '', '', NULL, '', '9548', 'DRF'),
(41, 'Flagyl 150mg', 500, NULL, '244', NULL, NULL, '052100000000', 'false', '2027-02-21', 'Main Store', 600, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, 'Flagyl', '2025-02-14 14:41:59', 23, '50', 'ooo', NULL, '', '9549', 'DRF'),
(90, 'Paracetamol tab', 10000, NULL, '269', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2025-02-07', 'Prime Pharmacy', 15000, 'Pfizer', '2e2b599c-1fbf-4727-8965-b43b3935a592', NULL, 'Paracetamol', '2025-01-31 12:32:52', 212112, 'per annum', 'PPT', NULL, '23434', '9541', ''),
(110, 'Amoxicillin + Clav 625mg syr', 400, NULL, '282', NULL, NULL, '052100000000', 'false', '2027-02-14', 'Nasarawa Hospital Main Store', 500, 'New Supplier', '4b9720e3-f46d-48aa-9fd5-3da356b9945c', NULL, 'Amoxicillin', '2025-02-16 14:37:04', 0, 'Card', '', NULL, '1324', '9551', 'DRF'),
(83, 'urine bag', 1000, NULL, '289', NULL, NULL, '052100000000', 'false', '2025-03-25', 'Prime Pharmacy', 950, 'haruna kadiri', '22f84759-eb5e-483f-95fb-7ccfd03aa444', NULL, 'ETC', '2025-03-10 08:51:21', 10, 'per annum', 'SSS', NULL, '4524', '9552', 'DRF'),
(40, 'Flagyl syr', 500, NULL, '310', NULL, NULL, '052100000003', 'false', '2025-02-15', 'Main Store', 1000, 'Drug Management Agency', 'dcdc3a08-06cd-4341-a288-5c32e907ef81', NULL, 'Flagyl', '2025-02-15 15:32:24', 10, 'Card', 'ooo', NULL, '', '9550', 'DRF'),
(34, 'neostgimin iv', 600, NULL, '318', NULL, NULL, '052100000000', 'false', '2026-02-09', 'Main Store', 900, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, '', '2025-02-09 12:00:35', 34, 'rr', '', NULL, '34', '9547', ''),
(79, 'ETT', 1000, NULL, '321', NULL, NULL, '052100000000', 'false', '2026-02-08', 'Prime Pharmacy', 1200, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, 'ETT', '2025-02-08 09:33:50', 34, 'sf', '', NULL, '', '9546', ''),
(200, 'Ceftazidime', 600, NULL, '322', NULL, NULL, '052100000001', 'false', '2025-02-06', 'Defaukt', 1000, 'Default', 'f4d670b1-65f5-489b-b171-d4df9be44ab7', NULL, 'Ceftazidime', '2025-02-07 07:00:05', 10, '', '', NULL, '', '9543', ''),
(50, 'Ceftazidime', 300, NULL, '322', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2026-09-10', 'Prime Pharmacy', 500, 'Pfizer', '2e2b599c-1fbf-4727-8965-b43b3935a592', NULL, 'Ceftazidime', '2024-08-10 14:27:11', 10, 'tabs', '', NULL, '', '9540', ''),
(37, 'Pentazocine', 700, NULL, '323', NULL, NULL, '052100000000', 'false', '2026-02-09', 'Prime Pharmacy', 1000, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, 'Pentazocine', '2025-02-08 09:32:01', 9, '', '', NULL, '', '9545', ''),
(50, 'Pentazocine', 400, NULL, '323', NULL, NULL, '052100000003', 'false', '2025-02-14', 'Main Store', 1000, 'Drug Management Agency', 'dcdc3a08-06cd-4341-a288-5c32e907ef81', NULL, 'Pentazocine', '2025-02-15 15:32:24', 10, 'Card', 'ooo', NULL, '', '9550', 'DRF'),
(40, 'Pentazocine', 500, NULL, '323', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2024-09-05', 'Prime Pharmacy', 1000, 'Pfizer', '2e2b599c-1fbf-4727-8965-b43b3935a592', NULL, 'Pentazocine', '2024-08-10 14:27:11', 10, 'tabs', '', NULL, '', '9540', ''),
(62, 'Isoflurane', 2000, NULL, '324', NULL, NULL, '052100000000', 'false', '2025-03-12', 'Prime Pharmacy', 1950, 'haruna kadiri', '22f84759-eb5e-483f-95fb-7ccfd03aa444', NULL, 'Isoflurane', '2025-03-10 08:51:21', 20, 'per annum', 'SSS', NULL, '452444', '9552', 'DRF'),
(36, 'Isoflurane', 600, NULL, '324', NULL, NULL, '052100000000', 'false', '2027-02-06', 'Main Store', 900, 'Default', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', NULL, 'Isoflurane', '2025-02-06 22:34:36', 10, 'Sacchet', 'General', NULL, '234', '9542', ''),
(700, 'Midazolam', 500, NULL, '325', NULL, NULL, '052100000001', 'false', '2027-02-07', 'Defaukt', 800, 'Default', 'f4d670b1-65f5-489b-b171-d4df9be44ab7', NULL, 'Midazolam', '2025-02-07 07:02:17', 34, 'CARD', '', NULL, '', '9544', '');

-- --------------------------------------------------------

--
-- Table structure for table `pharm_store_entries`
--

CREATE TABLE `pharm_store_entries` (
  `version_id` varchar(100) DEFAULT NULL,
  `receive_date` varchar(50) DEFAULT NULL,
  `drug_name` varchar(50) DEFAULT NULL,
  `id` int(11) NOT NULL,
  `po_no` varchar(50) DEFAULT NULL,
  `qty_in` varchar(50) DEFAULT NULL,
  `qty_out` varchar(50) DEFAULT NULL,
  `store_type` varchar(20) DEFAULT 'Local',
  `item_code` varchar(50) DEFAULT NULL,
  `barcode` varchar(50) DEFAULT NULL,
  `grn_no` varchar(50) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `unit_price` float NOT NULL DEFAULT 0,
  `cost_price` float DEFAULT NULL,
  `mark_up` varchar(50) DEFAULT NULL,
  `selling_price` varchar(100) DEFAULT NULL,
  `transfer_from` varchar(50) DEFAULT NULL,
  `transfer_to` varchar(50) DEFAULT 'Prime Pharmacy',
  `branch_name` varchar(50) DEFAULT 'Prime Pharmacy',
  `item_status` varchar(20) DEFAULT NULL,
  `inserted_time` datetime(6) DEFAULT current_timestamp(6),
  `inserted_by` varchar(50) DEFAULT NULL,
  `facilityId` varchar(50) DEFAULT NULL,
  `trn_number` varchar(50) DEFAULT NULL,
  `uniqueId` varchar(40) DEFAULT NULL,
  `drug_category` varchar(100) DEFAULT 'Local',
  `truckNo` varchar(50) DEFAULT NULL,
  `waybillNo` varchar(50) DEFAULT NULL,
  `otherInfo` varchar(100) DEFAULT NULL,
  `supplier_code` varchar(150) DEFAULT NULL,
  `supplier_name` varchar(200) DEFAULT NULL,
  `reorder_level` int(11) DEFAULT NULL,
  `sales_type` varchar(50) DEFAULT NULL,
  `userName` varchar(100) DEFAULT NULL,
  `patient_id` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `pharm_store_entries`
--

INSERT INTO `pharm_store_entries` (`version_id`, `receive_date`, `drug_name`, `id`, `po_no`, `qty_in`, `qty_out`, `store_type`, `item_code`, `barcode`, `grn_no`, `expiry_date`, `unit_price`, `cost_price`, `mark_up`, `selling_price`, `transfer_from`, `transfer_to`, `branch_name`, `item_status`, `inserted_time`, `inserted_by`, `facilityId`, `trn_number`, `uniqueId`, `drug_category`, `truckNo`, `waybillNo`, `otherInfo`, `supplier_code`, `supplier_name`, `reorder_level`, `sales_type`, `userName`, `patient_id`) VALUES
('', '2024-08-10', 'Pentazocine', 1, '20240810032710', '40', '0', '', '323', '', '9540', '2024-09-05', 500, 500, '0', '1000', 'Purchase order', 'Prime Pharmacy', 'Prime Pharmacy', NULL, '2024-08-10 14:27:11.000000', 'abdurrahman', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', '', '', '', '', '2e2b599c-1fbf-4727-8965-b43b3935a592', 'Pfizer', 10, 'Purchase Order', NULL, NULL),
('', '2024-08-10', 'Ceftazidime', 2, '20240810032710', '50', '0', '', '322', '', '9540', '2026-09-10', 300, 300, '0', '500', 'Purchase order', 'Prime Pharmacy', 'Prime Pharmacy', NULL, '2024-08-10 14:27:11.000000', 'abdurrahman', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', '', '', '', '', '2e2b599c-1fbf-4727-8965-b43b3935a592', 'Pfizer', 10, 'Purchase Order', NULL, NULL),
('', '2025-01-31', 'Paracetamol tab', 3, '20250131013252', '90', '0', '', '269', '23434', '9541', '2025-02-07', 10000, 10000, '0', '15000', 'Purchase order', 'Prime Pharmacy', 'Prime Pharmacy', NULL, '2025-01-31 12:32:52.000000', 'abdurrahman', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'PPT', '', '', '', '2e2b599c-1fbf-4727-8965-b43b3935a592', 'Pfizer', 212112, 'Purchase Order', NULL, NULL),
('', '2025-02-06', 'Isoflurane', 4, '20250206113436', '50', '0', '', '324', '234', '9542', '2027-02-06', 600, 600, '0', '900', 'Purchase order', 'Main Store', 'Prime Pharmacy', NULL, '2025-02-06 22:34:36.000000', 'nasarawa', '052100000000', NULL, '', 'General', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 10, 'Purchase Order', NULL, NULL),
('', '2025-02-07', 'Ceftazidime', 5, '20250207080005', '200', '0', '', '322', '', '9543', '2025-02-06', 600, 600, '0', '1000', 'Purchase order', 'Defaukt', 'Prime Pharmacy', NULL, '2025-02-07 07:00:05.000000', 'murtala', '052100000001', NULL, '', '', '', '', '', 'f4d670b1-65f5-489b-b171-d4df9be44ab7', 'Default', 10, 'Purchase Order', NULL, NULL),
('', '2025-02-07', 'Midazolam', 6, '20250207080217', '700', '0', '', '325', '', '9544', '2027-02-07', 500, 500, '0', '800', 'Purchase order', 'Defaukt', 'Prime Pharmacy', NULL, '2025-02-07 07:02:17.000000', 'murtala', '052100000001', NULL, '', '', '', '', '', 'f4d670b1-65f5-489b-b171-d4df9be44ab7', 'Default', 34, 'Purchase Order', NULL, NULL),
('', '2025-02-08', 'Pentazocine', 7, '20250208103201', '60', '0', '', '323', '', '9545', '2026-02-09', 700, 700, '0', '1000', 'Purchase order', 'Main Store', 'Prime Pharmacy', NULL, '2025-02-08 09:32:01.000000', 'nasarawa', '052100000000', NULL, '', '', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 9, 'Purchase Order', NULL, NULL),
('', '2025-02-08', 'ETT', 8, '20250208103350', '100', '0', '', '321', '', '9546', '2026-02-08', 1000, 1000, '0', '1200', 'Purchase order', 'Main Store', 'Prime Pharmacy', NULL, '2025-02-08 09:33:50.000000', 'nasarawa', '052100000000', NULL, '', '', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 34, 'Purchase Order', NULL, NULL),
('', '2025-02-09', 'neostgimin iv', 9, '20250209010035', '44', '0', '', '318', '34', '9547', '2026-02-09', 600, 600, '0', '900', 'Purchase order', 'Main Store', 'Main Store', NULL, '2025-02-09 12:00:35.000000', 'nasarawa', '052100000000', NULL, '', '', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 34, 'Purchase Order', NULL, NULL),
('', '2025-02-14', 'Aminophylline inj 250mg', 10, '20250214034101', '0', '0', '', '229', '', '9548', '2025-02-12', 0, 0, '0', '600', 'Purchase order', 'Main Store', 'Main Store', NULL, '2025-02-14 14:41:01.000000', 'nasarawa', '052100000000', NULL, '', '', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 90, 'Purchase Order', NULL, NULL),
('', '2025-02-14', 'Flagyl 150mg', 11, '20250214034159', '50', '0', '', '244', '', '9549', '2027-02-21', 500, 500, '0', '600', 'Purchase order', 'Main Store', 'Main Store', NULL, '2025-02-14 14:41:59.000000', 'nasarawa', '052100000000', NULL, '', 'ooo', '', '', '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 'Default', 23, 'Purchase Order', NULL, NULL),
('', '2025-02-15', 'Pentazocine', 12, '20250215043224', '50', '0', '', '323', '', '9550', '2025-02-14', 400, 400, '0', '1000', 'Purchase order', 'Main Store', 'Main Store', NULL, '2025-02-15 15:32:24.000000', 'pharmacy', '052100000003', NULL, '', 'ooo', '', '', '', 'dcdc3a08-06cd-4341-a288-5c32e907ef81', 'Drug Management Agency', 10, 'Purchase Order', NULL, NULL),
('', '2025-02-15', 'Flagyl syr', 13, '20250215043224', '40', '0', '', '310', '', '9550', '2025-02-15', 500, 500, '0', '1000', 'Purchase order', 'Main Store', 'Main Store', NULL, '2025-02-15 15:32:24.000000', 'pharmacy', '052100000003', NULL, '', 'ooo', '', '', '', 'dcdc3a08-06cd-4341-a288-5c32e907ef81', 'Drug Management Agency', 10, 'Purchase Order', NULL, NULL),
('', '2025-02-16', 'Amoxicillin + Clav 625mg syr', 14, '20250216033704', '110', '0', '', '282', '1324', '9551', '2027-02-14', 400, 400, '0', '500', 'Purchase order', 'Nasarawa Hospital Main Store', 'Nasarawa Hospital Main Store', NULL, '2025-02-16 14:37:04.000000', 'nasarawa', '052100000000', NULL, '', '', '', '', '', '4b9720e3-f46d-48aa-9fd5-3da356b9945c', 'New Supplier', 0, 'Purchase Order', NULL, NULL),
('', '2025-03-10', 'Isoflurane', 15, '20250310095121', '100', '0', '', '324', '452444', '9552', '2025-03-12', 2000, 2000, '0', '1950', 'Purchase order', 'Prime Pharmacy', 'Prime Pharmacy', NULL, '2025-03-10 08:51:21.000000', 'baba', '052100000000', NULL, '', 'SSS', '', '', '', '22f84759-eb5e-483f-95fb-7ccfd03aa444', 'haruna kadiri', 20, 'Purchase Order', NULL, NULL),
('', '2025-03-10', 'urine bag', 16, '20250310095121', '100', '0', '', '289', '4524', '9552', '2025-03-25', 1000, 1000, '0', '950', 'Purchase order', 'Prime Pharmacy', 'Prime Pharmacy', NULL, '2025-03-10 08:51:21.000000', 'baba', '052100000000', NULL, '', 'SSS', '', '', '', '22f84759-eb5e-483f-95fb-7ccfd03aa444', 'haruna kadiri', 10, 'Purchase Order', NULL, NULL),
('1741606163862', '2025-03-10 11:29:23', 'Isoflurane', 17, NULL, '0', '1', 'Local', '324', '21', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 11:29:23.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '250310122923'),
('1741606163868', '2025-03-10 11:29:23', 'neostgimin iv', 18, NULL, '0', '1', 'Local', '318', '21', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 11:29:23.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '250310122923'),
('1741606163866', '2025-03-10 11:29:23', 'Isoflurane', 19, NULL, '0', '1', 'Local', '324', '21', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 11:29:23.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '250310122923'),
('1741611621502', '2025-03-10 13:00:21', 'Flagyl 150mg', 20, NULL, '0', '1', 'Local', '244', '23', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:21.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310140021'),
('1741611621513', '2025-03-10 13:00:21', 'neostgimin iv', 21, NULL, '0', '1', 'Local', '318', '23', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:21.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310140021'),
('1741611621512', '2025-03-10 13:00:21', 'Isoflurane', 22, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:21.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310140021'),
('1741611632885', '2025-03-10 13:00:32', 'Isoflurane', 23, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:32.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250310140032'),
('1741611632873', '2025-03-10 13:00:32', 'Flagyl 150mg', 24, NULL, '0', '1', 'Local', '244', '7865', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:32.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250310140032'),
('1741611632895', '2025-03-10 13:00:32', 'neostgimin iv', 25, NULL, '0', '1', 'Local', '318', '7865', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:32.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250310140032'),
('1741611655060', '2025-03-10 13:00:55', 'neostgimin iv', 26, NULL, '0', '1', 'Local', '318', '24', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:55.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310140055'),
('1741611655058', '2025-03-10 13:00:55', 'Isoflurane', 27, NULL, '0', '1', 'Local', '324', '24', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:55.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310140055'),
('1741611655056', '2025-03-10 13:00:55', 'Flagyl 150mg', 28, NULL, '0', '1', 'Local', '244', '24', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:00:55.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310140055'),
('1741611668578', '2025-03-10 13:01:08', 'neostgimin iv', 29, NULL, '0', '1', 'Local', '318', '22', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:01:08.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250310140108'),
('1741611668563', '2025-03-10 13:01:08', 'Isoflurane', 30, NULL, '0', '1', 'Local', '324', '22', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:01:08.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250310140108'),
('1741611819071', '2025-03-10 13:03:39', 'Isoflurane', 31, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:03:39.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250310140338'),
('1741611819084', '2025-03-10 13:03:39', 'neostgimin iv', 32, NULL, '0', '1', 'Local', '318', '20', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:03:39.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250310140338'),
('1741611885949', '2025-03-10 13:04:46', 'neostgimin iv', 33, NULL, '0', '1', 'Local', '318', '7865', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:04:46.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250310140445'),
('1741611885958', '2025-03-10 13:04:46', 'Isoflurane', 34, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:04:46.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250310140445'),
('1741612158933', '2025-03-10 13:09:19', 'neostgimin iv', 35, NULL, '0', '1', 'Local', '318', '23', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:09:19.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310140918'),
('1741612158909', '2025-03-10 13:09:19', 'Isoflurane', 36, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-10 13:09:19.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310140918'),
('1741612737685', '2025-03-10 13:18:57', 'Isoflurane', 37, NULL, '0', '1', 'Local', '324', '24', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:18:57.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310141857'),
('1741612737687', '2025-03-10 13:18:57', 'urine bag', 38, NULL, '0', '1', 'Local', '289', '24', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:18:57.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310141857'),
('1741612737673', '2025-03-10 13:18:57', 'ETT', 39, NULL, '0', '1', 'Local', '321', '24', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:18:57.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310141857'),
('1741612737686', '2025-03-10 13:18:57', 'Pentazocine', 40, NULL, '0', '1', 'Local', '323', '24', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:18:57.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250310141857'),
('1741613040824', '2025-03-10 13:24:00', 'ETT', 41, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:24:00.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142400'),
('1741613040837', '2025-03-10 13:24:00', 'Isoflurane', 42, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:24:00.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142400'),
('1741613045869', '2025-03-10 13:24:05', 'Isoflurane', 43, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:24:05.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142405'),
('1741613045864', '2025-03-10 13:24:05', 'ETT', 44, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:24:05.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142405'),
('1741613121721', '2025-03-10 13:25:21', 'ETT', 45, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:25:21.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142521'),
('1741613121724', '2025-03-10 13:25:21', 'Isoflurane', 46, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:25:21.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142521'),
('1741613167867', '2025-03-10 13:26:07', 'ETT', 47, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:26:07.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142607'),
('1741613167871', '2025-03-10 13:26:07', 'Isoflurane', 48, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:26:07.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142607'),
('1741613225432', '2025-03-10 13:27:05', 'ETT', 49, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:27:05.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142705'),
('1741613225436', '2025-03-10 13:27:05', 'Isoflurane', 50, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:27:05.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310142705'),
('1741613802932', '2025-03-10 13:36:42', 'Isoflurane', 51, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:36:42.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143642'),
('1741613802888', '2025-03-10 13:36:42', 'ETT', 52, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:36:42.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143642'),
('1741613802934', '2025-03-10 13:36:42', 'Pentazocine', 53, NULL, '0', '1', 'Local', '323', '23', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:36:42.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143642'),
('1741613802936', '2025-03-10 13:36:42', 'urine bag', 54, NULL, '0', '1', 'Local', '289', '23', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:36:42.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143642'),
('1741613999626', '2025-03-10 13:39:59', 'ETT', 55, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:39:59.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143959'),
('1741613999630', '2025-03-10 13:39:59', 'urine bag', 56, NULL, '0', '1', 'Local', '289', '23', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:39:59.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143959'),
('1741613999629', '2025-03-10 13:39:59', 'Isoflurane', 57, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:39:59.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143959'),
('1741613999630', '2025-03-10 13:39:59', 'Pentazocine', 58, NULL, '0', '1', 'Local', '323', '23', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-10 13:39:59.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250310143959'),
('1741679602631', '2025-03-11 07:53:22', 'Isoflurane', 59, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602626', '2025-03-11 07:53:22', 'neostgimin iv', 60, NULL, '0', '1', 'Local', '318', '19', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602632', '2025-03-11 07:53:22', 'Isoflurane', 61, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602632', '2025-03-11 07:53:22', 'ETT', 62, NULL, '0', '1', 'Local', '321', '19', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602632', '2025-03-11 07:53:22', 'Flagyl 150mg', 63, NULL, '0', '1', 'Local', '244', '19', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602634', '2025-03-11 07:53:22', 'Pentazocine', 64, NULL, '0', '1', 'Local', '323', '19', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741679602635', '2025-03-11 07:53:22', 'urine bag', 65, NULL, '0', '1', 'Local', '289', '19', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 07:53:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031185322'),
('1741680183403', '2025-03-11 08:03:03', 'ETT', 66, NULL, '0', '1', 'Local', '321', '19', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:03:03.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031190303'),
('1741680183416', '2025-03-11 08:03:03', 'Isoflurane', 67, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:03:03.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031190303'),
('1741680183417', '2025-03-11 08:03:03', 'urine bag', 68, NULL, '0', '1', 'Local', '289', '19', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:03:03.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031190303'),
('1741680183417', '2025-03-11 08:03:03', 'Pentazocine', 69, NULL, '0', '1', 'Local', '323', '19', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:03:03.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031190303'),
('1741682602035', '2025-03-11 08:43:22', 'Flagyl 150mg', 70, NULL, '0', '1', 'Local', '244', '19', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 08:43:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031194321'),
('1741682602046', '2025-03-11 08:43:22', 'Isoflurane', 71, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 08:43:22.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '25031194321'),
('1741682965381', '2025-03-11 08:49:25', 'Isoflurane', 72, NULL, '0', '1', 'Local', '324', '18', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:49:25.000000', '', '052100000000', '', '', '', '', '', 'frank frank', '', '', NULL, 'sales', '', '25031194925'),
('1741682965382', '2025-03-11 08:49:25', 'Pentazocine', 73, NULL, '0', '1', 'Local', '323', '18', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:49:25.000000', '', '052100000000', '', '', '', '', '', 'frank frank', '', '', NULL, 'sales', '', '25031194925'),
('1741682965371', '2025-03-11 08:49:25', 'ETT', 74, NULL, '0', '1', 'Local', '321', '18', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:49:25.000000', '', '052100000000', '', '', '', '', '', 'frank frank', '', '', NULL, 'sales', '', '25031194925'),
('1741682965382', '2025-03-11 08:49:25', 'urine bag', 75, NULL, '0', '1', 'Local', '289', '18', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:49:25.000000', '', '052100000000', '', '', '', '', '', 'frank frank', '', '', NULL, 'sales', '', '25031194925'),
('1741683054652', '2025-03-11 08:50:54', 'Isoflurane', 76, NULL, '0', '2', 'Local', '324', '24', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:50:54.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '25031195054'),
('1741683054634', '2025-03-11 08:50:54', 'ETT', 77, NULL, '0', '2', 'Local', '321', '24', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:50:54.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '25031195054'),
('1741683054655', '2025-03-11 08:50:54', 'Pentazocine', 78, NULL, '0', '2', 'Local', '323', '24', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:50:54.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '25031195054'),
('1741683115770', '2025-03-11 08:51:55', 'Flagyl 150mg', 79, NULL, '0', '1', 'Local', '244', '7865', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 08:51:55.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '25031195155'),
('1741683177202', '2025-03-11 08:52:57', 'Pentazocine', 80, NULL, '0', '2', 'Local', '323', '21', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:52:57.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '25031195257'),
('1741683177206', '2025-03-11 08:52:57', 'urine bag', 81, NULL, '0', '3', 'Local', '289', '21', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 08:52:57.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '25031195257'),
('1741683926475', '2025-03-11 09:05:26', 'Isoflurane', 82, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:05:26.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311100526'),
('1741683985610', '2025-03-11 09:06:25', 'Pentazocine', 83, NULL, '0', '1', 'Local', '323', '4', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:06:25.000000', '', '052100000000', '', '', '', '', '', 'Musa Gabriel', '', '', NULL, 'sales', '', '250311100625'),
('1741683985600', '2025-03-11 09:06:25', 'Isoflurane', 84, NULL, '0', '1', 'Local', '324', '4', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:06:25.000000', '', '052100000000', '', '', '', '', '', 'Musa Gabriel', '', '', NULL, 'sales', '', '250311100625'),
('1741683985615', '2025-03-11 09:06:25', 'urine bag', 85, NULL, '0', '1', 'Local', '289', '4', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:06:25.000000', '', '052100000000', '', '', '', '', '', 'Musa Gabriel', '', '', NULL, 'sales', '', '250311100625'),
('1741684856766', '2025-03-11 09:20:56', 'Pentazocine', 86, NULL, '0', '1', 'Local', '323', '20', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:20:56.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311102056'),
('1741684856759', '2025-03-11 09:20:56', 'ETT', 87, NULL, '0', '1', 'Local', '321', '20', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:20:56.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311102056'),
('1741684912106', '2025-03-11 09:21:52', 'ETT', 88, NULL, '0', '1', 'Local', '321', '23', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:21:52.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250311102152'),
('1741684912116', '2025-03-11 09:21:52', 'urine bag', 89, NULL, '0', '1', 'Local', '289', '23', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:21:52.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250311102152'),
('1741684912114', '2025-03-11 09:21:52', 'Isoflurane', 90, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:21:52.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250311102152'),
('1741684912116', '2025-03-11 09:21:52', 'Pentazocine', 91, NULL, '0', '1', 'Local', '323', '23', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:21:52.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250311102152'),
('1741684974962', '2025-03-11 09:22:55', 'Flagyl 150mg', 92, NULL, '0', '1', 'Local', '244', '7865', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:22:55.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311102254'),
('1741684974979', '2025-03-11 09:22:55', 'neostgimin iv', 93, NULL, '0', '1', 'Local', '318', '7865', 'CASH', '2026-02-09', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:22:55.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311102254'),
('1741684974975', '2025-03-11 09:22:55', 'Isoflurane', 94, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:22:55.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311102254'),
('1741685464620', '2025-03-11 09:31:04', 'urine bag', 95, NULL, '0', '1', 'Local', '289', '17', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:31:04.000000', '', '052100000000', '', '', '', '', '', 'sadiq sadiq', '', '', NULL, 'sales', '', '250311103104'),
('1741685464615', '2025-03-11 09:31:04', 'Isoflurane', 96, NULL, '0', '1', 'Local', '324', '17', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:31:04.000000', '', '052100000000', '', '', '', '', '', 'sadiq sadiq', '', '', NULL, 'sales', '', '250311103104'),
('1741685464619', '2025-03-11 09:31:04', 'Pentazocine', 97, NULL, '0', '1', 'Local', '323', '17', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:31:04.000000', '', '052100000000', '', '', '', '', '', 'sadiq sadiq', '', '', NULL, 'sales', '', '250311103104'),
('1741685492377', '2025-03-11 09:31:32', 'Isoflurane', 98, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:31:32.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311103132'),
('1741685756843', '2025-03-11 09:35:56', 'Isoflurane', 99, NULL, '0', '1', 'Local', '324', '24', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:35:56.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311103556'),
('1741685830013', '2025-03-11 09:37:10', 'Isoflurane', 100, NULL, '0', '1', 'Local', '324', '23', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:37:10.000000', '', '052100000000', '', '', '', '', '', 'sadiq  haruna', '', '', NULL, 'sales', '', '250311103709'),
('1741685859307', '2025-03-11 09:37:39', 'Isoflurane', 101, NULL, '0', '1', 'Local', '324', '22', 'CASH', '2027-02-06', 0, NULL, NULL, '900', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 09:37:39.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311103739'),
('1741685902396', '2025-03-11 09:38:22', 'ETT', 102, NULL, '0', '1', 'Local', '321', '7865', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:38:22.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311103822'),
('1741685917233', '2025-03-11 09:38:37', 'Isoflurane', 103, NULL, '0', '2', 'Local', '324', '24', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:38:37.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311103837'),
('1741686243437', '2025-03-11 09:44:03', 'Isoflurane', 104, NULL, '0', '2', 'Local', '324', '7865', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:03.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311104403'),
('1741686243442', '2025-03-11 09:44:03', 'Pentazocine', 105, NULL, '0', '2', 'Local', '323', '7865', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:03.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311104403'),
('1741686259603', '2025-03-11 09:44:19', 'ETT', 106, NULL, '0', '1', 'Local', '321', '19', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:19.000000', '', '052100000000', '', '', '', '', '', 'ASDASD SFASD', '', '', NULL, 'sales', '', '250311104419'),
('1741686287261', '2025-03-11 09:44:47', 'Pentazocine', 107, NULL, '0', '3', 'Local', '323', '22', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:47.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311104447'),
('1741686287252', '2025-03-11 09:44:47', 'Isoflurane', 108, NULL, '0', '3', 'Local', '324', '22', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:47.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311104447'),
('1741686287259', '2025-03-11 09:44:47', 'urine bag', 109, NULL, '0', '3', 'Local', '289', '22', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:44:47.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311104447'),
('1741686529644', '2025-03-11 09:48:49', 'Isoflurane', 110, NULL, '0', '1', 'Local', '324', '21', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:48:49.000000', '', '052100000000', '', '', '', '', '', 'Musa Dangana', '', '', NULL, 'sales', '', '250311104849'),
('1741686925234', '2025-03-11 09:55:25', 'ETT', 111, NULL, '0', '1', 'Local', '321', '22', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 09:55:25.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311105525'),
('1741688080895', '2025-03-11 10:14:40', 'Isoflurane', 112, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:14:40.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311111440'),
('1741688085144', '2025-03-11 10:14:45', 'Isoflurane', 113, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:14:45.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311111445'),
('1741688091579', '2025-03-11 10:14:51', 'Isoflurane', 114, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:14:51.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311111451'),
('1741688116352', '2025-03-11 10:15:16', 'Isoflurane', 115, NULL, '0', '1', 'Local', '324', '20', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:15:16.000000', '', '052100000000', '', '', '', '', '', 'usman usman', '', '', NULL, 'sales', '', '250311111516'),
('1741688268915', '2025-03-11 10:17:49', 'Pentazocine', 116, NULL, '0', '2', 'Local', '323', '19', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:17:49.000000', '', '052100000000', '', '', '', '', '', 'ASDASD SFASD', '', '', NULL, 'sales', '', '250311111748'),
('1741688488127', '2025-03-11 10:21:28', 'Isoflurane', 117, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:21:28.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '250311112127'),
('1741688686218', '2025-03-11 10:24:46', 'Isoflurane', 118, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:24:46.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '250311112446'),
('1741688686249', '2025-03-11 10:24:46', 'Isoflurane', 119, NULL, '0', '1', 'Local', '324', '19', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:24:46.000000', '', '052100000000', '', '', '', '', '', 'sad sad', '', '', NULL, 'sales', '', '250311112446'),
('1741688904080', '2025-03-11 10:28:24', 'Isoflurane', 120, NULL, '0', '1', 'Local', '324', '22', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:28:24.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311112824'),
('1741689241298', '2025-03-11 10:34:01', 'Flagyl 150mg', 121, NULL, '0', '1', 'Local', '244', '24', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 10:34:01.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311113401'),
('1741689464733', '2025-03-11 10:37:44', 'Flagyl 150mg', 122, NULL, '0', '1', 'Local', '244', '22', 'CASH', '2027-02-21', 0, NULL, NULL, '600', 'Main Store', 'pos', 'Main Store', 'pending', '2025-03-11 10:37:44.000000', '', '052100000000', '', '', '', '', '', 'Todos LosDias', '', '', NULL, 'sales', '', '250311113744'),
('1741689630450', '2025-03-11 10:40:30', 'ETT', 123, NULL, '0', '1', 'Local', '321', '7865', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:40:30.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311114030'),
('1741690184087', '2025-03-11 10:49:44', 'Isoflurane', 124, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 10:49:44.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311114943'),
('1741690998752', '2025-03-11 11:03:18', 'Isoflurane', 125, NULL, '0', '1', 'Local', '324', '7865', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 11:03:18.000000', '', '052100000000', '', '', '', '', '', 'Test Patient', '', '', NULL, 'sales', '', '250311120318'),
('1741691315187', '2025-03-11 11:08:35', 'ETT', 126, NULL, '0', '2', 'Local', '321', '24', 'CASH', '2026-02-08', 0, NULL, NULL, '1200', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 11:08:35.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311120835'),
('1741691315196', '2025-03-11 11:08:35', 'Isoflurane', 127, NULL, '0', '2', 'Local', '324', '24', 'CASH', '2025-03-12', 0, NULL, NULL, '1950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 11:08:35.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311120835'),
('1741691315200', '2025-03-11 11:08:35', 'urine bag', 128, NULL, '0', '2', 'Local', '289', '24', 'CASH', '2025-03-25', 0, NULL, NULL, '950', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 11:08:35.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311120835'),
('1741691315199', '2025-03-11 11:08:35', 'Pentazocine', 129, NULL, '0', '2', 'Local', '323', '24', 'CASH', '2026-02-09', 0, NULL, NULL, '1000', 'Prime Pharmacy', 'pos', 'Prime Pharmacy', 'pending', '2025-03-11 11:08:35.000000', '', '052100000000', '', '', '', '', '', 'bala bala', '', '', NULL, 'sales', '', '250311120835');

-- --------------------------------------------------------

--
-- Table structure for table `phima_applications`
--

CREATE TABLE `phima_applications` (
  `app_no` varchar(50) NOT NULL,
  `app_type` varchar(50) NOT NULL,
  `applicant_id` varchar(50) NOT NULL,
  `app_status` varchar(50) NOT NULL,
  `lga` varchar(50) NOT NULL,
  `app_date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `phima_applications`
--

INSERT INTO `phima_applications` (`app_no`, `app_type`, `applicant_id`, `app_status`, `lga`, `app_date`) VALUES
('PHIMA001', 'APP001', 'kola', 'pending', 'Kano', '2025-02-17 09:51:37'),
('PHIMA002', 'APP001', 'kola2', 'pending', 'Kano', '2025-02-17 09:58:37'),
('PHIMA003', 'APP001', 'olamusa12', 'pending', 'Kano', '2025-02-17 10:02:08'),
('PHIMA004', 'APP001', 'musandiku', 'pending', 'Kano', '2025-02-17 10:05:20'),
('PHIMA005', 'APP001', 'fahad', 'pending', 'Kano', '2025-02-17 11:01:16'),
('PHIMA006', 'APP001', 'fahad1', 'pending', 'Kano', '2025-02-17 11:02:51'),
('PHIMA007', 'APP001', 'muaj', 'pending', 'Kano', '2025-02-17 11:04:13'),
('PHIMA008', 'APP002', 'sadiqharuna', 'pending', 'Kano', '2025-02-17 11:12:49'),
('PHIMA009', 'APP001', 'ozor', 'pending', 'kano', '2025-02-17 11:18:22'),
('PHIMA010', 'APP001', 'nagudu', 'pending', 'kano', '2025-02-17 11:22:21');

-- --------------------------------------------------------

--
-- Table structure for table `phima_app_checklist`
--

CREATE TABLE `phima_app_checklist` (
  `app_id` varchar(50) NOT NULL,
  `check_item_id` varchar(50) NOT NULL,
  `check_status` varchar(50) NOT NULL,
  `attachment_url` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `phima_app_checklist`
--

INSERT INTO `phima_app_checklist` (`app_id`, `check_item_id`, `check_status`, `attachment_url`) VALUES
('APP001', 'CHK275766', 'Yes', ''),
('APP002', 'CHK427593', 'Yes', ''),
('APP001', 'CHK468161', 'Yes', ''),
('APP001', 'CHK543056', 'Yes', '');

-- --------------------------------------------------------

--
-- Table structure for table `phima_gen_staff_list`
--

CREATE TABLE `phima_gen_staff_list` (
  `staff_id` varchar(50) NOT NULL,
  `app_id` varchar(50) NOT NULL,
  `name` varchar(50) NOT NULL,
  `profession` varchar(50) DEFAULT NULL,
  `certificate` varchar(50) DEFAULT NULL,
  `id_card` varchar(50) DEFAULT NULL,
  `certificate_expiry` date DEFAULT NULL,
  `photo` varchar(50) DEFAULT NULL,
  `date_of_prof_reg` date DEFAULT NULL,
  `professional_status` varchar(50) NOT NULL,
  `job_assigned` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `prescriptionrequests`
--

CREATE TABLE `prescriptionrequests` (
  `facilityId` varchar(50) NOT NULL,
  `date` date DEFAULT NULL,
  `patient_id` varchar(11) NOT NULL,
  `dosage` varchar(10) NOT NULL,
  `drug_status` varchar(10) NOT NULL,
  `seen_by` varchar(20) NOT NULL,
  `duration` varchar(10) NOT NULL,
  `period` varchar(5) NOT NULL,
  `drug` varchar(15) NOT NULL,
  `frequency` int(5) NOT NULL,
  `drug_request_id` int(30) NOT NULL,
  `price` int(10) NOT NULL,
  `quantity_dispensed` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `previous_doc`
--

CREATE TABLE `previous_doc` (
  `id` int(11) NOT NULL,
  `patient_id` varchar(20) DEFAULT NULL,
  `file_type` varchar(50) DEFAULT NULL,
  `file_url` varchar(200) DEFAULT NULL,
  `file_date` date DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `prime_old_lab`
--

CREATE TABLE `prime_old_lab` (
  `id` int(11) NOT NULL DEFAULT 0,
  `account` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `subhead` varchar(100) NOT NULL,
  `head` varchar(100) NOT NULL,
  `description` varchar(200) NOT NULL,
  `unit` varchar(100) DEFAULT NULL,
  `range_from` varchar(100) DEFAULT NULL,
  `range_to` varchar(100) DEFAULT NULL,
  `other_range` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `specimen` varchar(100) NOT NULL,
  `price` int(100) NOT NULL,
  `commission_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
  `percentage` int(11) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` varchar(100) DEFAULT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_by` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `referrals`
--

CREATE TABLE `referrals` (
  `id` char(36) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
  `referee` varchar(255) DEFAULT NULL,
  `refereeContact` varchar(255) DEFAULT NULL,
  `referer` varchar(255) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `referrals`
--

INSERT INTO `referrals` (`id`, `referee`, `refereeContact`, `referer`, `createdAt`, `updatedAt`) VALUES
('082e4afa-9f99-4175-a8a1-9dfdb1cf5ac7', '', 'issatoyin@gmail.com', '34', '2020-05-16 18:34:17', '2020-05-16 18:34:17');

-- --------------------------------------------------------

--
-- Table structure for table `repairlogs`
--

CREATE TABLE `repairlogs` (
  `facilityId` varchar(50) NOT NULL,
  `id` int(11) NOT NULL,
  `date` varchar(255) DEFAULT NULL,
  `time` varchar(255) DEFAULT NULL,
  `repaired_by` varchar(255) DEFAULT NULL,
  `nature` varchar(255) DEFAULT NULL,
  `createdAt` datetime NOT NULL DEFAULT current_timestamp(),
  `updatedAt` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `repairlogs`
--

INSERT INTO `repairlogs` (`facilityId`, `id`, `date`, `time`, `repaired_by`, `nature`, `createdAt`, `updatedAt`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 1, '2019-12-24', '12:34', 'Aminu', 'reservice', '2019-12-24 15:38:11', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 2, '2019-12-24', '23:12', 'ggggg', 'nljnkm', '2019-12-24 22:43:52', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 3, '2019-12-25', '10:12', 'fahad', 'out of oil', '2019-12-25 09:48:13', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 4, '2019-12-25', '17:12', 'glo', 'illness', '2019-12-25 16:11:46', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `report_templates`
--

CREATE TABLE `report_templates` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `department` varchar(50) NOT NULL,
  `header` varchar(200) NOT NULL,
  `body` varchar(3000) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) NOT NULL,
  `updated_at` datetime NOT NULL,
  `updated_by` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `report_templates`
--

INSERT INTO `report_templates` (`id`, `name`, `department`, `header`, `body`, `facilityId`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(4, 'Result', 'Microbiology', 'Results', 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Sunt repudiandae non sapiente provident facere, ratione praesentium molestiae reprehenderit perspiciatis deleniti fugiat accusantium quaerat autem dolore possimus harum aliquam pariatur exercitationem. Alias officia incidunt reprehenderit ut libero rem consectetur reiciendis eligendi voluptatibus facilis eaque similique iste, exercitationem suscipit fugit harum deleniti delectus amet cum architecto consequatur! Aspernatur omnis suscipit, id, officia expedita, accusantium nihil fugiat totam magnam recusandae vel itaque provident eos. Tenetur pariatur cupiditate a quasi amet reprehenderit officia minima facere voluptate quod. Eius dolorem sapiente, nobis iusto nisi commodi neque porro qui, labore asperiores ipsa ut dicta fuga aliquam nostrum, ea alias sunt recusandae facere doloremque! Explicabo voluptatem minus ullam quisquam earum, delectus fuga unde culpa ad quod placeat, et, nemo sapiente animi! Suscipit aperiam perspiciatis, recusandae inventore dolor nemo repellat nulla sit? Pariatur architecto maxime modi eos, amet doloribus aut ipsum libero autem voluptatibus quam repellendus consequatur, iure aspernatur laboriosam sapiente debitis, magni eum molestias nostrum possimus iste ex! Sapiente aspernatur dignissimos aperiam suscipit cumque facilis quia debitis placeat? Excepturi iste, quisquam temporibus blanditiis, facilis obcaecati dolorum hic voluptate impedit aspernatur qui repellat nisi nesciunt odio quos vel, provident ut similique nam eius molestiae! Consectetur animi possimus voluptatem vitae molestiae perferendis minima placeat, consequatur nisi similique aperiam consequuntur voluptate iusto voluptatum vel? Facilis blanditiis, vitae ad non deleniti aut qui exercitationem itaque expedita, quaerat obcaecati repudiandae debitis eum ex repellendus. Sit vitae illum quisquam, dolor sint veritatis quam asperiores maiores praesentium eum corrupti nesciunt, doloremque molestias cum recusandae expedita. Perferendis veritatis placeat soluta libero velit porro odit voluptates illum repellat ad aperiam dicta ab, maiores accusamus qui expedita quibusdam dolorum blanditiis minima dolor quaerat. In debitis ratione consequatur porro molestiae nisi quas, similique quo repellendus voluptatem dolor autem, consectetur ut quod asperiores distinctio tempore labore sint. Fugit error nisi et ut dolor vel quos ab assumenda eum laborum, nemo placeat consequuntur vero. Illum porro doloribus excepturi et eligendi aspernatur tempora assumenda ducimus, placeat odit nisi ab sapiente dolorum exercitationem accusamus quasi architecto repellat nihil mollitia quis neque a veniam adipisci temporibus! Possimus ut autem repellat magni animi architecto eaque aliquam, culpa distinctio debitis deleniti nam eos ducimus obcaecati et blanditiis? Voluptatem cupiditate ipsa ut eos neque natus rem sapiente sequi quae quisquam aspernatur ipsum reiciendis eius tenetur, doloribus blanditiis non nulla rerum voluptates vel nostrum ape', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-09-01 01:26:18', '41', '0000-00-00 00:00:00', ''),
(5, 'Result', 'Radiology', 'Result', '<p>some design</p>\n', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-09-18 03:51:47', 'admin', '0000-00-00 00:00:00', ''),
(6, 'WIDAL', 'Laboratories', 'WIDAL', '\n', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-10-03 10:58:25', 'Mubarak', '0000-00-00 00:00:00', '');

-- --------------------------------------------------------

--
-- Stand-in structure for view `saved_pending_request`
-- (See below for the actual view)
--
CREATE TABLE `saved_pending_request` (
`labno` int(1)
,`booking_no` int(1)
,`name` int(1)
,`code` int(1)
,`patient_id` int(1)
,`status` int(1)
,`department` int(1)
,`head` int(1)
,`test_group` int(1)
,`description` int(1)
,`subhead` int(1)
);

-- --------------------------------------------------------

--
-- Table structure for table `sensitivity_list`
--

CREATE TABLE `sensitivity_list` (
  `id` int(11) NOT NULL,
  `antibiotic` varchar(100) DEFAULT NULL,
  `facilityId` varchar(50) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sensitivity_list`
--

INSERT INTO `sensitivity_list` (`id`, `antibiotic`, `facilityId`, `created_at`, `created_by`, `updated_at`, `updated_by`) VALUES
(3, 'Flucloxacillin', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-08-27 00:49:34', '', '0000-00-00 00:00:00', ''),
(4, 'Tetracycline', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-08-27 00:49:34', '', '0000-00-00 00:00:00', ''),
(5, 'Ampicilin', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-08-27 00:49:34', '', '0000-00-00 00:00:00', ''),
(8, 'Flucloxacillin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 03:54:32', 'abdurrahman', NULL, NULL),
(9, 'Tetracycline', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 03:54:42', 'abdurrahman', NULL, NULL),
(10, 'Ampicilin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 03:54:50', 'abdurrahman', NULL, NULL),
(11, 'Gentamacin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-10-26 07:03:19', 'zaks', NULL, NULL),
(12, 'Colistin sulphate', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:54:34', 'abdurrahman', NULL, NULL),
(13, 'Amoxycline /clavulanic acid', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:54:48', 'abdurrahman', NULL, NULL),
(14, 'Cefuroxime', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:55:05', 'abdurrahman', NULL, NULL),
(15, 'Azithromycin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:55:39', 'abdurrahman', NULL, NULL),
(16, 'Doxycycline', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:55:53', 'abdurrahman', NULL, NULL),
(17, 'Imipenem', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:56:34', 'abdurrahman', NULL, NULL),
(18, 'Meropenem', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:56:47', 'abdurrahman', NULL, NULL),
(19, 'Clindamycin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 07:57:04', 'abdurrahman', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `sensitivity_results`
--

CREATE TABLE `sensitivity_results` (
  `antibiotic` varchar(50) NOT NULL,
  `isolates` varchar(50) DEFAULT NULL,
  `R` varchar(10) NOT NULL,
  `S` varchar(10) NOT NULL,
  `I` varchar(10) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `updated_by` varchar(50) NOT NULL,
  `labno` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `servicelogs`
--

CREATE TABLE `servicelogs` (
  `facilityId` varchar(50) NOT NULL,
  `id` int(11) NOT NULL,
  `date` varchar(255) DEFAULT NULL,
  `next_service_due_date` varchar(255) DEFAULT NULL,
  `createdAt` datetime DEFAULT current_timestamp(),
  `updatedAt` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `servicelogs`
--

INSERT INTO `servicelogs` (`facilityId`, `id`, `date`, `next_service_due_date`, `createdAt`, `updatedAt`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 1, NULL, '2019-12-30', '2019-12-24 00:00:00', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `facilityId` varchar(50) NOT NULL,
  `title` varchar(225) DEFAULT NULL,
  `description` varchar(225) DEFAULT NULL,
  `accHead` varchar(50) NOT NULL,
  `cost` varchar(7) DEFAULT '0',
  `service_id` int(11) NOT NULL,
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`facilityId`, `title`, `description`, `accHead`, `cost`, `service_id`, `createdAt`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Staff Medical Bill', 'Companies', 'Income', '0', 23, '2019-12-21 11:39:03'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultations (Ortho, Neurosurgeon)', '', 'Income', '7000', 2, '2019-12-19 08:21:39'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Enema', '', 'Income', '5000', 3, '2019-12-19 08:23:10'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Surgery', '', 'Income', '0', 4, '2019-12-19 08:36:55'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Regular)', '', 'Income', '3000', 6, '2019-12-20 01:58:14'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Registration (Single)', '', 'Income', '5000', 7, '2019-12-20 01:58:45'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Registration (Family)', '', 'Income', '7000', 8, '2019-12-20 01:59:09'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Neurology)', '', 'Income', '8000', 9, '2019-12-20 01:59:49'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Specialist) F/Up', '', 'Income', '6000', 10, '2019-12-20 02:00:41'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Ortho, Neurosurgeon) F/Up', '', 'Income', '4000', 11, '2019-12-20 02:31:32'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (ENT)', '', 'Income', '8000', 12, '2019-12-20 02:35:19'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Nephrology)', '', 'Income', '8000', 13, '2019-12-20 02:35:57'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Psycharist)', '', 'Income', '8000', 14, '2019-12-20 02:36:39'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Paediatrics)', '', 'Income', '6000', 15, '2019-12-20 02:37:07'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Cardiology)', '', 'Income', '8000', 16, '2019-12-20 02:37:53'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Medication', 'Dispensed drugs, injection s and treatment', 'Income', '0', 24, '2019-12-22 02:08:36'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Wound Dressing (Minor)', '', 'Income', '1000', 19, '2019-12-20 02:39:05'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Wound Dressing (Major)', '', 'Income', '2000', 20, '2019-12-20 02:39:05'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'ECG', '', 'Income', '4000', 21, '2019-12-20 02:39:05'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'General Ward', '', 'Income', '7000', 25, '2019-12-22 03:15:36'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'House (White, Blue, Green)', '', 'Income', '19000', 26, '2019-12-22 03:16:59'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'PSC (0,1,2,3)', '', 'Income', '17000', 27, '2019-12-22 03:17:25'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Private (1, 2, Yellow)', '', 'Income', '12000', 28, '2019-12-22 03:17:57'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Professional Management', 'In-patient consultations', 'Income', '4000', 29, '2019-12-22 03:27:22'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Investigation', '', 'Income', '0', 30, '2019-12-22 03:50:36'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Urology)', 'Payment before cosultation', 'Income', '8000', 31, '2019-12-22 11:17:33'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Consultation (Orthopedic)', 'Regular Orthopedic Consultation', 'Income', '7000', 32, '2019-12-23 03:52:27'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Orthopedic Registration (Family)', '', 'Income', '9000', 33, '2019-12-24 04:08:12'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Ear syringing', '', 'Income', '7000', 34, '2019-12-25 08:53:20'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Registration /Specialist Consultation (Family)', '', 'Income', '10000', 35, '2019-12-25 09:04:08'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'conversion of file', '', 'Income', '2000', 36, '2019-12-25 09:10:01'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Orthopedic Registration', '', 'Income', '7000', 37, '2019-12-25 09:13:16'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Uncology (Registration/Consultation)', '', 'Income', '8000', 38, '2019-12-26 06:00:06'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Laboratory (RBS)', '', 'Income', '500', 39, '2019-12-26 06:04:08'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Lab', '', 'Income', '0', 40, '2019-12-26 06:04:35'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Neurosurgeon (Registration)', '', 'Income', '7000', 42, '2019-12-27 06:35:36'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Urologist Registration', '', 'Income', '8000', 43, '2019-12-27 07:41:18'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Theatre fee', '', 'Income', '0', 44, '2019-12-29 05:45:01'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Implants', 'Screws and Rod', 'Income', '0', 45, '2019-12-29 05:48:29'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Nebulizer', '', 'Income', '0', 46, '2019-12-31 00:26:37'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Hospitalization Deposit', '', 'Income', '0', 47, '2020-01-01 11:16:05'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Orthopaedic F/up', 'Wages', 'Income', '4000', 48, '2020-01-02 10:47:42'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Admission', '', 'Income', '0', 49, '2020-01-03 09:29:05'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Specialist', 'First visit', 'Income', '8000', 50, '2020-01-04 11:10:25'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', 'Wound Dressing', '', 'Consultation', '2050', 53, '2020-07-15 13:56:59'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', 'Admission', '', 'Consultation', '3000', 54, '2020-07-15 13:57:17'),
('966a89f6-05d8-4564-b319-2f8863821e75', 'Admission', '', 'Other Income', '1000', 55, '2020-08-16 01:33:44');

-- --------------------------------------------------------

--
-- Table structure for table `specimen`
--

CREATE TABLE `specimen` (
  `id` int(11) NOT NULL,
  `department` varchar(50) NOT NULL,
  `sample` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `facilityId` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `specimen`
--

INSERT INTO `specimen` (`id`, `department`, `sample`, `created_at`, `facilityId`) VALUES
(1, 'Hematology', 'Blood', '2020-10-16 01:44:33', '966a89f6-05d8-4564-b319-2f8863821e75'),
(2, 'Chemical Pathology', 'Swab', '2020-10-16 01:44:33', '966a89f6-05d8-4564-b319-2f8863821e75'),
(3, 'Hematology', 'EDTA Blood', '2020-10-16 01:44:40', '966a89f6-05d8-4564-b319-2f8863821e75'),
(4, 'Chemical Pathology', 'Serum Refrigerated', '2020-10-16 01:44:40', '966a89f6-05d8-4564-b319-2f8863821e75'),
(5, 'Hematology', 'Floride Fasting', '2020-10-16 01:50:17', '966a89f6-05d8-4564-b319-2f8863821e75'),
(6, 'Hematology', 'Urine', '2020-10-16 01:57:42', '966a89f6-05d8-4564-b319-2f8863821e75'),
(7, 'Chemical Pathology', 'Stool', '2020-10-16 01:57:42', '966a89f6-05d8-4564-b319-2f8863821e75');

-- --------------------------------------------------------

--
-- Table structure for table `staff`
--

CREATE TABLE `staff` (
  `id` int(11) NOT NULL,
  `Names` varchar(50) NOT NULL,
  `Address` varchar(100) NOT NULL,
  `role` varchar(100) NOT NULL,
  `Phone` varchar(30) NOT NULL,
  `code` varchar(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `suppliersinfo`
--

CREATE TABLE `suppliersinfo` (
  `facilityId` varchar(50) NOT NULL,
  `id` int(11) NOT NULL,
  `supplier_name` varchar(100) DEFAULT NULL,
  `date` datetime NOT NULL DEFAULT current_timestamp(),
  `address` varchar(250) DEFAULT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `code` varchar(10) DEFAULT NULL,
  `balance` int(11) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `website` varchar(100) DEFAULT NULL,
  `supplier_code` varchar(55) DEFAULT NULL,
  `tinnumber` varchar(60) DEFAULT NULL,
  `supplier_type` varchar(100) DEFAULT NULL,
  `vat` varchar(80) DEFAULT NULL,
  `email` varchar(90) DEFAULT NULL,
  `version_id` varchar(100) DEFAULT NULL,
  `other_info` varchar(80) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `suppliersinfo`
--

INSERT INTO `suppliersinfo` (`facilityId`, `id`, `supplier_name`, `date`, `address`, `phone`, `code`, `balance`, `status`, `website`, `supplier_code`, `tinnumber`, `supplier_type`, `vat`, `email`, `version_id`, `other_info`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 1, 'Pfizer', '2024-08-10 14:23:29', 'Kano', '', NULL, NULL, NULL, '', '2e2b599c-1fbf-4727-8965-b43b3935a592', '0', '', '0', '', '', ''),
('052100000000', 2, 'Default', '2025-02-06 22:33:57', 'Kano', '09023231122', NULL, NULL, NULL, '', 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', '0', '', '0', '', '', ''),
('052100000001', 3, 'Default', '2025-02-07 06:59:14', 'Kano', '090', NULL, NULL, NULL, '', 'f4d670b1-65f5-489b-b171-d4df9be44ab7', '0', '', '0', '', '', ''),
('052100000003', 4, 'Drug Management Agency', '2025-02-15 15:28:30', '', '', NULL, NULL, NULL, '', 'dcdc3a08-06cd-4341-a288-5c32e907ef81', '0', '', '0', '', '', ''),
('052100000000', 5, 'New Supplier', '2025-02-16 14:33:16', '', '', NULL, NULL, NULL, '', '4b9720e3-f46d-48aa-9fd5-3da356b9945c', '0', '', '0', '', '', ''),
('052100000000', 6, 'haruna kadiri', '2025-03-10 08:49:24', 'Kano naibawa', '07032151593', NULL, 100000, NULL, 'https://brainstorm.ng/', '22f84759-eb5e-483f-95fb-7ccfd03aa444', '0', '', '0', 'harunakadiri702@gmail.com', '', '');

--
-- Triggers `suppliersinfo`
--
DELIMITER $$
CREATE TRIGGER `after_supplier_edit` AFTER UPDATE ON `suppliersinfo` FOR EACH ROW BEGIN
    IF OLD.supplier_name <> new.supplier_name THEN
        INSERT INTO audit_trail(id,facilityId,	supplier_name, new_supplier_name,source_table)
        VALUES(old.id, old.facilityId, old.supplier_name,new.supplier_name,'suppliersinfo');
    END IF;
END
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `supplier_entries`
--

CREATE TABLE `supplier_entries` (
  `entry_id` int(11) NOT NULL,
  `supplier_id` varchar(50) NOT NULL,
  `dr` int(11) NOT NULL,
  `cr` int(11) NOT NULL,
  `reference_no` varchar(50) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `description` varchar(60) DEFAULT NULL,
  `truckNo` varchar(50) DEFAULT NULL,
  `waybillNo` varchar(50) DEFAULT NULL,
  `version_id` varchar(50) DEFAULT NULL,
  `cost_price` int(11) DEFAULT NULL,
  `quantity` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `supplier_entries`
--

INSERT INTO `supplier_entries` (`entry_id`, `supplier_id`, `dr`, `cr`, `reference_no`, `facilityId`, `created_at`, `description`, `truckNo`, `waybillNo`, `version_id`, `cost_price`, `quantity`) VALUES
(1, '2e2b599c-1fbf-4727-8965-b43b3935a592', 20000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-08-10 14:27:11', 'Pentazocine', '', '', '', 500, 40),
(2, '2e2b599c-1fbf-4727-8965-b43b3935a592', 15000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-08-10 14:27:11', 'Ceftazidime', '', '', '', 300, 50),
(3, '2e2b599c-1fbf-4727-8965-b43b3935a592', 900000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-01-31 12:32:52', 'Paracetamol tab', '', '', '', 10000, 90),
(4, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 30000, 0, '', '052100000000', '2025-02-06 22:34:36', 'Isoflurane', '', '', '', 600, 50),
(5, 'f4d670b1-65f5-489b-b171-d4df9be44ab7', 120000, 0, '', '052100000001', '2025-02-07 07:00:05', 'Ceftazidime', '', '', '', 600, 200),
(6, 'f4d670b1-65f5-489b-b171-d4df9be44ab7', 350000, 0, '', '052100000001', '2025-02-07 07:02:17', 'Midazolam', '', '', '', 500, 700),
(7, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 42000, 0, '', '052100000000', '2025-02-08 09:32:01', 'Pentazocine', '', '', '', 700, 60),
(8, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 100000, 0, '', '052100000000', '2025-02-08 09:33:50', 'ETT', '', '', '', 1000, 100),
(9, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 26400, 0, '', '052100000000', '2025-02-09 12:00:35', 'neostgimin iv', '', '', '', 600, 44),
(10, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 0, 0, '', '052100000000', '2025-02-14 14:41:01', 'Aminophylline inj 250mg', '', '', '', 0, 0),
(11, 'fbfe5c1e-f025-4079-9f74-1927ac7f2b78', 25000, 0, '', '052100000000', '2025-02-14 14:41:59', 'Flagyl 150mg', '', '', '', 500, 50),
(12, 'dcdc3a08-06cd-4341-a288-5c32e907ef81', 20000, 0, '', '052100000003', '2025-02-15 15:32:24', 'Pentazocine', '', '', '', 400, 50),
(13, 'dcdc3a08-06cd-4341-a288-5c32e907ef81', 20000, 0, '', '052100000003', '2025-02-15 15:32:24', 'Flagyl syr', '', '', '', 500, 40),
(14, '4b9720e3-f46d-48aa-9fd5-3da356b9945c', 44000, 0, '', '052100000000', '2025-02-16 14:37:04', 'Amoxicillin + Clav 625mg syr', '', '', '', 400, 110),
(15, '22f84759-eb5e-483f-95fb-7ccfd03aa444', 0, 200000, '', '052100000000', '2025-03-10 08:49:25', 'Opening Balance', '', '', '', 0, 0),
(16, '22f84759-eb5e-483f-95fb-7ccfd03aa444', 200000, 0, '', '052100000000', '2025-03-10 08:51:21', 'Isoflurane', '', '', '', 2000, 100),
(17, '22f84759-eb5e-483f-95fb-7ccfd03aa444', 100000, 0, '', '052100000000', '2025-03-10 08:51:21', 'urine bag', '', '', '', 1000, 100);

-- --------------------------------------------------------

--
-- Table structure for table `surgeons_list`
--

CREATE TABLE `surgeons_list` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `type` varchar(50) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `surgeons_list`
--

INSERT INTO `surgeons_list` (`id`, `name`, `type`, `facilityId`, `created_at`, `created_by`) VALUES
(1, 'Dr. Abdurrahman', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:42:09', '1'),
(11, 'Dr. Hassan Ismail', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:43:10', '1'),
(21, 'Dr. Nasiru Jinjiri', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:43:25', '1'),
(41, 'Dr. M. K. Abubakar', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:44:27', '1'),
(204, 'Dr Chiroma', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-11 12:12:35', 'abdurrahman'),
(71, 'Dr. Ibrahim Karofi', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:46:47', '1'),
(81, 'Dr. Dalhat Salahu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:47:10', '1'),
(228, 'Dr Aboki', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-05-18 14:40:33', 'abdurrahman'),
(101, 'Dr. Alfa', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 07:47:43', '1'),
(121, 'Mal Ibrahim', 'Scrub Nurse', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 16:22:55', '5'),
(141, 'Dr Nasiru', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 16:23:51', '5'),
(151, 'Dr Mukhtar Teli', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 15:49:08', '5'),
(161, 'Dr Musa Tauhid', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 16:16:27', '5'),
(171, 'Dr Garko', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 16:16:45', '5'),
(194, 'Dr Abubakar Nagoma', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-06-06 12:10:28', 'abdurrahman'),
(191, 'Dr Musa Ibrahim', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 16:18:06', '5'),
(193, 'Dr Ibrahim Abba', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-06-03 11:50:33', 'abdurrahman'),
(227, 'Yusuf Rufai', 'Scrub Nurse', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-04-23 17:12:00', 'abdurrahman'),
(197, 'Dr Mubarak', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-07-05 11:22:17', 'abdurrahman'),
(198, 'Dr Abubakar Musa', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-07-05 11:22:53', 'abdurrahman'),
(226, 'Dr Atiku Ayuba', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-04-23 17:05:22', 'abdurrahman'),
(200, 'Mal Jamilu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-08-29 14:24:34', 'abdurrahman'),
(203, 'Dr Umma Abubakar Isah', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-06-17 12:20:28', 'abdurrahman'),
(205, 'Dr Sadeeq Ibrahim Abdulsalam', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-11 15:19:24', 'abdurrahman'),
(207, 'Dr Oseni Ganiyu', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-11 15:20:31', 'abdurrahman'),
(211, 'Dr Salihi', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-11-06 05:55:01', 'abdurrahman'),
(212, 'Dr Mustapha', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-11-06 05:55:11', 'abdurrahman'),
(230, 'Dr. Kabiru Usman Aliyu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-05-31 16:14:34', 'Manager'),
(214, 'Dr Mustapha Orthopedic', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2023-02-19 16:23:43', 'abdurrahman'),
(215, 'Dr Jameel Ismail', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2023-04-23 06:24:18', 'Manager'),
(217, 'Mal Sunusi', 'Scrub Nurse', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2023-09-06 10:46:32', 'abdurrahman'),
(218, 'Dr Ladan', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2023-10-10 17:20:56', 'abdurrahman'),
(231, 'Zarah Galadima', 'Scrub Nurse', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-06-23 12:53:36', 'abdurrahman'),
(229, 'Dr. Saminu Mohammad', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2024-05-30 13:32:13', 'Manager');

-- --------------------------------------------------------

--
-- Table structure for table `surgical_note`
--

CREATE TABLE `surgical_note` (
  `id` int(11) NOT NULL,
  `patient_id` varchar(20) NOT NULL,
  `patient_name` varchar(80) NOT NULL,
  `relative` varchar(80) NOT NULL,
  `agreed` varchar(6) NOT NULL,
  `witness_by` varchar(80) NOT NULL,
  `created_by` varchar(40) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `surgical_note_temp`
--

CREATE TABLE `surgical_note_temp` (
  `id` int(11) NOT NULL,
  `template` varchar(4567) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `facilityId` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `surgical_note_temp`
--

INSERT INTO `surgical_note_temp` (`id`, `template`, `created_at`, `facilityId`) VALUES
(0, '<h1 style=\"text-align: center;\"><strong>&nbsp;<span style=\"font-size:36px\"><span style=\"font-family:Times New Roman,Times,serif\">PRIME SPECIALIST CLINIC, KANO</span></span></strong></h1>\r\n\r\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">19 Lamido Crescent, off Tarauni, Kano.</span></span></strong></p>\r\n\r\n<p style=\"text-align: right;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">RC: 1285352</span></span></strong></p>\r\n\r\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Times New Roman,Times,serif\"><span style=\"font-size:22pt\">SURGICAL CONSENT </span></span></strong></p>\r\n\r\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I am signing this document with full knowledge of its contents. I absolutely agreed for the medical team to carry out all necessary investigations concerning (my/my wife&#39;s/relative&#39;s/child&#39;s) ailment including ultrasound scanning, lumber puncture, etc. and also to carry out surgical intervention on (me/my wife/my relative and/or child).</p>\r\n\r\n<p>I understood that during surgical procedures and anesthesia, there could be unforeseeable consequences and complications.</p>\r\n\r\n<p>I know that surgical procedures carry risks of bleeding, infection, cardiac disturbance and even negative outcomes. Prior to signing this consent, I (parent/relative) had a discussion with the (doctor/ doctors) and the (doctor/doctors) explained to (me/us) about (my/ my wife&#39;s/ my relative&#39;s/ child&#39;s) health&#39;s condition and on (form/ forms) of</p>\r\n\r\n<p>Treatments; explained what exactly would be done during the surgical manipulations; informed us on the other forms of treatment for this particular ailment and the advantage of the chosen treatment.</p>\r\n\r\n<p>(1/ we) understood that in some circumstances, there could be a need for a repeat surgical procedure in which I agreed. (I/ we) know that (I am/ we are) obliged to notify the (doctor/ doctors) about all health&#39;s problems including allergic reactions prior to and during post-surgical rehabilitations periods.</p>\r\n\r\n<p>In case of blood lost, I agreed for blood transfusion to (meet my wife/ my relative/ my child). In situation of blood deficit from blood banks, (me/ us) the relatives are informed and agreed/ ready to provide blood and other medications during surgery or during post-surgical rehabilitation.</p>\r\n', '2024-01-28 14:45:05', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(1, '<h1 style=\"text-align: center;\"><strong>&nbsp;<span style=\"font-size:36px\"><span style=\"font-family:Times New Roman,Times,serif\">PRIME SPECIALIST CLINIC, KANO</span></span></strong></h1>\n\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">19 Lamido Crescent, off Tarauni, Kano.</span></span></strong></p>\n\n<p style=\"text-align: right;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">RC: 1285352</span></span></strong></p>\n\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Times New Roman,Times,serif\"><span style=\"font-size:22pt\">SURGICAL CONSENT </span></span></strong></p>\n\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I am signing this document with full knowledge of its contents. I absolutely agreed for the medical team to carry out all necessary investigations concerning (my/my wife&#39;s/relative&#39;s/child&#39;s) ailment including ultrasound scanning, lumber puncture, etc. and also to carry out surgical intervention on (me/my wife/my relative and/or child).</p>\n\n<p>I understood that during surgical procedures and anesthesia, there could be unforeseeable consequences and complications.</p>\n\n<p>I know that surgical procedures carry risks of bleeding, infection, cardiac disturbance and even negative outcomes. Prior to signing this consent, I (parent/relative) had a discussion with the (doctor/ doctors) and the (doctor/doctors) explained to (me/us) about (my/ my wife&#39;s/ my relative&#39;s/ child&#39;s) health&#39;s condition and on (form/ forms) of</p>\n\n<p>Treatments; explained what exactly would be done during the surgical manipulations; informed us on the other forms of treatment for this particular ailment and the advantage of the chosen treatment.</p>\n\n<p>(1/ we) understood that in some circumstances, there could be a need for a repeat surgical procedure in which I agreed. (I/ we) know that (I am/ we are) obliged to notify the (doctor/ doctors) about all health&#39;s problems including allergic reactions prior to and during post-surgical rehabilitations periods.</p>\n\n<p>In case of blood lost, I agreed for blood transfusion to (meet my wife/ my relative/ my child). In situation of blood deficit from blood banks, (me/ us) the relatives are informed and agreed/ ready to provide blood and other medications during surgery or during post-surgical rehabilitation.</p>\n\n<p>I fully understood the above document for which (I/we) agreed and signed</p>\n\n<p>Patient&#39;s Name ...........................................................................................................................</p>\n\n<p>Name (Patient&#39;s husband/wife/child/relatives)................................................................ Date................................................................................................</p>\n\n<p>Signature &hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;&hellip;..</p>\n\n<p>WITNESS BY ME (NAME/IN FULL)</p>\n\n<p>..................................................................................................................................................................................</p>\n\n<p>DATE...............................................................................................................................</p>\n\n<p>SIGNATURE................................................................................................................</p>\n', '2022-07-04 10:39:31', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(2, '<h1 style=\"text-align: center;\"><strong>&nbsp;<span style=\"font-size:36px\"><span style=\"font-family:Times New Roman,Times,serif\">PRIME SPECIALIST CLINIC, KANO</span></span></strong></h1>\r\n\r\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">19 Lamido Crescent, off Tarauni, Kano.</span></span></strong></p>\r\n\r\n<p style=\"text-align: right;\"><strong><span style=\"font-family:Arial,Helvetica,sans-serif\"><span style=\"font-size:16pt\">RC: 1285352</span></span></strong></p>\r\n\r\n<p style=\"text-align: center;\"><strong><span style=\"font-family:Times New Roman,Times,serif\"><span style=\"font-size:22pt\">SURGICAL CONSENT </span></span></strong></p>\r\n\r\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I am signing this document with full knowledge of its contents. I absolutely agreed for the medical team to carry out all necessary investigations concerning (my/my wife&#39;s/relative&#39;s/child&#39;s) ailment including ultrasound scanning, lumber puncture, etc. and also to carry out surgical intervention on (me/my wife/my relative and/or child).</p>\r\n\r\n<p>I understood that during surgical procedures and anesthesia, there could be unforeseeable consequences and complications.</p>\r\n\r\n<p>I know that surgical procedures carry risks of bleeding, infection, cardiac disturbance and even negative outcomes. Prior to signing this consent, I (parent/relative) had a discussion with the (doctor/ doctors) and the (doctor/doctors) explained to (me/us) about (my/ my wife&#39;s/ my relative&#39;s/ child&#39;s) health&#39;s condition and on (form/ forms) of</p>\r\n\r\n<p>Treatments; explained what exactly would be done during the surgical manipulations; informed us on the other forms of treatment for this particular ailment and the advantage of the chosen treatment.</p>\r\n\r\n<p>(1/ we) understood that in some circumstances, there could be a need for a repeat surgical procedure in which I agreed. (I/ we) know that (I am/ we are) obliged to notify the (doctor/ doctors) about all health&#39;s problems including allergic reactions prior to and during post-surgical rehabilitations periods.</p>\r\n\r\n<p>In case of blood lost, I agreed for blood transfusion to (meet my wife/ my relative/ my child). In situation of blood deficit from blood banks, (me/ us) the relatives are informed and agreed/ ready to provide blood and other medications during surgery or during post-surgical rehabilitation.</p>\r\n', '2022-07-05 19:18:33', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a');

-- --------------------------------------------------------

--
-- Table structure for table `test`
--

CREATE TABLE `test` (
  `id` int(11) NOT NULL,
  `description` varchar(50) NOT NULL,
  `debit` varchar(50) NOT NULL,
  `amount` int(11) NOT NULL,
  `credit` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Stand-in structure for view `test1`
-- (See below for the actual view)
--
CREATE TABLE `test1` (
`head` varchar(100)
,`subhead` varchar(50)
,`des` varchar(500)
,`acct` varchar(100)
,`debit` int(50)
,`credit` int(50)
,`description` varchar(225)
,`facilityId` varchar(50)
,`createdAt` date
,`transaction_date` date
,`transaction_id` int(11)
,`enteredBy` varchar(20)
,`receiptDateSN` varchar(50)
,`receiptNo` varchar(50)
,`modeOfPayment` varchar(50)
,`status` varchar(30)
,`approvedBy` varchar(20)
,`paymentStatus` varchar(11)
,`client_acct` varchar(200)
,`patient_id` varchar(50)
);

-- --------------------------------------------------------

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `facilityId` varchar(50) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `transaction_id` int(11) NOT NULL,
  `transaction_date` date DEFAULT NULL,
  `description` varchar(225) DEFAULT NULL,
  `acct` varchar(100) DEFAULT NULL,
  `debit` int(50) DEFAULT NULL,
  `credit` int(50) DEFAULT NULL,
  `unit_price` double NOT NULL DEFAULT 0,
  `enteredBy` varchar(20) DEFAULT NULL,
  `receiptDateSN` varchar(50) NOT NULL DEFAULT '0',
  `receiptNo` varchar(50) DEFAULT NULL,
  `modeOfPayment` varchar(50) DEFAULT NULL,
  `bank_name` varchar(50) DEFAULT NULL,
  `status` varchar(30) DEFAULT 'pending',
  `approvedBy` varchar(20) DEFAULT NULL,
  `paymentStatus` varchar(11) NOT NULL DEFAULT '',
  `client_acct` varchar(200) DEFAULT NULL,
  `patient_id` varchar(50) DEFAULT NULL,
  `qty` varchar(20) DEFAULT NULL,
  `branch_name` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `transactions`
--

INSERT INTO `transactions` (`facilityId`, `createdAt`, `transaction_id`, `transaction_date`, `description`, `acct`, `debit`, `credit`, `unit_price`, `enteredBy`, `receiptDateSN`, `receiptNo`, `modeOfPayment`, `bank_name`, `status`, `approvedBy`, `paymentStatus`, `client_acct`, `patient_id`, `qty`, `branch_name`) VALUES
('052100000000', '2025-02-06 21:58:09', 1, '2025-02-06', 'Laboratory: Pcv', '20026', 0, 100, 0, 'nasarawa', '250206224709', '250206224709', 'cash', '', 'completed', 'nasarawa', 'completed', '1', '1-2', '1', ''),
('052100000000', '2025-02-06 21:58:09', 2, '2025-02-06', 'Laboratory: Pcv', '400021', 100, 0, 0, 'nasarawa', '250206224709', '250206224709', 'cash', '', 'completed', 'nasarawa', 'completed', '1', '1-2', '1', ''),
('052100000000', '2025-02-06 10:59:53', 3, NULL, 'Deposit from account 2', '400022', 0, 0, 0, '', '250206225953', '250206225953', '', '', 'pending', NULL, '', '2', '2', NULL, NULL),
('052100000000', '2025-02-06 10:59:53', 4, NULL, 'Deposit from account 2', '500021', 0, 0, 0, '', '250206225953', '250206225953', '', '', 'pending', NULL, '', '2', '2', NULL, NULL),
('052100000000', '2025-02-06 11:10:44', 5, NULL, 'Deposit from account 3', '400022', 0, 0, 0, '', '250206231044', '250206231044', '', '', 'pending', NULL, '', '3', '3', NULL, NULL),
('052100000000', '2025-02-06 11:10:44', 6, NULL, 'Deposit from account 3', '500021', 0, 0, 0, '', '250206231044', '250206231044', '', '', 'pending', NULL, '', '3', '3', NULL, NULL),
('052100000000', '2025-02-06 11:16:26', 7, NULL, 'Deposit from account 4', '400022', 0, 0, 0, '', '250206231626', '250206231626', '', '', 'pending', NULL, '', '4', '4', NULL, NULL),
('052100000000', '2025-02-06 11:16:26', 8, NULL, 'Deposit from account 4', '500021', 0, 0, 0, '', '250206231626', '250206231626', '', '', 'pending', NULL, '', '4', '4', NULL, NULL),
('052100000000', '2025-02-06 11:26:31', 9, NULL, 'Deposit from account 5', '400022', 0, 0, 0, '', '250206232631', '250206232631', '', '', 'pending', NULL, '', '5', '5', NULL, NULL),
('052100000000', '2025-02-06 11:26:31', 10, NULL, 'Deposit from account 5', '500021', 0, 0, 0, '', '250206232631', '250206232631', '', '', 'pending', NULL, '', '5', '5', NULL, NULL),
('052100000000', '2025-02-07 01:11:40', 11, NULL, 'Deposit from account 6', '400022', 0, 0, 0, '', '25020711140', '25020711140', '', '', 'pending', NULL, '', '6', '6', NULL, NULL),
('052100000000', '2025-02-07 01:11:40', 12, NULL, 'Deposit from account 6', '500021', 0, 0, 0, '', '25020711140', '25020711140', '', '', 'pending', NULL, '', '6', '6', NULL, NULL),
('052100000000', '2025-02-07 02:32:57', 13, NULL, 'Deposit from account 7', '400022', 0, 0, 0, '', '25020723257', '25020723257', '', '', 'pending', NULL, '', '7', '7', NULL, NULL),
('052100000000', '2025-02-07 02:32:57', 14, NULL, 'Deposit from account 7', '500021', 0, 0, 0, '', '25020723257', '25020723257', '', '', 'pending', NULL, '', '7', '7', NULL, NULL),
('052100000000', '2025-02-07 02:34:47', 15, NULL, 'Deposit from account 8', '400022', 0, 0, 0, '', '25020723447', '25020723447', '', '', 'pending', NULL, '', '8', '8', NULL, NULL),
('052100000000', '2025-02-07 02:34:47', 16, NULL, 'Deposit from account 8', '500021', 0, 0, 0, '', '25020723447', '25020723447', '', '', 'pending', NULL, '', '8', '8', NULL, NULL),
('052100000000', '2025-02-07 02:39:54', 17, NULL, 'Deposit from account 9', '400022', 0, 0, 0, '', '25020723954', '25020723954', '', '', 'pending', NULL, '', '9', '9', NULL, NULL),
('052100000000', '2025-02-07 02:39:54', 18, NULL, 'Deposit from account 9', '500021', 0, 0, 0, '', '25020723954', '25020723954', '', '', 'pending', NULL, '', '9', '9', NULL, NULL),
('052100000000', '2025-02-07 02:41:05', 19, NULL, 'Deposit from account 10', '400022', 0, 0, 0, '', '25020724105', '25020724105', '', '', 'pending', NULL, '', '10', '10', NULL, NULL),
('052100000000', '2025-02-07 02:41:05', 20, NULL, 'Deposit from account 10', '500021', 0, 0, 0, '', '25020724105', '25020724105', '', '', 'pending', NULL, '', '10', '10', NULL, NULL),
('052100000000', '2025-02-07 02:41:58', 21, NULL, 'Deposit from account 11', '400022', 0, 0, 0, '', '25020724158', '25020724158', '', '', 'pending', NULL, '', '11', '11', NULL, NULL),
('052100000000', '2025-02-07 02:41:58', 22, NULL, 'Deposit from account 11', '500021', 0, 0, 0, '', '25020724158', '25020724158', '', '', 'pending', NULL, '', '11', '11', NULL, NULL),
('052100000000', '2025-02-07 02:44:13', 23, NULL, 'Deposit from account 12', '400022', 0, 0, 0, '', '25020724413', '25020724413', '', '', 'pending', NULL, '', '12', '12', NULL, NULL),
('052100000000', '2025-02-07 02:44:13', 24, NULL, 'Deposit from account 12', '500021', 0, 0, 0, '', '25020724413', '25020724413', '', '', 'pending', NULL, '', '12', '12', NULL, NULL),
('052100000001', '2025-02-07 07:53:46', 25, NULL, 'Deposit from account 1', '400022', 0, 0, 0, '', '25020775346', '25020775346', '', '', 'pending', NULL, '', '1', '1', NULL, NULL),
('052100000001', '2025-02-07 07:53:46', 26, NULL, 'Deposit from account 1', '500021', 0, 0, 0, '', '25020775346', '25020775346', '', '', 'pending', NULL, '', '1', '1', NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-02-07 10:14:41', 27, NULL, 'Deposit from account 4', '400022', 0, 0, 0, '', '250207101441', '250207101441', '', '', 'pending', NULL, '', '4', '4', NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-02-07 10:14:41', 28, NULL, 'Deposit from account 4', '500021', 0, 0, 0, '', '250207101441', '250207101441', '', '', 'pending', NULL, '', '4', '4', NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-02-07 11:16:00', 29, NULL, 'Deposit from account 5', '400022', 0, 0, 0, '', '250207111600', '250207111600', '', '', 'pending', NULL, '', '5', '5', NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-02-07 11:16:00', 30, NULL, 'Deposit from account 5', '500021', 0, 0, 0, '', '250207111600', '250207111600', '', '', 'pending', NULL, '', '5', '5', NULL, NULL),
('052100000000', '2025-02-07 12:15:31', 31, NULL, 'Deposit from account 13', '400022', 0, 0, 0, '', '250207121530', '250207121530', '', '', 'pending', NULL, '', '13', '13', NULL, NULL),
('052100000000', '2025-02-07 12:15:31', 32, NULL, 'Deposit from account 13', '500021', 0, 0, 0, '', '250207121530', '250207121530', '', '', 'pending', NULL, '', '13', '13', NULL, NULL),
('052100000000', '2025-02-07 12:17:23', 33, NULL, 'Deposit from account 14', '400022', 0, 0, 0, '', '250207121723', '250207121723', '', '', 'pending', NULL, '', '14', '14', NULL, NULL),
('052100000000', '2025-02-07 12:17:23', 34, NULL, 'Deposit from account 14', '500021', 0, 0, 0, '', '250207121723', '250207121723', '', '', 'pending', NULL, '', '14', '14', NULL, NULL),
('052100000000', '2025-02-07 12:27:03', 35, NULL, 'Deposit from account 15', '400022', 0, 0, 0, 'nasarawa', '250207122703', '250207122703', '', '', 'pending', NULL, '', '15', '15', NULL, NULL),
('052100000000', '2025-02-07 12:27:03', 36, NULL, 'Deposit from account 15', '500021', 0, 0, 0, 'nasarawa', '250207122703', '250207122703', '', '', 'pending', NULL, '', '15', '15', NULL, NULL),
('052100000000', '2025-02-07 03:08:35', 37, NULL, 'Deposit from account 16', '400022', 0, 0, 0, 'nasarawa', '250207150835', '250207150835', '', '', 'pending', NULL, '', '16', '16', NULL, NULL),
('052100000000', '2025-02-07 03:08:35', 38, NULL, 'Deposit from account 16', '500021', 0, 0, 0, 'nasarawa', '250207150835', '250207150835', '', '', 'pending', NULL, '', '16', '16', NULL, NULL),
('052100000000', '2025-02-07 05:10:08', 39, NULL, 'Deposit from account 17', '400022', 0, 0, 0, 'nasarawa', '250207171008', '250207171008', '', '', 'pending', NULL, '', '17', '17', NULL, NULL),
('052100000000', '2025-02-07 05:10:08', 40, NULL, 'Deposit from account 17', '500021', 0, 0, 0, 'nasarawa', '250207171008', '250207171008', '', '', 'pending', NULL, '', '17', '17', NULL, NULL),
('052100000000', '2025-02-07 05:28:46', 41, NULL, 'Deposit from account 18', '400022', 0, 0, 0, 'nasarawa', '250207172846', '250207172846', '', '', 'pending', NULL, '', '18', '18', NULL, NULL),
('052100000000', '2025-02-07 05:28:46', 42, NULL, 'Deposit from account 18', '500021', 0, 0, 0, 'nasarawa', '250207172846', '250207172846', '', '', 'pending', NULL, '', '18', '18', NULL, NULL),
('052100000000', '2025-02-07 06:09:52', 43, NULL, 'Deposit from account 19', '400022', 0, 0, 0, 'nasarawa', '250207180952', '250207180952', '', '', 'pending', NULL, '', '19', '19', NULL, NULL),
('052100000000', '2025-02-07 06:09:52', 44, NULL, 'Deposit from account 19', '500021', 0, 0, 0, 'nasarawa', '250207180952', '250207180952', '', '', 'pending', NULL, '', '19', '19', NULL, NULL),
('052100000000', '0000-00-00 00:00:00', 45, '2025-03-11', 'neostgimin iv', '20025', 0, 900, 900, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 46, '2025-03-11', 'ETT', '20025', 0, 1200, 1200, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 47, '2025-03-11', 'Flagyl 150mg', '20025', 0, 600, 600, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 48, '2025-03-11', 'Isoflurane', '20025', 0, 900, 900, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 49, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 50, '2025-03-11', 'neostgimin iv', '400023', 900, 0, 900, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 51, '2025-03-11', 'Flagyl 150mg', '400023', 600, 0, 600, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 52, '2025-03-11', 'Isoflurane', '400023', 1500, 0, 900, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 53, '2025-03-11', 'Isoflurane', '400023', 1950, 0, 1950, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 54, '2025-03-11', 'ETT', '400023', 1200, 0, 1200, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 55, '2025-03-11', 'Pentazocine', '20025', 0, 1000, 1000, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 56, '2025-03-11', 'Pentazocine', '400023', 1600, 0, 1000, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 57, '2025-03-11', 'urine bag', '20025', 0, 950, 950, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 58, '2025-03-11', 'urine bag', '400023', 2550, 0, 950, '', '25031185322', '25031185322', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 59, '2025-03-11', 'ETT', '20025', 0, 1200, 1200, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 60, '2025-03-11', 'urine bag', '20025', 0, 950, 950, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 61, '2025-03-11', 'Pentazocine', '20025', 0, 1000, 1000, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 62, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 63, '2025-03-11', 'ETT', '400023', 3750, 0, 1200, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 64, '2025-03-11', 'Pentazocine', '400023', 3550, 0, 1000, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 65, '2025-03-11', 'urine bag', '400023', 3500, 0, 950, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 66, '2025-03-11', 'Isoflurane', '400023', 4500, 0, 1950, '', '25031190303', '25031190303', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 67, '2025-03-11', 'Flagyl 150mg', '20025', 0, 600, 600, '', '25031194321', '25031194321', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 68, '2025-03-11', 'Isoflurane', '20025', 0, 900, 900, '', '25031194321', '25031194321', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 69, '2025-03-11', 'Flagyl 150mg', '400023', 5100, 0, 600, '', '25031194321', '25031194321', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 70, '2025-03-11', 'Isoflurane', '400023', 5400, 0, 900, '', '25031194321', '25031194321', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 71, '2025-03-11', 'urine bag', '20025', 0, 950, 950, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 72, '2025-03-11', 'ETT', '20025', 0, 1200, 1200, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 73, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 74, '2025-03-11', 'Pentazocine', '20025', 0, 1000, 1000, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 75, '2025-03-11', 'ETT', '400023', 1200, 0, 1200, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 76, '2025-03-11', 'urine bag', '400023', 2900, 0, 950, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 77, '2025-03-11', 'Isoflurane', '400023', 1950, 0, 1950, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 78, '2025-03-11', 'Pentazocine', '400023', 1000, 0, 1000, '', '25031194925', '25031194925', 'CASH', '', 'copleted', NULL, '', '', '18', '1', ''),
('052100000000', '0000-00-00 00:00:00', 79, '2025-03-11', 'urine bag', '20025', 0, 950, 950, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 80, '2025-03-11', 'Pentazocine', '20025', 0, 1000, 1000, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 81, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 82, '2025-03-11', 'urine bag', '400023', 2900, 0, 950, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 83, '2025-03-11', 'Pentazocine', '400023', 2950, 0, 1000, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 84, '2025-03-11', 'Isoflurane', '400023', 1950, 0, 1950, '', '250311100625', '250311100625', 'CASH', '', 'copleted', NULL, '', '', '4', '1', ''),
('052100000000', '0000-00-00 00:00:00', 85, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 86, '2025-03-11', 'urine bag', '20025', 0, 950, 950, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 87, '2025-03-11', 'Pentazocine', '20025', 0, 1000, 1000, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 88, '2025-03-11', 'urine bag', '400023', 2900, 0, 950, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 89, '2025-03-11', 'Isoflurane', '400023', 1950, 0, 1950, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 90, '2025-03-11', 'Pentazocine', '400023', 1000, 0, 1000, '', '250311103104', '250311103104', 'CASH', '', 'copleted', NULL, '', '', '17', '1', ''),
('052100000000', '0000-00-00 00:00:00', 91, '2025-03-11', 'ETT', '20025', 0, 1200, 1200, '', '250311104419', '250311104419', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 92, '2025-03-11', 'ETT', '400023', 6600, 0, 1200, '', '250311104419', '250311104419', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 93, '2025-03-11', 'Pentazocine', '20025', 0, 2000, 1000, '', '250311111748', '250311111748', 'CASH', '', 'copleted', NULL, '', '', '19', '2', ''),
('052100000000', '0000-00-00 00:00:00', 94, '2025-03-11', 'Pentazocine', '400023', 8600, 0, 1000, '', '250311111748', '250311111748', 'CASH', '', 'copleted', NULL, '', '', '19', '2', ''),
('052100000000', '0000-00-00 00:00:00', 95, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '250311112127', '250311112127', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 96, '2025-03-11', 'Isoflurane', '400023', 10550, 0, 1950, '', '250311112127', '250311112127', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 97, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '250311112446', '250311112446', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 98, '2025-03-11', 'Isoflurane', '400023', 12500, 0, 1950, '', '250311112446', '250311112446', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 99, '2025-03-11', 'Isoflurane', '20025', 0, 1950, 1950, '', '250311112446', '250311112446', 'CASH', '', 'copleted', NULL, '', '', '19', '1', ''),
('052100000000', '0000-00-00 00:00:00', 100, '2025-03-11', 'Isoflurane', '400023', 12500, 0, 1950, '', '250311112446', '250311112446', 'CASH', '', 'copleted', NULL, '', '', '19', '1', '');

--
-- Triggers `transactions`
--
DELIMITER $$
CREATE TRIGGER `set_txn_date` BEFORE INSERT ON `transactions` FOR EACH ROW BEGIN
    		IF (isnull(new.createdAt)) THEN
    			SET NEW.createdAt=CURDATE();
            END IF;
        END
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Table structure for table `transactions3`
--

CREATE TABLE `transactions3` (
  `facilityId` varchar(50) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `transaction_id` int(11) NOT NULL,
  `transaction_date` date DEFAULT NULL,
  `id` int(11) NOT NULL,
  `description` varchar(225) DEFAULT NULL,
  `acct` varchar(100) DEFAULT NULL,
  `acct_name` varchar(300) NOT NULL,
  `debit` int(50) DEFAULT NULL,
  `credit` int(50) DEFAULT NULL,
  `enteredBy` varchar(20) DEFAULT NULL,
  `receiptDateSN` varchar(18) NOT NULL DEFAULT '0',
  `receiptNo` int(7) DEFAULT 0,
  `modeOfPayment` varchar(15) DEFAULT NULL,
  `bank_name` varchar(50) NOT NULL,
  `status` varchar(50) DEFAULT 'Pending Lab',
  `approvedBy` varchar(20) DEFAULT NULL,
  `paymentStatus` varchar(11) NOT NULL DEFAULT '',
  `client_acct` varchar(11) DEFAULT NULL,
  `patient_id` varchar(50) NOT NULL,
  `settlement_status` varchar(50) NOT NULL,
  `client_id` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `transactions3`
--

INSERT INTO `transactions3` (`facilityId`, `createdAt`, `transaction_id`, `transaction_date`, `id`, `description`, `acct`, `acct_name`, `debit`, `credit`, `enteredBy`, `receiptDateSN`, `receiptNo`, `modeOfPayment`, `bank_name`, `status`, `approvedBy`, `paymentStatus`, `client_acct`, `patient_id`, `settlement_status`, `client_id`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2025-01-27 06:23:20', 0, '2025-01-27', 0, 'Registration ( Family )', '20002', 'REGISTRATION', 0, 0, 'abdurrahman', '250127125357', 2147483647, 'CASH', '', 'Pending Lab', NULL, '', '20002', '9-1', '', 0);

-- --------------------------------------------------------

--
-- Table structure for table `transactionsetup`
--

CREATE TABLE `transactionsetup` (
  `id` int(11) NOT NULL,
  `title` varchar(50) NOT NULL,
  `debit` varchar(50) NOT NULL,
  `credit` varchar(50) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `createdBy` varchar(50) NOT NULL,
  `createdAt` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `transactionsetup`
--

INSERT INTO `transactionsetup` (`id`, `title`, `debit`, `credit`, `facilityId`, `createdBy`, `createdAt`) VALUES
(8, 'Payment from somewhere else', 'Hematology', 'Trade Payable', '966a89f6-05d8-4564-b319-2f8863821e75', '41', '2020-08-15 05:03:14'),
(9, '', 'Revenue', 'Cash', '6c6af0c0-35ea-40d8-a928-b13a9766113a', '40', '2020-08-17 00:13:26'),
(10, '', 'Registration & Testing fees', 'Cash', '966a89f6-05d8-4564-b319-2f8863821e75', '41', '2020-08-28 02:36:52');

-- --------------------------------------------------------

--
-- Table structure for table `transaction_backup`
--

CREATE TABLE `transaction_backup` (
  `facilityId` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `transaction_id` int(11) NOT NULL DEFAULT 0,
  `id` int(11) NOT NULL,
  `description` varchar(225) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `acct` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `debit` int(50) DEFAULT NULL,
  `credit` int(50) DEFAULT NULL,
  `enteredBy` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `receiptDateSN` varchar(18) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '0',
  `receiptNo` int(7) DEFAULT 0,
  `modeOfPayment` varchar(15) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `status` varchar(10) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT 'pending',
  `approvedBy` varchar(20) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `paymentStatus` varchar(11) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
  `client_acct` varchar(11) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `patient_id` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `transaction_entries`
--

CREATE TABLE `transaction_entries` (
  `id` int(11) NOT NULL,
  `transaction_date` date NOT NULL,
  `patient_id` varchar(20) NOT NULL,
  `patient_name` varchar(200) NOT NULL,
  `receivable_head` varchar(20) NOT NULL,
  `receivable_head_name` varchar(100) NOT NULL,
  `total_amount` int(11) NOT NULL,
  `amount_paid` int(11) NOT NULL,
  `balance` int(11) NOT NULL,
  `receiptNo` varchar(50) NOT NULL,
  `entries_status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Stand-in structure for view `transaction_view`
-- (See below for the actual view)
--
CREATE TABLE `transaction_view` (
`facilityId` int(1)
,`createdAt` int(1)
,`acct` int(1)
,`debit` int(1)
,`description` int(1)
,`patient_id` int(1)
);

-- --------------------------------------------------------

--
-- Stand-in structure for view `transaction_view2`
-- (See below for the actual view)
--
CREATE TABLE `transaction_view2` (
`date` int(1)
,`drug` int(1)
,`quantity` int(1)
,`price` int(1)
,`profit` int(1)
,`amount` int(1)
,`facilityId` int(1)
);

-- --------------------------------------------------------

--
-- Table structure for table `transfers`
--

CREATE TABLE `transfers` (
  `id` int(11) NOT NULL,
  `facilityId` varchar(50) DEFAULT NULL,
  `date` datetime NOT NULL DEFAULT current_timestamp(),
  `amountReceived` int(12) NOT NULL DEFAULT 0,
  `amountHandedOver` int(12) DEFAULT 0,
  `transfer_from` varchar(50) NOT NULL,
  `transfer_to` varchar(50) NOT NULL,
  `status` varchar(10) NOT NULL DEFAULT 'pending',
  `comment` varchar(500) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `transfers`
--

INSERT INTO `transfers` (`id`, `facilityId`, `date`, `amountReceived`, `amountHandedOver`, `transfer_from`, `transfer_to`, `status`, `comment`) VALUES
(1, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-03 08:49:08', 0, 4000, 'Manager', 'Kemi', 'pending', '02-02-2020 / cash in'),
(2, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-05 09:54:39', 0, 129200, 'Patience', 'Manager', 'pending', 'Yesterday\'s day cash'),
(3, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-05 09:55:57', 0, 75200, 'Manager', 'Patience', 'pending', 'Today cash'),
(4, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-16 09:38:19', 0, 62000, 'Kemi', 'Manager', 'pending', '15-02 CASH IN'),
(5, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-03-14 14:50:51', 0, 50000, 'Manager', 'Kemi', 'pending', 'test'),
(6, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-03-14 14:51:20', 0, 30000, 'Manager', 'abdurrahman', 'pending', 'netest'),
(7, 'b8823207-58e1-438c-bb62-f3c6c16d8d3d', '2020-03-19 14:51:59', 0, 1, 'isahboy01', 'isahboy01', 'pending', '');

-- --------------------------------------------------------

--
-- Stand-in structure for view `trialbalance`
-- (See below for the actual view)
--
CREATE TABLE `trialbalance` (
`head` int(1)
,`subhead` int(1)
,`des` int(1)
,`acct` int(1)
,`description` int(1)
,`debit` int(1)
,`credit` int(1)
,`createdAt` int(1)
,`date` int(1)
,`facilityId` int(1)
);

-- --------------------------------------------------------

--
-- Stand-in structure for view `trial_balance`
-- (See below for the actual view)
--
CREATE TABLE `trial_balance` (
`acct` varchar(100)
,`narration` varchar(225)
,`Acct_source` varchar(500)
,`parent_account` varchar(500)
,`debit` int(50)
,`credit` int(50)
,`facilityId` varchar(50)
,`createdAt` date
,`created_at` date
,`enteredBy` varchar(20)
,`receiptDateSN` varchar(50)
,`receiptNo` varchar(50)
,`modeOfPayment` varchar(50)
,`client_acct` varchar(200)
);

-- --------------------------------------------------------

--
-- Table structure for table `t_patientr`
--

CREATE TABLE `t_patientr` (
  `cc` bigint(21) NOT NULL,
  `id` varchar(10) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `firstname` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `surname` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL,
  `other` varchar(50) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `t_patientr`
--

INSERT INTO `t_patientr` (`cc`, `id`, `firstname`, `surname`, `other`) VALUES
(15, '-', 'Fatima', 'Suleman', ''),
(2, '1-1', 'Musa', 'Ibrahim', ''),
(2, '2-1', 'Hassan', 'Ismail', ''),
(2, '2551-15', 'Hua', 'Ding', 'Li'),
(2, '299-8', 'Abubakar', 'Amina', ''),
(2, '30-1', 'Usman', 'Mai Aliyu', 'Mai'),
(2, '3004-1', 'Mukhtar', 'Muhammad', ''),
(2, '314-12', 'Abdullahi', 'Hafsat', ''),
(2, '3151-1', 'Hafsat', 'Sabiu', ''),
(2, '4060-1', 'Idris', 'Asmau', 'undefined'),
(2, '4160-1', 'Godwin', 'Ogwuche', ''),
(4, '4347-1', 'Wonah', 'Abraham', 'undefined'),
(2, '4473-1', 'Hani', 'Okan', 'undefined'),
(2, '45-6', 'Adnan', 'Muhammad', ''),
(2, '4685-1', 'Jamilu', 'Yakudima', ''),
(2, '4691-1', 'Mariya', 'Abubakar', ''),
(2, '4708-1', 'Payment', 'Instant', NULL),
(2, '5184-1', 'RUFAI', 'GARBA', ''),
(2, '5312-1', 'Justice Nura', 'Sagir Umar', ''),
(2, '5479-1', 'Saudah', 'Ismail', ''),
(2, '5781-1', 'Mukaddas', 'Babangida', ''),
(2, '6198-1', 'Samadi', 'Aya', NULL),
(2, '6279-1', 'Musa', 'Sani', ''),
(2, '6330-1', 'Lawal', 'Umar', ''),
(2, '6356-4', 'Shehu', 'Hadiza', ''),
(2, '6608-1', 'Mustapha', '', NULL),
(2, '96-17', 'Ahmad', 'Ali', 'Sadi'),
(6, 'undefined', 'undefined', 'undefined', 'undefined');

-- --------------------------------------------------------

--
-- Table structure for table `User Departments`
--

CREATE TABLE `User Departments` (
  `id` int(11) NOT NULL,
  `username` varchar(255) NOT NULL,
  `department_id` int(11) NOT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `firstname` varchar(255) DEFAULT NULL,
  `lastname` varchar(255) DEFAULT NULL,
  `privilege` int(11) DEFAULT 4,
  `role` varchar(255) DEFAULT NULL,
  `speciality` varchar(50) DEFAULT NULL,
  `accessTo` varchar(255) DEFAULT NULL,
  `functionalities` varchar(2000) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `prefix` varchar(50) DEFAULT NULL,
  `userType` varchar(10) DEFAULT NULL,
  `serviceCost` varchar(10) DEFAULT NULL,
  `licenceNo` varchar(50) DEFAULT NULL,
  `placeOfWork` varchar(100) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `status` varchar(20) DEFAULT 'pending',
  `loggedIn` varchar(200) DEFAULT NULL,
  `availableDays` varchar(200) DEFAULT NULL,
  `availableFromTime` varchar(20) DEFAULT NULL,
  `availableToTime` varchar(20) DEFAULT NULL,
  `address` varchar(200) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `paymentMethod` varchar(50) DEFAULT NULL,
  `paymentAmount` int(11) DEFAULT NULL,
  `referralId` varchar(50) DEFAULT NULL,
  `lastLogin` varchar(20) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `createdAt` datetime DEFAULT NULL,
  `updatedAt` datetime DEFAULT NULL,
  `facilityId` varchar(50) NOT NULL,
  `createdBy` varchar(50) DEFAULT NULL,
  `department` varchar(50) DEFAULT NULL,
  `functionality` varchar(2000) DEFAULT NULL,
  `branch_name` varchar(50) DEFAULT NULL,
  `lga` varchar(100) DEFAULT NULL,
  `applicate_status` varchar(50) NOT NULL,
  `app_id` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `firstname`, `lastname`, `privilege`, `role`, `speciality`, `accessTo`, `functionalities`, `username`, `email`, `prefix`, `userType`, `serviceCost`, `licenceNo`, `placeOfWork`, `password`, `status`, `loggedIn`, `availableDays`, `availableFromTime`, `availableToTime`, `address`, `phone`, `paymentMethod`, `paymentAmount`, `referralId`, `lastLogin`, `image`, `createdAt`, `updatedAt`, `facilityId`, `createdBy`, `department`, `functionality`, `branch_name`, `lga`, `applicate_status`, `app_id`) VALUES
(5, 'Abdurrahman', 'Nasir', 8, 'Doctor', 'Neurosurgery', 'Dashboard,Records,Accounts,Admin,Doctors,Theater,Laboratory,Reports,Pharmacy,Nurse,Management,Kirs', '', 'abdurrahman', 'drmuhsin@live.com', 'AN', 'admin', 'null', NULL, NULL, '$2a$10$mPqL/ehjm7v5UIy0pG9FFeWa1vfzfWo05.KyYHn/L3hmjoF8yM0vS', 'approved', NULL, 'Monday,Tuesday,Wednesday', '12:00', '16:00', 'Kano', '090', NULL, NULL, NULL, NULL, 'public\\1666117684695-download - Copy.jpg', '2019-12-06 04:14:07', '2022-10-18 18:28:04', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '6', 'Add New Patient,Bed Allocation,Hospital Billings,Create a Client Account,Make Deposit,Record Expenses,Generate Account Report,Account Statement,Asset Register,Rent Register,Create/Edit Services,Setup Account Chart,Cash Handover,Create User,Manage Users,Settings,Patient List,Appointments,Consultations,Lab Results,Video Chat,Add New Account Note,Setup Lab Test,Registrations,Report Summary,Inventory Overview,Analytics,Daily Sales,Profit,Suppliers Overview,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Sample Analysis,Account Review,Drug Schedule,Nursing Report,In-Patient Vitals,In-Patients,Out-Patient Prescriptions,Nursing Requests,Opening Balance,Other Incomes,Discount Setup,Pending Discount Requests,Purchase Record,Bookings,Messages,Integration, HMO Patient Report, HMO Billing Report,Dashboard', NULL, NULL, '', ''),
(878, 'nasarawa', 'user', 4, 'Doctor', NULL, 'Dashboard,Records,Accounts,Admin,Doctors,Theater,Laboratory,Reports,Pharmacy,Nurse,Management', NULL, 'nasarawa', 'nasarawa@gmail.com', NULL, 'admin', NULL, NULL, NULL, '$2a$10$vq2YV1V8vIGCuNsUsvQsWeRDH9s/xcUfb/qCiGda8nass1vb01G9K', 'approved', NULL, NULL, NULL, NULL, NULL, '09012121212', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '052100000000', 'admin', '6', 'Add New Patient,Bed Allocation,Hospital Billings,Create a Client Account,Make Deposit,Record Expenses,Generate Account Report,Account Statement,Asset Register,Rent Register,Create/Edit Services,Setup Account Chart,Cash Handover,Create User,Manage Users,Settings,Patient List,Appointments,Consultations,Lab Results,Video Chat,Add New Account Note,Setup Lab Test,Registrations,Report Summary,Inventory Overview,Analytics,Daily Sales,Profit,Suppliers Overview,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Sample Analysis,Account Review,Drug Schedule,Nursing Report,In-Patient Vitals,In-Patients,Out-Patient Prescriptions,Nursing Requests,Opening Balance,Other Incomes,Discount Setup,Pending Discount Requests,Purchase Record,Bookings,Messages,Integration, HMO Patient Report, HMO Billing Report,Dashboard', NULL, NULL, '', ''),
(879, 'Murtala', 'User', 4, 'Doctor', NULL, 'Dashboard,Records,Accounts,Admin,Doctors,Theater,Laboratory,Reports,Pharmacy,Nurse,Management', NULL, 'murtala', 'murtala@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$16T/hTjfQ.gqOjlPVI410O8jFJIxcwu6FqhH65Av3k6v7KYSgwChm', 'approved', NULL, NULL, NULL, NULL, NULL, '09012121212', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '052100000001', 'admin', '8', 'Add New Patient,Bed Allocation,Hospital Billings,Create a Client Account,Make Deposit,Record Expenses,Generate Account Report,Account Statement,Asset Register,Rent Register,Create/Edit Services,Setup Account Chart,Cash Handover,Create User,Manage Users,Settings,Patient List,Appointments,Consultations,Lab Results,Video Chat,Add New Account Note,Setup Lab Test,Registrations,Report Summary,Inventory Overview,Analytics,Daily Sales,Profit,Suppliers Overview,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Sample Analysis,Account Review,Drug Schedule,Nursing Report,In-Patient Vitals,In-Patients,Out-Patient Prescriptions,Nursing Requests,Opening Balance,Other Incomes,Discount Setup,Pending Discount Requests,Purchase Record,Bookings,Messages,Integration, HMO Patient Report, HMO Billing Report,Dashboard', NULL, NULL, '', ''),
(883, 'Muhammad', 'Buhari', 4, 'Doctor', NULL, 'Dashboard,Records,Accounts,Admin,Doctors,Theater,Laboratory,Reports,Pharmacy,Nurse,Management', NULL, 'buhari', 'buhari@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$T3HR5sa6d3fHlmVG9LLMceuioeixPbeY.RPRw4Y8fRx4l0zMokt0i', 'approved', NULL, NULL, NULL, NULL, NULL, '09017901953', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '052100000003', 'admin', NULL, 'Add New Patient,Bed Allocation,Hospital Billings,Create a Client Account,Make Deposit,Record Expenses,Generate Account Report,Account Statement,Asset Register,Rent Register,Create/Edit Services,Setup Account Chart,Cash Handover,Create User,Manage Users,Settings,Patient List,Appointments,Consultations,Lab Results,Video Chat,Add New Account Note,Setup Lab Test,Registrations,Report Summary,Inventory Overview,Analytics,Daily Sales,Profit,Suppliers Overview,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Sample Analysis,Account Review,Drug Schedule,Nursing Report,In-Patient Vitals,In-Patients,Out-Patient Prescriptions,Nursing Requests,Opening Balance,Other Incomes,Discount Setup,Pending Discount Requests,Purchase Record,Bookings,Messages,Integration, HMO Patient Report, HMO Billing Report,Dashboard', NULL, NULL, '', ''),
(886, 'Pharmacy', 'Biller', 4, 'Billing Officer', '', 'Pharmacy', NULL, 'pharmacy', 'pharmacy@gmaillcom', NULL, NULL, NULL, NULL, NULL, '$2a$10$EtdIx2/CyFigrxK.1lCD7uVE1I4vnyeeCOXxTacd8QiXBj6FwGQT6', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-15 15:16:26', '2025-02-15 15:17:04', '052100000003', 'buhari', '16', 'Other Incomes', NULL, NULL, '', ''),
(888, 'Muhammad', 'Test', 4, NULL, NULL, 'PHIMA', NULL, 'admin_phima', 'Saifullahmoriki@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$MKWNnRQZjWvU.Wzyavv3Xuw8tk4SZe4l07Lzlk9NRCTEElUrku4oe', 'approved', NULL, NULL, NULL, NULL, NULL, '09011223344', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-16 13:26:51', '2025-02-16 13:26:51', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kura', 'Pending', ''),
(894, 'Ola', 'Musa', 4, NULL, NULL, 'PHIMA', NULL, 'olamusa', 'olamusa@gmaol.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$SIY/pvu4P6bCUWLKiQelgu4oqSBtPjZd0DgxobhSDMJAtHfIQbSRK', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09023421904', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:00:59', '2025-02-17 10:00:59', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(895, 'Ola', 'Musa', 4, NULL, NULL, 'PHIMA', NULL, 'olamusa1', 'olamusa1@gmaol.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$2QEaBV.PJIK/latYrI7.uOvpM/X/IXT3oToMY.CN4UCNJcrr0kexW', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09023421904', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:01:41', '2025-02-17 10:01:41', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(896, 'Ola', 'Musa', 4, NULL, NULL, 'PHIMA', NULL, 'olamusa12', 'olamusa12@gmaol.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$E0LCAjUcbF7AhmPUpe8.jeeCm1BWvMr4b9h/YU1vv150K7gPpvahO', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09023421904', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:02:08', '2025-02-17 10:02:08', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(897, 'Musandiku', 'Frnak', 4, NULL, NULL, 'PHIMA', NULL, 'musandiku', 'musa@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$4OD6ADxN8LrRRGWPsYaED.WgI.cdZE8slr9KqpPaVDRRKUNsTSEIe', 'pending', NULL, NULL, NULL, NULL, 'Kano', '0239402030', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:05:20', '2025-02-17 10:05:20', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(898, 'Dawud', 'Ibrahim', 4, NULL, NULL, 'PHIMA', NULL, 'dawud', 'dawud@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$XBzZzWVKe3gPNve62YkbcekPOLewuzi6KT0iekxgMibMFImKX30Ya', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09034123445', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:57:33', '2025-02-17 10:57:33', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(899, 'IsaqM', 'Musa', 4, NULL, NULL, 'PHIMA', NULL, 'ishaqm', 'isaqm@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$4wwIng.PRgdTVQdW7gt8xeOMgZH2ItTHIN4OqZasEDVz.tTMq4dOO', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09023298134', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 10:59:12', '2025-02-17 10:59:12', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(900, 'Fahad', 'Muhammad', 4, NULL, NULL, 'PHIMA', NULL, 'fahad', 'fahad@maial.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$Ob7Q/2IWx.reOabpx0755uUymWvrBmQeIV9P8XlR2fN7Ql9MO0eES', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09022334455', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:01:16', '2025-02-17 11:01:16', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(901, 'Fahad', 'Muhammad', 4, NULL, NULL, 'PHIMA', NULL, 'fahad1', 'fahad1@maial.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$RDTra8lN0G0Gs8xw8dnOVe7orcnv1tcGPbRXQegNiTlmzjrP4qxbS', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09022334455', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:02:50', '2025-02-17 11:02:50', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(902, 'Mua', 'John', 4, NULL, NULL, 'PHIMA', NULL, 'muaj', 'kano@gmc.om', NULL, NULL, NULL, NULL, NULL, '$2a$10$CEIa/IyW1CRp7eyYgKt6R.FKcHu4/cp5n1aAqi/KjkEqqNscW9Lni', 'pending', NULL, NULL, NULL, NULL, 'Kano', '09203423', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:04:13', '2025-02-17 11:04:13', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(903, 'Sadiq', 'Haryba', 4, NULL, NULL, 'PHIMA', NULL, 'sadiqharuna', 'sadiqharu@gma.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$KwcmxRxZSGsMDQzs1WFosupZ82MdmVA2Pd9o5dC.0FTXBTcs8Jdnu', 'pending', NULL, NULL, NULL, NULL, 'Kano', '092034034', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:12:49', '2025-02-17 11:12:49', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'Kano', 'pending', NULL),
(904, 'ozor', 'ozor', 4, NULL, NULL, 'PHIMA', NULL, 'ozor', 'ozor@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$RUFx6KSk9LT31yy3EJFmS.HMYwe.Umt2ulI5rfThL2p5Ch2CYVMQ2', 'pending', NULL, NULL, NULL, NULL, 'kano', '0903243435355', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:18:22', '2025-02-17 11:18:22', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'kano', 'pending', NULL),
(905, 'nagudu', 'nagudu', 4, NULL, NULL, 'PHIMA', NULL, 'nagudu', 'nagudu@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$GqV1xpjbFvURNZiRlLJx9OOHrOUFs.ekpxLDL6N1.ppwTBImc434u', 'pending', NULL, NULL, NULL, NULL, 'kano', '0809099978', NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-17 11:22:21', '2025-02-17 11:22:21', 'PHIMA', NULL, NULL, 'Application Status,Pending application', NULL, 'kano', 'pending', NULL),
(906, 'Sadiq', 'Baba', 4, 'Doctor', 'Pedeatrics', 'Inventory', NULL, 'sadiqq', 'harunakadiri702@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$Hi.ZqpJbZWe1wApyGAwfvusTZf/Xu4ERdoVlP54Im/ZMgGH4Hz8Ym', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-25 15:07:53', '2025-02-25 15:08:05', '052100000000', 'nasarawa', '11', 'Store Management,Requisition,Manage Suppliers,Purchase Other,Inventory Table,GRN,Item Description,Goods Transfer Form', NULL, NULL, 'pending', NULL),
(907, 'Sadiq', 'Baba', 4, 'Doctor', 'Pedeatrics', 'Inventory', NULL, 'sadiqq', 'harunakadiri702@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$zK3MSr15l3t69SU2zFEib.0LwCgzv8.lGgkTBe3pU9DPrq3LIzNZy', 'pending', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-25 15:07:53', '2025-02-25 15:07:53', '052100000000', 'nasarawa', '11', 'Store Management,Requisition,Manage Suppliers,Purchase Other,Inventory Table,GRN,Item Description,Goods Transfer Form', NULL, NULL, 'pending', NULL),
(908, 'general', 'kadiri', 4, 'Doctor', 'General', 'Doctors,Inventory', NULL, 'general', 'harunakadiri702@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$vmRXwm60UVDTQtwSbEPn5ObM4NOTau.53kW4wTMGJ.pszt8vlVy7C', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-25 15:08:52', '2025-02-25 15:09:01', '052100000000', 'nasarawa', '11', 'Store Management,Manage Suppliers,Purchase Other,Inventory Table,Requisition,Goods Transfer Form,Item Description,GRN', NULL, NULL, 'pending', NULL),
(909, 'smyth', 'smyth', 4, 'Doctor', 'General', 'Records,Doctor,Laboratory,Account,Inventory,Admin,Appointments,Nurse', NULL, 'subgeneral', 'smyth@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$ZIOOv./MvkPJkaNNbxaP9uxEbSeWBlB/OGZu.JEpd1ptSmOIWOXiK', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-26 08:45:21', '2025-02-26 08:45:27', '052100000000', 'nasarawa', '11', 'Other Incomes', NULL, NULL, 'pending', NULL),
(910, 'blog', 'blog', 4, 'Doctor', 'General', 'Account,Records,Nurse,Admin,Appointments,Inventory', NULL, 'blog', 'blog@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$PU1wP5Povr0RqcaUbVqnsune3mFizRA3ybZe/iTvhukFV2esQBBDC', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-26 09:27:31', '2025-02-26 09:27:44', '052100000000', 'nasarawa', '7', 'Other Incomes', NULL, NULL, 'pending', NULL),
(911, 'muzali', 'muzali', 4, 'Doctor', 'Pedeatrics', 'Account,Doctor,Laboratory', NULL, 'muzali', 'muzali@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$aE66g1UVtzF.nfD8fqYes.SWT1cYyu98ojQPxGpPcH.zrIFsd0AMO', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-26 09:30:29', '2025-02-26 09:30:36', '052100000000', 'nasarawa', '6', 'Hospital Billings', NULL, NULL, 'pending', NULL),
(912, 'fish', 'fish', 4, 'Doctor', 'Pedeatrics', 'Account,Records,Doctor,Laboratory,Admin', NULL, 'fish', 'fish@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$.bCaPfgeAYPtZryFK./aPOMVbsBDQR0N2y3b0EO0RauHm7fP8Siei', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-26 09:46:34', '2025-02-26 09:47:20', '052100000000', 'nasarawa', '11', 'Other Incomes', NULL, NULL, 'pending', NULL),
(913, 'love', 'love', 4, 'Doctor', 'Pedeatrics', 'Records,Doctor,Laboratory,Reports,Human Resource,Admin,Theater,Accounts,Inventory,Pharmacy', NULL, 'love', 'love@gmai.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$GEWHIolWHIgU03AykhlS4.j15OW5Eytbgu4o06nayRAOUyM7INdly', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-02-26 09:58:02', '2025-02-26 09:58:27', '052100000000', 'nasarawa', '11', 'Add New Patient,Bed Allocation,Patient List,Lab Results,Video Chat,Appointments,Consultations,Other Incomes,Hospital Billing,Create/Edit Services,Account Statement,Opening Balance,Record Expenses,Create a Client Account,Make Deposit,Cash Handover,Account Review,Purchase Record,Setup Lab Test,Registrations,Client Registrations,Organization Report,Application,Inventory Overview,Report Summary,Create User,Manage Users,Patients List,Settings,Add New Account Note,Dashboard,Staff Salary,Requisition,Purchase Other,Manage Suppliers,GRN,Store Management,Drug Sales,Drug Dispensary', NULL, NULL, 'pending', NULL),
(914, 'Small', 'small', 4, 'Doctor', 'Pedeatrics', 'Records,Accounts,Laboratory,Admin,Theater,Nurse,Doctor,Appointments,Human Resource,Inventory', NULL, 'small', 'small@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$jLBckfEelE6vs/y2OnOFmuDp6q.jQNhQxmRL7NkMrZLwVeorb6rEy', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-07 12:28:23', '2025-03-07 12:28:33', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'abdurrahman', '', 'Other Incomes', NULL, NULL, 'pending', NULL),
(915, 'baba', 'baba', 4, 'Pharmacist', '', 'Pharmacy', NULL, 'baba', 'baba@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$lM9XUKxkq48TtJfXR9LlgOQVdP.GS2rawMaqF9RA13ITm2rHldaoy', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-10 08:45:43', '2025-03-10 08:45:52', '052100000000', 'nasarawa', '10', 'Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Dashboard', NULL, NULL, 'pending', NULL),
(916, 'phamacycashier', 'phamacycashier', 4, 'Pharmacist', '', 'Pharmacy', NULL, 'phamacycashier', 'phamacycashier@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$xu0kfxr7260RXlI.La68f.hTgY11UjYobV0m0uteZfeXO/U2xrquu', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-10 09:02:07', '2025-03-10 09:02:13', '052100000000', 'nasarawa', '10', 'Drug Sales', NULL, NULL, 'pending', NULL),
(917, 'BillingOfficer', 'BillingOfficer', 4, 'Billing Officer', '', 'Accounts', NULL, 'BillingOfficer', 'BillingOfficer@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$/7YwzTLb4C7tsZyFZzFqWOmvIrFSGyI/eZvuiZQv8/NTxv2SK/hwO', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-10 09:19:01', '2025-03-10 09:19:07', '052100000000', 'nasarawa', '6', 'Hospital Billing', NULL, NULL, 'pending', NULL),
(918, 'BillingOfficer1', 'BillingOfficer1', 4, 'Billing Officer', '', 'Billing', NULL, 'BillingOfficer1', 'BillingOfficer1@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$HFLeBe/nsx0esL3HeqLM0O8eIVFoMFAlzB0l1r2SCos3/FofD5RQa', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-10 09:26:17', '2025-03-10 09:26:26', '052100000000', 'nasarawa', '6', 'New patient,Generate Invoice,Invoices', NULL, NULL, 'pending', NULL),
(919, 'frank', 'frank', 4, 'Billing Officer', '', 'Billing,Pharmacy,Laboratory,Admin', NULL, 'frank', 'frank@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$ATrOmug3aPg38uz9rUsCQuCdvCFqgnCtIKzxEu5GLuD2.ZZ2hYBT2', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-10 11:34:58', '2025-03-10 11:35:07', '052100000000', 'nasarawa', '10,6', 'New patient,Invoice Form,Generate Invoice,Invoices,Manage Services,Cashier,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Manage Suppliers,Drug List,Dashboard,Create User,Manage Users', NULL, NULL, 'pending', NULL),
(920, 'cashierpay', 'cashierpay', 4, 'Billing Officer', '', 'Billing,Records,Doctor,Nurse,Pharmacy,Laboratory,Reports,Human Resource', NULL, 'cashierpay', 'cashierpay@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$oUB1nr.yaW82EmAVXMihBeEdmTyrR55CUKY25MUWq52Lr2etXGROm', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-11 11:06:46', '2025-03-11 11:06:57', '052100000000', 'nasarawa', '11', 'Cashier,New patient,Invoice Form,Generate Invoice,Invoices,Manage Services,Add New Account Note,Add New Patient,Bed Allocation,Patient List,Appointments,Consultations,Lab Results,Video Chat,In-Patient Vitals,Drug Sales,Drug Dispensary,Store Record,Drug Schedule,Nursing Requests,Out-Patient Prescriptions,Nursing Report,Organization Report,Dashboard,Report Summary,Analytics,Inventory Overview', NULL, NULL, 'pending', NULL),
(921, 'nazif', 'nazif', 4, 'Pharmacist', '', 'Accounts', NULL, 'nazif', 'nazif@gmail.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$CnSg9WvUX0KgnUAaS1JL2e4nhEqHvcBZOG1wv3P1Q0rsE9xDe9rVe', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2025-03-11 11:21:07', '2025-03-11 11:21:27', '052100000000', 'nasarawa', '10', 'New patient', NULL, NULL, 'pending', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `user_department`
--

CREATE TABLE `user_department` (
  `username` varchar(255) NOT NULL,
  `department_id` varchar(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `user_department`
--

INSERT INTO `user_department` (`username`, `department_id`) VALUES
('sadiqq', '11'),
('sadiqq', '11'),
('general', '11'),
('subgeneral', '11'),
('blog', '7'),
('muzali', '6'),
('fish', '11'),
('love', '11'),
('small', ''),
('baba', '10'),
('phamacycashier', '10'),
('BillingOfficer', '6'),
('BillingOfficer1', '6'),
('frank', '10'),
('frank', '6'),
('cashierpay', '11'),
('nazif', '10');

-- --------------------------------------------------------

--
-- Table structure for table `vital_signs`
--

CREATE TABLE `vital_signs` (
  `id` int(11) NOT NULL,
  `patient_id` varchar(50) NOT NULL,
  `body_temp` varchar(5) DEFAULT NULL,
  `pulse_rate` varchar(10) DEFAULT NULL,
  `blood_pressure` varchar(10) DEFAULT NULL,
  `respiratory_rate` varchar(10) DEFAULT NULL,
  `fasting_blood_sugar` varchar(10) DEFAULT NULL,
  `random_blood_sugar` varchar(10) DEFAULT NULL,
  `spo2` varchar(50) DEFAULT NULL,
  `created_by` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `facilityId` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `vital_signs`
--

INSERT INTO `vital_signs` (`id`, `patient_id`, `body_temp`, `pulse_rate`, `blood_pressure`, `respiratory_rate`, `fasting_blood_sugar`, `random_blood_sugar`, `spo2`, `created_by`, `created_at`, `facilityId`) VALUES
(1, '1-1', '35', '123', '434', '23', '212', '12', '30', 'abdurrahman', '2024-08-10 03:08:22', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a');

-- --------------------------------------------------------

--
-- Table structure for table `voucher`
--

CREATE TABLE `voucher` (
  `vo_No` int(11) NOT NULL,
  `debit` varchar(40) NOT NULL,
  `Amount` int(11) NOT NULL,
  `credit` varchar(40) NOT NULL,
  `description` varchar(50) NOT NULL,
  `authorizedby` varchar(40) NOT NULL,
  `approveBy` varchar(40) NOT NULL,
  `PatientAcct` varchar(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Table structure for table `wholesale_transaction`
--

CREATE TABLE `wholesale_transaction` (
  `id` char(36) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
  `date` varchar(100) NOT NULL,
  `time` varchar(50) DEFAULT NULL,
  `name` varchar(50) DEFAULT NULL,
  `phone_no` varchar(50) DEFAULT NULL,
  `unit` int(11) DEFAULT NULL,
  `amount` varchar(50) NOT NULL,
  `type` varchar(20) NOT NULL,
  `giver` varchar(100) DEFAULT NULL,
  `reciever` varchar(100) DEFAULT NULL,
  `description` varchar(100) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

-- --------------------------------------------------------

--
-- Structure for view `bedlist_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `bedlist_view`  AS SELECT `bedlist`.`id` AS `id`, `bedlist`.`sort_index` AS `sort_index`, `bedlist`.`class_type` AS `class_type`, `bedlist`.`price` AS `price`, `bedlist`.`name` AS `name`, `bedlist`.`no_of_beds` AS `no_of_beds`, ifnull((select count(`bed_allocation`.`bed_id`) from `bed_allocation` where `bed_allocation`.`bed_id` = `bedlist`.`id` and `bed_allocation`.`facilityId` = `bedlist`.`facilityId` and `bed_allocation`.`ended` is null group by `bed_allocation`.`bed_id`),0) AS `occupied`, `bedlist`.`facilityId` AS `facilityId` FROM `bedlist` ;

-- --------------------------------------------------------

--
-- Structure for view `drug_schedule_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `drug_schedule_view`  AS SELECT 1 AS `drug`, 1 AS `dosage`, 1 AS `patient_id`, 1 AS `created_at`, 1 AS `id`, 1 AS `prescription_id`, 1 AS `prescribed_by`, 1 AS `duration`, 1 AS `period`, 1 AS `frequency`, 1 AS `route`, 1 AS `time_stamp`, 1 AS `administered_by`, 1 AS `served_by`, 1 AS `reason`, 1 AS `status`, 1 AS `facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `expenditure_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `expenditure_view`  AS SELECT 1 AS `subhead`, 1 AS `description`, 1 AS `modeOfPayment`, 1 AS `acct`, 1 AS `createdAt`, 1 AS `amount`, 1 AS `facilityId`, 1 AS `client_acct`, 1 AS `enteredBy` ;

-- --------------------------------------------------------

--
-- Structure for view `in_patient_list`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `in_patient_list`  AS SELECT `b`.`sort_index` AS `sort_index`, `a`.`bed_id` AS `bed_id`, `a`.`allocation_id` AS `allocation_id`, `a`.`allocation_status` AS `allocation_status`, `a`.`allocated` AS `allocated`, `a`.`allocated_by` AS `allocated_by`, `a`.`patient_name` AS `patient_name`, `a`.`patient_id` AS `patient_id`, `a`.`accountNo` AS `accountNo`, `b`.`name` AS `name`, `b`.`class_type` AS `class_type`, `b`.`account` AS `account`, `b`.`price` AS `price`, `a`.`facilityId` AS `facilityId` FROM (`patient_bed` `a` join `bedlist` `b` on(`a`.`bed_id` = `b`.`id`)) WHERE `a`.`facilityId` = `b`.`facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `lab_info`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_info`  AS SELECT `b`.`sort_index` AS `sort_index`, `b`.`sort_index` AS `sn`, `a`.`created_at` AS `created_at`, `a`.`facilityId` AS `facilityId`, `a`.`id` AS `id`, `a`.`code` AS `code`, `a`.`booking_no` AS `booking_no`, `a`.`request_id` AS `request_id`, `a`.`patient_id` AS `patient_id`, concat(`c`.`firstname`,' ',`c`.`surname`) AS `name`, `c`.`DOB` AS `DOB`, `c`.`Gender` AS `Gender`, `b`.`qms_dept_id` AS `qms_dept_id`, `b`.`head` AS `head`, `b`.`subhead` AS `subhead`, `b`.`unit` AS `unit`, `b`.`range_from` AS `range_from`, `b`.`range_to` AS `range_to`, `b`.`price` AS `price`, `b`.`old_price` AS `old_price`, `a`.`modeOfPayment` AS `modeOfPayment`, `b`.`account` AS `account`, `b`.`account_name` AS `account_name`, `b`.`payable_head` AS `payable_head`, `b`.`payable_head_name` AS `payable_head_name`, `b`.`receivable_head` AS `receivable_head`, `b`.`receivable_head_name` AS `receivable_head_name`, `b`.`commission_type` AS `commission_type`, `b`.`percentage` AS `percentage`, `b`.`description` AS `description`, `a`.`test` AS `test`, `a`.`test_group` AS `test_group`, `b`.`specimen` AS `specimen`, `a`.`noOfLabels` AS `noOfLabels`, `a`.`label_type` AS `label_type`, `b`.`label_name` AS `label_name`, `a`.`department` AS `department`, `a`.`unit_name` AS `unit_name`, `a`.`unit_code` AS `unit_code`, `a`.`result` AS `result`, `a`.`h_value` AS `h_value`, `a`.`o_value` AS `o_value`, `a`.`appearance` AS `appearance`, `a`.`serology` AS `serology`, `a`.`culture_yielded` AS `culture_yielded`, `a`.`sensitivity` AS `sensitivity`, `a`.`resistivity` AS `resistivity`, `a`.`intermediaryTo` AS `intermediaryTo`, `b`.`lab_code` AS `lab_code`, `b`.`selectable` AS `selectable`, `a`.`status` AS `status`, `a`.`print_type` AS `print_type`, `b`.`report_type` AS `report_type`, `b`.`collect_sample` AS `collect_sample`, `b`.`to_be_reported` AS `to_be_reported`, `b`.`to_be_analyzed` AS `to_be_analyzed`, `a`.`created_by` AS `created_by`, `a`.`sample_collected_by` AS `sample_collected_by`, `a`.`sample_collected_at` AS `sample_collected_at`, `a`.`analyzed_by` AS `analyzed_by`, `a`.`analyzed_at` AS `analyzed_at`, `a`.`result_by` AS `result_by`, `a`.`result_at` AS `result_at`, `a`.`reviewed_by` AS `reviewed_by`, `a`.`reviewed_at` AS `reviewed_at`, `a`.`printed_by` AS `printed_by`, `a`.`printed_at` AS `printed_at`, `a`.`unit` AS `n_unit`, `a`.`range_from` AS `n_range_from`, `a`.`range_to` AS `n_range_to`, `a`.`receiptNo` AS `receiptNo`, `a`.`sop_instance_id` AS `sop_instance_id`, `a`.`uploaded_at` AS `uploaded_at`, `a`.`uploaded_by` AS `uploaded_by`, `a`.`payment_status` AS `payment_status`, `a`.`approval_status` AS `approval_status`, `a`.`report_fee_status` AS `report_fee_status`, `a`.`department_head` AS `department_head`, `a`.`group_head` AS `group_head`, `a`.`patient_status` AS `patient_status`, `b`.`printable` AS `printable` FROM ((`prime`.`lab_setup` `b` join `prime`.`lab_requisition` `a` on(convert(`b`.`subhead` using utf8mb4) = `a`.`test`)) join `prime`.`patientrecords` `c` on(`a`.`patient_id` = convert(`c`.`id` using utf8mb4))) WHERE `a`.`facilityId` = convert(`b`.`facilityId` using utf8mb4) ;

-- --------------------------------------------------------

--
-- Structure for view `lab_info_2`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_info_2`  AS SELECT 1 AS `sn`, 1 AS `created_at`, 1 AS `facilityId`, 1 AS `id`, 1 AS `code`, 1 AS `booking_no`, 1 AS `request_id`, 1 AS `patient_id`, 1 AS `name`, 1 AS `DOB`, 1 AS `Gender`, 1 AS `qms_dept_id`, 1 AS `head`, 1 AS `subhead`, 1 AS `unit`, 1 AS `range_from`, 1 AS `range_to`, 1 AS `price`, 1 AS `old_price`, 1 AS `modeOfPayment`, 1 AS `account`, 1 AS `account_name`, 1 AS `payable_head`, 1 AS `payable_head_name`, 1 AS `receivable_head`, 1 AS `receivable_head_name`, 1 AS `commission_type`, 1 AS `percentage`, 1 AS `description`, 1 AS `test`, 1 AS `test_group`, 1 AS `specimen`, 1 AS `noOfLabels`, 1 AS `label_type`, 1 AS `label_name`, 1 AS `department`, 1 AS `unit_name`, 1 AS `unit_code`, 1 AS `result`, 1 AS `h_value`, 1 AS `o_value`, 1 AS `appearance`, 1 AS `serology`, 1 AS `culture_yielded`, 1 AS `sensitivity`, 1 AS `resistivity`, 1 AS `intermediaryTo`, 1 AS `lab_code`, 1 AS `selectable`, 1 AS `status`, 1 AS `print_type`, 1 AS `report_type`, 1 AS `collect_sample`, 1 AS `to_be_reported`, 1 AS `to_be_analyzed`, 1 AS `created_by`, 1 AS `sample_collected_by`, 1 AS `sample_collected_at`, 1 AS `analyzed_by`, 1 AS `analyzed_at`, 1 AS `result_by`, 1 AS `result_at`, 1 AS `reviewed_by`, 1 AS `reviewed_at`, 1 AS `printed_by`, 1 AS `printed_at`, 1 AS `n_unit`, 1 AS `n_range_from`, 1 AS `n_range_to`, 1 AS `receiptNo`, 1 AS `sop_instance_id`, 1 AS `uploaded_at`, 1 AS `uploaded_by`, 1 AS `payment_status`, 1 AS `approval_status`, 1 AS `report_fee_status`, 1 AS `department_head`, 1 AS `group_head`, 1 AS `patient_status` ;

-- --------------------------------------------------------

--
-- Structure for view `lab_process`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_process`  AS SELECT 1 AS `sn`, 1 AS `created_at`, 1 AS `facilityId`, 1 AS `id`, 1 AS `qms_dept_id`, 1 AS `code`, 1 AS `booking_no`, 1 AS `request_id`, 1 AS `patient_id`, 1 AS `name`, 1 AS `DOB`, 1 AS `Gender`, 1 AS `head`, 1 AS `subhead`, 1 AS `unit`, 1 AS `range_from`, 1 AS `range_to`, 1 AS `price`, 1 AS `old_price`, 1 AS `commission_type`, 1 AS `percentage`, 1 AS `description`, 1 AS `specimen`, 1 AS `noOfLabels`, 1 AS `label_type`, 1 AS `label_name`, 1 AS `group_head`, 1 AS `department`, 1 AS `department_head`, 1 AS `result`, 1 AS `h_value`, 1 AS `o_value`, 1 AS `appearance`, 1 AS `serology`, 1 AS `culture_yielded`, 1 AS `sensitivity`, 1 AS `resistivity`, 1 AS `intermediaryTo`, 1 AS `lab_code`, 1 AS `selectable`, 1 AS `status`, 1 AS `unit_code`, 1 AS `unit_name`, 1 AS `print_type`, 1 AS `report_type`, 1 AS `collect_sample`, 1 AS `to_be_reported`, 1 AS `to_be_analyzed`, 1 AS `created_by`, 1 AS `sample_collected_by`, 1 AS `sample_collected_at`, 1 AS `analyzed_by`, 1 AS `analyzed_at`, 1 AS `result_by`, 1 AS `result_at`, 1 AS `reviewed_by`, 1 AS `reviewed_at`, 1 AS `printed_by`, 1 AS `printed_at`, 1 AS `n_unit`, 1 AS `n_range_from`, 1 AS `n_range_to`, 1 AS `receiptNo`, 1 AS `sop_instance_id`, 1 AS `uploaded_at`, 1 AS `uploaded_by`, 1 AS `payment_status`, 1 AS `approval_status`, 1 AS `patient_status`, 1 AS `test`, 1 AS `test_group` ;

-- --------------------------------------------------------

--
-- Structure for view `lab_request2`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_request2`  AS SELECT 1 AS `sn`, 1 AS `created_at`, 1 AS `facilityId`, 1 AS `id`, 1 AS `qms_dept_id`, 1 AS `code`, 1 AS `name`, 1 AS `DOB`, 1 AS `Gender`, 1 AS `booking_no`, 1 AS `request_id`, 1 AS `patient_id`, 1 AS `head`, 1 AS `subhead`, 1 AS `unit`, 1 AS `range_from`, 1 AS `range_to`, 1 AS `price`, 1 AS `old_price`, 1 AS `commission_type`, 1 AS `percentage`, 1 AS `description`, 1 AS `specimen`, 1 AS `noOfLabels`, 1 AS `label_type`, 1 AS `label_name`, 1 AS `group_head`, 1 AS `department`, 1 AS `unit_code`, 1 AS `unit_name`, 1 AS `result`, 1 AS `h_value`, 1 AS `o_value`, 1 AS `appearance`, 1 AS `serology`, 1 AS `culture_yielded`, 1 AS `sensitivity`, 1 AS `resistivity`, 1 AS `intermediaryTo`, 1 AS `lab_code`, 1 AS `selectable`, 1 AS `status`, 1 AS `print_type`, 1 AS `report_type`, 1 AS `collect_sample`, 1 AS `to_be_reported`, 1 AS `to_be_analyzed`, 1 AS `created_by`, 1 AS `sample_collected_by`, 1 AS `sample_collected_at`, 1 AS `analyzed_by`, 1 AS `analyzed_at`, 1 AS `result_by`, 1 AS `result_at`, 1 AS `reviewed_by`, 1 AS `reviewed_at`, 1 AS `printed_by`, 1 AS `printed_at`, 1 AS `n_unit`, 1 AS `n_range_from`, 1 AS `n_range_to`, 1 AS `receiptNo`, 1 AS `sop_instance_id`, 1 AS `uploaded_at`, 1 AS `uploaded_by`, 1 AS `payment_status`, 1 AS `approval_status`, 1 AS `patient_status`, 1 AS `test`, 1 AS `test_group` ;

-- --------------------------------------------------------

--
-- Structure for view `lab_requests`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_requests`  AS SELECT 1 AS `department`, 1 AS `patient_id`, 1 AS `status` ;

-- --------------------------------------------------------

--
-- Structure for view `medication_report`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `medication_report`  AS SELECT 1 AS `patient_id`, 1 AS `drug`, 1 AS `dosage`, 1 AS `route`, 1 AS `time_stamp`, 1 AS `status`, 1 AS `served_by`, 1 AS `nurse_name`, 1 AS `reason` ;

-- --------------------------------------------------------

--
-- Structure for view `overview`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `overview`  AS SELECT 1 AS `drug`, 1 AS `quantity_bought`, 1 AS `amount_bought`, 1 AS `quantity_in_store`, 1 AS `amount_in_store`, 1 AS `quantity_sold`, 1 AS `amount_sold`, 1 AS `quantity_in_shelf`, 1 AS `amount_in_shelf`, 1 AS `sales_date`, 1 AS `purchase_date`, 1 AS `facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `overview_wo_store`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `overview_wo_store`  AS SELECT 1 AS `drug`, 1 AS `price`, 1 AS `quantity_in_shelf`, 1 AS `amount_in_shelf`, 1 AS `quantity_sold`, 1 AS `amount_sold`, 1 AS `expiry_date`, 1 AS `created_at`, 1 AS `facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `patientfileno_full`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `patientfileno_full`  AS SELECT 1 AS `id`, 1 AS `acc_count`, 1 AS `accountNo`, 1 AS `beneficiaries`, 1 AS `firstname`, 1 AS `surname`, 1 AS `status`, 1 AS `createdAt`, 1 AS `accName`, 1 AS `description`, 1 AS `accountType`, 1 AS `contactName`, 1 AS `contactAddress`, 1 AS `contactPhone`, 1 AS `contactEmail`, 1 AS `contactWebsite`, 1 AS `balance`, 1 AS `guarantor_name`, 1 AS `guarantor_address`, 1 AS `guarantor_phone`, 1 AS `created_by`, 1 AS `approved_by`, 1 AS `approved_at` ;

-- --------------------------------------------------------

--
-- Structure for view `patient_bed`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `patient_bed`  AS SELECT `a`.`id` AS `allocation_id`, `a`.`bed_id` AS `bed_id`, `a`.`allocated` AS `allocated`, `a`.`allocated_by` AS `allocated_by`, `a`.`allocation_status` AS `allocation_status`, concat(`b`.`surname`,' ',`b`.`firstname`) AS `patient_name`, `a`.`patient_id` AS `patient_id`, `b`.`accountNo` AS `accountNo`, `a`.`facilityId` AS `facilityId` FROM (`bed_allocation` `a` join `patientrecords` `b` on(`a`.`patient_id` = `b`.`id`)) WHERE `a`.`facilityId` = `b`.`facilityId` AND `a`.`ended` is null ;

-- --------------------------------------------------------

--
-- Structure for view `saved_pending_request`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `saved_pending_request`  AS SELECT 1 AS `labno`, 1 AS `booking_no`, 1 AS `name`, 1 AS `code`, 1 AS `patient_id`, 1 AS `status`, 1 AS `department`, 1 AS `head`, 1 AS `test_group`, 1 AS `description`, 1 AS `subhead` ;

-- --------------------------------------------------------

--
-- Structure for view `test1`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `test1`  AS SELECT DISTINCT `a`.`head` AS `head`, `a`.`subhead` AS `subhead`, `a`.`description` AS `des`, `b`.`acct` AS `acct`, `b`.`debit` AS `debit`, `b`.`credit` AS `credit`, `b`.`description` AS `description`, `b`.`facilityId` AS `facilityId`, `b`.`transaction_date` AS `createdAt`, `b`.`transaction_date` AS `transaction_date`, `b`.`transaction_id` AS `transaction_id`, `b`.`enteredBy` AS `enteredBy`, `b`.`receiptDateSN` AS `receiptDateSN`, `b`.`receiptNo` AS `receiptNo`, `b`.`modeOfPayment` AS `modeOfPayment`, `b`.`status` AS `status`, `b`.`approvedBy` AS `approvedBy`, `b`.`paymentStatus` AS `paymentStatus`, `b`.`client_acct` AS `client_acct`, `b`.`patient_id` AS `patient_id` FROM (`account` `a` join `transactions` `b` on(`b`.`acct` = `a`.`head`)) WHERE `b`.`status` = 'paid' ;

-- --------------------------------------------------------

--
-- Structure for view `transaction_view`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transaction_view`  AS SELECT 1 AS `facilityId`, 1 AS `createdAt`, 1 AS `acct`, 1 AS `debit`, 1 AS `description`, 1 AS `patient_id` ;

-- --------------------------------------------------------

--
-- Structure for view `transaction_view2`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transaction_view2`  AS SELECT 1 AS `date`, 1 AS `drug`, 1 AS `quantity`, 1 AS `price`, 1 AS `profit`, 1 AS `amount`, 1 AS `facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `trialbalance`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `trialbalance`  AS SELECT 1 AS `head`, 1 AS `subhead`, 1 AS `des`, 1 AS `acct`, 1 AS `description`, 1 AS `debit`, 1 AS `credit`, 1 AS `createdAt`, 1 AS `date`, 1 AS `facilityId` ;

-- --------------------------------------------------------

--
-- Structure for view `trial_balance`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `trial_balance`  AS SELECT DISTINCT `a`.`acct` AS `acct`, `a`.`description` AS `narration`, `a`.`des` AS `Acct_source`, `b`.`description` AS `parent_account`, `a`.`debit` AS `debit`, `a`.`credit` AS `credit`, `b`.`facilityId` AS `facilityId`, `a`.`transaction_date` AS `createdAt`, `a`.`transaction_date` AS `created_at`, `a`.`enteredBy` AS `enteredBy`, `a`.`receiptDateSN` AS `receiptDateSN`, `a`.`receiptNo` AS `receiptNo`, `a`.`modeOfPayment` AS `modeOfPayment`, `a`.`client_acct` AS `client_acct` FROM (`test1` `a` join `account` `b`) WHERE `a`.`subhead` = `b`.`head` AND `a`.`status` = 'paid' ;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `account4`
--
ALTER TABLE `account4`
  ADD PRIMARY KEY (`head`,`facilityId`);

--
-- Indexes for table `account_entries`
--
ALTER TABLE `account_entries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `facilityId` (`facilityId`,`createdAt`),
  ADD KEY `acct` (`acct`);

--
-- Indexes for table `account_kirs1`
--
ALTER TABLE `account_kirs1`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `account_opt`
--
ALTER TABLE `account_opt`
  ADD PRIMARY KEY (`head`,`facilityId`);

--
-- Indexes for table `account_ubec`
--
ALTER TABLE `account_ubec`
  ADD PRIMARY KEY (`head`,`facilityId`);

--
-- Indexes for table `application_type`
--
ALTER TABLE `application_type`
  ADD PRIMARY KEY (`application_id`);

--
-- Indexes for table `appointment`
--
ALTER TABLE `appointment`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bedlist`
--
ALTER TABLE `bedlist`
  ADD PRIMARY KEY (`id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `class_type` (`class_type`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `beds`
--
ALTER TABLE `beds`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `bed_allocation`
--
ALTER TABLE `bed_allocation`
  ADD PRIMARY KEY (`id`),
  ADD KEY `allocation_status` (`allocation_status`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `allocated_by` (`allocated_by`),
  ADD KEY `ended` (`ended`),
  ADD KEY `allocated` (`allocated`),
  ADD KEY `bed_id` (`bed_id`);

--
-- Indexes for table `billing_units`
--
ALTER TABLE `billing_units`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `charges_fees`
--
ALTER TABLE `charges_fees`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `charges_fees_temp`
--
ALTER TABLE `charges_fees_temp`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `checklists_setup`
--
ALTER TABLE `checklists_setup`
  ADD PRIMARY KEY (`checklist_setup_id`);

--
-- Indexes for table `comment`
--
ALTER TABLE `comment`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `consultations`
--
ALTER TABLE `consultations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `created_at` (`created_at`),
  ADD KEY `decision` (`decision`),
  ADD KEY `nursing_request_status` (`nursing_request_status`),
  ADD KEY `treatment_plan_status` (`treatment_plan_status`),
  ADD KEY `treatment_by` (`treatment_by`),
  ADD KEY `userId` (`userId`);

--
-- Indexes for table `contacts`
--
ALTER TABLE `contacts`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `department`
--
ALTER TABLE `department`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `diagnosis`
--
ALTER TABLE `diagnosis`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `dieselrefuel`
--
ALTER TABLE `dieselrefuel`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `dieselusage`
--
ALTER TABLE `dieselusage`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `discount`
--
ALTER TABLE `discount`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `dispensary`
--
ALTER TABLE `dispensary`
  ADD PRIMARY KEY (`id`),
  ADD KEY `request_id` (`request_id`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `receiptNo` (`receiptNo`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `created_at` (`created_at`),
  ADD KEY `status` (`status`),
  ADD KEY `schedule_status` (`schedule_status`),
  ADD KEY `end_date` (`end_date`);

--
-- Indexes for table `druglist`
--
ALTER TABLE `druglist`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `drugpurchaserecords`
--
ALTER TABLE `drugpurchaserecords`
  ADD PRIMARY KEY (`drug`,`expiry_date`,`cost_price`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `status` (`status`),
  ADD KEY `balance` (`balance`),
  ADD KEY `created_at` (`created_at`),
  ADD KEY `supplier` (`supplier`),
  ADD KEY `expiry_date` (`expiry_date`),
  ADD KEY `quantity` (`quantity`);

--
-- Indexes for table `drug_frequency`
--
ALTER TABLE `drug_frequency`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `drug_frequency4`
--
ALTER TABLE `drug_frequency4`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `drug_frequency4_x`
--
ALTER TABLE `drug_frequency4_x`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `drug_frequency4_y`
--
ALTER TABLE `drug_frequency4_y`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `drug_schedule`
--
ALTER TABLE `drug_schedule`
  ADD PRIMARY KEY (`id`),
  ADD KEY `prescription_id` (`prescription_id`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `status` (`status`),
  ADD KEY `served_by` (`served_by`),
  ADD KEY `administered_by` (`administered_by`),
  ADD KEY `allocation_id` (`allocation_id`);

--
-- Indexes for table `enrolee`
--
ALTER TABLE `enrolee`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `feedbacks`
--
ALTER TABLE `feedbacks`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `fluid_chart`
--
ALTER TABLE `fluid_chart`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `group_service`
--
ALTER TABLE `group_service`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `hmo_registration_table`
--
ALTER TABLE `hmo_registration_table`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `hospitals`
--
ALTER TABLE `hospitals`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `hour_list`
--
ALTER TABLE `hour_list`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `hour_list_x`
--
ALTER TABLE `hour_list_x`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `insuranceTable`
--
ALTER TABLE `insuranceTable`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lab`
--
ALTER TABLE `lab`
  ADD PRIMARY KEY (`test_id`);

--
-- Indexes for table `labservices`
--
ALTER TABLE `labservices`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lab_inventory_table`
--
ALTER TABLE `lab_inventory_table`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lab_numbers`
--
ALTER TABLE `lab_numbers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lab_requisition`
--
ALTER TABLE `lab_requisition`
  ADD PRIMARY KEY (`facilityId`,`id`),
  ADD KEY `test` (`test`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `booking_no` (`booking_no`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `request_id` (`request_id`),
  ADD KEY `test_group` (`test_group`),
  ADD KEY `id` (`id`),
  ADD KEY `department` (`department`),
  ADD KEY `status` (`status`),
  ADD KEY `created_at` (`created_at`,`updated_at`,`sample_collected_at`,`analyzed_at`,`result_at`,`uploaded_at`,`reviewed_at`,`printed_at`),
  ADD KEY `created_by` (`created_by`),
  ADD KEY `sample_collected_by` (`sample_collected_by`,`analyzed_by`,`result_by`,`uploaded_by`,`reviewed_by`,`printed_by`),
  ADD KEY `receiptNo` (`receiptNo`),
  ADD KEY `print_type` (`print_type`),
  ADD KEY `department_code` (`department_code`),
  ADD KEY `client_account` (`client_account`),
  ADD KEY `client_type` (`client_type`),
  ADD KEY `patient_status` (`patient_status`),
  ADD KEY `patient_name` (`patient_name`);

--
-- Indexes for table `lab_setup`
--
ALTER TABLE `lab_setup`
  ADD PRIMARY KEY (`subhead`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `subhead` (`subhead`),
  ADD KEY `head` (`head`);

--
-- Indexes for table `lab_setup3`
--
ALTER TABLE `lab_setup3`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lab_setup4`
--
ALTER TABLE `lab_setup4`
  ADD PRIMARY KEY (`subhead`,`facilityId`);

--
-- Indexes for table `number_generator`
--
ALTER TABLE `number_generator`
  ADD PRIMARY KEY (`prefix`);

--
-- Indexes for table `nursing_note`
--
ALTER TABLE `nursing_note`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `nursing_report`
--
ALTER TABLE `nursing_report`
  ADD PRIMARY KEY (`id`),
  ADD KEY `created_at` (`created_at`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `created_by` (`created_by`);

--
-- Indexes for table `operationnotes`
--
ALTER TABLE `operationnotes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `patientId` (`patientId`),
  ADD KEY `facilityId` (`facilityId`);

--
-- Indexes for table `pagenavigation`
--
ALTER TABLE `pagenavigation`
  ADD PRIMARY KEY (`id`),
  ADD KEY `role` (`role`),
  ADD KEY `facilityId` (`facilityId`);

--
-- Indexes for table `patientfileinfo`
--
ALTER TABLE `patientfileinfo`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `patientfileno`
--
ALTER TABLE `patientfileno`
  ADD PRIMARY KEY (`id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `accountNo` (`accountNo`);

--
-- Indexes for table `patientrecords`
--
ALTER TABLE `patientrecords`
  ADD PRIMARY KEY (`facilityId`,`id`,`patient_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `seen_by` (`seen_by`,`date_seen`),
  ADD KEY `accountNo` (`accountNo`),
  ADD KEY `status` (`status`),
  ADD KEY `assigned_to` (`assigned_to`),
  ADD KEY `patientStatus` (`patientStatus`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `patient_history`
--
ALTER TABLE `patient_history`
  ADD PRIMARY KEY (`id`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `request_id` (`request_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `createdAt` (`createdAt`);

--
-- Indexes for table `pending_txn`
--
ALTER TABLE `pending_txn`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `pharm_branches`
--
ALTER TABLE `pharm_branches`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `pharm_store`
--
ALTER TABLE `pharm_store`
  ADD PRIMARY KEY (`item_code`,`facilityId`,`expiry_date`,`store`,`selling_price`),
  ADD UNIQUE KEY `item_id` (`item_id`);

--
-- Indexes for table `pharm_store_entries`
--
ALTER TABLE `pharm_store_entries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `transfer_from` (`transfer_from`,`transfer_to`,`branch_name`,`facilityId`),
  ADD KEY `inserted_time` (`inserted_time`);

--
-- Indexes for table `phima_applications`
--
ALTER TABLE `phima_applications`
  ADD PRIMARY KEY (`app_no`);

--
-- Indexes for table `phima_gen_staff_list`
--
ALTER TABLE `phima_gen_staff_list`
  ADD PRIMARY KEY (`staff_id`);

--
-- Indexes for table `prescriptionrequests`
--
ALTER TABLE `prescriptionrequests`
  ADD PRIMARY KEY (`drug_request_id`);

--
-- Indexes for table `previous_doc`
--
ALTER TABLE `previous_doc`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `referrals`
--
ALTER TABLE `referrals`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `report_templates`
--
ALTER TABLE `report_templates`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `sensitivity_list`
--
ALTER TABLE `sensitivity_list`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `sensitivity_results`
--
ALTER TABLE `sensitivity_results`
  ADD PRIMARY KEY (`antibiotic`,`labno`);

--
-- Indexes for table `services`
--
ALTER TABLE `services`
  ADD PRIMARY KEY (`service_id`);

--
-- Indexes for table `specimen`
--
ALTER TABLE `specimen`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `suppliersinfo`
--
ALTER TABLE `suppliersinfo`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `supplier_entries`
--
ALTER TABLE `supplier_entries`
  ADD PRIMARY KEY (`entry_id`);

--
-- Indexes for table `surgeons_list`
--
ALTER TABLE `surgeons_list`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `surgical_note`
--
ALTER TABLE `surgical_note`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `surgical_note_temp`
--
ALTER TABLE `surgical_note_temp`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `transactions`
--
ALTER TABLE `transactions`
  ADD PRIMARY KEY (`transaction_id`);

--
-- Indexes for table `transactionsetup`
--
ALTER TABLE `transactionsetup`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `transaction_entries`
--
ALTER TABLE `transaction_entries`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `transfers`
--
ALTER TABLE `transfers`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `User Departments`
--
ALTER TABLE `User Departments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`,`facilityId`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `createdAt` (`createdAt`),
  ADD KEY `id` (`id`);

--
-- Indexes for table `vital_signs`
--
ALTER TABLE `vital_signs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `patient_id` (`patient_id`),
  ADD KEY `facilityId` (`facilityId`),
  ADD KEY `created_at` (`created_at`),
  ADD KEY `created_by` (`created_by`);

--
-- Indexes for table `wholesale_transaction`
--
ALTER TABLE `wholesale_transaction`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `account_entries`
--
ALTER TABLE `account_entries`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=152;

--
-- AUTO_INCREMENT for table `account_kirs1`
--
ALTER TABLE `account_kirs1`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=788;

--
-- AUTO_INCREMENT for table `appointment`
--
ALTER TABLE `appointment`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `bedlist`
--
ALTER TABLE `bedlist`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `bed_allocation`
--
ALTER TABLE `bed_allocation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `billing_units`
--
ALTER TABLE `billing_units`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT for table `charges_fees`
--
ALTER TABLE `charges_fees`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=200;

--
-- AUTO_INCREMENT for table `charges_fees_temp`
--
ALTER TABLE `charges_fees_temp`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `comment`
--
ALTER TABLE `comment`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `diagnosis`
--
ALTER TABLE `diagnosis`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `dieselrefuel`
--
ALTER TABLE `dieselrefuel`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `dieselusage`
--
ALTER TABLE `dieselusage`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `discount`
--
ALTER TABLE `discount`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `druglist`
--
ALTER TABLE `druglist`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=329;

--
-- AUTO_INCREMENT for table `drug_frequency`
--
ALTER TABLE `drug_frequency`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `drug_frequency4`
--
ALTER TABLE `drug_frequency4`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- AUTO_INCREMENT for table `drug_frequency4_x`
--
ALTER TABLE `drug_frequency4_x`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `drug_frequency4_y`
--
ALTER TABLE `drug_frequency4_y`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=46;

--
-- AUTO_INCREMENT for table `drug_schedule`
--
ALTER TABLE `drug_schedule`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3171;

--
-- AUTO_INCREMENT for table `enrolee`
--
ALTER TABLE `enrolee`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `fluid_chart`
--
ALTER TABLE `fluid_chart`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `hmo_registration_table`
--
ALTER TABLE `hmo_registration_table`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `hour_list`
--
ALTER TABLE `hour_list`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- AUTO_INCREMENT for table `insuranceTable`
--
ALTER TABLE `insuranceTable`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `lab`
--
ALTER TABLE `lab`
  MODIFY `test_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=32;

--
-- AUTO_INCREMENT for table `labservices`
--
ALTER TABLE `labservices`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `lab_inventory_table`
--
ALTER TABLE `lab_inventory_table`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `lab_requisition`
--
ALTER TABLE `lab_requisition`
  MODIFY `id` int(100) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=92;

--
-- AUTO_INCREMENT for table `nursing_note`
--
ALTER TABLE `nursing_note`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `nursing_report`
--
ALTER TABLE `nursing_report`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `operationnotes`
--
ALTER TABLE `operationnotes`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2183;

--
-- AUTO_INCREMENT for table `patientfileno`
--
ALTER TABLE `patientfileno`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=48;

--
-- AUTO_INCREMENT for table `patientrecords`
--
ALTER TABLE `patientrecords`
  MODIFY `patient_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;

--
-- AUTO_INCREMENT for table `pending_txn`
--
ALTER TABLE `pending_txn`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `pharm_branches`
--
ALTER TABLE `pharm_branches`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `pharm_store_entries`
--
ALTER TABLE `pharm_store_entries`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=130;

--
-- AUTO_INCREMENT for table `previous_doc`
--
ALTER TABLE `previous_doc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `sensitivity_list`
--
ALTER TABLE `sensitivity_list`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
  MODIFY `service_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=56;

--
-- AUTO_INCREMENT for table `suppliersinfo`
--
ALTER TABLE `suppliersinfo`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `supplier_entries`
--
ALTER TABLE `supplier_entries`
  MODIFY `entry_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `surgeons_list`
--
ALTER TABLE `surgeons_list`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=232;

--
-- AUTO_INCREMENT for table `surgical_note`
--
ALTER TABLE `surgical_note`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
  MODIFY `transaction_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=101;

--
-- AUTO_INCREMENT for table `transfers`
--
ALTER TABLE `transfers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `User Departments`
--
ALTER TABLE `User Departments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=922;

--
-- AUTO_INCREMENT for table `vital_signs`
--
ALTER TABLE `vital_signs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;

