-- Table structure for table `drug_frequency`
--

CREATE TABLE `drug_frequency` (
  `id` int(11) NOT NULL,
  `description` varchar(20) NOT NULL,
  `time_start` time DEFAULT NULL,
  `interval_` int(11) DEFAULT NULL,
  `interval_uom` varchar(10) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `drug_frequency`
--

INSERT INTO `drug_frequency` (`id`, `description`, `time_start`, `interval_`, `interval_uom`) VALUES
(1, 'Once Daily', '10:00:00', 24, 'hour'),
(2, '12 Hourly', '06:00:00', 12, 'hour'),
(3, '8 hourly', '06:00:00', 8, 'hour'),
(4, '6 Hourly', '06:00:00', 6, 'hour'),
(5, '4 Hourly', '12:00:00', 4, 'hour'),
(6, 'STAT', NULL, 24, 'hour'),
(7, 'PRN', NULL, NULL, ''),
(8, 'Nocte', '20:00:00', 24, 'hour');

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

--
-- Table structure for table `drug_frequency4`
--

CREATE TABLE `drug_frequency4` (
  `id` int(11) NOT NULL,
  `description` varchar(20) CHARACTER SET latin1 NOT NULL,
  `time` varchar(20) DEFAULT NULL,
  `drug_time` int(11) NOT NULL,
  `no_times` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `drug_frequency4`
--

INSERT INTO `drug_frequency4` (`id`, `description`, `time`, `drug_time`, `no_times`) VALUES
(27, '12 Hourly', '06:00', 6, 12),
(28, '12 Hourly', '18:00', 18, 12),
(30, 'Once Daily', '10:00', 10, 24),
(31, '8 Hourly', '06:00', 6, 8),
(32, '8 Hourly', '14:00', 14, 8),
(33, '8 Hourly', '22:00', 22, 8),
(34, '6 Hourly', '06:00', 6, 6),
(35, '6 Hourly', '12:00', 12, 6),
(36, '6 Hourly', '18:00', 18, 6),
(37, '6 Hourly', '00:00', 0, 6),
(38, '4 Hourly', '00:00', 0, 4),
(39, '4 Hourly', '04:00', 4, 4),
(40, '4 Hourly', '08:00', 8, 4),
(41, '4 Hourly', '12:00', 12, 4),
(42, '4 Hourly', '16:00', 16, 4),
(43, '4 Hourly', '20:00', 20, 4),
(44, 'STAT', '08:00', 8, 24),
(46, 'PRN', '06:00', 6, 24),
(47, 'Nocte', '22:00', 22, 0);

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

--
-- Table structure for table `drug_frequency4_x`
--

CREATE TABLE `drug_frequency4_x` (
  `id` int(11) NOT NULL,
  `description` varchar(20) CHARACTER SET latin1 NOT NULL,
  `time` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `drug_frequency4_x`
--

INSERT INTO `drug_frequency4_x` (`id`, `description`, `time`) VALUES
(5, 'Once Daily', '10am'),
(6, '12 Hourly', '6am'),
(7, '12 Hourly', '6pm'),
(8, '8 Hourly', '6am'),
(9, '8 Hourly', '2pm'),
(10, '8 Hourly', '6pm'),
(11, '6 Hourly', '6am'),
(12, '6 Hourly', '12pm'),
(13, '6 Hourly', '6pm'),
(14, '6 Hourly', '12am'),
(15, '4 Hourly', '12pm'),
(16, '4 Hourly', '4pm'),
(17, '4 Hourly', '8pm'),
(18, '4 Hourly', '12am'),
(19, '4 Hourly', '4am'),
(20, '4 Hourly', '8am'),
(21, 'STAT', '8am'),
(22, 'Nocte', '8pm');

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

--
-- Table structure for table `drug_frequency4_y`
--

CREATE TABLE `drug_frequency4_y` (
  `id` int(11) NOT NULL,
  `description` varchar(20) CHARACTER SET latin1 NOT NULL,
  `time` varchar(20) DEFAULT NULL,
  `drug_time` int(11) NOT NULL,
  `no_times` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `drug_frequency4_y`
--

INSERT INTO `drug_frequency4_y` (`id`, `description`, `time`, `drug_time`, `no_times`) VALUES
(27, '12 Hourly', '06:00', 6, 0),
(28, '12 Hourly', '18:00', 18, 0),
(30, 'Once Daily', '10:00', 10, 0),
(31, '8 Hourly', '06:00', 6, 0),
(32, '8 Hourly', '14:00', 14, 0),
(33, '8 Hourly', '22:00', 22, 0),
(34, '6 Hourly', '06:00', 6, 0),
(35, '6 Hourly', '12:00', 12, 0),
(36, '6 Hourly', '18:00', 18, 0),
(37, '6 Hourly', '00:00', 0, 0),
(38, '4 Hourly', '00:00', 0, 0),
(39, '4 Hourly', '04:00', 4, 0),
(40, '4 Hourly', '08:00', 8, 0),
(41, '4 Hourly', '12:00', 12, 0),
(42, '4 Hourly', '16:00', 16, 0),
(43, '4 Hourly', '20:00', 20, 0),
(44, 'STAT', '08:00', 8, 0),
(45, 'Nocte', '22:00', 22, 0);

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

--
-- Table structure for table `drug_schedule`
--

CREATE TABLE `drug_schedule` (
  `id` int(11) NOT NULL,
  `allocation_id` varchar(50) DEFAULT NULL,
  `patient_id` varchar(50) NOT NULL,
  `prescription_id` varchar(50) NOT NULL,
  `drug_name` varchar(50) NOT NULL,
  `time_stamp` timestamp NULL DEFAULT NULL,
  `status` varchar(10) NOT NULL DEFAULT 'scheduled',
  `administered_by` varchar(50) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `served_by` varchar(50) DEFAULT NULL,
  `stopped_by` varchar(50) NOT NULL,
  `reason` varchar(500) DEFAULT NULL,
  `frequency` varchar(50) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `drug_schedule`
--

INSERT INTO `drug_schedule` (`id`, `allocation_id`, `patient_id`, `prescription_id`, `drug_name`, `time_stamp`, `status`, `administered_by`, `facilityId`, `served_by`, `stopped_by`, `reason`, `frequency`) VALUES
(1, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-10 18:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(2, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-11 06:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(3, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-11 18:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(4, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-12 06:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(5, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-12 18:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(6, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-13 06:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(7, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-13 18:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(8, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-14 06:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(9, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-14 18:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL),
(10, NULL, '6-1', '81a7b8b5-7b0a-4076-883f-3f2abbbc359b', 'Tabs Dalcin C', '2022-08-15 06:00:00', 'scheduled', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', NULL, NULL);

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

--
-- Stand-in structure for view `drug_schedule_view`
-- (See below for the actual view)
--
CREATE TABLE `drug_schedule_view` (
`drug` varchar(40)
,`dosage` varchar(40)
,`patient_id` varchar(11)
,`created_at` datetime
,`id` int(11)
,`prescription_id` varchar(50)
,`prescribed_by` varchar(50)
,`duration` varchar(20)
,`period` varchar(20)
,`frequency` varchar(20)
,`route` varchar(20)
,`time_stamp` timestamp
,`administered_by` varchar(50)
,`served_by` varchar(50)
,`reason` varchar(500)
,`status` varchar(10)
,`facilityId` varchar(50)
);

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

--
-- Stand-in structure for view `expenditure_view`
-- (See below for the actual view)
--
CREATE TABLE `expenditure_view` (
`subhead` varchar(50)
,`description` varchar(225)
,`modeOfPayment` varchar(15)
,`acct` varchar(100)
,`createdAt` datetime
,`amount` int(50)
,`facilityId` varchar(50)
,`client_acct` varchar(200)
,`enteredBy` varchar(20)
);

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

--
-- Table structure for table `feedbacks`
--

CREATE TABLE `feedbacks` (
  `id` char(36) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL,
  `userId` varchar(255) DEFAULT NULL,
  `message` varchar(255) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `feedbacks`
--

INSERT INTO `feedbacks` (`id`, `userId`, `message`, `createdAt`, `updatedAt`) VALUES
('c0394335-c2a3-4cde-82a9-1fefcb8bf9bd', 'zaks', 'please come an see something  on micro biology', '2021-03-03 10:05:43', '2021-03-03 10:05:43');

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

--
-- Table structure for table `fluid_chart`
--

CREATE TABLE `fluid_chart` (
  `id` int(11) NOT NULL,
  `patient_id` varchar(50) DEFAULT NULL,
  `input_volume` varchar(50) DEFAULT NULL,
  `input_route` varchar(50) DEFAULT NULL,
  `input_type` varchar(50) DEFAULT NULL,
  `output_volume` varchar(50) DEFAULT NULL,
  `output_route` varchar(60) DEFAULT NULL,
  `output_type` varchar(60) DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `fluid_chart`
--

INSERT INTO `fluid_chart` (`id`, `patient_id`, `input_volume`, `input_route`, `input_type`, `output_volume`, `output_route`, `output_type`, `created_at`, `created_by`) VALUES
(1, '965-1', '700mls ', NULL, 'fortified pap x2 ', '1200mls', '', '', '2022-06-14 01:54:46', 'Hafsat'),
(2, '495-1', '500mls ', NULL, 'whole blood set up at 3pm ', '', '', '', '2022-06-24 03:39:37', 'Nkem'),
(3, '495-1', '100mls ', NULL, 'fortified pap x2 ', '', '', '', '2022-06-24 03:41:05', 'Nkem'),
(4, '7016-1', '500mls ', NULL, 'n/s ', '', '', '', '2022-06-24 03:41:50', 'Nkem'),
(5, '7089-1', '1L', NULL, 'N/S', '', '', '', '2022-06-27 04:40:31', 'hali2011'),
(6, '7096-1', '1000mls', NULL, 'IVF N/S', '', '', '', '2022-06-27 06:10:09', 'Naja\'atu'),
(7, '7147-1', '500', NULL, 'blood', '', '', '', '2022-06-28 04:55:55', 'Naja\'atu'),
(8, '2899-1', '500mls', NULL, 'n/s', '', '', '', '2022-07-06 01:05:04', 'Aishatu'),
(9, '5182-1', '1000MLS ', NULL, 'N/S &2,5MLS B.CO', 'APPROX 800MLS ', '', '', '2022-07-07 03:02:20', 'Toba'),
(10, '5474-3', '1500', NULL, 'N/S', '', '', '', '2022-07-09 07:07:26', 'Naja\'atu'),
(11, '965-1', '500mls', NULL, 'R/L  500MLS 8 HRLY ', '', '', '', '2022-07-11 01:12:48', 'Toba'),
(12, '5574-2', '2500', NULL, 'N/S', '', '', '', '2022-07-12 05:06:53', 'Naja\'atu'),
(13, '965-1', '1000mls ', NULL, 'N/S', '', '', '', '2022-07-13 01:35:46', 'Safiyya'),
(14, '965-1', '100mls ', NULL, 'ns ', '', '', '', '2022-07-13 03:52:54', 'Naja\'atu'),
(15, '965-1', '400mls ', NULL, 'custard ', '', '', '', '2022-07-13 03:53:29', 'Naja\'atu'),
(16, '2423-1', '500', NULL, 'D/S', '', '', '', '2022-07-13 06:29:36', 'Naja\'atu'),
(17, '965-1', '500MLS', NULL, 'N/S', '800', 'Urine', 'URINE', '2022-07-14 07:07:02', 'Naja\'atu'),
(18, '2423-1', '', NULL, '', '400mls ', 'Tube/Vomit', 'chest tube bottle ', '2022-07-14 02:12:15', 'Safiyya'),
(19, '3371-1', '500mls ', NULL, 'R/LACTATE 12HRLY ', '', '', '', '2022-07-14 02:22:30', 'Safiyya'),
(20, '5022-2', '500mls', NULL, 'N/S', '450', 'Urine', 'Clear', '2022-07-19 06:27:17', 'Bala'),
(21, '5022-2', '', NULL, '', '300', 'Urine', 'Clear', '2022-07-19 08:55:57', 'Bala'),
(22, '5022-2', '200mls', NULL, 'Pap', '300', 'Urine', 'Clear', '2022-07-20 04:17:48', 'Bala'),
(23, '5022-2', '500mls', NULL, 'N/S', '200mls', 'Urine', 'Clear', '2022-07-20 07:57:32', 'Bala');

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

--
-- Table structure for table `hospitals`
--

CREATE TABLE `hospitals` (
  `id` varchar(50) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `code` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `admin` varchar(225) DEFAULT NULL,
  `useLetterHead` varchar(10) DEFAULT NULL,
  `printTitle` varchar(100) DEFAULT NULL,
  `printSubtitle1` varchar(200) DEFAULT NULL,
  `printSubtitle2` varchar(200) DEFAULT NULL,
  `modules` varchar(100) DEFAULT NULL,
  `features` varchar(500) DEFAULT NULL,
  `createdAt` datetime NOT NULL,
  `updatedAt` datetime NOT NULL,
  `logo` varchar(200) DEFAULT NULL,
  `type` varchar(20) DEFAULT NULL,
  `hasStore` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `hospitals`
--

INSERT INTO `hospitals` (`id`, `name`, `code`, `address`, `admin`, `useLetterHead`, `printTitle`, `printSubtitle1`, `printSubtitle2`, `modules`, `features`, `createdAt`, `updatedAt`, `logo`, `type`, `hasStore`) VALUES
('07c4fc06-1329-4b59-99f6-c8e135cd5219', 'Pharmacy', '', 'Kawo', 'tttt2', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-19 15:16:35', '2020-09-19 15:16:35', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('121bb692-9a44-472f-b396-b68ebf798b30', 'Brainstorm IT Solutions', '', 'No 3. Sabo Bakin Zuwo Road, Kano', 'bits', NULL, NULL, NULL, NULL, NULL, NULL, '2020-11-24 11:39:13', '2020-11-24 11:39:13', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('18ed9422-5a43-4ff6-8e76-1f7af2b8e977', 'Demo Pharmacy', 'DPH', 'No. 3 Sabo Bakin Zuwo Road, Kano', 'demo_pharm', NULL, NULL, NULL, NULL, NULL, NULL, '2020-04-05 18:46:05', '2020-04-05 18:46:05', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('1aba07df-882a-460f-8aa2-6a162807f0cd', 'Test Pharm', '', 'Kawo', 'test2', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-14 04:59:09', '2020-09-14 04:59:09', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'PSC Specialist Hospital Limited', 'PSC', '19 Lamido Crescent, off Tarauni, Kano', 'abdurrahman', 'no', 'PSC SPECIALIST HOSPITAL LIMITED', '19 Lamido Crescent, off Tarauni, Kano', NULL, NULL, NULL, '2020-01-06 05:23:50', '2020-01-06 05:23:50', 'https://res.cloudinary.com/emaitee/image/upload/v1583943941/pscprime_logo.png', 'hospital', 0),
('1d401e9f-0cb3-494d-98a5-901e0886a5c8', 'Remedix Pharmacy Ltd', '', 'Kano', 'remedix', NULL, NULL, NULL, NULL, NULL, NULL, '2020-08-23 04:56:17', '2020-08-23 04:56:17', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', NULL),
('2228e653-9a90-4453-9566-785db75c15c9', 'Bits-HIS Specialist', 'BIT', 'No. 3 Sabo Bakin Zuwo Road Beside Ministry of special Dutie', 'emaitee', NULL, NULL, NULL, NULL, NULL, NULL, '2020-01-06 07:57:39', '2020-01-06 07:57:39', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'hospital', 0),
('26161120-f7b9-48e6-b4eb-5e9dc27a02b9', 'Whatever Pharmacu', '', 'Kawo', 'test2020', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 17:13:58', '2020-09-22 17:13:58', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('3eb31e94-6e70-4cbc-97d4-1c476983fa8d', 'Admin Pharmacy', '', 'Kano', 'testest', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-14 19:15:11', '2020-09-14 19:15:11', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('422cc2dd-861e-4ec5-9e4b-412ca033c8fe', 'RISCAN', '', 'Kano', 'riscan-admin', NULL, NULL, NULL, NULL, NULL, NULL, '2020-12-10 15:30:49', '2020-12-10 15:30:49', 'https://res.cloudinary.com/emaitee/image/upload/v1607617793/logo192.png', 'diagnosticCenter', 1),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', 'My Pharmacy', 'MPH', 'Kano', 'pharm_m', NULL, NULL, NULL, NULL, NULL, NULL, '2020-07-15 09:33:36', '2020-07-15 09:33:36', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('966a89f6-05d8-4564-b319-2f8863821e75', 'OPTIMUM DIAGNOSTICS AND CLINICAL SERVICES LIMITED', 'ODC', 'Zaria Road, Kano', 'admin', NULL, NULL, NULL, NULL, NULL, NULL, '2020-08-11 11:51:40', '2020-08-11 11:51:40', 'https://res.cloudinary.com/emaitee/image/upload/v1606851273/mylikita/logos/optimum-logo.jpg', 'diagnosticCenter', 0),
('a2cc3c63-2dd3-4e64-aed4-4f4af98d17ca', 'Test Me', '', 'nigeria', 'testme', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-14 19:08:23', '2020-09-14 19:08:23', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('a60711d5-192b-4226-8b20-576246f12499', 'Test3', '', 'Kawo', 'testmysales', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-22 17:07:46', '2020-09-22 17:07:46', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', 0),
('b8823207-58e1-438c-bb62-f3c6c16d8d3d', 'LUDPHA BIO TECH', 'LUD', 'Sadauna Crescent, Kano', 'isahboy01', NULL, NULL, NULL, NULL, NULL, NULL, '2020-03-13 20:00:03', '2020-03-13 20:00:03', 'https://res.cloudinary.com/emaitee/image/upload/v1584268238/ludpha_logo.png', 'pharmacy', 0),
('d7dd5507-d46f-4c02-841c-f9d42476c74c', 'mylike', 'myl', 'standard st', 'bernaddoke', NULL, NULL, NULL, NULL, NULL, NULL, '2021-04-17 14:48:30', '2021-04-17 14:48:30', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'Hospital', 0),
('d8d7a732-1832-4e25-9a98-e68ddc3f0b26', 'BINADAM OIL MILLS', '', 'Kano', 'admin-user', NULL, NULL, NULL, NULL, NULL, NULL, '2020-11-02 13:52:36', '2020-11-02 13:52:36', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'factory', 0),
('db18f81d-8238-4f3a-a0c5-8d12ed173767', 'Test Facility', 'TFT', 'Whatsapp', 'test_admin', NULL, NULL, NULL, NULL, NULL, NULL, '2020-09-01 07:46:36', '2020-09-01 07:46:36', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'pharmacy', NULL),
('ee83be9e-5b9b-412f-81e7-95b9417c2782', 'Demo', '', '123 Kano road.', 'demo-user', NULL, NULL, NULL, NULL, NULL, NULL, '2020-11-01 05:06:33', '2020-11-01 05:06:33', 'https://res.cloudinary.com/emaitee/image/upload/v1583943949/bits_his_logo.png', 'hospital', 0);

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

--
-- Table structure for table `hour_list`
--

CREATE TABLE `hour_list` (
  `id` int(11) NOT NULL,
  `hour` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hour_list`
--

INSERT INTO `hour_list` (`id`, `hour`) VALUES
(1, '00:00'),
(2, '01:00'),
(3, '02:00'),
(4, '03:00'),
(5, '04:00'),
(6, '05:00'),
(7, '06:00'),
(8, '07:00'),
(9, '08:00'),
(10, '09:00'),
(11, '10:00'),
(12, '11:00'),
(13, '12:00'),
(14, '13:00'),
(15, '14:00'),
(16, '15:00'),
(17, '16:00'),
(18, '17:00'),
(19, '18:00'),
(20, '19:00'),
(21, '20:00'),
(22, '21:00'),
(23, '22:00'),
(24, '23:00');

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

--
-- Table structure for table `hour_list_x`
--

CREATE TABLE `hour_list_x` (
  `id` int(11) NOT NULL,
  `hour` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hour_list_x`
--

INSERT INTO `hour_list_x` (`id`, `hour`) VALUES
(1, '12am'),
(2, '1am'),
(3, '2am'),
(4, '3am'),
(5, '4am'),
(6, '5am'),
(7, '6am'),
(8, '7am'),
(9, '8am'),
(10, '9am'),
(11, '10am'),
(12, '11am'),
(13, '12pm'),
(14, '1pm'),
(15, '2pm'),
(16, '3pm'),
(17, '4pm'),
(18, '5pm'),
(19, '6pm'),
(20, '7pm'),
(21, '8pm'),
(22, '9pm'),
(23, '10pm'),
(24, '11pm');

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

--
-- Stand-in structure for view `in_patient_list`
-- (See below for the actual view)
--
CREATE TABLE `in_patient_list` (
`sort_index` int(11)
,`bed_id` int(11)
,`allocation_id` int(11)
,`allocation_status` varchar(20)
,`allocated` timestamp
,`allocated_by` varchar(50)
,`patient_name` varchar(101)
,`patient_id` varchar(50)
,`accountNo` int(7)
,`name` varchar(100)
,`class_type` varchar(50)
,`account` varchar(10)
,`price` int(11)
,`facilityId` varchar(50)
);

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

--
-- Table structure for table `lab`
--

CREATE TABLE `lab` (
  `test_id` int(10) NOT NULL,
  `date` datetime DEFAULT current_timestamp(),
  `patient_id` varchar(20) DEFAULT NULL,
  `test` varchar(100) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `requested_by` varchar(20) DEFAULT NULL,
  `sample` varchar(100) DEFAULT NULL,
  `result` varchar(50) DEFAULT NULL,
  `appearance` varchar(50) DEFAULT NULL,
  `microscopy` varchar(50) DEFAULT NULL,
  `culture` varchar(50) DEFAULT NULL,
  `antibiotic` varchar(50) DEFAULT NULL,
  `comment` varchar(200) DEFAULT NULL,
  `facilityId` varchar(50) DEFAULT NULL,
  `updated_at` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lab`
--

INSERT INTO `lab` (`test_id`, `date`, `patient_id`, `test`, `status`, `requested_by`, `sample`, `result`, `appearance`, `microscopy`, `culture`, `antibiotic`, `comment`, `facilityId`, `updated_at`) VALUES
(1, '2020-01-02 00:00:00', '329-2', 'followUp', 'request', 'x-ray', 'fore-arm', 'positive', 'yeah', 'undefined', 'undefined', 'undefined', '12/12/2012', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(2, '2020-01-02 00:00:00', '329-1', 'x-ray', 'request', 'aminu', 'leg', 'hhhhjj', 'normal', 'nothing spectacular', '', 'safe', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(3, '2020-01-02 00:00:00', '329-2', 'x-ray', 'request', 'aminu', 'leg', 'jjjjjj', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(4, '2020-01-02 00:00:00', '329-2', 'x-ray', 'request', 'aminu', 'leg', 'jjjjjj', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(5, '2020-01-02 00:00:00', '329-1', 'x-ray', 'request', 'aminu', 'leg', 'hhhhjj', 'seem defect', '', 'yeah', 'nothing', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(6, '2020-01-02 00:00:00', '329-1', 'gamma', 'request', 'emaitee', 'leg', 'yyyyyy', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(7, '2020-01-02 00:00:00', '329-1', 'beta', 'request', 'teetee', 'hand', 'hhhhjj', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(8, '2020-01-02 00:00:00', '3333-1', 'red', 'request', 'uack', 'blood', 'hhhhjj', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(9, '2020-01-02 00:00:00', '3291-2', 'y-ray', 'request', 'tech', 'ggg', 'hhhhjj', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(10, '2020-01-02 00:00:00', '329-2', 'x-ray', 'request', 'aminu', 'leg', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(11, '2020-01-02 00:00:00', '3608-1', 'htf', 'request', 'aminu', 'rese', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(12, '2020-01-02 00:00:00', '329-2', 'urine test', 'request', 'aminu', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(13, '2020-01-02 00:00:00', '329-2', 'blood test', 'request', 'aminu', 'blood', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(14, '2020-01-02 00:00:00', '329-2', 'urine test', 'request', 'aminu', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(15, '2020-01-02 00:00:00', '3233-1', 'blood test', 'request', 'aminu', 'blood', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(16, '2020-01-02 00:00:00', '329-2', 'blood test', 'request', 'aminu', 'blood', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(17, '2020-01-02 00:00:00', '329-2', 'x-ray', 'request', 'aminu', 'leg', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(18, '2020-01-02 00:00:00', '329-1', 'urine test', 'request', 'aminu', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(19, '2020-01-02 00:00:00', '329-2', 'urea test', 'request', 'aminu', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(20, '2020-01-02 00:00:00', '3608-1', 'urea', 'request', 'Aisha', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(21, '2020-01-02 00:00:00', '329-2', 'x-ray', 'request', 'Aisha', 'arm', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(22, '2020-01-02 00:00:00', '3608-1', 'urea', 'request', 'Aisha', 'urine', '', '', '', '', '', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(23, '2020-01-06 17:24:08', '329-2', 'test', 'request', 'doctor', 'test sample', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(24, '2020-01-06 19:16:11', '3608-1', 'testing microphone', 'request', 'doctor', 'yea yeah', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(25, '2020-01-06 19:24:56', '3608-1', 'yaya yepa', 'request', 'doctor', 'another', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(26, '2020-01-07 07:36:45', '3575-1', 'afsd', 'request', 'doctor', 'asdf', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(27, '2020-01-13 15:17:15', '3588-1', 'pcv', 'request', 'abdurrahman', 'blood', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(28, '2020-01-13 15:17:15', '3588-1', 'u/e/cr', 'request', 'abdurrahman', 'blood', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(29, '2020-02-22 11:47:34', '3584-1', 'L;K\'L', 'request', 'doctor', ';L[\\', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(30, '2020-03-14 14:31:31', '3742-1', 'fbc', 'request', 'abdurrahman', 'blood', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL),
(31, '2020-03-14 14:31:31', '3742-1', 'uecr', 'request', 'abdurrahman', 'blood', NULL, NULL, NULL, NULL, NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL);

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

--
-- Table structure for table `labservices`
--

CREATE TABLE `labservices` (
  `labhead` varchar(50) DEFAULT NULL,
  `labsubhead` varchar(50) DEFAULT NULL,
  `test` varchar(50) DEFAULT NULL,
  `unit` varchar(50) DEFAULT NULL,
  `value` varchar(50) DEFAULT NULL,
  `test_range` varchar(50) DEFAULT NULL,
  `id` int(20) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `createdAt` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `labservices`
--

INSERT INTO `labservices` (`labhead`, `labsubhead`, `test`, `unit`, `value`, `test_range`, `id`, `facilityId`, `createdAt`) VALUES
('max', 'add', NULL, 'blue', 'dnffj', '12333', 1, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 05:21:27'),
('maxss', 'add', 'dnffj', 'blue', NULL, '12333', 2, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 05:21:27'),
('max', 'add', 'dnffj', 'blue', NULL, '12333', 3, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 05:21:27'),
('max', 'add', 'dnffj', 'blue', NULL, '12333', 4, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 05:21:27'),
('max', 'add', 'dnffj', 'blue', NULL, '12333', 5, '22', '2020-01-23 12:39:37'),
('ssssddddd', 'weeew', 'uby', 'sd', NULL, '324567', 6, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 13:07:42'),
('prime', 'prime lab', 'emathology', 'mm/g', NULL, '12-20', 7, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 13:13:33'),
('ssssddddd', 'weeew', 'uby', 'eee', NULL, '324567', 8, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 14:15:06'),
('ssssddddd', 'weeew', 'uby', 'sd', NULL, '324567', 9, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-01-23 14:38:04'),
('ssssddddd', 'weeew', 'wertyu', 'eee', NULL, '324567', 10, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-17 10:49:14'),
('ssssddddd', 'weeew', 'uby', 'hjdskjsdjjkds', NULL, '12-20', 11, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-17 11:15:56'),
('prime', 'prime_lab', 'urine_test', '34', NULL, '324567', 12, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-17 17:22:49'),
('prime', 'prime_lab', 'urine_test', '34', NULL, '324567', 13, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-17 17:23:35'),
('ssssddddd', 'ghhjskjdjkd', '', 'sd', NULL, '', 14, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-19 15:43:16'),
('ssssddddd', 'ghhjskjdjkd', '', 'sd', NULL, '', 15, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-19 15:43:38'),
('ssssddddd', 'ghhjskjdjkd', '', 'sd', NULL, '', 16, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-19 15:44:53'),
('ssssddddd', 'ghhjskjdjkd', 'uby', 'sd', NULL, '324567', 17, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-19 15:45:04'),
('fahad', 'ado', 'urine', 'sd', NULL, '12-20', 18, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-02-26 15:45:07');

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

--
-- Table structure for table `lab_codes`
--

CREATE TABLE `lab_codes` (
  `lab_code_number` int(10) NOT NULL,
  `code_initial` int(5) NOT NULL,
  `lab_year` int(5) NOT NULL,
  `lab_id` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `lab_codes`
--

INSERT INTO `lab_codes` (`lab_code_number`, `code_initial`, `lab_year`, `lab_id`) VALUES
(2000, 2, 21, 0),
(3000, 3, 21, 0),
(4000, 4, 21, 0),
(5000, 5, 21, 0);

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

--
-- Stand-in structure for view `lab_info`
-- (See below for the actual view)
--
CREATE TABLE `lab_info` (
`sort_index` int(11)
,`sn` int(11)
,`created_at` timestamp
,`facilityId` varchar(50)
,`id` int(100)
,`code` varchar(50)
,`booking_no` varchar(100)
,`request_id` varchar(50)
,`patient_id` varchar(50)
,`name` varchar(101)
,`DOB` varchar(20)
,`Gender` varchar(10)
,`qms_dept_id` int(11)
,`head` varchar(100)
,`subhead` varchar(100)
,`unit` varchar(100)
,`range_from` varchar(100)
,`range_to` varchar(100)
,`price` int(100)
,`old_price` int(100)
,`modeOfPayment` varchar(30)
,`account` varchar(50)
,`account_name` varchar(100)
,`payable_head` varchar(50)
,`payable_head_name` varchar(50)
,`receivable_head` varchar(50)
,`receivable_head_name` varchar(50)
,`commission_type` varchar(50)
,`percentage` int(11)
,`description` varchar(200)
,`test` varchar(100)
,`test_group` varchar(50)
,`specimen` varchar(100)
,`noOfLabels` int(11)
,`label_type` varchar(20)
,`label_name` varchar(100)
,`department` varchar(50)
,`unit_name` varchar(50)
,`unit_code` varchar(50)
,`result` varchar(200)
,`h_value` varchar(20)
,`o_value` varchar(20)
,`appearance` varchar(200)
,`serology` varchar(200)
,`culture_yielded` varchar(100)
,`sensitivity` varchar(200)
,`resistivity` varchar(200)
,`intermediaryTo` varchar(200)
,`lab_code` int(11)
,`selectable` varchar(20)
,`status` varchar(20)
,`print_type` varchar(20)
,`report_type` varchar(20)
,`collect_sample` varchar(20)
,`to_be_reported` varchar(20)
,`to_be_analyzed` varchar(20)
,`created_by` varchar(50)
,`sample_collected_by` varchar(50)
,`sample_collected_at` datetime
,`analyzed_by` varchar(50)
,`analyzed_at` datetime
,`result_by` varchar(50)
,`result_at` datetime
,`reviewed_by` varchar(50)
,`reviewed_at` datetime
,`printed_by` varchar(50)
,`printed_at` datetime
,`n_unit` varchar(20)
,`n_range_from` varchar(20)
,`n_range_to` varchar(20)
,`receiptNo` varchar(50)
,`sop_instance_id` varchar(200)
,`uploaded_at` timestamp
,`uploaded_by` varchar(100)
,`payment_status` varchar(20)
,`approval_status` varchar(50)
,`report_fee_status` varchar(20)
,`department_head` varchar(30)
,`group_head` varchar(20)
,`patient_status` varchar(20)
,`printable` tinyint(1)
);

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

--
-- Stand-in structure for view `lab_info_2`
-- (See below for the actual view)
--
CREATE TABLE `lab_info_2` (
`sn` int(11)
,`created_at` timestamp
,`facilityId` varchar(50)
,`id` int(100)
,`code` varchar(50)
,`booking_no` varchar(100)
,`request_id` varchar(50)
,`patient_id` varchar(50)
,`name` varchar(101)
,`DOB` varchar(20)
,`Gender` varchar(10)
,`qms_dept_id` int(11)
,`head` varchar(100)
,`subhead` varchar(100)
,`unit` varchar(100)
,`range_from` varchar(100)
,`range_to` varchar(100)
,`price` int(100)
,`old_price` int(100)
,`modeOfPayment` varchar(30)
,`account` varchar(50)
,`account_name` varchar(100)
,`payable_head` varchar(50)
,`payable_head_name` varchar(50)
,`receivable_head` varchar(50)
,`receivable_head_name` varchar(50)
,`commission_type` varchar(50)
,`percentage` int(11)
,`description` varchar(200)
,`test` varchar(100)
,`test_group` varchar(50)
,`specimen` varchar(100)
,`noOfLabels` int(11)
,`label_type` varchar(20)
,`label_name` varchar(100)
,`department` varchar(50)
,`unit_name` varchar(50)
,`unit_code` varchar(50)
,`result` varchar(200)
,`h_value` varchar(20)
,`o_value` varchar(20)
,`appearance` varchar(200)
,`serology` varchar(200)
,`culture_yielded` varchar(100)
,`sensitivity` varchar(200)
,`resistivity` varchar(200)
,`intermediaryTo` varchar(200)
,`lab_code` int(11)
,`selectable` varchar(20)
,`status` varchar(20)
,`print_type` varchar(20)
,`report_type` varchar(20)
,`collect_sample` varchar(20)
,`to_be_reported` varchar(20)
,`to_be_analyzed` varchar(20)
,`created_by` varchar(50)
,`sample_collected_by` varchar(50)
,`sample_collected_at` datetime
,`analyzed_by` varchar(50)
,`analyzed_at` datetime
,`result_by` varchar(50)
,`result_at` datetime
,`reviewed_by` varchar(50)
,`reviewed_at` datetime
,`printed_by` varchar(50)
,`printed_at` datetime
,`n_unit` varchar(20)
,`n_range_from` varchar(20)
,`n_range_to` varchar(20)
,`receiptNo` varchar(50)
,`sop_instance_id` varchar(200)
,`uploaded_at` timestamp
,`uploaded_by` varchar(100)
,`payment_status` varchar(20)
,`approval_status` varchar(50)
,`report_fee_status` varchar(20)
,`department_head` varchar(30)
,`group_head` varchar(20)
,`patient_status` varchar(20)
);

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

--
-- Table structure for table `lab_inventory_table`
--

CREATE TABLE `lab_inventory_table` (
  `id` int(11) NOT NULL,
  `batch_code` varchar(50) NOT NULL,
  `item_name` varchar(100) NOT NULL,
  `supplier` varchar(100) NOT NULL,
  `price` varchar(100) NOT NULL,
  `quantity` varchar(100) NOT NULL,
  `invoice_no` varchar(100) NOT NULL,
  `re_order_level` varchar(100) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `lab_inventory_table`
--

INSERT INTO `lab_inventory_table` (`id`, `batch_code`, `item_name`, `supplier`, `price`, `quantity`, `invoice_no`, `re_order_level`, `facilityId`, `created_at`, `created_by`) VALUES
(0, '1', 'Reagent', 'undefined', '100', '20', '', '10', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-10-09 13:18:16', 'admin');

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

--
-- Table structure for table `lab_numbers`
--

CREATE TABLE `lab_numbers` (
  `id` int(11) NOT NULL,
  `patient_acc_no` int(11) NOT NULL,
  `patient_id` varchar(50) NOT NULL,
  `lab_no` varchar(50) NOT NULL,
  `history` varchar(2000) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `facilityId` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Stand-in structure for view `lab_process`
-- (See below for the actual view)
--
CREATE TABLE `lab_process` (
`sn` int(11)
,`created_at` timestamp
,`facilityId` varchar(50)
,`id` int(100)
,`qms_dept_id` int(11)
,`code` varchar(50)
,`booking_no` varchar(100)
,`request_id` varchar(50)
,`patient_id` varchar(50)
,`name` varchar(101)
,`DOB` varchar(20)
,`Gender` varchar(10)
,`head` varchar(100)
,`subhead` varchar(100)
,`unit` varchar(100)
,`range_from` varchar(100)
,`range_to` varchar(100)
,`price` int(100)
,`old_price` int(100)
,`commission_type` varchar(50)
,`percentage` int(11)
,`description` varchar(200)
,`specimen` varchar(100)
,`noOfLabels` int(11)
,`label_type` varchar(20)
,`label_name` varchar(100)
,`group_head` varchar(200)
,`department` varchar(50)
,`department_head` varchar(200)
,`result` varchar(200)
,`h_value` varchar(20)
,`o_value` varchar(20)
,`appearance` varchar(200)
,`serology` varchar(200)
,`culture_yielded` varchar(100)
,`sensitivity` varchar(200)
,`resistivity` varchar(200)
,`intermediaryTo` varchar(200)
,`lab_code` int(11)
,`selectable` varchar(20)
,`status` varchar(20)
,`unit_code` varchar(50)
,`unit_name` varchar(50)
,`print_type` varchar(20)
,`report_type` varchar(20)
,`collect_sample` varchar(20)
,`to_be_reported` varchar(20)
,`to_be_analyzed` varchar(20)
,`created_by` varchar(50)
,`sample_collected_by` varchar(50)
,`sample_collected_at` datetime
,`analyzed_by` varchar(50)
,`analyzed_at` datetime
,`result_by` varchar(50)
,`result_at` datetime
,`reviewed_by` varchar(50)
,`reviewed_at` datetime
,`printed_by` varchar(50)
,`printed_at` datetime
,`n_unit` varchar(20)
,`n_range_from` varchar(20)
,`n_range_to` varchar(20)
,`receiptNo` varchar(50)
,`sop_instance_id` varchar(200)
,`uploaded_at` timestamp
,`uploaded_by` varchar(100)
,`payment_status` varchar(20)
,`approval_status` varchar(50)
,`patient_status` varchar(20)
,`test` varchar(100)
,`test_group` varchar(50)
);

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

--
-- Table structure for table `lab_process_selected`
--

CREATE TABLE `lab_process_selected` (
  `id` int(100) NOT NULL DEFAULT 0,
  `subhead` varchar(100) NOT NULL,
  `head` varchar(100) NOT NULL,
  `department_head` varchar(200) NOT NULL,
  `group_head` varchar(200) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Stand-in structure for view `lab_request2`
-- (See below for the actual view)
--
CREATE TABLE `lab_request2` (
`sn` int(11)
,`created_at` timestamp
,`facilityId` varchar(50)
,`id` int(100)
,`qms_dept_id` int(11)
,`code` varchar(50)
,`name` varchar(101)
,`DOB` varchar(20)
,`Gender` varchar(10)
,`booking_no` varchar(100)
,`request_id` varchar(50)
,`patient_id` varchar(50)
,`head` varchar(100)
,`subhead` varchar(100)
,`unit` varchar(100)
,`range_from` varchar(100)
,`range_to` varchar(100)
,`price` int(100)
,`old_price` int(100)
,`commission_type` varchar(50)
,`percentage` int(11)
,`description` varchar(200)
,`specimen` varchar(100)
,`noOfLabels` int(11)
,`label_type` varchar(20)
,`label_name` varchar(100)
,`group_head` varchar(200)
,`department` varchar(50)
,`unit_code` varchar(50)
,`unit_name` varchar(50)
,`result` varchar(200)
,`h_value` varchar(20)
,`o_value` varchar(20)
,`appearance` varchar(200)
,`serology` varchar(200)
,`culture_yielded` varchar(100)
,`sensitivity` varchar(200)
,`resistivity` varchar(200)
,`intermediaryTo` varchar(200)
,`lab_code` int(11)
,`selectable` varchar(20)
,`status` varchar(20)
,`print_type` varchar(20)
,`report_type` varchar(20)
,`collect_sample` varchar(20)
,`to_be_reported` varchar(20)
,`to_be_analyzed` varchar(20)
,`created_by` varchar(50)
,`sample_collected_by` varchar(50)
,`sample_collected_at` datetime
,`analyzed_by` varchar(50)
,`analyzed_at` datetime
,`result_by` varchar(50)
,`result_at` datetime
,`reviewed_by` varchar(50)
,`reviewed_at` datetime
,`printed_by` varchar(50)
,`printed_at` datetime
,`n_unit` varchar(20)
,`n_range_from` varchar(20)
,`n_range_to` varchar(20)
,`receiptNo` varchar(50)
,`sop_instance_id` varchar(200)
,`uploaded_at` timestamp
,`uploaded_by` varchar(100)
,`payment_status` varchar(20)
,`approval_status` varchar(50)
,`patient_status` varchar(20)
,`test` varchar(100)
,`test_group` varchar(50)
);

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

--
-- Stand-in structure for view `lab_requests`
-- (See below for the actual view)
--
CREATE TABLE `lab_requests` (
`department` varchar(50)
,`patient_id` varchar(50)
,`status` varchar(200)
);

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

--
-- Table structure for table `lab_requisition`
--

CREATE TABLE `lab_requisition` (
  `facilityId` varchar(50) DEFAULT NULL,
  `id` int(100) NOT NULL,
  `code` varchar(50) DEFAULT NULL,
  `booking_no` varchar(100) DEFAULT NULL,
  `token` varchar(64) DEFAULT NULL,
  `request_id` varchar(50) DEFAULT NULL,
  `patient_id` varchar(50) DEFAULT NULL,
  `test` varchar(100) DEFAULT NULL,
  `description` varchar(100) NOT NULL,
  `price` int(11) DEFAULT NULL,
  `old_price` int(11) DEFAULT NULL,
  `percentage` int(11) DEFAULT NULL,
  `result` varchar(200) DEFAULT NULL,
  `h_value` varchar(20) DEFAULT NULL,
  `o_value` varchar(20) DEFAULT NULL,
  `appearance` varchar(200) DEFAULT NULL,
  `serology` varchar(200) DEFAULT NULL,
  `culture_yielded` varchar(100) DEFAULT NULL,
  `sensitivity` varchar(200) DEFAULT NULL,
  `resistivity` varchar(200) DEFAULT NULL,
  `intermediaryTo` varchar(200) DEFAULT NULL,
  `department` varchar(50) DEFAULT NULL,
  `test_group` varchar(50) DEFAULT NULL,
  `status` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` varchar(100) DEFAULT NULL,
  `created_by` varchar(50) DEFAULT NULL,
  `sample_collected_by` varchar(50) DEFAULT NULL,
  `sample_collected_at` datetime DEFAULT NULL,
  `analyzed_by` varchar(50) DEFAULT NULL,
  `analyzed_at` datetime DEFAULT NULL,
  `result_by` varchar(50) DEFAULT NULL,
  `result_at` datetime DEFAULT NULL,
  `sop_instance_id` varchar(200) DEFAULT NULL,
  `uploaded_at` timestamp NULL DEFAULT NULL,
  `uploaded_by` varchar(100) DEFAULT NULL,
  `reviewed_by` varchar(50) DEFAULT NULL,
  `reviewed_at` datetime DEFAULT NULL,
  `printed_by` varchar(50) DEFAULT NULL,
  `printed_at` datetime DEFAULT NULL,
  `unit` varchar(20) DEFAULT NULL,
  `range_from` varchar(20) DEFAULT NULL,
  `range_to` varchar(20) DEFAULT NULL,
  `receiptNo` varchar(50) DEFAULT NULL,
  `payment_status` varchar(20) NOT NULL,
  `label_type` varchar(20) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `print_type` varchar(20) NOT NULL,
  `approval_status` varchar(50) NOT NULL DEFAULT 'pending',
  `dept_code` varchar(11) DEFAULT NULL,
  `requested_by` varchar(50) DEFAULT NULL,
  `patient_status` varchar(20) DEFAULT NULL,
  `account_name` varchar(50) 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` varchar(50) NOT NULL,
  `department_code` varchar(50) NOT NULL,
  `patient_name` varchar(50) NOT NULL,
  `modeOfPayment` varchar(30) DEFAULT NULL,
  `report_fee_status` varchar(20) DEFAULT NULL,
  `department_head` varchar(30) DEFAULT NULL,
  `group_head` varchar(20) DEFAULT NULL,
  `client_type` varchar(20) DEFAULT NULL,
  `client_account` varchar(20) DEFAULT NULL,
  `discount` varchar(11) DEFAULT NULL,
  `discount_head` varchar(20) NOT NULL,
  `discount_head_name` varchar(50) NOT NULL,
  `discount_amount` varchar(11) DEFAULT NULL,
  `receivable_head_name` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `lab_requisition`
--

INSERT INTO `lab_requisition` (`facilityId`, `id`, `code`, `booking_no`, `token`, `request_id`, `patient_id`, `test`, `description`, `price`, `old_price`, `percentage`, `result`, `h_value`, `o_value`, `appearance`, `serology`, `culture_yielded`, `sensitivity`, `resistivity`, `intermediaryTo`, `department`, `test_group`, `status`, `created_at`, `updated_at`, `created_by`, `sample_collected_by`, `sample_collected_at`, `analyzed_by`, `analyzed_at`, `result_by`, `result_at`, `sop_instance_id`, `uploaded_at`, `uploaded_by`, `reviewed_by`, `reviewed_at`, `printed_by`, `printed_at`, `unit`, `range_from`, `range_to`, `receiptNo`, `payment_status`, `label_type`, `noOfLabels`, `print_type`, `approval_status`, `dept_code`, `requested_by`, `patient_status`, `account_name`, `unit_code`, `unit_name`, `payable_head`, `receivable_head`, `account`, `department_code`, `patient_name`, `modeOfPayment`, `report_fee_status`, `department_head`, `group_head`, `client_type`, `client_account`, `discount`, `discount_head`, `discount_head_name`, `discount_amount`, `receivable_head_name`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 2, '3219664', '2145844', NULL, 'b1adb464-72d5-4351-99ed-39356626b966', '12-1', '30010016', 'CRP', 6000, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-13 18:36:42', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20002', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 3, '4212339', '2145845', NULL, 'acc43a7f-06c6-4318-a0a0-0aee3881d6ba', '12-1', '4021', 'Malaria RDTs', 500, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4000', '', 'Sample Collected', '2022-08-14 06:21:48', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 4, '4212340', '2145846', NULL, 'f80156f1-b44f-4467-afb1-06f19e16e7dc', '13-1', '4020', 'MALARIA PARASITES', 700, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4000', '', 'Sample Collected', '2022-08-14 06:27:27', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 5, '222NaN', '22NaN', NULL, '940b715b-281c-425b-a08b-b3651a420063', '8-1', '4018', '', 25000, 25000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 10:58:54', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Gabata Anas', NULL, NULL, '202200', '', 'Single', '8', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 6, '222NaN', '22NaN', NULL, 'e8f0e8bd-4105-45a1-95b9-ad4ecb6eb99f', '4-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:04:20', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Abubakar Tester', NULL, NULL, '202200', '', 'Single', '4', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 7, '222NaN', '22NaN', NULL, '760803cd-4e20-4e03-8173-827e55784db5', '6-1', '4017', '', 3500, 3200, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:08:36', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Tester Isah', NULL, NULL, '202200', '', 'Single', '6', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 8, '222NaN', '22NaN', NULL, 'f33b431b-2cd4-46ee-9429-f1c2d6be3cc5', '4-1', '4021', '', 500, 500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:15:48', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Abubakar Tester', NULL, NULL, '202200', '', 'Single', '4', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 9, '222NaN', '22NaN', NULL, '72502719-d7f1-4c43-b033-f7eed69a6481', '3-1', '300984', '', 8000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:17:29', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'User1 Test3 ', NULL, NULL, '202200', '', 'Family', '3', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 10, '222NaN', '22NaN', NULL, '6c9fea00-388b-443d-a23a-f9ad64c00a30', '2-1', '300983', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:18:20', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '372529', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'User Guest', NULL, NULL, '202200', '', 'Single', '2', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 11, '222NaN', '22NaN', NULL, 'bf5dbe08-e1ff-4b93-ac57-d86ddf818907', '1-1', '300981', '', 5500, 5500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:19:17', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ng/ml', '0', '4', '372631', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'User Test', NULL, NULL, '202200', '', 'Single', '1', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 12, '222NaN', '22NaN', NULL, '1fca14e1-41bf-41f5-bccc-3f4935eba6b4', '2-1', '300982', '', 6000, 6000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:20:06', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'm/u/l', '', '<4', '372733', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'User Guest', NULL, NULL, '202200', '', 'Single', '2', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 13, '222NaN', '22NaN', NULL, '9f341f2f-5e54-4a85-919a-0ae97d433a1e', '13-1', '300982', '', 6000, 6000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:21:13', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'm/u/l', '', '<4', '11', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Adewale Fahad', NULL, NULL, '202200', '', 'Single', '13', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 14, '222NaN', '22NaN', NULL, '9f341f2f-5e54-4a85-919a-0ae97d433a1e', '13-1', '300983', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 11:21:13', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '11', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Adewale Fahad', NULL, NULL, '202200', '', 'Single', '13', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 15, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '2021', 'Full Blood Count', 4000, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 16, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20211', 'WBC', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 17, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202110', 'HCT', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 18, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202111', 'MCV', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 19, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202112', 'MCH', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 20, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202114', 'RDW-SD', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 21, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202113', 'MCHC', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 22, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202115', 'RDW-CV', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 23, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202116', 'PLT', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 24, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202117', 'MPV', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 25, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202118', 'PDW', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 26, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20212', 'LYM#', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 27, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202119', 'PCT', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 28, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '202120', 'P-LCR', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 29, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20213', 'MID#', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 30, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20214', 'GRA#', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 31, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20215', 'LYM%', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 32, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20216', 'MID%', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 33, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20217', 'GRA%', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 34, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20218', 'RBC', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 35, '22133696', '2145867', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '20219', 'HGB', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped_single', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 36, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '30095', 'Urea, Electrolyte & Creatinine', 4000, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 37, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300951', 'Urea', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 38, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300952', 'K', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 39, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300953', 'Na', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 40, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300954', 'CL', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 41, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300955', 'HCO3', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 42, '3219671', '2145874', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '300956', 'Creatinine', 0, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 43, '4212341', '2145875', NULL, '12306bf7-2242-4d1a-968c-4fdf6fd76dbe', '16-1', '4020', 'MALARIA PARASITES', 700, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4000', '', 'Sample Collected', '2022-08-14 12:07:58', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 44, '222NaN', '22NaN', NULL, 'eba72f1b-6998-45b2-8d9d-2dea0f1aaef7', '4-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:16:08', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '37227', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Abubakar Tester', NULL, NULL, '202200', '', 'Single', '4', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 45, '222NaN', '22NaN', NULL, 'a6bfcd34-3e37-4574-9f47-fdfdafe44b47', '16-1', '3009750', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:18:42', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'umol/L', '4', '18', '11', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Registrar Fahad', NULL, NULL, '202200', '', 'Single', '16', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 46, '222NaN', '22NaN', NULL, 'a6bfcd34-3e37-4574-9f47-fdfdafe44b47', '16-1', '3009760', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:18:42', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'umol/L', '0', '7', '11', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Registrar Fahad', NULL, NULL, '202200', '', 'Single', '16', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 47, '222NaN', '22NaN', NULL, 'a6bfcd34-3e37-4574-9f47-fdfdafe44b47', '16-1', '3009780', '', 1000, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:18:42', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'g/L', '32', '52', '11', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Registrar Fahad', NULL, NULL, '202200', '', 'Single', '16', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 48, '222NaN', '22NaN', NULL, '88e8034e-b0e8-42b9-b65d-3aae3c1902e4', '17-1', '300989', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:49:25', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/L', '0', '5', '311', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Salako Milonlu', NULL, NULL, '202200', '', 'Family', '17', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 49, '222NaN', '22NaN', NULL, 'a9f3264f-51a8-4799-a200-5e50b6da08e5', '17-1', '300989', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:49:25', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/L', '0', '5', '311', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Salako Milonlu', NULL, NULL, '202200', '', 'Family', '17', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 50, '222NaN', '22NaN', NULL, 'b8a17803-116a-49e6-94e1-41901d9253c4', '18-1', '300989', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:52:27', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/L', '0', '5', '519', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Salako Milonlu', NULL, NULL, '202200', '', 'Family', '18', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 51, '222NaN', '22NaN', NULL, '5f5441b9-810d-4f98-b42a-237d57ecda28', '18-1', '300989', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 12:52:27', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/L', '0', '5', '519', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '', '', '20026', '', 'Salako Milonlu', NULL, NULL, '202200', '', 'Family', '18', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 52, '222NaN', '22NaN', NULL, '3fa89ae1-15b7-4bd9-a52a-bdb77acd391c', '20-1', '300982', '', 6000, 6000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:40:02', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'm/u/l', '', '<4', '827', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 53, '222NaN', '22NaN', NULL, '32b86394-af26-43e7-bb04-786221f13fed', '20-1', '4014', '', 25000, 25000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:41:38', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '929', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 54, '222NaN', '22NaN', NULL, '92e73e10-29f3-4a28-b866-49c1e02d5241', '20-1', '3001003', '', 6500, 2500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:43:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '1031', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 55, '222NaN', '22NaN', NULL, '850e2580-353c-4844-a439-f7b9f46611a4', '20-1', '3001004', '', 5500, 2500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:47:35', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ng/I', '', '', '1033', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 56, '222NaN', '22NaN', NULL, '54954882-b5b8-40f3-a87e-1bbd0ef3a815', '20-1', '10001', '', 2500, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:52:09', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '1035', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 57, '222NaN', '22NaN', NULL, 'b4bf3afc-a393-4207-af84-50679ecbbdf5', '20-1', '3009780', '', 1000, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:53:13', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'g/L', '32', '52', '1037', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 58, '222NaN', '22NaN', NULL, 'e7b02d97-11ce-4fae-8a81-133fc8710b3a', '20-1', '30046', '', 3500, 3500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-14 14:56:49', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '1039', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 59, '222NaN', '22NaN', NULL, 'd5da2aa1-ee58-42ff-904c-7c467b2a39c4', '20-1', '300981', '', 5500, 5500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 08:46:14', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ng/ml', '0', '4', '141', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 60, '222NaN', '22NaN', NULL, '66ffede8-d7e1-4377-b776-b983df8b07a9', '20-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 08:48:21', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '243', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 61, '222NaN', '22NaN', NULL, '6c7efe19-1c25-49b8-bac6-fad5e7e995a0', '20-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 09:51:48', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '11', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 62, '222NaN', '22NaN', NULL, '0aa2b02f-acbc-4222-aa66-866b6c41896d', '21-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 12:19:32', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '6013', 'completed', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Taofik Sholabi', NULL, NULL, '202200', '', 'Single', '21', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 63, '222NaN', '22NaN', NULL, '09f1e894-0d62-4903-a37e-a61d03c73981', '21-1', '3009620', '', 1000, 1000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 12:23:51', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '0.8', '4.3', '6115', 'completed', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Taofik Sholabi', NULL, NULL, '202200', '', 'Single', '21', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 64, '222NaN', '22NaN', NULL, 'fe5d9550-e994-40f7-9ace-d0d6c1e3185f', '22-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:50:56', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '23', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 65, '222NaN', '22NaN', NULL, 'fe5d9550-e994-40f7-9ace-d0d6c1e3185f', '22-1', '10001', '', 2500, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:50:56', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '23', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 66, '222NaN', '22NaN', NULL, 'a95add4a-e15a-47ca-bac0-e0fdc48bceab', '22-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:55:51', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '310', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 67, '222NaN', '22NaN', NULL, '1e67649d-1d2f-4c26-b8da-586e0aacbbf3', '20-1', '300981', '', 5500, 5500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:56:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'ng/ml', '0', '4', '413', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 68, '222NaN', '22NaN', NULL, '1e67649d-1d2f-4c26-b8da-586e0aacbbf3', '20-1', '300983', '', 7000, 7000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:56:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '413', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 69, '222NaN', '22NaN', NULL, '1e67649d-1d2f-4c26-b8da-586e0aacbbf3', '20-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:56:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '413', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 70, '222NaN', '22NaN', NULL, '1e67649d-1d2f-4c26-b8da-586e0aacbbf3', '20-1', '10001', '', 2500, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 13:56:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '413', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'New Testing ', NULL, NULL, '202200', '', 'Single', '20', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 71, '222NaN', '22NaN', NULL, '5b718587-36d0-452d-91db-efcae4fed7b3', '22-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 14:21:15', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '523', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 72, '222NaN', '22NaN', NULL, '5b718587-36d0-452d-91db-efcae4fed7b3', '22-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 14:21:15', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '523', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 73, '3219672', '2145876', NULL, '4951af45-0975-4183-a0f9-5beee648e7ad', '22-1', '3001009', 'ESTRADIOL', 7500, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'Sample Collected', '2022-08-15 14:28:21', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 74, '222NaN', '22NaN', NULL, 'fd8782da-f1fb-43c8-aae2-fdf4d2a1c1b8', '22-1', '4020', '', 700, 800, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:19:37', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '11', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 75, '222NaN', '22NaN', NULL, 'a5aadedb-2724-4d6f-b959-087b996a71ab', '22-1', '4021', '', 500, 500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:42:30', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '11', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 76, '222NaN', '22NaN', NULL, 'a5aadedb-2724-4d6f-b959-087b996a71ab', '22-1', '3009780', '', 1000, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:42:30', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'g/L', '32', '52', '11', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 77, '222NaN', '22NaN', NULL, '9b04666c-0e30-4352-abda-d1b5cbd80294', '22-1', '300982', '', 6000, 6000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:49:49', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'm/u/l', '', '<4', '39', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 78, '222NaN', '22NaN', NULL, '9b04666c-0e30-4352-abda-d1b5cbd80294', '22-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:49:49', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '39', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 79, '222NaN', '22NaN', NULL, '7eafbd94-6b2a-43e1-9db4-fe644cda4d88', '22-1', '300959', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 15:59:54', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '3.4', '5.5', '415', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'User Dashboard', NULL, NULL, '202200', '', 'Single', '22', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 80, '222NaN', '22NaN', NULL, 'd517a542-29b6-48fd-a9b0-72dcee992d22', '23-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:10:22', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '35', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Murtala Adewale', NULL, NULL, '202200', '', 'Single', '23', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 81, '222NaN', '22NaN', NULL, 'd517a542-29b6-48fd-a9b0-72dcee992d22', '23-1', '10001', '', 2500, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:10:22', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '35', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Murtala Adewale', NULL, NULL, '202200', '', 'Single', '23', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 82, '222NaN', '22NaN', NULL, '2edde189-ca80-46a7-a726-4ca85c7c3a5a', '23-1', '3009620', '', 1000, 1000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:11:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '0.8', '4.3', '411', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Murtala Adewale', NULL, NULL, '202200', '', 'Single', '23', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 83, '222NaN', '22NaN', NULL, '2edde189-ca80-46a7-a726-4ca85c7c3a5a', '23-1', '3009610', '', 1200, 1200, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:11:16', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '2.5', '6', '411', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Murtala Adewale', NULL, NULL, '202200', '', 'Single', '23', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 84, NULL, NULL, NULL, 'b40c3024-c3ef-4eab-af97-e6a71f042673', '23-1', '30010012', 'T3', 2700, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'ordered', '2022-08-15 16:14:54', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 85, NULL, NULL, NULL, 'b40c3024-c3ef-4eab-af97-e6a71f042673', '23-1', '30010013', 'T4', 2700, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'ordered', '2022-08-15 16:14:54', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 86, NULL, NULL, NULL, 'b40c3024-c3ef-4eab-af97-e6a71f042673', '23-1', '30078', 'TSH', 2700, NULL, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000', '', 'ordered', '2022-08-15 16:14:54', NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '', '', 'grouped', 1, 'grouped', '', NULL, 'Brainstorm', 'Out-Patient', '', '', '', '', '', '20026', '', '', NULL, NULL, NULL, NULL, '', '', '', '', '', '', NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 87, '222NaN', '22NaN', NULL, 'f1e700ca-1cd2-4a04-8564-ed3db68edfbc', '24-1', '3001002', '', 6500, 5000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:53:27', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'lng/L', '', '', '37012141718', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', '');
INSERT INTO `lab_requisition` (`facilityId`, `id`, `code`, `booking_no`, `token`, `request_id`, `patient_id`, `test`, `description`, `price`, `old_price`, `percentage`, `result`, `h_value`, `o_value`, `appearance`, `serology`, `culture_yielded`, `sensitivity`, `resistivity`, `intermediaryTo`, `department`, `test_group`, `status`, `created_at`, `updated_at`, `created_by`, `sample_collected_by`, `sample_collected_at`, `analyzed_by`, `analyzed_at`, `result_by`, `result_at`, `sop_instance_id`, `uploaded_at`, `uploaded_by`, `reviewed_by`, `reviewed_at`, `printed_by`, `printed_at`, `unit`, `range_from`, `range_to`, `receiptNo`, `payment_status`, `label_type`, `noOfLabels`, `print_type`, `approval_status`, `dept_code`, `requested_by`, `patient_status`, `account_name`, `unit_code`, `unit_name`, `payable_head`, `receivable_head`, `account`, `department_code`, `patient_name`, `modeOfPayment`, `report_fee_status`, `department_head`, `group_head`, `client_type`, `client_account`, `discount`, `discount_head`, `discount_head_name`, `discount_amount`, `receivable_head_name`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 88, '222NaN', '22NaN', NULL, 'f1e700ca-1cd2-4a04-8564-ed3db68edfbc', '24-1', '3001003', '', 6500, 2500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:53:27', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '37012141718', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 89, '222NaN', '22NaN', NULL, '50e9743a-7c20-4710-9bd9-94c4b3221a00', '24-1', '3009740', '', 3500, 3500, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:56:02', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/I', '7', '45', '37012141824', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 90, '222NaN', '22NaN', NULL, '50e9743a-7c20-4710-9bd9-94c4b3221a00', '24-1', '3009730', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:56:02', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'U/I', '0', '44', '37012141824', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 91, '222NaN', '22NaN', NULL, '50e9743a-7c20-4710-9bd9-94c4b3221a00', '24-1', '3009750', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:56:02', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'umol/L', '4', '18', '37012141824', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 92, '222NaN', '22NaN', NULL, '50e9743a-7c20-4710-9bd9-94c4b3221a00', '24-1', '3009760', '', 700, 600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 16:56:02', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'umol/L', '0', '7', '37012141824', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Hammad Mr.', NULL, NULL, '202200', '', 'Single', '24', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 93, '222NaN', '22NaN', NULL, 'b2557b32-2f75-4635-9721-5474a10535a7', '25-1', '10001', '', 2500, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:07:41', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '37013', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 94, '222NaN', '22NaN', NULL, 'b2557b32-2f75-4635-9721-5474a10535a7', '25-1', '4029', '', 1700, 1600, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:07:41', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '', '', '37013', 'pending', 'grouped', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 95, '222NaN', '22NaN', NULL, 'dd5f52c3-4a25-4973-9ea0-8943f02e1b53', '25-1', '3009610', '', 1200, 1200, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:08:46', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '2.5', '6', '37117', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 96, '222NaN', '22NaN', NULL, 'dd5f52c3-4a25-4973-9ea0-8943f02e1b53', '25-1', '3009620', '', 1000, 1000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:08:46', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '0.8', '4.3', '37117', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 97, '222NaN', '22NaN', NULL, 'dd5f52c3-4a25-4973-9ea0-8943f02e1b53', '25-1', '3009640', '', 1000, 1000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:08:46', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '0.5', '2.8', '37117', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 98, '222NaN', '22NaN', NULL, 'dd5f52c3-4a25-4973-9ea0-8943f02e1b53', '25-1', '3009630', '', 1000, 1000, 15, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '202200', '', 'Sample Collected', '2022-08-15 17:08:46', NULL, 'Brainstorm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'mmol/L', '0.8', '2.6', '37117', 'pending', 'single', 1, 'grouped', 'pending', NULL, NULL, NULL, 'Laboratory ( 15% Mark Up )', '', '', '500021', '400023', '20026', '', 'Junior ', NULL, NULL, '202200', '', 'Single', '25', '', '', '', '0', '');

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

--
-- Table structure for table `lab_requisition_sub`
--

CREATE TABLE `lab_requisition_sub` (
  `sn` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `id` int(100) NOT NULL DEFAULT 0,
  `qms_dept_id` int(11) NOT NULL,
  `code` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `booking_no` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `request_id` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `patient_id` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `name` varchar(101) DEFAULT NULL,
  `DOB` varchar(20) DEFAULT NULL,
  `Gender` varchar(10) DEFAULT NULL,
  `head` varchar(100) NOT NULL,
  `subhead` varchar(100) NOT NULL,
  `unit` varchar(100) DEFAULT NULL,
  `range_from` varchar(100) DEFAULT NULL,
  `range_to` varchar(100) DEFAULT NULL,
  `price` int(100) NOT NULL,
  `old_price` int(100) NOT NULL,
  `commission_type` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  `percentage` int(11) NOT NULL,
  `description` varchar(200) NOT NULL,
  `specimen` varchar(100) NOT NULL,
  `noOfLabels` int(11) NOT NULL,
  `label_type` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
  `label_name` varchar(100) CHARACTER SET utf8mb4 NOT NULL,
  `group_head` varchar(200) NOT NULL,
  `department` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `department_head` varchar(200) NOT NULL,
  `result` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `h_value` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `o_value` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `appearance` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `serology` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `culture_yielded` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `sensitivity` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `resistivity` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `intermediaryTo` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `lab_code` int(11) NOT NULL,
  `selectable` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
  `status` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `unit_code` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  `unit_name` varchar(50) CHARACTER SET utf8mb4 NOT NULL,
  `print_type` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
  `report_type` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `collect_sample` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `to_be_reported` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `to_be_analyzed` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `created_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `sample_collected_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `sample_collected_at` datetime DEFAULT NULL,
  `analyzed_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `analyzed_at` datetime DEFAULT NULL,
  `result_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `result_at` datetime DEFAULT NULL,
  `reviewed_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `reviewed_at` datetime DEFAULT NULL,
  `printed_by` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `printed_at` datetime DEFAULT NULL,
  `n_unit` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `n_range_from` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `n_range_to` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `receiptNo` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL,
  `sop_instance_id` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL,
  `uploaded_at` timestamp NULL DEFAULT NULL,
  `uploaded_by` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `payment_status` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
  `approval_status` varchar(50) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
  `patient_status` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
  `test` varchar(100) CHARACTER SET utf8mb4 DEFAULT NULL,
  `test_group` varchar(50) CHARACTER SET utf8mb4 DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

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

--
-- Table structure for table `lab_setup`
--

CREATE TABLE `lab_setup` (
  `id` binary(0) DEFAULT NULL,
  `subhead` varchar(100) CHARACTER SET latin1 NOT NULL,
  `qms_dept_id` int(11) NOT NULL,
  `description` varchar(200) CHARACTER SET latin1 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 NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `other_range` varchar(50) CHARACTER SET utf8 COLLATE utf8_swedish_ci DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 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 NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 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;

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

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

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

CREATE TABLE `lab_setup2` (
  `id` int(100) NOT NULL DEFAULT 0,
  `subhead` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `head` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `description` varchar(200) CHARACTER SET latin1 NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 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 DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- 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 08:30:37', NULL, '966a89f6-05d8-4564-b319-2f8863821e75', ''),
(72, 'Test', 'test1', '', 'mmol/L', '1', '2', 'Blood', 500, 0, '2020-09-18 15: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;

--
-- 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-16 05:55:46', NULL, '966a89f6-05d8-4564-b319-2f8863821e75', ''),
(361, '30013', '3001', 'K', 'mmol/L', '3.0', '5.6', 'Urine', 600, 0, 0, '2020-11-16 05: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 NOT NULL,
  `head` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `description` varchar(200) CHARACTER SET latin1 NOT NULL,
  `unit` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_from` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `range_to` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `other_range` varchar(50) DEFAULT NULL,
  `specimen` varchar(100) CHARACTER SET latin1 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 DEFAULT NULL,
  `facilityId` varchar(50) CHARACTER SET latin1 NOT NULL,
  `created_by` varchar(50) CHARACTER SET latin1 NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- 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 20: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;

--
-- 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` varchar(11)
,`drug` varchar(40)
,`dosage` varchar(40)
,`route` varchar(20)
,`time_stamp` timestamp
,`status` varchar(10)
,`served_by` varchar(50)
,`nurse_name` varchar(511)
,`reason` varchar(500)
);

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

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

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

--
-- 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;

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

--
-- 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `nursing_note`
--

INSERT INTO `nursing_note` (`id`, `report`, `patient_id`, `created_at`, `created_by`) VALUES
(1, 'commence on anti malaria inj artesunate 120mg@0,12hr,24hr.', '7068-1', '2022-06-14 01:51:13', 'Hafsat'),
(2, 'PT HAD MANNUAL EVACUATION OF FEACES DONE WITH EFFECT .', '7079-1', '2022-06-23 02:05:30', 'Buhari'),
(3, 'IOUHIOUHOIUHOIUKHILKUHJPOIU', '7079-1', '2022-06-23 02:06:17', 'Buhari'),
(4, 'blood no 882 Btve sero neg to hiv set up at 1.47pm ', '7135-1', '2022-06-23 02:12:31', 'Buhari'),
(5, 'wound dressing done wound clean nil fresh c/o \n\n', '7026-1', '2022-06-24 03:43:29', 'Nkem'),
(6, 'Pt had zipclone 7.5mg at night but couldn’t sleep and complains of heart burn', '7034-1', '2022-06-28 07:14:32', 'Safiyya'),
(7, 'Had 1pint of blood under Iv lasix cover 20mg pre and post transfusion with nil reaction ', '7147-1', '2022-06-28 07:16:24', 'Safiyya'),
(8, 'Pt refuses IM CHLOPROMAZINE 50mg. Tabs lexatan 3mg was given as discussed with Dr Nasir', '7089-1', '2022-06-28 07:17:46', 'Safiyya'),
(9, 'Bladder irrigation continues ', '7010-1', '2022-07-03 11:14:20', 'Naja\'atu'),
(10, 'About 100mls of SHF emptied. ', '7191-1', '2022-07-03 11:16:40', 'Naja\'atu'),
(11, 'Drain removed', '7191-1', '2022-07-04 10:56:36', 'Mairo'),
(12, 'dressing changed, pt is doing well', '7195-1', '2022-07-04 10:57:16', 'Mairo'),
(13, 'met on INO2 wic was later removed. later on after taking drugs pt vomitted IV ONDENSTRONE 4MG,IVF 5% + 2CC BCO were given.', '965-1', '2022-07-04 11:00:18', 'Mairo'),
(14, 'About 150mls of SHF drained.', '965-1', '2022-07-05 04:38:10', 'Naja\'atu'),
(15, 'DUE TREATMENT SERVED  ,YET TO BUY APIDRAL INSULIN SC .', '5182-1', '2022-07-07 03:04:06', 'Toba'),
(16, 'about 200mls of SHF emptied.', '2245-1', '2022-07-09 03:52:16', 'Naja\'atu'),
(17, 'drain removed and dressjng  changed  op site clean and dry  .to do post op check x  ray .', '2245-1', '2022-07-11 11:51:30', 'Toba'),
(18, 'had  ECG done.', '2423-1', '2022-07-11 12:27:03', 'Toba'),
(19, 'dressing changed,fairly clean  wound . recommence on ivf  R/L 500mls 8hrly x2/7 .', '965-1', '2022-07-11 01:11:29', 'Toba'),
(20, 'Had IV hyoscine 20mg, IM diclofenac 75mg', '5574-2', '2022-07-12 05:08:25', 'Naja\'atu'),
(21, '1st pint of blood set up with blood group O+, bag no 1096 under axis 20mg before the transfusion.', '5574-2', '2022-07-12 09:05:45', 'Naja\'atu'),
(22, 'Attention called that the pt is having abnormal body twisting, vitals checked and recorded, I\'m DZP 10mg stat given, pls keep seizure chart. ', '965-1', '2022-07-12 10:23:25', 'Naja\'atu'),
(23, '2nd pint of blood bag no 1097 0tve sero neg to HIV, HCV andVDRLset up under lasix coverage 20mg stat gc fair .', '5574-2', '2022-07-13 11:25:18', 'Safiyya'),
(24, 'MET ON BLOOD TRANSFUSION WIC LATER SHE REACTED TO WITH A VERY HIGH TEMP 39.4. TRANSFUSION WAS STOPPED IV PCM 900MG WAS GIVEN AND IV N/S1L. ', '965-1', '2022-07-14 07:09:30', 'Naja\'atu'),
(25, 'had 400mls 0f pleural fluid emptied ,op site clean and dry treatment ordered  served gc fair ,on ivf ns to alt with 5% ds .', '2423-1', '2022-07-14 02:15:33', 'Safiyya'),
(26, 'had Im penta 30mg stat @night.', '4503-1', '2022-07-17 06:58:37', 'Naja\'atu'),
(27, 'Pt position was change to right lateral and pressure arrears were treated and patient was left comfortable. All at 7pm. ', '5022-2', '2022-07-19 06:58:58', 'Bala'),
(28, 'Pt position changed to left lateral ,pressure areas treated and pt was left comfortable. At 4pm.', '5022-2', '2022-07-20 04:20:54', 'Bala'),
(29, 'Pt running temp, Dr on call informed, same reviewed. Temp was 38.3 degree Celsius.', '5022-2', '2022-07-20 05:54:29', 'Bala'),
(30, 'Pt was reviewed by DOC plan I.m Emal 150 dly x 3days, I.v parasam 1g start then Pcm inj 600mg 8 hourly x 3days.', '5022-2', '2022-07-20 06:34:41', 'Bala'),
(31, 'Had a successful surgery surgery during the shift, currently on blood transfusion with blood group O+ and bag no 7077 with nil reaction.', '7256-1', '2022-07-21 08:41:20', 'Naja\'atu');

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

--
-- 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;

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

--
-- 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;

--
-- 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` varchar(20)
,`quantity_bought` int(11)
,`amount_bought` double
,`quantity_in_store` varchar(50)
,`amount_in_store` double
,`quantity_sold` int(11)
,`amount_sold` bigint(22)
,`quantity_in_shelf` bigint(12)
,`amount_in_shelf` bigint(23)
,`sales_date` timestamp
,`purchase_date` datetime
,`facilityId` varchar(50)
);

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

--
-- Stand-in structure for view `overview_wo_store`
-- (See below for the actual view)
--
CREATE TABLE `overview_wo_store` (
`drug` varchar(20)
,`price` bigint(12)
,`quantity_in_shelf` decimal(33,0)
,`amount_in_shelf` decimal(44,0)
,`quantity_sold` decimal(33,0)
,`amount_sold` decimal(44,0)
,`expiry_date` varchar(10)
,`created_at` timestamp
,`facilityId` varchar(50)
);

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

--
-- 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;

--
-- 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;

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

--
-- 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;

--
-- 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, 'Test User', NULL, 'Single', NULL, 'Kano', '080123123444', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-04 12:25:49', NULL, '', '', '', ''),
(2, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 2, 'Guest User', NULL, 'Single', NULL, 'Kano', '09087654321', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-04 12:50:10', NULL, '', '', '', ''),
(3, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 3, 'Instant Payment', NULL, 'Family', NULL, '', '', '', '', NULL, NULL, 0, 1000, 'approved', '', '', '', NULL, NULL, '2022-08-04 13:23:08', NULL, 'Instant Payment Payables', '1', 'Instant Payment Receivables', '1'),
(4, 'Deposit from account 4', 4, 'Tester Abubakar', NULL, 'Single', NULL, 'Kano', '07049691922', '', '', NULL, NULL, 0, 20000, 'approved', '', '', '', NULL, NULL, '2022-08-10 15:57:42', NULL, NULL, NULL, NULL, NULL),
(5, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 5, 'Babata Musa', NULL, 'Single', NULL, '', '07049691922', '', '', NULL, NULL, 0, 1000, 'approved', '', '', '', NULL, NULL, '2022-08-10 16:08:46', NULL, NULL, NULL, NULL, NULL),
(6, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 6, 'Isah Tester', NULL, 'Single', NULL, 'Kano', '07035384184', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-10 16:24:27', NULL, NULL, NULL, NULL, NULL),
(7, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 7, 'Abdul RAzaki', NULL, 'Single', NULL, 'Terhjhjjk', '08750987658', '', '', NULL, NULL, 0, -5000, 'approved', '', '', '', NULL, NULL, '2022-08-10 16:33:00', NULL, NULL, NULL, NULL, NULL),
(8, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 8, 'Again Tester4', NULL, 'Single', NULL, 'Kano', '0901231231234', '', '', NULL, NULL, 0, -65000, 'approved', '', '', '', NULL, NULL, '2022-08-11 11:48:21', NULL, NULL, NULL, NULL, NULL),
(9, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 9, 'Bagwai Murtala', NULL, 'Single', NULL, 'Kawo bus stop kano', '08067786757', '', '', NULL, NULL, 0, -11500, 'approved', '', '', '', NULL, NULL, '2022-08-13 09:19:22', NULL, NULL, NULL, NULL, NULL),
(10, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 10, 'General Buhari', NULL, 'Single', NULL, 'Kano', '08097568965', '', '', NULL, NULL, 0, 27000, 'approved', '', '', '', NULL, NULL, '2022-08-13 10:03:19', NULL, NULL, NULL, NULL, NULL),
(11, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 11, 'FAhad Gabata1', NULL, 'Single', NULL, '', '2347035384184', '', '', NULL, NULL, 0, 10000, 'approved', '', '', '', NULL, NULL, '2022-08-13 10:46:30', NULL, NULL, NULL, NULL, NULL),
(12, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 12, 'Daddy Mumu Legend', NULL, 'Single', NULL, 'Kawo bus stop kano', '2347035384184', '', '', NULL, NULL, 0, -4000, 'approved', '', '', '', NULL, NULL, '2022-08-13 11:02:33', NULL, NULL, NULL, NULL, NULL),
(13, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 13, 'Fahad Adewale', NULL, 'Single', NULL, '', '09034093834', '', '', NULL, NULL, 0, 973000, 'approved', '', '', '', NULL, NULL, '2022-08-14 06:24:02', NULL, NULL, NULL, NULL, NULL),
(14, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 14, 'Jacob Fahad', NULL, 'Single', NULL, '', '0903839488', '', '', NULL, NULL, 0, 400000, 'approved', '', '', '', NULL, NULL, '2022-08-14 11:29:54', NULL, NULL, NULL, NULL, NULL),
(15, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 15, 'Fahad Aminu', NULL, 'Single', NULL, '', '09900976899', '', '', NULL, NULL, 0, 50000, 'approved', '', '', '', NULL, NULL, '2022-08-14 11:47:20', NULL, NULL, NULL, NULL, NULL),
(16, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 16, 'Fahad Registrar', NULL, 'Single', NULL, '', '09012345678', '', '', NULL, NULL, 0, 368000, 'approved', '', '', '', NULL, NULL, '2022-08-14 12:01:40', NULL, NULL, NULL, NULL, NULL),
(17, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 17, 'Milonlu Salako', NULL, 'Family', NULL, '', '0903839488', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-14 12:49:25', NULL, NULL, NULL, NULL, NULL),
(18, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 18, 'Milonlu Salako', NULL, 'Family', NULL, '', '0903839488', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-14 12:52:27', NULL, NULL, NULL, NULL, NULL),
(19, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 19, 'Testing One', NULL, 'Single', NULL, '', '07062942291', '', '', NULL, NULL, 0, 0, 'approved', '', '', '', NULL, NULL, '2022-08-14 13:29:33', NULL, NULL, NULL, NULL, NULL),
(20, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 20, 'Testing  New', NULL, 'Single', NULL, '', '09034342323', '', '', NULL, NULL, 0, -700, 'approved', '', '', '', NULL, NULL, '2022-08-14 14:33:35', NULL, NULL, '500021', NULL, '400023'),
(21, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 21, 'Sholabi Taofik', NULL, 'Single', NULL, '', '09012345678', '', '', NULL, NULL, 0, 21000, 'approved', '', '', '', NULL, NULL, '2022-08-15 09:55:33', NULL, NULL, '500021', NULL, '400023'),
(22, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 22, 'Dashboard User', NULL, 'Single', NULL, '', '09034342323', '', '', NULL, NULL, 0, 14300, 'approved', '', '', '', NULL, NULL, '2022-08-15 13:32:46', NULL, NULL, '500021', NULL, '400023'),
(23, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 23, 'Adewale Murtala', NULL, 'Single', NULL, '', '09012345678', '', '', NULL, NULL, 0, 47800, 'approved', '', '', '', NULL, NULL, '2022-08-15 16:02:11', NULL, NULL, '500021', NULL, '400023'),
(24, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 24, 'Mr. Hammad', NULL, 'Single', NULL, '', '07062942291', '', '', NULL, NULL, 0, 1400, 'approved', '', '', '', NULL, NULL, '2022-08-15 16:45:50', NULL, NULL, '500021', NULL, '400023'),
(25, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 25, ' Junior', NULL, 'Single', NULL, '', '09034342323', '', '', NULL, NULL, 0, -2400, 'approved', '', '', '', NULL, NULL, '2022-08-15 17:02:35', NULL, NULL, '500021', NULL, '400023'),
(26, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 26, 'Sholabi Fahad', NULL, 'Single', NULL, '', '09034093834', '', '', NULL, NULL, 0, -20000, 'approved', '', '', '', NULL, NULL, '2022-08-15 17:14:23', NULL, NULL, '500021', NULL, '400023');

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

--
-- 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;

--
-- 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 14: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 12:33:53', NULL);

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

--
-- Stand-in structure for view `patientfileno_full`
-- (See below for the actual view)
--
CREATE TABLE `patientfileno_full` (
`id` int(11)
,`acc_count` bigint(21)
,`accountNo` int(7)
,`beneficiaries` bigint(21)
,`firstname` varchar(50)
,`surname` varchar(50)
,`status` varchar(50)
,`createdAt` timestamp
,`accName` varchar(50)
,`description` varchar(100)
,`accountType` varchar(50)
,`contactName` varchar(100)
,`contactAddress` varchar(500)
,`contactPhone` varchar(20)
,`contactEmail` varchar(50)
,`contactWebsite` varchar(50)
,`balance` int(11)
,`guarantor_name` varchar(50)
,`guarantor_address` varchar(100)
,`guarantor_phone` varchar(20)
,`created_by` varchar(50)
,`approved_by` varchar(50)
,`approved_at` timestamp
);

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

--
-- 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;

--
-- 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 12: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 12: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(10) DEFAULT 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- 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`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Test', 'User', '', 'Male', 0, 'Single', '2002-08-04', '2022-08-04', '080123123444', 'Test1@example.com', '', '', 'Developer', 'Kano', 'Test', 'Coworker', '09012345678', 'Test.user@example.com', 'Kano', 1, 1, 0, '1-1', 1, NULL, NULL, 'Test-doctor', NULL, '2022-08-04 12:29:15', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Guest', 'User', '', 'Female', 0, 'Married', '1997-08-04', '2022-08-04', '09087654321', 'Guest@example.com', '', '', 'Designer', 'Kano', 'No name', 'Husband', '09063576712', '', 'Kano', 2, 1, 0, '2-1', 2, NULL, NULL, 'Test-doctor', NULL, '2022-08-04 12:50:29', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Test3 ', 'User1', '', 'Male', 0, 'Single', '2012-07-29', '2022-08-08', '080987654321', 'Test3@exmaple..com', '', '', 'Stuent', 'Kano', '', '', '', '', '', 3, 1, 0, '3-1', 3, NULL, NULL, 'Test-doctor', NULL, '2022-08-08 14:28:36', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Tester', 'Abubakar', '', 'Male', 0, 'Single', '2012-07-31', '2022-08-10', '07049691922', 'Ibagwai9@gmail.com', '', '', 'Student', 'Kano', '', '', '', '', '', 4, 1, 0, '4-1', 4, NULL, NULL, 'Test-doctor', NULL, '2022-08-10 15:57:50', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Gabata', 'Musa', '', 'Male', 0, 'Single', '2012-07-31', '2022-08-10', '07049691922', 'Isahabdul@gmail.com', '', '', 'Student', '', '', '', '', '', '', 5, 1, 0, '5-1', 5, NULL, NULL, 'Test-doctor', NULL, '2022-08-10 16:09:42', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Isah', 'Tester', '', 'Male', 0, 'Single', '2002-08-10', '2022-08-10', '07035384184', 'Isahabdul@gmail.com', '', '', 'Student', 'Kano', '', '', '', '', '', 6, 1, 0, '6-1', 6, NULL, 'pending-admission', 'Test-doctor', NULL, '2022-08-10 16:24:38', 'registered', NULL, NULL, NULL, NULL, 'Brainstorm', '2022-08-10 16:25:50'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Abdul', 'RAzaki', '', 'Male', 0, 'Single', '2005-08-10', '2022-08-10', '08750987658', 'Avdjh@gm.com', '', '', 'Developer', 'Terhjhjjk', '', '', '', '', '', 7, 1, 0, '7-1', 7, NULL, NULL, 'Test-doctor', NULL, '2022-08-10 16:33:09', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Anas', 'Gabata', '', 'Male', 0, 'Single', '2001-08-11', '2022-08-11', '0905487548', '', '', '', 'Developer', '', '', '', '', '', '', 8, 1, 0, '8-1', 8, NULL, NULL, 'Test-doctor', NULL, '2022-08-11 12:07:00', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Bagwai', 'Murtala', '', 'Male', 0, 'Married', '1992-08-13', '2022-08-13', '08067786757', 'Muritala@brainstorm.ng', '', '', 'Developer', 'Kawo bus stop kano', '', '', '', '', '', 9, 1, 0, '9-1', 9, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'General', 'Buhari', '', 'Male', 0, 'Married', '1955-08-13', '2022-08-13', '08097568965', 'Hjds776@gmail.com', '', '', 'Retired', 'Kano', '', '', '', '', '', 10, 1, 0, '10-1', 10, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'FAhad', 'Gabata1', '', 'Female', 0, 'Single', '1952-08-13', '2022-08-13', '2347035384184', '', '', '', 'Developer', '', '', '', '', '', '', 11, 1, 0, '11-1', 11, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Daddy', 'Mumu Legend', '', 'Male', 0, 'Single', '2002-08-13', '2022-08-13', '2347035384184', '', '', '', 'Mumu Developer', 'Kawo bus stop kano', 'Mai Gamu', 'Mentor', '', '', 'Kawo bus stop kano', 12, 1, 0, '12-1', 12, NULL, NULL, 'waiting', NULL, '2022-08-14 11:27:04', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Fahad', 'Adewale', '', 'Male', 0, 'Single', '1978-08-14', '2022-08-14', '09034093834', '', '', '', 'Farmer', '', '', '', '', '', '', 13, 1, 0, '13-1', 13, NULL, NULL, 'waiting', NULL, '2022-08-14 11:27:01', 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Jacob', 'Fahad', '', 'Male', 0, 'Single', '2000-08-14', '2022-08-14', '0903839488', '', '', '', '', '', '', '', '', '', '', 14, 1, 0, '14-1', 14, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Fahad', 'Aminu', '', 'Male', 0, 'Married', '1934-08-14', '2022-08-14', '09900976899', '', '', '', 'Farmer', '', '', '', '', '', '', 15, 1, 0, '15-1', 15, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Fahad', 'Registrar', '', 'Male', 0, 'Single', '1932-08-14', '2022-08-14', '09012345678', '', '', '', 'Farmer', '', '', '', '', '', '', 16, 1, 0, '16-1', 16, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, NULL, 'Milonlu', 'Salako', NULL, 'Male', 0, '', '1982-08-14', NULL, '0903839488', '', '', '', '', '', '', '', '0', '0', '0', 17, 1, 0, '17-1', 17, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, NULL, 'Milonlu', 'Salako', NULL, 'Male', 0, '', '1982-08-14', NULL, '0903839488', '', '', '', '', '', '', '', '0', '0', '0', 17, 1, 0, '17-1', 18, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, NULL, 'Milonlu', 'Salako', NULL, 'Male', 0, '', '1982-08-14', NULL, '0903839488', '', '', '', '', '', '', '', '0', '0', '0', 18, 1, 0, '18-1', 19, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, NULL, 'Milonlu', 'Salako', NULL, 'Male', 0, '', '1982-08-14', NULL, '0903839488', '', '', '', '', '', '', '', '0', '0', '0', 18, 1, 0, '18-1', 20, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Testing', 'One', '', 'Male', 0, 'Single', '2018-08-14', '2022-08-14', '07062942291', '', '', '', 'Farmer', '', '', '', '', '', '', 19, 1, 0, '19-1', 21, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Testing ', 'New', '', 'Male', 0, 'Married', '2016-08-14', '2022-08-14', '09034342323', '', '', '', 'Farmer', '', '', '', '', '', '', 20, 1, 0, '20-1', 22, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Sholabi', 'Taofik', '', 'Male', 0, 'Married', '1982-08-15', '2022-08-15', '09012345678', '', '', '', 'Farmer', '', '', '', '', '', '', 21, 1, 0, '21-1', 23, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Dashboard', 'User', '', 'Male', 0, 'Married', '1982-08-15', '2022-08-15', '09034342323', '', '', '', 'Farmer', '', '', '', '', '', '', 22, 1, 0, '22-1', 24, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Adewale', 'Murtala', '', 'Female', 0, 'Single', '2012-08-15', '2022-08-15', '09012345678', '', '', '', 'Farmer', '', '', '', '', '', '', 23, 1, 0, '23-1', 25, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Mr.', 'Hammad', '', 'Male', 0, 'Married', '2002-08-15', '2022-08-15', '07062942291', '', '', '', 'Farmer', '', '', '', '', '', '', 24, 1, 0, '24-1', 26, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', '', 'Junior', '', 'Male', 0, 'Single', '1982-08-15', '2022-08-15', '09034342323', '', '', '', 'Farmer', '', '', '', '', '', '', 25, 1, 0, '25-1', 27, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', 'Single', 'Sholabi', 'Fahad', '', 'Male', 0, 'Married', '1952-08-15', '2022-08-15', '09034093834', '', '', '', 'Farmer', '', '', '', '', '', '', 26, 1, 0, '26-1', 28, NULL, NULL, NULL, NULL, NULL, 'registered', NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- 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;

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

INSERT INTO `patient_history` (`id`, `patient_id`, `request_id`, `history`, `file`, `createdAt`, `facilityId`) VALUES
(1, '6-1', 9, '', '', '2022-08-10 16:25:50', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(2, '12-1', 963, '', '', '2022-08-13 12:33:50', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(3, '12-1', 0, '', '', '2022-08-13 17:14:42', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(4, '12-1', 86, '', '', '2022-08-13 17:23:42', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(5, '12-1', 997, '', '', '2022-08-13 17:26:36', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(6, '12-1', 69, '', '', '2022-08-13 17:32:03', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(7, '12-1', 3, '', '', '2022-08-13 17:36:57', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(8, '12-1', 85395, '', '', '2022-08-13 18:05:20', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(9, '12-1', 17, '', '', '2022-08-13 18:08:31', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(10, '12-1', 0, '', '', '2022-08-13 18:20:49', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(11, '12-1', 0, '', '', '2022-08-13 18:36:42', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(12, '12-1', 0, '', '', '2022-08-14 06:21:48', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(13, '13-1', 0, '', '', '2022-08-14 06:27:27', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(14, '16-1', 12306, '', '', '2022-08-14 12:07:58', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(15, '22-1', 4951, '', '', '2022-08-15 14:28:21', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a'),
(16, '23-1', 0, '', '', '2022-08-15 16:14:54', '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;

--
-- 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 `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` int(11) NOT NULL,
  `created_by` int(11) NOT NULL,
  `manage_by` varchar(100) NOT NULL,
  `store_code` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- 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
(6, 'fahad', '123', '108 gama', '08067643479', NULL, '2022-03-15 20:22:26', '6c6af0c0-35ea-40d8-a928-b13a9766113a', 'Point Of Sales', 8790, 0, 'REMEDIX', 'bd8b67b4-47c0-4835-b992-bbc3779f431a'),
(1, 'REMEDIX', 'Kaduna', 'Kaduna', '0806764378', NULL, '2022-02-14 14:05:56', '6c6af0c0-35ea-40d8-a928-b13a9766113a', 'Point Of Sales', 0, 0, 'REMEDIX', 'c47a955a-fadd-4171-a8a0-ead5064ba60d'),
(5, 'Remix', 'Kano', 'Kano', '08067643468', NULL, '2022-03-14 14:09:47', '6c6af0c0-35ea-40d8-a928-b13a9766113a', 'Point Of Sales', 0, 0, 'REMEDIX', '2b96403e-8956-49f2-8361-ffe7c1b5c50e'),
(0, 'HBhj', 'hiji', 'jknkjn', '09i099', NULL, '2022-08-21 13:11:31', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'Point Of Sales', 0, 0, '', 'a6092938-2291-4a9d-9065-5512bb75da10');

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

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

CREATE TABLE `pharm_store` (
  `balance` int(11) DEFAULT 0,
  `drug_name` varchar(100) CHARACTER SET latin1 NOT NULL,
  `price` float NOT 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 NOT NULL,
  `expired_status` varchar(50) NOT NULL 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) NOT NULL,
  `supplier_code` varchar(100) NOT NULL,
  `store_location` varchar(50) NOT NULL,
  `generic_name` varchar(50) NOT NULL,
  `insert_date` datetime NOT NULL,
  `reoder_level` int(50) DEFAULT NULL,
  `uom` varchar(100) DEFAULT NULL,
  `drug_category` varchar(100) DEFAULT NULL,
  `item_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- 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`) VALUES
(998, 'Amozine', 100, NULL, 'e5e33ece-3e59-4d68-9a60-07630c3fafe1', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2024-12-31', 'Fahad Store', 1000, 'Fahad Ado Muhammad', '7ecc0624-7667-4366-a81c-6f09ad8f5750', '', 'FRUSEMIDE 40MG', '2022-07-07 10:15:19', 1000, 'unit', 'Pandano', 9),
(80, 'Angolin', 100, NULL, '4bb1cb89-29a8-43f5-8c6c-9b032c1ab97e', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2022-05-18', 'Fahad Store', 200, 'Fahad Ado Muhammad', 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', '', 'Good', '2022-05-16 14:24:55', 10, 'unit', 'Pandano', 7),
(998, 'Angolin', 1000, NULL, 'd8bd1ed8-e357-43e1-8b05-ec576fd21852', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2022-12-31', 'Fahad Store', 1000, 'Fahad Ado Muhammad', 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', '', 'Good', '2022-05-16 14:24:55', 1000, 'unit', 'Pandano', 6),
(999, 'Anpasolin', 1000, NULL, '486e769c-061a-4e7f-ace4-4217d2849d3a', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2022-05-31', 'Fahad Store', 1000, 'Fahad Ado Muhammad', '2895b0b8-f1b1-4b11-9339-b0665d08df33', '', 'Good', '2022-05-16 14:03:35', 1000, 'unit', 'Pandano', 5),
(1000, 'Panadoline', 1000, NULL, '78fc938e-939d-461a-9d31-7665ba923e70', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '1111-11-11', 'Fahad Store', 1000, 'Fahad Ado Muhammad', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', '', 'Good', '2022-04-23 13:42:03', 1000, 'unit', 'Pandano', 4),
(2000, 'Panadoline', 1000, NULL, '78fc938e-939d-461a-9d31-7665ba923e70', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2022-08-31', 'Fahad Store', 1000, 'Fahad Ado Muhammad', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', '', 'Paracetamol', '2022-04-23 13:40:49', 1000, 'unit', 'Pandano', 3),
(91, 'Pandol', 1000, NULL, 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2022-12-31', 'Fahad Store', 1900, 'Fahad Ado Muhammad', 'f0e15c5c-31b2-4ee0-aba9-ae383403602a', '', 'Paracetamol', '2022-05-17 14:42:32', 10, 'unit', 'Pandano', 8),
(97, 'Paracetamol 5mm', 200, NULL, '0960662c-ed0d-4c22-88b1-26a4fbb3ebff', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2024-12-01', 'HBhj', 280, 'Usman', '5ca789cc-01dd-4777-959e-45ab960738ac', '', 'PCM', '2022-08-31 09:42:17', 10, '', 'Drud', 11),
(149, 'Vitamin C 55mm', 700, NULL, 'f9acf595-1f09-4373-a5e9-9d297cde06fb', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '2023-10-10', 'HBhj', 200, 'Fahad Ado Muhammad', '2895b0b8-f1b1-4b11-9339-b0665d08df33', '', 'Vitamin C', '2022-08-31 10:12:33', 10, '', 'Drug', 12),
(88, 'Wahala XG 200mg', 1050, NULL, '72d1035a-4df9-4de5-b594-dfe4ac371eee', NULL, NULL, '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'false', '1992-12-12', 'HBhj', 1200, 'Fahad Ado Muhammad', '64219369-15fc-40b8-ad50-712f823b346b', '', 'Wahala', '2022-08-21 14:11:47', 20, '', 'Syrop', 10);

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

--
-- 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 NULL,
  `branch_name` varchar(50) DEFAULT NULL,
  `item_status` varchar(20) DEFAULT NULL,
  `inserted_time` datetime(6) DEFAULT NULL,
  `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) NOT NULL,
  `userName` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- 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`) VALUES
('1650535903043', '2022-04-21 10:11:43', '10CC SYRINGE ', 1, NULL, '0', '10', 'Local', '1644', NULL, '', '2025-01-30', 0, NULL, NULL, '70', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 10:11:43.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650536333214', '2022-04-21 10:18:53', '23G DISPOSABLE NEEDLE ', 2, NULL, '0', '2', 'Local', '2663', NULL, '', '2026-06-27', 0, NULL, NULL, '20', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 10:18:53.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650536333217', '2022-04-21 10:18:53', '30 DAYS BEAUTY SECRET ', 3, NULL, '0', '1', 'Local', '3213', NULL, '', '2023-09-28', 0, NULL, NULL, '18400', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 10:18:53.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650536386582', '2022-04-21 10:19:46', 'CAP ADAY KIT ', 4, NULL, '0', '2', 'Local', '2597', NULL, '', '2023-01-22', 0, NULL, NULL, '1100', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 10:19:46.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650539376757', '2022-04-21 11:09:36', 'CAP GINSOMIN (PER CARD) ', 5, NULL, '0', '2', 'Local', '3168', NULL, '', '2023-02-26', 0, NULL, NULL, '900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 11:09:36.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650539967163', '2022-04-21 11:19:27', 'BRETT MOUTH WASH 250ML ', 6, NULL, '0', '1', 'Local', '3189', NULL, '', '2024-11-29', 0, NULL, NULL, '700', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 11:19:27.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650548908392', '2022-04-21 13:48:28', 'CAP BAROLE 20MG (PER CARD) ', 7, NULL, '0', '2', 'Local', '3023', NULL, '', '2023-12-25', 0, NULL, NULL, '1000', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 13:48:28.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650549813555', '2022-04-21 14:03:33', 'CAP CYPRON ', 8, NULL, '0', '2', 'Local', '2609', NULL, '', '2026-06-27', 0, NULL, NULL, '320', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:03:33.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650549813556', '2022-04-21 14:03:33', 'CAP FLUMOX 500MG ', 9, NULL, '0', '1', 'Local', '1592', NULL, '', '2023-10-29', 0, NULL, NULL, '2400', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:03:33.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650550527585', '2022-04-21 14:15:27', '23G DISPOSABLE NEEDLE ', 10, NULL, '0', '1', 'Local', '2663', NULL, '', '2026-06-27', 0, NULL, NULL, '20', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:15:27.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650550527588', '2022-04-21 14:15:27', '5 DEXTROSE SALINE (UNIQUE)', 11, NULL, '0', '1', 'Local', '2228', NULL, '', '2025-08-28', 0, NULL, NULL, '900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:15:27.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650551823267', '2022-04-21 14:37:03', 'BIOFLOR POWDER ', 12, NULL, '0', '1', 'Local', '2886', NULL, '', '2022-06-22', 0, NULL, NULL, '200', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:37:03.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650551823273', '2022-04-21 14:37:03', 'BIOFLOR POWDER ', 13, NULL, '0', '2', 'Local', '2909', NULL, '', '2022-06-05', 0, NULL, NULL, '201', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:37:03.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('1650551883538', '2022-04-21 14:38:03', 'BACTROBAN CREAM (MUPIROCIN)', 14, NULL, '0', '1', 'Local', '2764', NULL, '', '2023-05-30', 0, NULL, NULL, '2300', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-04-21 14:38:03.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('', '2022-04-23', ' GTT DRUPHAGAN', 15, '20220423022335', '1000', '0', '', '2906', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 13:23:35.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '5ca789cc-01dd-4777-959e-45ab960738ac', 'Usman', 1000, 'Purchase Order', ''),
('', '2022-04-23', '10CC SYRINGE ', 16, '20220423022428', '1000', '0', '', '1644', NULL, '0', '2022-12-31', 100, 100, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 13:24:28.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '2895b0b8-f1b1-4b11-9339-b0665d08df33', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 17, '20220423023353', '1000', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 10000, 10000, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 13:33:53.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Fahad', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 10000, 'Purchase Order', ''),
('', '2022-04-23', 'Panadol', 18, '20220423023353', '1000', '0', '', '8169bfa3-7441-4f55-9e03-e86ef1d5e7e8', NULL, '0', '2022-12-31', 10000, 10000, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 13:33:53.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Fahad', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 10000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 19, '20220423023353', '1000', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 10000, 10000, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 14:35:03.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Fahad', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 10000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 20, '20220423023353', '1000', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 10000, 10000, '0', '1000', 'Purchase order', '', '', NULL, '2022-04-23 14:35:45.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Fahad', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 10000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 21, '20220423023810', '100', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 13:38:10.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 22, '20220423023810', '100', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 14:39:06.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-04-23', 'Goodline', 23, '20220423023940', '10000', '0', '', '9aa78d01-e833-4087-9b11-f0822f493f69', NULL, '0', '2022-12-31', 10000, 10000, '0', '10000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 13:39:40.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Fahad', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 10000, 'Purchase Order', ''),
('', '2022-04-23', 'Panadoline', 24, '20220423024049', '1000', '0', '', '78fc938e-939d-461a-9d31-7665ba923e70', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 13:40:49.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-04-23', 'Panadoline', 25, '20220423024123', '1000', '0', '', '78fc938e-939d-461a-9d31-7665ba923e70', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 13:41:23.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-04-23', 'Panadoline', 26, '20220423024203', '1000', '0', '', '78fc938e-939d-461a-9d31-7665ba923e70', NULL, '0', '1111-11-11', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-04-23 13:42:03.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-05-16', 'Anpasolin', 27, '20220516030335', '1000', '0', '', '486e769c-061a-4e7f-ace4-4217d2849d3a', NULL, '0', '2022-05-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-05-16 14:03:35.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '2895b0b8-f1b1-4b11-9339-b0665d08df33', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('', '2022-05-16', 'Angolin', 28, '20220516032455', '90', '0', '', '4bb1cb89-29a8-43f5-8c6c-9b032c1ab97e', NULL, '0', '2022-05-18', 100, 100, '0', '200', 'Purchase order', '', 'Fahad Store', NULL, '2022-05-16 14:24:55.000000', 'admin123', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', 'Fahad Ado Muhammad', 10, 'Purchase Order', ''),
('', '2022-05-16', 'Angolin', 29, '20220516032455', '1000', '0', '', 'd8bd1ed8-e357-43e1-8b05-ec576fd21852', NULL, '0', '2022-12-31', 1000, 1000, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-05-16 14:24:55.000000', 'admin123', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('1652711139001', '2022-05-16 14:25:39', 'Angolin', 30, NULL, '0', '2', 'Local', 'd8bd1ed8-e357-43e1-8b05-ec576fd21852', NULL, '', '2022-12-31', 0, NULL, NULL, '1000', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-16 14:25:39.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin123'),
('1652711179113', '2022-05-16 14:26:19', 'Angolin', 31, NULL, '0', '10', 'Local', '4bb1cb89-29a8-43f5-8c6c-9b032c1ab97e', NULL, '', '2022-05-18', 0, NULL, NULL, '200', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-16 14:26:19.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin123'),
('', '2022-05-17', 'Pandol', 32, '20220517034232', '100', '0', '', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '0', '2022-12-31', 1000, 1000, '0', '1900', 'Purchase order', '', 'Fahad Store', NULL, '2022-05-17 14:42:32.000000', 'doooo', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', 'f0e15c5c-31b2-4ee0-aba9-ae383403602a', 'Fahad Ado Muhammad', 10, 'Purchase Order', ''),
('1652798582177', '2022-05-17 14:43:02', 'Pandol', 33, NULL, '0', '2', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 14:43:02.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652799467314', '2022-05-17 14:57:47', 'Pandol', 34, NULL, '0', '1', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 14:57:47.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652799534884', '2022-05-17 14:58:54', 'Pandol', 35, NULL, '0', '2', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 14:58:54.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652799700503', '2022-05-17 15:01:40', 'Pandol', 36, NULL, '0', '2', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 15:01:40.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652799731432', '2022-05-17 15:02:11', 'Pandol', 37, NULL, '0', '1', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 15:02:11.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652799981748', '2022-05-17 15:06:21', 'Pandol', 38, NULL, '0', '1', 'Local', 'a838142b-6a4e-44bf-b624-c59b5c988b6a', NULL, '', '2022-12-31', 0, NULL, NULL, '1900', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 15:06:21.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'doooo'),
('1652800378256', '2022-05-17 15:12:58', 'Anpasolin', 39, NULL, '0', '1', 'Local', '486e769c-061a-4e7f-ace4-4217d2849d3a', NULL, '', '2022-05-31', 0, NULL, NULL, '1000', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-05-17 15:12:58.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('', '2022-07-07', 'Amozine', 40, '20220707111519', '1000', '0', '', 'e5e33ece-3e59-4d68-9a60-07630c3fafe1', NULL, '0', '2024-12-31', 100, 100, '0', '1000', 'Purchase order', '', 'Fahad Store', NULL, '2022-07-07 10:15:19.000000', 'admin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Pandano', '', '', '', '7ecc0624-7667-4366-a81c-6f09ad8f5750', 'Fahad Ado Muhammad', 1000, 'Purchase Order', ''),
('1657188960696', '2022-07-07 10:16:00', 'Amozine', 41, NULL, '0', '2', 'Local', 'e5e33ece-3e59-4d68-9a60-07630c3fafe1', NULL, '', '2024-12-31', 0, NULL, NULL, '1000', 'Fahad Store', 'pos', 'Fahad Store', NULL, '2022-07-07 10:16:00.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', 'admin'),
('', '2022-08-21', 'Wahala XG 200mg', 42, '20220821021146', '100', '0', '', '72d1035a-4df9-4de5-b594-dfe4ac371eee', NULL, '0', '1992-12-12', 1050, 1050, '0', '1200', 'Purchase order', 'HBhj', 'HBhj', NULL, '2022-08-21 14:11:47.000000', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Syrop', '', '', '', '64219369-15fc-40b8-ad50-712f823b346b', 'Fahad Ado Muhammad', 20, 'Purchase Order', ''),
('1661897381568', '2022-08-30 22:09:41', 'Wahala XG 200mg', 43, NULL, '0', '6', 'Local', '72d1035a-4df9-4de5-b594-dfe4ac371eee', NULL, '', '1992-12-12', 0, NULL, NULL, '1200', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-30 22:09:41.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('1661898890742', '2022-08-30 22:34:50', 'Wahala XG 200mg', 44, NULL, '0', '4', 'Local', '72d1035a-4df9-4de5-b594-dfe4ac371eee', NULL, '', '1992-12-12', 0, NULL, NULL, '1200', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-30 22:34:50.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('', '2022-08-31', 'Paracetamol 5mm', 45, '20220831094217', '100', '0', '', '0960662c-ed0d-4c22-88b1-26a4fbb3ebff', NULL, '0', '2024-12-01', 200, 200, '0', '280', 'Purchase order', 'HBhj', 'HBhj', NULL, '2022-08-31 09:42:17.000000', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Drud', '', '', '', '5ca789cc-01dd-4777-959e-45ab960738ac', 'Usman', 10, 'Purchase Order', ''),
('1661939015829', '2022-08-31 09:43:36', 'Paracetamol 5mm', 46, NULL, '0', '1', 'Local', '0960662c-ed0d-4c22-88b1-26a4fbb3ebff', NULL, '', '2024-12-01', 0, NULL, NULL, '280', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-31 09:43:36.000000', '', '6c6af0c0-35ea-40d8-a928-b13a9766113a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('1661940116738', '2022-08-31 10:01:57', 'Paracetamol 5mm', 47, NULL, '0', '1', 'Local', '0960662c-ed0d-4c22-88b1-26a4fbb3ebff', NULL, '', '2024-12-01', 0, NULL, NULL, '280', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-31 10:01:57.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('', '2022-08-31', 'Vitamin C 55mm', 48, '20220831101233', '150', '0', '', 'f9acf595-1f09-4373-a5e9-9d297cde06fb', NULL, '0', '2023-10-10', 700, 700, '0', '200', 'Purchase order', 'HBhj', 'HBhj', NULL, '2022-08-31 10:12:33.000000', 'Brainstorm', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', NULL, '', 'Drug', '', '', '', '2895b0b8-f1b1-4b11-9339-b0665d08df33', 'Fahad Ado Muhammad', 10, 'Purchase Order', ''),
('1661940792690', '2022-08-31 10:13:13', 'Paracetamol 5mm', 49, NULL, '0', '1', 'Local', '0960662c-ed0d-4c22-88b1-26a4fbb3ebff', NULL, '', '2024-12-01', 0, NULL, NULL, '280', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-31 10:13:13.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('1661940792697', '2022-08-31 10:13:13', 'Vitamin C 55mm', 50, NULL, '0', '1', 'Local', 'f9acf595-1f09-4373-a5e9-9d297cde06fb', NULL, '', '2023-10-10', 0, NULL, NULL, '200', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-31 10:13:13.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', ''),
('1661940792698', '2022-08-31 10:13:13', 'Wahala XG 200mg', 51, NULL, '0', '2', 'Local', '72d1035a-4df9-4de5-b594-dfe4ac371eee', NULL, '', '1992-12-12', 0, NULL, NULL, '1200', 'HBhj', 'pos', 'HBhj', NULL, '2022-08-31 10:13:13.000000', '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '', '', '', '', '', '', '', '', NULL, 'sales', '');

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

--
-- 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;

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

--
-- 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;

--
-- Dumping data for table `previous_doc`
--

INSERT INTO `previous_doc` (`id`, `patient_id`, `file_type`, `file_url`, `file_date`, `created_at`) VALUES
(1, '5119-1', 'Consultation', 'uploads/5119-1 cons (1).jpg-1657540904938.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(2, '5119-1', 'Consultation', 'uploads/5119-1 cons (2).jpg-1657540906058.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(3, '5119-1', 'Consultation', 'uploads/5119-1 cons (4).jpg-1657540906392.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(4, '5119-1', 'Consultation', 'uploads/5119-1 cons (5).jpg-1657540906402.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(5, '5119-1', 'Consultation', 'uploads/5119-1 cons (6).jpg-1657540906661.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(6, '5119-1', 'Consultation', 'uploads/5119-1 cons (3).jpg-1657540906096.jpeg', '2022-07-11', '2022-07-11 12:01:46'),
(7, '7104-1', 'Other', 'uploads/7104-1 cons.jpg-1657555194613.jpeg', '2022-07-11', '2022-07-11 15:59:55'),
(8, '7104-1', 'Other', 'uploads/7104-1_cons.jpg-1657555195198.jpeg', '2022-07-11', '2022-07-11 15:59:55'),
(9, '7104-1', 'Consultation', 'uploads/7104-1 estimate (1).jpg-1657555299849.jpeg', '2022-07-11', '2022-07-11 16:01:40'),
(10, '7104-1', 'Consultation', 'uploads/7104-1 estimate (2).jpg-1657555299856.jpeg', '2022-07-11', '2022-07-11 16:01:40'),
(11, '7104-1', 'Consultation', 'uploads/7104-1 img (1).jpg-1657555300126.jpeg', '2022-07-11', '2022-07-11 16:01:40'),
(12, '7104-1', 'Consultation', 'uploads/7104-1 img (2).jpg-1657555300738.jpeg', '2022-07-11', '2022-07-11 16:01:40');

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

--
-- 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 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 DEFAULT NULL,
  `specimen` varchar(100) NOT NULL,
  `price` int(100) NOT NULL,
  `commission_type` varchar(50) CHARACTER SET utf8mb4 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;

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

--
-- 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;

--
-- 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;

--
-- 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;

--
-- 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 08: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 10:51:47', 'admin', '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` varchar(100)
,`booking_no` varchar(100)
,`name` varchar(101)
,`code` varchar(50)
,`patient_id` varchar(50)
,`status` varchar(20)
,`department` varchar(30)
,`head` varchar(100)
,`test_group` varchar(20)
,`description` varchar(200)
,`subhead` varchar(100)
);

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

--
-- 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;

--
-- 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 07:49:34', '', '0000-00-00 00:00:00', ''),
(4, 'Tetracycline', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-08-27 07:49:34', '', '0000-00-00 00:00:00', ''),
(5, 'Ampicilin', '966a89f6-05d8-4564-b319-2f8863821e75', '2020-08-27 07:49:34', '', '0000-00-00 00:00:00', ''),
(6, 'Cloxacillin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 10:53:23', 'abdurrahman', NULL, NULL),
(7, 'Penicillin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 10:54:23', 'abdurrahman', NULL, NULL),
(8, 'Flucloxacillin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 10:54:32', 'abdurrahman', NULL, NULL),
(9, 'Tetracycline', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 10:54:42', 'abdurrahman', NULL, NULL),
(10, 'Ampicilin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-03-14 10:54:50', 'abdurrahman', NULL, NULL),
(11, 'Gentamacin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-10-26 14:03:19', 'zaks', NULL, NULL),
(12, 'Colistin sulphate', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:54:34', 'abdurrahman', NULL, NULL),
(13, 'Amoxycline /clavulanic acid', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:54:48', 'abdurrahman', NULL, NULL),
(14, 'Cefuroxime', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:55:05', 'abdurrahman', NULL, NULL),
(15, 'Azithromycin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:55:39', 'abdurrahman', NULL, NULL),
(16, 'Doxycycline', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:55:53', 'abdurrahman', NULL, NULL),
(17, 'Imipenem', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:56:34', 'abdurrahman', NULL, NULL),
(18, 'Meropenem', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14:56:47', 'abdurrahman', NULL, NULL),
(19, 'Clindamycin', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-12-02 14: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;

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

--
-- 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;

--
-- 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;

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

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

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

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

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

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

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

INSERT INTO `suppliersinfo` (`facilityId`, `id`, `supplier_name`, `date`, `address`, `phone`, `supplier_code`, `balance`, `status`, `website`, `tinnumber`, `supplier_type`, `vat`, `email`, `other_info`, `version_id`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 1, 'Fahad Ado Muhammad', '2022-04-16 09:40:30', '108 gama', '', '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', -119944656, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 2, 'Fahad Ado Muhammad', '2022-04-21 08:37:22', '108 gama', '08067643479', '2895b0b8-f1b1-4b11-9339-b0665d08df33', -2180001, NULL, 'gmail.com', '0', '', '0', '8790fahadado@gmail.com', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 3, 'Usman', '2022-04-21 08:38:14', '', '', '5ca789cc-01dd-4777-959e-45ab960738ac', -1018000, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 4, 'Umar', '2022-04-21 08:40:10', '', '', '62b7bf5c-9ff1-4245-a754-323ca7bb07d7', 0, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 5, 'Usman', '2022-04-21 08:40:59', '', '', '5f5e4ccf-427d-497c-9660-f997ac025125', 0, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 6, 'Fahad Ado Muhammad', '2022-04-21 09:50:49', '108 gama', '', '64219369-15fc-40b8-ad50-712f823b346b', -105000, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 7, 'Fahad Ado Muhammad', '2022-04-21 09:53:11', '108 gama', '', '7d86dfc7-3a66-42cd-91a0-1d3d63c57da2', 0, NULL, '', '0', '', '0', '', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 8, 'Fahad Ado Muhammad', '2022-04-23 13:33:09', '108 gama', '08067643479', '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', -133200000, NULL, 'gmail.com', '0', '', '0', '08067643479', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 9, 'Fahad Ado Muhammad', '2022-05-16 14:22:24', '108 gama', '08067643479', 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', -1009000, NULL, 'gmail.com', '0', '', '0', '8790fahadado@gmail.com', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 10, 'Fahad Ado Muhammad', '2022-05-17 14:41:28', '108 gama', '08067643479', 'f0e15c5c-31b2-4ee0-aba9-ae383403602a', -100000, NULL, 'www.gmail.com', '0', '', '0', '08067643479', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 11, 'Fahad Ado Muhammad', '2022-07-07 10:14:00', '108 Gama C Ahmadiyyah Street Kano City.', '+2348067643479', '7ecc0624-7667-4366-a81c-6f09ad8f5750', -98100, NULL, 'fahad.com', '0', '', '0', '08067643479', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 12, 'Fahad Ado Muhammad', '2022-08-14 15:28:29', '108 Gama C Ahmadiyyah Street Kano City.', '+2348067643479', '9945b3d0-cc5e-40e7-8510-4b13518090f5', 1000, NULL, 'gmail.com', '0', '', '0', '8790fahadado@gmail.com', '', ''),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 13, 'Fahad Ado Muhammad', '2022-08-14 15:33:01', '108 Gama C Ahmadiyyah Street Kano City.', '+2348067643479', 'cf2c72da-6ecc-476a-a6d9-c3ecff411f11', 2100, NULL, 'gmail.com', '0', '', '0', '08067643479', '', '');

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

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

CREATE TABLE `supplier_entries` (
  `entry_id` int(11) NOT NULL,
  `supplier_id` varchar(50) NOT NULL,
  `dr` float NOT NULL,
  `cr` float NOT NULL,
  `reference_no` varchar(50) NOT NULL,
  `facilityId` varchar(50) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `description` varchar(50) NOT 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;

--
-- 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, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 10000, '16042223', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-16 08:40:47', 'Payment', NULL, NULL, '', NULL, NULL),
(2, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 100000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-16 08:45:22', 'Kawama', '', '', '', 100000, 1000),
(3, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 12345, '18042213', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-18 07:52:50', 'Payment', NULL, NULL, '', NULL, NULL),
(4, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-19 17:15:42', '2CC SYRINGE ', '', '', '', 10000, 1000),
(5, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-19 17:15:58', '2CC SYRINGE ', '', '', '', 10000, 1000),
(6, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 1, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-21 08:41:28', 'BIOCOTEN CREAM ', '', '', '', 1, 1),
(7, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-21 08:43:42', '5CC SYRINGE ', '', '', '', 1000, 1000),
(8, '5ca789cc-01dd-4777-959e-45ab960738ac', 0, 1000, '21042216', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-21 08:52:06', 'Payment', NULL, NULL, '', NULL, NULL),
(9, '5ca789cc-01dd-4777-959e-45ab960738ac', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:23:35', ' GTT DRUPHAGAN', '', '', '', 1000, 1000),
(10, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 100000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:24:28', '10CC SYRINGE ', '', '', '', 100, 1000),
(11, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:33:53', 'Goodline', '', '', '', 10000, 1000),
(12, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:33:53', 'Panadol', '', '', '', 10000, 1000),
(13, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:35:03', 'Goodline', '', '', '', 10000, 1000),
(14, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 10000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:35:45', 'Goodline', '', '', '', 10000, 1000),
(15, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 100000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:38:10', 'Goodline', '', '', '', 1000, 100),
(16, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 100000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:39:06', 'Goodline', '', '', '', 1000, 100),
(17, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 100000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:39:40', 'Goodline', '', '', '', 10000, 10000),
(18, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:40:49', 'Panadoline', '', '', '', 1000, 1000),
(19, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:41:23', 'Panadoline', '', '', '', 1000, 1000),
(20, '19ee44c1-4c95-4f68-9aca-68ad7b29ee62', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-04-23 12:42:03', 'Panadoline', '', '', '', 1000, 1000),
(21, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-05-16 13:03:35', 'Anpasolin', '', '', '', 1000, 1000),
(22, 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', 9000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-05-16 13:24:55', 'Angolin', '', '', '', 100, 90),
(23, 'faae946f-d218-4cd1-a1e0-dbd2edb0d0ec', 1000000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-05-16 13:24:55', 'Angolin', '', '', '', 1000, 1000),
(24, 'f0e15c5c-31b2-4ee0-aba9-ae383403602a', 100000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-05-17 13:42:32', 'Pandol', '', '', '', 1000, 100),
(25, '7ecc0624-7667-4366-a81c-6f09ad8f5750', 0, 1900, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-07 09:14:00', 'Opening Balance', '', '', '', 0, 0),
(26, '7ecc0624-7667-4366-a81c-6f09ad8f5750', 100000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-07 09:15:19', 'Amozine', '', '', '', 100, 1000),
(27, 'cf2c72da-6ecc-476a-a6d9-c3ecff411f11', 0, 1000, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 14:33:01', 'Opening Balance', '', '', '', 0, 0),
(28, 'cf2c72da-6ecc-476a-a6d9-c3ecff411f11', 0, 1000, '151', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 14:42:09', 'Payment', NULL, NULL, NULL, NULL, NULL),
(29, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 14:53:46', 'Payment', NULL, NULL, NULL, NULL, NULL),
(30, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 10000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 14:54:29', 'Payment', NULL, NULL, NULL, NULL, NULL),
(31, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:06:03', 'Payment', NULL, NULL, NULL, NULL, NULL),
(32, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:07:27', 'Payment', NULL, NULL, NULL, NULL, NULL),
(33, '9945b3d0-cc5e-40e7-8510-4b13518090f5', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:12:32', 'Payment', NULL, NULL, NULL, NULL, NULL),
(34, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:15:57', 'Payment', NULL, NULL, NULL, NULL, NULL),
(35, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 10000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:16:59', 'Payment', NULL, NULL, NULL, NULL, NULL),
(36, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:17:41', 'Payment', NULL, NULL, NULL, NULL, NULL),
(37, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 10000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:19:46', 'pp', NULL, NULL, NULL, NULL, NULL),
(38, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 10000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:20:54', 'Payment', NULL, NULL, NULL, NULL, NULL),
(39, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 10000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:21:47', 'Payment', NULL, NULL, NULL, NULL, NULL),
(40, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:22:30', 'Payment', NULL, NULL, NULL, NULL, NULL),
(41, '6d0f8040-0e3f-4074-b725-e3c3d89ad43c', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:23:45', 'Payment', NULL, NULL, NULL, NULL, NULL),
(42, '5ca789cc-01dd-4777-959e-45ab960738ac', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:24:35', 'Payment', NULL, NULL, NULL, NULL, NULL),
(43, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 0, 1000, '15251', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-14 15:26:22', 'Payment', NULL, NULL, NULL, NULL, NULL),
(44, '64219369-15fc-40b8-ad50-712f823b346b', 105000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-21 14:11:46', 'Wahala XG 200mg', '', '', '', 1050, 100),
(45, '5ca789cc-01dd-4777-959e-45ab960738ac', 20000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 09:42:17', 'Paracetamol 5mm', '', '', '', 200, 100),
(46, '2895b0b8-f1b1-4b11-9339-b0665d08df33', 105000, 0, '', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:12:33', 'Vitamin C 55mm', '', '', '', 700, 150);

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

--
-- 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;

--
-- 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 14:42:09', '1'),
(11, 'Dr. Hassan Ismail', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:43:10', '1'),
(21, 'Dr. Nasiru Jinjiri', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:43:25', '1'),
(31, 'Dr. Misbahu Haruna', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:43:37', '1'),
(41, 'Dr. M. K. Abubakar', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:44:27', '1'),
(204, 'Dr Chiroma', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-11 19:12:35', 'abdurrahman'),
(71, 'Dr. Ibrahim Karofi', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:46:47', '1'),
(81, 'Dr. Dalhat Salahu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:47:10', '1'),
(91, 'Dr. Nuhu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:47:34', '1'),
(101, 'Dr. Alfa', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 14:47:43', '1'),
(121, 'Mal Ibrahim', 'Scrub Nurse', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 23:22:55', '5'),
(141, 'Dr Nasiru', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-04 23:23:51', '5'),
(151, 'Dr Mukhtar Teli', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 22:49:08', '5'),
(161, 'Dr Musa Tauhid', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 23:16:27', '5'),
(171, 'Dr Garko', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 23:16:45', '5'),
(194, 'Dr Abubakar Nagoma', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-06-06 19:10:28', 'abdurrahman'),
(191, 'Dr Musa Ibrahim', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2020-09-06 23:18:06', '5'),
(193, 'Dr Ibrahim Abba', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-06-03 18:50:33', 'abdurrahman'),
(196, 'Dr Magashi', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-06-27 15:55:29', 'abdurrahman'),
(197, 'Dr Mubarak', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-07-05 18:22:17', 'abdurrahman'),
(198, 'Dr Abubakar Musa', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-07-05 18:22:53', 'abdurrahman'),
(199, 'Dr Shobode', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-08-29 21:18:42', 'abdurrahman'),
(200, 'Mal Jamilu', 'Anesthetists', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-08-29 21:24:34', 'abdurrahman'),
(201, 'Dr Usman Bello', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2021-10-10 08:06:35', 'abdurrahman'),
(203, 'Dr Umma Abubakar Isah', 'Surgeon', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-06-17 19:20:28', 'abdurrahman');

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

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

CREATE TABLE `surgical_note` (
  `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;

--
-- Dumping data for table `surgical_note`
--

INSERT INTO `surgical_note` (`patient_id`, `patient_name`, `relative`, `agreed`, `witness_by`, `created_by`, `facilityId`, `created_at`) VALUES
('329-2', 'Idris Dangana', 'Muratala', 'Yes', 'Mustapha Issa Toyin', 'abdurrahman', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-05 03:34:36'),
('7256-1', 'Usman Jamila', 'Hadiza Usman Yari', 'Yes', 'Mustapha Abdullahi (Staff)', 'Manager', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-21 08:14:53'),
('7258-1', 'Abdullahi Aliyu', 'Aliyu Adamu', 'Yes', 'Mal Jamilu', 'Manager', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-23 10:32:30'),
('7268-1', 'Uchenna Arisi', 'Arisi m. Prince', 'Yes', 'Mal Jamilu', 'MBature', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-23 12:39:37'),
('4164-1', 'Suleiman Muhammad', 'Suleiman muhammad', 'Yes', 'Abdulmajid suleiman', 'MBature', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-07-24 12:08:56');

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

--
-- 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;

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

INSERT INTO `surgical_note_temp` (`id`, `template`, `created_at`, `facilityId`) VALUES
(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;

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

--
-- 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(30)
,`receiptNo` varchar(30)
,`modeOfPayment` varchar(15)
,`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 DEFAULT current_timestamp(),
  `transaction_id` int(11) NOT NULL,
  `transaction_date` date DEFAULT NULL,
  `id` int(11) DEFAULT NULL,
  `description` varchar(225) DEFAULT NULL,
  `acct` varchar(100) DEFAULT NULL,
  `debit` int(50) DEFAULT NULL,
  `credit` int(50) DEFAULT NULL,
  `enteredBy` varchar(20) DEFAULT NULL,
  `receiptDateSN` varchar(30) NOT NULL DEFAULT '0',
  `receiptNo` varchar(30) DEFAULT '0',
  `modeOfPayment` varchar(15) 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `transactions` (`facilityId`, `createdAt`, `transaction_id`, `transaction_date`, `id`, `description`, `acct`, `debit`, `credit`, `enteredBy`, `receiptDateSN`, `receiptNo`, `modeOfPayment`, `bank_name`, `status`, `approvedBy`, `paymentStatus`, `client_acct`, `patient_id`) VALUES
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 00:00:00', 1, '2022-08-15', NULL, 'Deposit from account 26', '400021', 20000, 0, 'Brainstorm', '15082211', '1', 'cash', '', 'pending', NULL, '', '26', '26'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 00:00:00', 2, '2022-08-15', NULL, 'Deposit from account 26', '400023', 0, 5000, 'Brainstorm', '15082211', '1', 'cash', '', 'pending', NULL, '', '26', '26'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 00:00:00', 3, '2022-08-15', NULL, 'Deposit from account 26', '500021', 0, 15000, 'Brainstorm', '15082211', '1', 'cash', '', 'pending', NULL, '', '26', '26'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 06:42:39', 4, '2022-08-15', NULL, 'PSC ANNEX ( 0, 1, 2, 3, )', '20007', 0, 25000, 'Brainstorm', '2', '24', 'deposit', '', 'pending', NULL, '', '26', '26-1'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 06:42:39', 5, '2022-08-15', NULL, 'PSC ANNEX ( 0, 1, 2, 3, )', '500021', 15000, 0, 'Brainstorm', '2', '24', 'deposit', '', 'pending', NULL, '', '26', '26-1'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 06:42:39', 6, '2022-08-15', NULL, 'PSC ANNEX ( 0, 1, 2, 3, )', '400023', 10000, 0, 'Brainstorm', '2', '24', 'deposit', '', 'pending', NULL, '', '26', '26-1'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 06:42:39', 7, '2022-08-15', NULL, 'Specialist Consultation', '20004', 0, 10000, 'Brainstorm', '2', '24', 'deposit', '', 'pending', NULL, '', '26', '26-1'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-15 06:42:39', 8, '2022-08-15', NULL, 'Specialist Consultation', '400023', 10000, 0, 'Brainstorm', '2', '24', 'deposit', '', 'pending', NULL, '', '26', '26-1'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', '2022-08-30 16:14:47', 9, '2022-08-30', NULL, 'Full Payment for (Wahala XG 200mg)', 'CASH', 3600, 0, '', '202208301614479', '20220830161447', 'CASH', '', 'copleted', NULL, '', '', '1'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', '2022-08-30 16:26:02', 10, '2022-08-30', NULL, 'Full Payment for (Wahala XG 200mg)', 'CASH', 3600, 0, '', '202208301626029', '20220830162602', 'CASH', '', 'copleted', NULL, '', '', '1'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', '2022-08-30 22:09:41', 11, '2022-08-30', NULL, 'Full Payment for (Wahala XG 200mg)', 'CASH', 7200, 0, '', '202208302209419', '20220830220941', 'CASH', '', 'copleted', NULL, '', '', '24'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', '2022-08-30 22:34:50', 12, '2022-08-30', NULL, 'Full Payment for (Wahala XG 200mg)', 'CASH', 4800, 0, '', '202208302234509', '20220830223450', 'CASH', '', 'copleted', NULL, '', '', '24'),
('6c6af0c0-35ea-40d8-a928-b13a9766113a', '2022-08-31 09:43:35', 13, '2022-08-31', NULL, 'Full Payment for (Paracetamol 5mm)', 'CASH', 280, 0, '', '20220831943359', '2022083194335', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:01:56', 14, '2022-08-31', NULL, 'Paracetamol 5mm', 'CASH', 0, 280, '', '202208311001569', '20220831100156', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:01:56', 15, '2022-08-31', NULL, 'Paracetamol 5mm', '500021', 280, 0, '', '202208311001569', '20220831100156', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:01:56', 16, '2022-08-31', NULL, 'Full Payment for (Paracetamol 5mm)', 'CASH', 280, 0, '', '202208311001569', '20220831100156', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:12', 17, '2022-08-31', NULL, 'Paracetamol 5mm', 'CASH', 0, 280, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:12', 18, '2022-08-31', NULL, 'Vitamin C 55mm', 'CASH', 0, 200, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:12', 19, '2022-08-31', NULL, 'Paracetamol 5mm', '500021', 280, 0, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:12', 20, '2022-08-31', NULL, 'Vitamin C 55mm', '500021', 200, 0, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:12', 21, '2022-08-31', NULL, 'Wahala XG 200mg', 'CASH', 0, 2400, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:13', 22, '2022-08-31', NULL, 'Wahala XG 200mg', '500021', 920, 0, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:13', 23, '2022-08-31', NULL, 'Wahala XG 200mg', '400023', 1480, 0, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24'),
('1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', '2022-08-31 10:13:13', 24, '2022-08-31', NULL, 'Full Payment for (Paracetamol 5mm,Vitamin C 55mm,Wahala XG 200mg)', 'CASH', 2880, 0, '', '2022083110015717', '20220831100157', 'CASH', '', 'copleted', NULL, '', '', '24');

--
-- 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
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- 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;

--
-- 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 11:03:14'),
(9, '', 'Revenue', 'Cash', '6c6af0c0-35ea-40d8-a928-b13a9766113a', '40', '2020-08-17 06:13:26'),
(10, '', 'Registration & Testing fees', 'Cash', '966a89f6-05d8-4564-b319-2f8863821e75', '41', '2020-08-28 08:36:52');

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

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

CREATE TABLE `transaction_backup` (
  `facilityId` varchar(50) CHARACTER SET latin1 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 DEFAULT NULL,
  `acct` varchar(100) CHARACTER SET latin1 DEFAULT NULL,
  `debit` int(50) DEFAULT NULL,
  `credit` int(50) DEFAULT NULL,
  `enteredBy` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `receiptDateSN` varchar(18) CHARACTER SET latin1 NOT NULL DEFAULT '0',
  `receiptNo` int(7) DEFAULT 0,
  `modeOfPayment` varchar(15) CHARACTER SET latin1 DEFAULT NULL,
  `status` varchar(10) CHARACTER SET latin1 DEFAULT 'pending',
  `approvedBy` varchar(20) CHARACTER SET latin1 DEFAULT NULL,
  `paymentStatus` varchar(11) CHARACTER SET latin1 NOT NULL DEFAULT '',
  `client_acct` varchar(11) CHARACTER SET latin1 DEFAULT NULL,
  `patient_id` varchar(50) CHARACTER SET latin1 NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- 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;

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

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

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

--
-- Stand-in structure for view `transaction_view2`
-- (See below for the actual view)
--
CREATE TABLE `transaction_view2` (
`date` timestamp
,`drug` varchar(20)
,`quantity` int(11)
,`price` int(10)
,`profit` bigint(21)
,`amount` bigint(22)
,`facilityId` varchar(50)
);

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

--
-- 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;

--
-- 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` varchar(100)
,`subhead` varchar(50)
,`des` varchar(500)
,`acct` varchar(100)
,`description` varchar(500)
,`debit` decimal(65,0)
,`credit` decimal(65,0)
,`createdAt` date
,`date` date
,`facilityId` varchar(50)
);

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

--
-- 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(30)
,`receiptNo` varchar(30)
,`modeOfPayment` varchar(15)
,`client_acct` varchar(200)
);

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

--
-- 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
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- 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`) VALUES
(823, 'Brainstorm', 'IT Solutions', 4, 'Admin', '', 'Laboratory,Nurse,Theater,Doctors,Records,Accounts,Pharmacy,Admin', NULL, 'Brainstorm', 'info@brainstorm.ng', NULL, NULL, NULL, NULL, NULL, '$2a$10$mnzqz0XhrhpX4FrtYw9/6.p8AaRwLwkaA/2OHWaLY.gAFJ1uS/6qe', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2022-08-04 12:00:05', '2022-08-04 12:02:19', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'abdurrahman', '', 'Dashboard,Registrations,Client Registrations,Customer Approval,Donations Report,Sample Collection,Report Form,Organization Report,Sample Analysis,Chemical Pathology Analysis,Hematology Analysis,Microbiology Analysis,Radiology Scan,Radiology Analysis,Cardiology Analysis,Doctor Comment,Antibiotics Form,Lab Archive,Setup Lab Test,Report Summary,Inventory Overview,Analytics,Profit,Suppliers Overview,Daily Sales,Store Management,Requisition,Inventory Table,Purchase Other,GRN,Goods Transfer Form,Item Description,Manage Suppliers,In-Patient Vitals,Drug Schedule,Nursing Requests,Out-Patient Prescriptions,Nursing Report,Add New Account Note,Patient List,Appointments,Consultations,Lab Results,Video Chat,Add New Patient,Bed Allocation,Create a Client Account,Other Incomes,Make Deposit,Record Expenses,Generate Account Report,Opening Balance,Account Statement,Create/Edit Services,Cash Handover,Setup Account Chart,Account Review,Purchase Record,Pending Discount Requests,Discount Setup,Drug Sales,Drug Dispensary,Store Record,Returned Drugs,Drug List,Create User,Manage Users,Patients List,Settings', NULL),
(824, 'Test', 'Doctor', 4, 'Doctor', '', 'Laboratory,Doctors,Appointments', NULL, 'Test-doctor', 'testdoctor@emaple.com', NULL, NULL, NULL, NULL, NULL, '$2a$10$UdNTJXkVuwGQpJ3tpMobsOj4W5BZiDKOOTyLlfAqkdCPC8uXDcI/6', 'approved ', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'https://res.cloudinary.com/emaitee/image/upload/v1593618169/mylikita/profile_images/docAvater.png', '2022-08-04 12:29:00', '2022-08-04 12:29:00', '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a', 'abdurrahman', '', 'Dashboard,Setup Lab Test,Registrations,Client Registrations,Customer Approval,Donations Report,Organization Report,Report Form,Sample Analysis,Chemical Pathology Analysis,Sample Collection,Hematology Analysis,Radiology Analysis,Radiology Scan,Microbiology Analysis,Cardiology Analysis,Doctor Comment,Antibiotics Form,Lab Archive,Patient List,Appointments,Consultations,Lab Results,Video Chat', NULL);

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

--
-- 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;

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

--
-- 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;

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

--
-- 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;

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

--
-- Structure for view `account_head`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `account_head`  AS SELECT `a`.`head` AS `head`, `a`.`subhead` AS `subhead`, `a`.`description` AS `description`, `b`.`description` AS `des` FROM (`account` `a` join `account` `b` on(`a`.`head` = `b`.`subhead`))  ;

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

--
-- 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``bedlist`  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `drug_schedule_view`  AS SELECT `a`.`drug` AS `drug`, `a`.`dosage` AS `dosage`, `a`.`patient_id` AS `patient_id`, `a`.`created_at` AS `created_at`, `b`.`id` AS `id`, `a`.`id` AS `prescription_id`, `a`.`prescribed_by` AS `prescribed_by`, `a`.`duration` AS `duration`, `a`.`period` AS `period`, `a`.`frequency` AS `frequency`, `a`.`route` AS `route`, `b`.`time_stamp` AS `time_stamp`, `b`.`administered_by` AS `administered_by`, `b`.`served_by` AS `served_by`, `b`.`reason` AS `reason`, `b`.`status` AS `status`, `a`.`facilityId` AS `facilityId` FROM (`dispensary` `a` join `drug_schedule` `b` on(`a`.`id` = `b`.`prescription_id`))  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `expenditure_view`  AS SELECT `a`.`subhead` AS `subhead`, `b`.`description` AS `description`, `b`.`modeOfPayment` AS `modeOfPayment`, `b`.`acct` AS `acct`, `b`.`createdAt` AS `createdAt`, `b`.`debit` AS `amount`, `b`.`facilityId` AS `facilityId`, `b`.`client_acct` AS `client_acct`, `b`.`enteredBy` AS `enteredBy` FROM (`account` `a` join `transactions` `b`) WHERE `a`.`head` = `b`.`acct` AND `a`.`subhead` = 'Expenditure\'Expenditure''Expenditure\'Expenditure'  ;

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

--
-- 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``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 ((`lab_setup` `b` join `lab_requisition` `a` on(convert(`b`.`subhead` using utf8mb4) = `a`.`test`)) join `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 `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` FROM ((`lab_setup` `b` join `lab_requisition` `a` on(convert(`b`.`subhead` using utf8mb4) = `a`.`test`)) join `patientrecords` `c` on(`a`.`patient_id` = convert(`c`.`id` using utf8mb4))) WHERE `a`.`facilityId` = convert(`b`.`facilityId` using utf8mb4)  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_process`  AS SELECT `a`.`sn` AS `sn`, `a`.`created_at` AS `created_at`, `a`.`facilityId` AS `facilityId`, `a`.`id` AS `id`, `a`.`qms_dept_id` AS `qms_dept_id`, `a`.`code` AS `code`, `a`.`booking_no` AS `booking_no`, `a`.`request_id` AS `request_id`, `a`.`patient_id` AS `patient_id`, `a`.`name` AS `name`, `a`.`DOB` AS `DOB`, `a`.`Gender` AS `Gender`, `a`.`head` AS `head`, `a`.`subhead` AS `subhead`, `a`.`unit` AS `unit`, `a`.`range_from` AS `range_from`, `a`.`range_to` AS `range_to`, `a`.`price` AS `price`, `a`.`old_price` AS `old_price`, `a`.`commission_type` AS `commission_type`, `a`.`percentage` AS `percentage`, `a`.`description` AS `description`, `a`.`specimen` AS `specimen`, `a`.`noOfLabels` AS `noOfLabels`, `a`.`label_type` AS `label_type`, `a`.`label_name` AS `label_name`, `a`.`group_head` AS `group_head`, `a`.`department` AS `department`, `b`.`description` AS `department_head`, `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`, `a`.`lab_code` AS `lab_code`, `a`.`selectable` AS `selectable`, `a`.`status` AS `status`, `a`.`unit_code` AS `unit_code`, `a`.`unit_name` AS `unit_name`, `a`.`print_type` AS `print_type`, `a`.`report_type` AS `report_type`, `a`.`collect_sample` AS `collect_sample`, `a`.`to_be_reported` AS `to_be_reported`, `a`.`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`.`n_unit` AS `n_unit`, `a`.`n_range_from` AS `n_range_from`, `a`.`n_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`.`patient_status` AS `patient_status`, `a`.`test` AS `test`, `a`.`test_group` AS `test_group` FROM (`lab_request2` `a` join `lab_setup` `b`) WHERE `a`.`department` = convert(`b`.`subhead` using utf8mb4) AND `a`.`facilityId` = convert(`b`.`facilityId` using utf8mb4)  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_request2`  AS SELECT `a`.`sn` AS `sn`, `a`.`created_at` AS `created_at`, `a`.`facilityId` AS `facilityId`, `a`.`id` AS `id`, `a`.`qms_dept_id` AS `qms_dept_id`, `a`.`code` AS `code`, `a`.`name` AS `name`, `a`.`DOB` AS `DOB`, `a`.`Gender` AS `Gender`, `a`.`booking_no` AS `booking_no`, `a`.`request_id` AS `request_id`, `a`.`patient_id` AS `patient_id`, `a`.`head` AS `head`, `a`.`subhead` AS `subhead`, `a`.`unit` AS `unit`, `a`.`range_from` AS `range_from`, `a`.`range_to` AS `range_to`, `a`.`price` AS `price`, `a`.`old_price` AS `old_price`, `a`.`commission_type` AS `commission_type`, `a`.`percentage` AS `percentage`, `a`.`description` AS `description`, `a`.`specimen` AS `specimen`, `a`.`noOfLabels` AS `noOfLabels`, `a`.`label_type` AS `label_type`, `a`.`label_name` AS `label_name`, `b`.`description` AS `group_head`, `a`.`department` AS `department`, `a`.`unit_code` AS `unit_code`, `a`.`unit_name` AS `unit_name`, `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`, `a`.`lab_code` AS `lab_code`, `a`.`selectable` AS `selectable`, `a`.`status` AS `status`, `a`.`print_type` AS `print_type`, `a`.`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`.`n_unit` AS `n_unit`, `a`.`n_range_from` AS `n_range_from`, `a`.`n_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`.`patient_status` AS `patient_status`, `a`.`test` AS `test`, `a`.`test_group` AS `test_group` FROM (`lab_info` `a` join `lab_setup` `b` on(`b`.`subhead` = `a`.`head`)) WHERE `a`.`facilityId` = convert(`b`.`facilityId` using utf8mb4)  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `lab_requests`  AS SELECT `a`.`department` AS `department`, `a`.`patient_id` AS `patient_id`, `b`.`status` AS `status` FROM (`lab_requisition` `a` join `lab_numbers` `b` on(`a`.`patient_id` = convert(`b`.`patient_id` using utf8mb4)))  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `medication_report`  AS SELECT `a`.`patient_id` AS `patient_id`, `a`.`drug` AS `drug`, `a`.`dosage` AS `dosage`, `a`.`route` AS `route`, `a`.`time_stamp` AS `time_stamp`, `a`.`status` AS `status`, `a`.`served_by` AS `served_by`, concat(`b`.`firstname`,' ',`b`.`lastname`) AS `nurse_name`, `a`.`reason` AS `reason` FROM (`drug_schedule_view` `a` join `users` `b` on(`a`.`served_by` = `b`.`username`)) WHERE `a`.`status` in ('Served','Not Served')  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `overview`  AS SELECT `a`.`drug` AS `drug`, `b`.`quantity` AS `quantity_bought`, `b`.`quantity`* `b`.`cost_price` AS `amount_bought`, `b`.`balance` AS `quantity_in_store`, `b`.`balance`* `b`.`cost_price` AS `amount_in_store`, `a`.`qty_out` AS `quantity_sold`, (`a`.`price` + `a`.`markup`) * `a`.`qty_out` AS `amount_sold`, `b`.`dispensary_balance`- `a`.`qty_out` AS `quantity_in_shelf`, (`b`.`dispensary_balance` - `a`.`qty_out`) * (`a`.`price` + `a`.`markup`) AS `amount_in_shelf`, `a`.`created_at` AS `sales_date`, `b`.`created_at` AS `purchase_date`, `a`.`facilityId` AS `facilityId` FROM (`drugs` `a` join `drugpurchaserecords` `b` on(`a`.`drug_code` = `b`.`drug_code`)) WHERE `a`.`source` = 'dispensary' AND `a`.`qty_out` <> 00  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `overview_wo_store`  AS SELECT `drugs`.`drug` AS `drug`, `drugs`.`price`+ `drugs`.`markup` AS `price`, sum(`drugs`.`qty_in`) - sum(`drugs`.`qty_out`) AS `quantity_in_shelf`, (sum(`drugs`.`qty_in`) - sum(`drugs`.`qty_out`)) * `drugs`.`price` + `drugs`.`markup` AS `amount_in_shelf`, (select sum(`drugs`.`qty_in`) - sum(`drugs`.`qty_out`) from `drugs` where `drugs`.`source` = 'sold_items') AS `quantity_sold`, (select sum(`drugs`.`qty_in`) - sum(`drugs`.`qty_out`) from `drugs` where `drugs`.`source` = 'sold_items') * (`drugs`.`price` + `drugs`.`markup`) AS `amount_sold`, `drugs`.`expiry_date` AS `expiry_date`, `drugs`.`created_at` AS `created_at`, `drugs`.`facilityId` AS `facilityId` FROM `drugs` WHERE `drugs`.`source` = 'dispensary\'dispensary''dispensary\'dispensary'  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `patientfileno_full`  AS SELECT `patientfileno`.`id` AS `id`, count(`patientfileno`.`accountNo`) AS `acc_count`, `patientfileno`.`accountNo` AS `accountNo`, `patientfileno`.`beneficiaries` AS `beneficiaries`, `patientfileno`.`firstname` AS `firstname`, `patientfileno`.`surname` AS `surname`, `patientfileno`.`status` AS `status`, `patientfileno`.`createdAt` AS `createdAt`, `patientfileno`.`accName` AS `accName`, `patientfileno`.`description` AS `description`, `patientfileno`.`accountType` AS `accountType`, `patientfileno`.`contactName` AS `contactName`, `patientfileno`.`contactAddress` AS `contactAddress`, `patientfileno`.`contactPhone` AS `contactPhone`, `patientfileno`.`contactEmail` AS `contactEmail`, `patientfileno`.`contactWebsite` AS `contactWebsite`, `patientfileno`.`balance` AS `balance`, `patientfileno`.`guarantor_name` AS `guarantor_name`, `patientfileno`.`guarantor_address` AS `guarantor_address`, `patientfileno`.`guarantor_phone` AS `guarantor_phone`, `patientfileno`.`created_by` AS `created_by`, `patientfileno`.`approved_by` AS `approved_by`, `patientfileno`.`approved_at` AS `approved_at` FROM `patientfileno` GROUP BY `patientfileno`.`accountNo`, `patientfileno`.`firstname`, `patientfileno`.`surname`, `patientfileno`.`beneficiaries` ORDER BY `patientfileno`.`accountNo` ASC  ;

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

--
-- 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 nullnull  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `saved_pending_request`  AS   (select distinct `a`.`booking_no` AS `labno`,`a`.`booking_no` AS `booking_no`,concat(`b`.`surname`,' ',`b`.`firstname`) AS `name`,`a`.`code` AS `code`,`a`.`patient_id` AS `patient_id`,`a`.`status` AS `status`,`a`.`department_head` AS `department`,`a`.`head` AS `head`,`a`.`group_head` AS `test_group`,`a`.`description` AS `description`,`a`.`subhead` AS `subhead` from (`lab_info` `a` join `patientrecords` `b` on(`a`.`patient_id` = convert(`b`.`id` using utf8mb4))) where `a`.`status` in ('Sample Collected','saved') and `a`.`facilityId` = '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a' and `b`.`facilityId` = '1be0a9da-bff9-4ab6-a36c-edfd8ca88f1a')  ;

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

--
-- 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` = 'pending''pending'  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transaction_view`  AS SELECT `transactions`.`facilityId` AS `facilityId`, `transactions`.`transaction_date` AS `createdAt`, `transactions`.`acct` AS `acct`, `transactions`.`debit` AS `debit`, `transactions`.`description` AS `description`, `transactions`.`patient_id` AS `patient_id` FROM `transactions` WHERE `transactions`.`debit` <> 00  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `transaction_view2`  AS SELECT `drugs`.`created_at` AS `date`, `drugs`.`drug` AS `drug`, `drugs`.`qty_in` AS `quantity`, `drugs`.`price` AS `price`, `drugs`.`qty_in`* `drugs`.`markup` AS `profit`, (`drugs`.`price` + `drugs`.`markup`) * `drugs`.`qty_in` AS `amount`, `drugs`.`facilityId` AS `facilityId` FROM `drugs` WHERE `drugs`.`source` = 'dispensary' AND `drugs`.`qty_in` <> 00  ;

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

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

CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `trialbalance`  AS SELECT `a`.`head` AS `head`, `a`.`subhead` AS `subhead`, `a`.`des` AS `des`, `a`.`acct` AS `acct`, `b`.`description` AS `description`, sum(`a`.`debit`) - sum(`a`.`credit`) AS `debit`, sum(`a`.`credit`) - sum(`a`.`debit`) AS `credit`, cast(`a`.`transaction_date` as date) AS `createdAt`, cast(`a`.`transaction_date` as date) AS `date`, `a`.`facilityId` AS `facilityId` FROM (`test1` `a` join `account` `b` on(`a`.`subhead` = `b`.`head`)) GROUP BY `a`.`head`, `a`.`subhead`, `b`.`head`, `a`.`des`, `a`.`acct`, `b`.`description`<> 00  ;

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

--
-- 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` = 'pending''pending'  ;

--
-- 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_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 `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 `bills`
--
ALTER TABLE `bills`
  ADD PRIMARY KEY (`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 `feedbacks`
--
ALTER TABLE `feedbacks`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `fluid_chart`
--
ALTER TABLE `fluid_chart`
  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 `lab`
--
ALTER TABLE `lab`
  ADD PRIMARY KEY (`test_id`);

--
-- Indexes for table `labservices`
--
ALTER TABLE `labservices`
  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 (`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`);

--
-- 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 `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 (`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`);

--
-- 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 `pharm_store`
--
ALTER TABLE `pharm_store`
  ADD PRIMARY KEY (`drug_name`,`item_code`,`expiry_date`,`store`),
  ADD UNIQUE KEY `uniq` (`item_id`),
  ADD KEY `facilityId` (`facilityId`);

--
-- 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 `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 (`supplier_code`),
  ADD UNIQUE KEY `supplier_code` (`supplier_code`),
  ADD UNIQUE KEY `id` (`id`) USING BTREE;

--
-- 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_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 `transactions3`
--
ALTER TABLE `transactions3`
  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 `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=11;

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

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

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

--
-- 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=48;

--
-- 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=11;

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

--
-- 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 `hour_list_x`
--
ALTER TABLE `hour_list_x`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

--
-- 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_numbers`
--
ALTER TABLE `lab_numbers`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- 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 for table `pagenavigation`
--
ALTER TABLE `pagenavigation`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

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

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

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

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

--
-- AUTO_INCREMENT for table `pharm_store`
--
ALTER TABLE `pharm_store`
  MODIFY `item_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;

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

--
-- AUTO_INCREMENT for table `prescriptionrequests`
--
ALTER TABLE `prescriptionrequests`
  MODIFY `drug_request_id` int(30) NOT NULL AUTO_INCREMENT;

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

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

--
-- 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 `specimen`
--
ALTER TABLE `specimen`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

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

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

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

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

--
-- AUTO_INCREMENT for table `transactions3`
--
ALTER TABLE `transactions3`
  MODIFY `transaction_id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

