INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'8ee97216-bf43-429d-afe9-886099a73892', N'78421bac-e640-4861-88d5-c963c2eb4818', N'ee', 3, CAST(N'2057-01-16T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-02T10:15:23.5652686' AS DateTime2), CAST(N'2019-01-03T09:54:48.7362530' AS DateTime2), N'ee', N'ee', 3, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'a5089e52-97da-4db7-a9ca-4d874a394f50', N'a15019ac-2ee0-4292-bf25-a25e4581dc22', N'rr', 12, CAST(N'2019-01-02T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-02T10:09:05.9623155' AS DateTime2), CAST(N'2019-01-02T10:09:05.9623155' AS DateTime2), N'rr', N'Anwarul Islam', 34, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'aaac6675-5ea8-437c-98c7-ec0813f6fad6', N'bbb1ae41-67a4-42ff-9000-1672649d1e06', N'Rickshaw vara', 50, CAST(N'2018-07-17T00:00:00.0000000' AS DateTime2), CAST(N'2018-07-17T12:33:14.7833333' AS DateTime2), CAST(N'2018-09-04T22:33:54.3533333' AS DateTime2), NULL, N'Taznoor', 1, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, N'NA')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'b1f40639-6333-484d-b27c-8320bb99fb76', N'e44a9a91-31eb-4ea3-8e30-8e786c7950ea', N'qq', 12, CAST(N'2019-02-27T00:00:00.0000000' AS DateTime2), CAST(N'2019-02-27T23:53:36.5470809' AS DateTime2), CAST(N'2019-02-27T23:53:36.5470809' AS DateTime2), N'qq', N'qq', 1, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'General')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'b363950f-4ca4-45cc-b829-837e2412b898', N'a15019ac-2ee0-4292-bf25-a25e4581dc22', N'YY', 340, CAST(N'2052-01-27T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-02T11:15:22.8879355' AS DateTime2), CAST(N'2019-01-02T13:59:58.1659950' AS DateTime2), N'KK', N'Anwarul Islam', 1, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'd2b2e388-4a64-4465-8f21-c55eb88be1db', N'78421bac-e640-4861-88d5-c963c2eb4818', N'hh', 32, CAST(N'2019-02-02T00:00:00.0000000' AS DateTime2), CAST(N'2019-02-02T16:18:31.2141174' AS DateTime2), CAST(N'2019-02-07T12:37:57.7780444' AS DateTime2), N'hh44', N'ttt', 32, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'd2d50532-9992-476d-8154-defe0b5ce014', N'78421bac-e640-4861-88d5-c963c2eb4818', N'SS', 12, CAST(N'2019-02-28T00:00:00.0000000' AS DateTime2), CAST(N'2019-02-28T00:14:52.0461611' AS DateTime2), CAST(N'2019-02-28T00:14:52.0461611' AS DateTime2), N'SS', N'SS', 12, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'e84bb970-6cf3-4a44-8978-28fb4bc0f38e', N'a15019ac-2ee0-4292-bf25-a25e4581dc22', N'Dec''18', 500, CAST(N'2018-12-31T00:00:00.0000000' AS DateTime2), CAST(N'2018-12-31T13:14:59.7695596' AS DateTime2), CAST(N'2018-12-31T13:14:59.7695596' AS DateTime2), NULL, N'Abdur Rahim', 1, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NA')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'f6d6122c-765a-49ae-ac11-bc4cbe55bf9b', N'78421bac-e640-4861-88d5-c963c2eb4818', N'qq', 45, CAST(N'2052-01-17T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-03T10:34:20.6088805' AS DateTime2), CAST(N'2019-02-07T12:52:11.9746617' AS DateTime2), N'ee', N'rr', 45, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Outdoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'f7614141-9650-4753-980c-9a286b3bd02f', N'a15019ac-2ee0-4292-bf25-a25e4581dc22', N'jh', 900, CAST(N'2029-01-12T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-02T11:22:03.1080153' AS DateTime2), CAST(N'2019-01-02T13:47:44.3250383' AS DateTime2), N'hh', N'Abdur Rahim', 1, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Indoor')
INSERT [dbo].[Expense] ([Id], [ExpenseCategoryId], [Item], [Cost], [DateTime], [CreatedTime], [UpdatedTime], [Description], [Correspondence], [Quantity], [HospitalId], [InvoiceNumber], [Type]) VALUES (N'faee59e1-30a0-4e7c-b0cf-c22d17c38b6d', N'78421bac-e640-4861-88d5-c963c2eb4818', N'jjj', 8, CAST(N'2019-01-31T00:00:00.0000000' AS DateTime2), CAST(N'2019-01-31T10:59:45.7297549' AS DateTime2), CAST(N'2019-02-02T16:16:32.0203012' AS DateTime2), N'uiu', N'yy', 78, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'General')
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'6681ec88-e3c7-4c64-bc64-7fc57aa68a39', N'RNH Staff Salary', CAST(N'2018-07-07T18:45:35.6133333' AS DateTime2), CAST(N'2018-09-04T22:33:54.7233333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'78421bac-e640-4861-88d5-c963c2eb4818', N'Utility Bills', CAST(N'2018-12-31T13:12:54.0432817' AS DateTime2), CAST(N'2018-12-31T13:12:54.0432817' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'9dc6d803-f0d8-41ae-97ed-0a1474dda065', N'Utility Bill', CAST(N'2018-07-07T18:46:10.0233333' AS DateTime2), CAST(N'2018-09-04T22:33:54.7266667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'a15019ac-2ee0-4292-bf25-a25e4581dc22', N'Salary', CAST(N'2018-12-31T13:13:07.4569423' AS DateTime2), CAST(N'2018-12-31T13:13:07.4569423' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 1)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'bbb1ae41-67a4-42ff-9000-1672649d1e06', N'Others', CAST(N'2018-07-17T12:31:31.4533333' AS DateTime2), CAST(N'2018-09-04T22:33:54.7266667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'd3dfa801-10cc-4fb6-94aa-b2fbe435b96b', N'mri', CAST(N'2018-08-18T12:34:44.9566667' AS DateTime2), CAST(N'2018-09-04T22:21:07.2700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1)
INSERT [dbo].[ExpenseCategory] ([Id], [CategoryName], [CreatedTime], [UpdatedTime], [HospitalId], [IsSalary]) VALUES (N'e44a9a91-31eb-4ea3-8e30-8e786c7950ea', N'Chair Bills 86', CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2019-02-13T11:56:07.5361298' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0)
INSERT [dbo].[Hospital] ([Id], [Name], [Subdomain], [AdminId], [CreatedTime], [UpdatedTime], [Address], [PhoneNumber], [ImageUrl], [LessDistributionType], [RegNo], [VatRegNo], [LicenseNo], [ReportBottomText], [InvoiceBottomText], [Code], [LastSyncTime], [IsSyncCompleted], [HospitalId], [SubscriptionStart], [SubscriptionEnd], [DiagnosticInvoiceBottomText], [PharmacyInvoiceBottomText], [SyncType], [Interval]) VALUES (N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', N'Rabeya Nursing Home', NULL, N'b23dac40-79c7-4d2d-82e0-081199d8c8df', CAST(N'2018-06-21T23:46:44.0000000' AS DateTime2), CAST(N'2018-09-30T19:06:01.3433333' AS DateTime2), N'Central Eidgah Lane, Sutrapur, Bogura', N'Tel: 051-63477, Mobile: 01750-466466, 01746-700000', N'New Doc 2018-06-19 (1)_2a8536c95-509b-430b-b1d8-64a43570ac4d.jpg', N'DoctorOnly', NULL, NULL, NULL, N'', N'Thank you & Come Again', N'R', CAST(N'2018-09-28T13:56:39.0000000' AS DateTime2), NULL, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2019-04-11T23:05:59.0000000' AS DateTime2), N'Thank you & Come Again', N'Thank You', N'MANUAL', 1)
INSERT [dbo].[Hospital] ([Id], [Name], [Subdomain], [AdminId], [CreatedTime], [UpdatedTime], [Address], [PhoneNumber], [ImageUrl], [LessDistributionType], [RegNo], [VatRegNo], [LicenseNo], [ReportBottomText], [InvoiceBottomText], [Code], [LastSyncTime], [IsSyncCompleted], [HospitalId], [SubscriptionStart], [SubscriptionEnd], [DiagnosticInvoiceBottomText], [PharmacyInvoiceBottomText], [SyncType], [Interval]) VALUES (N'ef1e120e-4fb9-43fe-890b-47c309427a7e', N'Nabil Clinic', NULL, N'928eef5a-6dfb-4b1b-bc58-6c5b6690b231', CAST(N'2018-10-07T16:48:48.0833333' AS DateTime2), CAST(N'2019-02-23T13:55:59.5730978' AS DateTime2), N'Narayanganj', N'01725545606', NULL, N'HospitalOnly', NULL, NULL, NULL, N'', N'', N'NC', CAST(N'2019-01-15T16:48:48.0800000' AS DateTime2), NULL, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2021-03-25T16:48:48.0000000' AS DateTime2), N'', N'', N'MANUAL', 1)
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0048ff91-0576-4769-a020-597bfaa3b207', N'9c7ac878-ed2c-47db-b15c-d0df2e16820b', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T11:07:04.5533333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0167', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0103b619-6a06-4b23-b73c-793e1f618b73', N'7ba20623-ef87-4f08-8852-ddf09b6d8930', N'eb3bf4b3-28e3-43ea-a54e-9d9346558dc0', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-09T22:02:21.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0003', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'014f8ac4-d79c-40fb-a9dc-92ae6142a7fa', N'5d88ae21-e834-4201-ba42-b03056c56950', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-15T12:09:10.2294012' AS DateTime2), CAST(N'2018-10-15T12:18:32.8584425' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0009', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'025708d8-b827-49dc-86c0-6791345cbdc0', N'44c0abb6-9c6c-440e-8cea-6b59ac98de97', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-12T18:53:40.2400000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0007', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'02969bca-4404-4804-a288-3183d880412c', N'babe7427-926f-4c58-8f69-92cdcbf75c4e', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T13:24:21.8933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0048', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'02cae185-558d-4f91-a9ff-17af841e72a3', N'09a6ccee-3758-47b0-ba7d-0ad11ad48aba', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-16T14:49:27.1333333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0013', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'030323b5-4b3c-4b3a-ad7e-336e12511173', N'953db69c-2147-43cb-ba94-37099f2afd6a', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-02T12:21:39.0366667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0080', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'030f641a-e473-4a6e-b1ee-cfc5ea522c91', N'745eb4a9-66cb-48c5-8e9d-03170ae4e571', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T12:41:28.7533333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0153', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'04a23b3e-1cb1-4751-ae3c-d6d3d824d533', N'a3251226-ec85-4225-a7d2-f3cc5f337ba9', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T11:33:48.4166667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0214', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'06ab0619-027e-4040-891a-f129390066ab', N'8606a021-de38-47d4-8956-81de54bd58e7', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-05T10:02:52.6900000' AS DateTime2), CAST(N'2018-09-06T09:51:32.6700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0200', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'06b53133-c056-4813-9854-2ee999bb7228', N'882d42ef-d252-4f35-a28e-7f789a3aa432', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T09:18:14.1666667' AS DateTime2), CAST(N'2018-09-30T19:06:01.7466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0336', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'06b99ad7-0177-4ec9-ba3d-d85d2fc73345', N'6d44c5e2-a212-4530-bb4b-665b6235f6c2', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-12T11:23:03.5900000' AS DateTime2), CAST(N'2018-09-12T12:13:23.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0243', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'07154479-e676-4264-bc19-36f5b01b43e7', N'02168aba-c5e6-4644-9bb9-c9884c287cde', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 600, 0, 101, CAST(N'2018-09-30T12:02:12.2733333' AS DateTime2), CAST(N'2018-09-30T19:06:01.7466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0354', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'07742b8f-093a-447d-8a17-76b7b75f04f4', N'2e23a573-b33c-4ef3-aeb9-230f23e03c5a', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', NULL, NULL, 0, CAST(N'2019-01-29T13:43:40.0415140' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 3335, 0, 101, CAST(N'2019-01-24T13:35:44.1566857' AS DateTime2), CAST(N'2019-01-29T13:43:40.0864855' AS DateTime2), NULL, 3335, 0, NULL, 0, N'NCINV0057', NULL, NULL, 0, NULL, NULL, 3335, NULL, N'data:image/jpeg;base64,[encoded data, 9920 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'08b92983-b101-4de7-a047-2f2009e6bc08', N'f5d04d8a-642c-4365-b74d-0cfd233e697f', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-29T12:43:26.3033333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0159', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'08ec2a6c-9dcb-4cf1-806a-a70b1af56b2c', N'390bd9fc-25cf-488c-94f0-81ebdb1f301d', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T19:05:16.2433333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0199', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'08fef703-710f-45ed-92a6-b3e7b2c2b86c', N'6e7b5512-4ae7-478c-bfe4-8f9e82616df5', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T18:51:36.7166667' AS DateTime2), CAST(N'2018-09-04T22:21:08.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0137', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'09913d21-588e-44ec-b126-74e66ef910e6', N'a89de314-437e-481a-ab4d-671b04eebc68', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-19T12:56:50.5433333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6200000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0020', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'09b06f49-7e35-4be5-a35f-370941ea93e4', N'7082a40e-8b5c-4f40-9be9-474d67bbf384', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-08T16:12:55.5786079' AS DateTime2), CAST(N'2018-10-08T16:12:55.5786079' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0003', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0a3c4b05-3ac9-413f-8fdf-cfb47d2c72e8', N'7ab59d6e-f428-49a2-b3c7-c37fef8dc2d1', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-30T17:52:06.1533333' AS DateTime2), CAST(N'2018-09-30T19:06:01.7466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0357', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0a6fef0d-e14f-41ef-b91f-d94be3e8bb10', N'd929cb47-d21b-451b-80fa-9a76fed48150', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-12T14:50:53.7400000' AS DateTime2), CAST(N'2018-09-04T22:21:08.6800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0119', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0a992ac1-62dd-4e97-addc-6b7005076829', N'b9a72f23-0199-4378-8618-9ceb09b9c5d3', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T17:09:57.6166667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6200000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0063', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0b656b9b-77fd-41e7-a024-45862de2f251', N'ee13f6ee-4470-4cd6-b006-b1821fbf5377', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-30T16:12:13.1930955' AS DateTime2), CAST(N'2018-10-30T16:21:18.8576178' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0024', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0bd823ee-26c8-41fb-99d5-485765916322', N'7a3802e2-f4ea-4cf1-bd81-0e2ddfb644c6', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T13:29:09.3300000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6233333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0049', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0c4ddd18-42f3-41ee-8ac8-bdbd18baf09b', N'b4566556-1987-46ec-9c2c-6dbcb132576b', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-11T11:17:57.6866667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0239', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'0c6f2449-2e4f-489d-8372-860af4eabf75', N'0d2a4a33-7173-40e6-a6dd-bb1f32190772', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'2018-12-26T08:27:51.1786321' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 32496, 32496, 101, CAST(N'2018-12-26T08:03:39.7660177' AS DateTime2), CAST(N'2018-12-26T08:27:51.1786321' AS DateTime2), NULL, 0, 0, NULL, 777, N'NCINV0041', NULL, NULL, 0, NULL, NULL, 0, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'107f18d1-dc04-4823-9b51-1cebbdb56002', N'0767567f-45a8-4855-aa16-f8b7105385ac', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'2', NULL, 0, CAST(N'2019-02-03T11:20:09.7647111' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 2220, 1000, 101, CAST(N'2019-02-03T11:19:53.4528050' AS DateTime2), CAST(N'2019-02-03T11:20:09.7657103' AS DateTime2), NULL, 0, 0, NULL, 2220, N'NCINV0059', NULL, NULL, 0, 0, 0, 1220, NULL, N'data:image/jpeg;base64,[encoded data, 9984 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'10e0a2dd-c064-4251-b264-5ba675bbb22e', N'6f059bfb-ab93-46c2-af01-a7e202a90526', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-17T13:31:20.0837734' AS DateTime2), CAST(N'2019-01-17T13:31:20.0837734' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0052', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 10000 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'115ca49b-2cd7-4486-9609-f16dc8492b58', N'c23f9d42-ad9a-4c1f-b50f-ee6d654d2df5', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-09T23:11:23.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6233333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0004', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'12aa3c82-571f-4d3f-a39f-740efb66c414', N'a5a92e80-300f-4f5e-8737-68dc61e17232', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'3', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-29T11:17:30.1790048' AS DateTime2), CAST(N'2018-10-29T11:17:30.1790048' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0023', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'13c7f850-bbad-496b-a304-64cdd2292055', N'0e85051b-ba1c-42dd-896a-6977ecb31ce1', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 1, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 600, 600, 0, 102, CAST(N'2018-08-29T21:42:38.9300000' AS DateTime2), CAST(N'2018-09-08T11:15:28.3733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0160', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'15b24779-1b6a-48a4-be07-fb414508c38a', N'34f0b6dd-ff34-479f-b872-bda1281e10a8', N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-06T15:41:12.3866667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0208', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'16495c63-c898-4209-9a0d-1c66d96d8336', N'225e3081-26d0-41ff-ad2f-fee1ef57c0f7', N'75dfb239-3543-4563-81c4-27f27edca9c9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-23T18:35:02.4900000' AS DateTime2), CAST(N'2018-09-28T10:15:51.2033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0315', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'16bc03aa-d22d-4e2d-b340-064db2437f49', N'3233e90f-4bcb-4a27-9974-3b7a0dc646ce', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 2500, 0, 101, CAST(N'2018-12-15T11:42:11.8911327' AS DateTime2), CAST(N'2018-12-15T11:42:23.8031303' AS DateTime2), NULL, 0, 0, NULL, 23000, N'NCINV0035', NULL, NULL, 0, NULL, NULL, 2500, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'16d4cc6c-d576-442e-a98c-18f6f32d6fa9', N'da599edf-490a-4c05-868c-675125cf9af6', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-24T13:28:50.2807653' AS DateTime2), CAST(N'2019-01-24T13:28:50.2807653' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0056', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9976 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'173d754a-e4cd-4299-86bc-95a4f22bfdfc', N'7eefd153-bc2e-4dfc-bb1f-735d6a3625b7', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T13:41:03.9866667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0263', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'176c0929-5c3b-4720-a698-d3e2acc63b2a', N'241f21ff-1b9a-4997-bbb9-5e8d2ccfbd37', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-13T10:40:28.1733333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0248', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'17e19f22-77ac-4e84-b0f2-b36acb6bea5b', N'e6efb50e-05be-488d-893b-2a9b7a436d5f', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-21T13:24:55.2766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6233333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0030', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'188a3e11-6a03-499b-ab0c-9d7e5bc77eb5', N'19400389-650f-4d86-8727-3b0f37887a7c', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'2018-08-15T20:08:02.3000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 2100, 0, 101, CAST(N'2018-07-28T12:29:17.6933333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0055', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'188ead2a-a829-438b-9946-a4f92bf11da6', N'8f2fb537-4ae2-4726-b6c5-2bfa560f591a', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-02T13:53:22.2100000' AS DateTime2), CAST(N'2018-09-04T22:21:08.6833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0183', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'19756a79-eab9-4844-841f-b7f894f8b8b7', N'378b3920-94dc-441b-a9af-7448c0aafba2', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T18:36:44.4866667' AS DateTime2), CAST(N'2018-09-09T10:10:51.7500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0225', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1994ecd4-038f-4945-b522-9a8ca3730476', N'c092be2a-0700-43e9-940d-c5e45346ea46', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T18:20:26.9533333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0064', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1aa62646-f441-4296-a319-d3b1cae8a2aa', N'bb9c228c-0e72-4876-b42c-05290be330e7', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-13T14:58:49.8413423' AS DateTime2), CAST(N'2018-10-13T14:59:30.2916143' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0005', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1ba5de0f-7097-4e68-a910-9d17c7c8fc94', N'81ac80f8-f7eb-4aa1-aacd-4d9518670dcf', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-11-04T09:58:12.1012466' AS DateTime2), CAST(N'2018-11-04T09:58:12.1012466' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0028', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1cccb658-114a-4ddd-becc-04b08a4c8dd2', N'af54b5cf-9729-42e0-aedc-98a1850787bf', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T17:40:47.4366667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0267', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1ce88068-715e-4f19-ae10-359b74d0d4a9', N'1f5e9637-2fd5-464f-a222-b0ff94791c90', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'2018-08-15T20:07:55.3466667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 700, 0, 101, CAST(N'2018-07-16T14:03:13.8733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0011', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1d139864-3a2e-4f45-9fad-604f420f4df6', N'bfb70ace-149a-499b-a603-f3bf61822c23', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'2018-07-31T20:37:15.5033333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-24T10:25:45.6566667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0035', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1d7d9e78-52ff-4f83-8ddd-cc23e6dd37cc', N'c2b9db4a-35df-4a77-af07-316715ceddaf', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T17:21:43.0466667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6333333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0051', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1d89df50-de62-4c7d-ba58-c71f4c4abfef', N'379deae3-3760-455c-b45a-2cde85484fa9', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:35:29.3166667' AS DateTime2), CAST(N'2018-09-04T22:21:08.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0130', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1d97e1de-1e47-4097-be52-ab15e2f9a395', N'fa081e1c-5bbf-434b-88b1-45cbc64fff23', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-16T15:08:40.3133333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6333333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0014', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1ddf8401-5581-4128-97b7-8973c2e47887', N'f89c9223-5c91-4848-84e9-d4f8b5faa60b', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'3', NULL, 0, CAST(N'2019-01-24T12:56:44.5424417' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-24T12:06:20.2055933' AS DateTime2), CAST(N'2019-01-24T12:56:44.5434409' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0054', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9952 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1e127d86-5fcf-4fba-adb3-d840d63d70bd', N'719dbb3f-4fec-4986-b99f-ff170ef8fbed', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T18:16:44.6633333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0280', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1ef07a05-6f1f-4b50-8240-abaafa06e35e', N'fe7761b7-5328-44e0-927b-3831d3375768', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T14:40:02.2666667' AS DateTime2), CAST(N'2018-09-04T22:21:08.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0154', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1f6d0654-58e3-4932-a7cc-93707fdbcafd', N'19018bcd-54eb-4500-a50b-7c35010d4df5', N'3e6c7598-b4d4-453d-97fa-1de3da9ac873', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T13:39:46.5066667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6333333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0058', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'1f71be3a-1c60-4d86-86ce-477a49c0a173', N'ad9e9c58-f1b6-4e12-8793-77e5d92d88ca', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T10:38:02.6433333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0400000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0283', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'20e515c3-156d-408e-b0db-7645c29b58a0', N'25ef3d30-00a7-4e4d-85b9-729b5bf8dd91', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T09:48:13.0200000' AS DateTime2), CAST(N'2018-09-04T22:21:08.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0165', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'221c0f99-79f1-434a-a55d-8584e2203989', N'43d284e7-fa17-4d73-b050-5c16d0b92242', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T20:17:38.1000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0076', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2285205f-910f-44e6-98f1-beb4aae1cf72', N'6f69b728-7112-4462-a999-cc82caf96758', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T19:59:03.2933333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0286', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2341e5fa-18e5-4e11-8816-bfec36072b80', N'7f737576-be1b-46fb-8bd2-c1fece8540e9', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-07T15:06:53.2766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0001', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2346f319-0301-40bc-baf6-6322a20a765e', N'256f8d9d-8902-4b6a-bdc0-099158a343ae', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T10:48:55.3233333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0193', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'239cdde6-e562-4e30-bac0-2ab58f415e45', N'25c617c8-27ad-48dc-a6f0-fb855793dfad', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-28T15:08:13.9036272' AS DateTime2), CAST(N'2018-10-28T15:08:13.9036272' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0021', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'23a7aaed-c613-4a38-9975-a5a2d0ebff3f', N'd9540196-25fc-4526-9ae2-f12f6d07974a', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T15:39:50.3933333' AS DateTime2), CAST(N'2018-09-09T10:10:51.7700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0222', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2427d7d2-d7ca-4277-8e55-611927aba93f', N'b5ca0687-65e6-4a24-bc87-65dd97732756', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-30T15:42:04.4166667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0069', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2487ab7d-dd5e-4e37-aba4-80591968a37b', N'36bfbacb-2640-45d4-89e0-d2726ee19f6c', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:20:53.7100000' AS DateTime2), CAST(N'2018-09-04T22:21:08.6800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0128', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'24de6be3-6a1b-498d-acc7-caae75a6c122', N'29319df5-eaaf-4d0c-8693-96d6ce26445f', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-01T12:44:45.4700000' AS DateTime2), CAST(N'2018-09-04T22:21:08.6800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0179', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'25c5c6f8-32d8-4d67-aa9f-a1e05bad80ed', N'18ebf562-8ee2-4b5a-96a0-5fd526cead37', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-24T10:21:43.4674847' AS DateTime2), CAST(N'2018-10-24T10:22:03.8367589' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0019', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'26082dda-f875-408c-9bab-9e8b1f2cabad', N'00b942b3-d85f-404e-a8fc-fa2949f4d7d4', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T17:02:22.4600000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0062', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'26c10276-c679-4884-b50a-c22db821701a', N'281a3414-83c9-4175-80f4-69cca0e61270', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-14T09:03:18.6710706' AS DateTime2), CAST(N'2018-10-14T09:03:59.9126922' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0007', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'26fe81e5-890a-4720-8e0c-cba65abcc6a7', N'58b81ca7-295a-47da-8841-5c211edc90f4', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-02T18:32:53.4966667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0083', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'27b1b1ae-a621-4b4a-a7df-1996f16ca805', N'b78d3fd9-c658-4046-9743-b7f8b8dba90f', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T10:46:46.8833333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0192', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'28351205-e63e-4f99-bcaf-786b1f21b6b9', N'0b69ac78-15b6-4bab-9a4e-b561ba233e19', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T10:09:05.0166667' AS DateTime2), CAST(N'2018-09-28T13:02:39.2466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0342', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'28717eca-5303-4d38-a4a7-a297564d4980', N'8e93a86c-9d72-4117-9759-822041d6f931', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T11:09:09.0466667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0254', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2872774f-a207-4b00-9c28-18a4a5a6eb1d', N'6a6ac696-a2f9-4950-84b3-900f0652c8b6', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T17:40:47.4366667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0267', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'28d89aed-1a5a-4087-985e-2a5d4683f3ab', N'6f054b3c-7e09-4ef1-8e68-417e5f32a098', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-23T14:45:33.9766667' AS DateTime2), CAST(N'2018-09-25T10:03:14.7633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0314', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'28f99c6d-af41-4789-b684-26bdd1ab4ca1', N'268f1b34-5f7e-4722-ad8c-20b401e62125', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T14:34:09.2233333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0278', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'294d3d18-2c41-43a6-bfe3-8dbeaae780a4', N'c4c871b0-46f8-450b-8abd-d410e0ad2e9d', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T16:10:39.9866667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0230', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'29a21019-5b0b-4cc9-9bb7-95c8dd22b27d', N'fdc0c36c-d6c9-4d0d-b64e-e29bb34154dd', N'86a49602-8632-4ca6-b138-eb3fdb57e3cf', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T10:28:39.7733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0132', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'29ed711c-07dd-40c9-8489-03a638193575', N'7a6fac37-68c4-4fe4-a1bf-1b7fd8f0ca2f', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T12:24:02.8966667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0262', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2b47de34-12dd-4b73-8a9f-c96c741f5cd8', N'3e468dec-16c9-44a7-b494-7ade5fb358d0', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T11:01:35.5633333' AS DateTime2), CAST(N'2018-09-28T10:15:51.2066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0305', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2b695a10-1b87-4e47-8ac8-b0cff3871df9', N'1f125d13-4eee-4980-86fa-1b6884f31f9f', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-17T17:14:14.3133333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0147', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2b6ed73b-13d0-4dc9-ab63-45754e433d28', N'a95056cf-c58c-41cd-8e99-33b898fc5821', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 1200, 0, 101, CAST(N'2018-08-15T20:17:36.0633333' AS DateTime2), CAST(N'2018-09-04T22:21:08.6866667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0140', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2bf0b511-2aa2-4771-99cf-55874bd33af8', N'90342620-7c31-4206-8989-d7d23ccde2a8', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T18:59:06.1333333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0197', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2c186104-c361-4c88-aa45-222c62db0d02', N'268b72a3-19a5-421e-a52d-d1ef38b1a1e0', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-02T12:30:26.1933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0082', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2d2809fd-d7f5-49dc-a3be-5c97a2724cb2', N'c408aeb2-c9c2-4615-937d-750c634f22e7', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T19:39:40.9900000' AS DateTime2), CAST(N'2018-09-12T12:13:23.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0233', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2dea13d0-bea8-41c9-8442-93148a2818c1', N'8473456e-feb0-4677-ae38-b89cf2dd0103', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-12-25T16:26:41.1072258' AS DateTime2), CAST(N'2018-12-25T16:26:41.1072258' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0040', NULL, NULL, 0, NULL, NULL, 0, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2f5911b1-d621-418e-ba3a-2f8e25f5ade7', N'c9067da1-195e-4a89-b4ee-aff985f37fee', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-11T12:06:06.5133333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0115', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'2fa485f3-1457-497d-b90b-01868cb38031', N'63d8f4a9-d51f-4e03-81df-daa79aa761a1', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T16:21:48.4800000' AS DateTime2), CAST(N'2018-09-08T11:15:28.3766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0217', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3185ec7e-59f6-4fdc-b1ff-b0d47865fd59', N'cafccfa0-a379-4eea-8871-eb613f3d4394', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 2500, 0, 101, CAST(N'2018-12-13T15:32:21.6566885' AS DateTime2), CAST(N'2018-12-13T15:32:30.6067184' AS DateTime2), NULL, 0, 0, NULL, 333, N'NCINV0034', NULL, NULL, 0, NULL, NULL, 2500, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'31b8e05e-5d50-454c-899b-afd7e2d97c67', N'326e737c-fd41-4946-84a9-8782b69bfc6b', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-01T11:31:12.7300000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0177', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'321cadc2-b1c2-4df5-bb5d-568ca504768c', N'c921ec73-7d64-4e07-9cd0-65abb921339a', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T10:59:59.0900000' AS DateTime2), CAST(N'2018-09-27T09:49:04.7800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0326', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'326a2e51-ffc6-470d-bd22-abaec45a6361', N'12a4a244-3222-4379-8727-5864bdc62fd5', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T13:45:12.5533333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0059', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'32eac032-a84d-403d-accf-1c88b33a4c6b', N'158ca7ae-ec3d-427b-9be1-ccfa0b7d4fc8', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-30T16:13:58.9961047' AS DateTime2), CAST(N'2018-10-30T16:13:58.9961047' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0025', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3720ac38-143f-4f84-a5fb-c358c5a22f2c', N'4e5aace6-c87d-44f3-927d-fdc5857908bb', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T10:06:37.6033333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0100', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3785086a-19e6-413d-a222-6b8b3d65be07', N'5dd5e941-e0f5-4c6a-9da1-9e256405e648', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-17T10:39:18.4806927' AS DateTime2), CAST(N'2018-10-17T10:39:18.4806927' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0013', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'37b2ebca-c56b-4284-aa42-d21bfe091c0d', N'4f8920dc-a947-4ae4-b7d2-55d953ad2eb7', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T10:54:09.1833333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0253', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'37bf64b7-9eda-4398-85ee-bd0ab8afc5ca', N'93b830a0-3acd-4a9b-8ad8-5c144a833f48', N'532e50ee-47d3-4858-8f96-9c2e425b78ca', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T20:45:21.5966667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0236', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'37db277e-e248-4635-80ae-7f0849d735e7', N'753e7038-324e-423f-bd65-41ecae6b5e24', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-18T10:22:20.6221045' AS DateTime2), CAST(N'2018-10-18T10:22:20.6221045' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0015', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'382d7597-0685-443c-b918-7aab224db486', N'331e7144-5b2a-4f00-8cda-a03af76d9864', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'2', NULL, 0, CAST(N'2019-01-16T13:59:48.3047260' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 62972, 0, 101, CAST(N'2019-01-16T11:35:16.6739313' AS DateTime2), CAST(N'2019-01-16T13:59:48.3047260' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0048', NULL, NULL, 0, NULL, NULL, 62972, NULL, N'data:image/jpeg;base64,[encoded data, 9996 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'385ad5a1-84d0-467c-a427-003c74208ae1', N'8cf37883-a2ea-4f63-afe3-9b7732feb9ef', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T17:51:48.9666667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0231', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'39345306-88be-40a7-8fc4-e268307a0b73', N'f1663c60-5643-432c-ac22-0c33311e5320', N'532e50ee-47d3-4858-8f96-9c2e425b78ca', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T16:31:19.2500000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0196', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
GO
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'39445a4a-c2eb-4995-be56-a876e9694b4e', N'1f02105d-c842-4966-a6ff-4bd5ea53bce9', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T10:34:53.1033333' AS DateTime2), CAST(N'2018-09-04T22:33:55.6733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0021', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'39725fe1-2055-4667-a346-a492a03e55f1', N'0259b0c6-5243-4e27-887a-e14a0f384ecd', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-07T19:31:03.2066667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0098', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'39b60835-2d07-4bfc-b864-8281c0b72fb9', N'759d1cff-3eaf-4e9b-b9a4-d7a42514fe75', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-04T13:36:57.5100000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0092', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'39c0489b-f02d-4921-9e57-65e80608118c', N'2d915c06-0ae9-409e-b031-53cfd5947c3c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T09:59:45.5766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0190', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3a08de75-9cc6-469b-89c1-a0cd6c5eae6d', N'13c5adc0-dd09-4222-a48b-cd0875847ac5', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T10:22:30.8333333' AS DateTime2), CAST(N'2018-09-28T10:15:51.2066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0316', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3a109c7a-7d38-421c-99e8-84e429a0b79f', N'3fa679e6-1800-428f-88f3-852b1a744b2e', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T12:16:54.5433333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0215', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3a3f39ff-68c3-43ec-88ae-b49b16518d48', N'978185ec-fb8d-4a01-990e-389f726c4e07', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T16:48:37.4200000' AS DateTime2), CAST(N'2018-09-08T11:15:28.3800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0219', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3c7769fe-7bec-4997-a30d-38dfeb312bef', N'200de778-609a-4cef-8330-e98989ed22bc', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'2018-08-15T19:50:34.7566667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 2000, 0, 101, CAST(N'2018-08-15T18:54:52.7800000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0138', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3c9128d1-01bd-425b-a784-9cbbf7c1604f', N'69ac0c3c-4bfd-4057-8de2-ba8231d0cd25', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T10:59:59.0900000' AS DateTime2), CAST(N'2018-09-27T09:49:04.8100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0326', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3c98dc60-8199-46b2-999d-06e2a7b66142', N'cbaee749-1d22-4d4b-a21c-70b579774436', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-21T12:47:25.4866667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0029', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3d0e7772-d289-4c03-b3e7-bf05563cc42d', N'ee9683c2-31ae-44d8-b881-e036883e0b4c', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T14:08:38.3233333' AS DateTime2), CAST(N'2018-09-25T10:03:14.7666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0311', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3dd4f4cc-d93f-4964-9113-6ab0baf47aa3', N'5d8a710c-96a4-4037-8830-fb86d9329315', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T10:20:19.6700000' AS DateTime2), CAST(N'2018-09-18T10:30:54.7866667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0288', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3fed59f0-9df7-4ef7-a0e6-101d309de348', N'0d66c261-c0fe-4952-b277-d18b91478de7', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', N'2', NULL, 0, CAST(N'2019-02-25T19:44:06.8009769' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-02-25T19:03:01.9737864' AS DateTime2), CAST(N'2019-02-25T19:44:06.8039759' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0066', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9948 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'3ffff73b-f89a-4c90-ad1e-c4dc2bc4c227', N'70c0aea7-49b3-4682-a5bc-c0ac07c758cb', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-18T12:30:23.5766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0017', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4028ccc2-0f16-42c7-be95-d1901382b9db', N'3e842878-bb30-43ce-8167-fa5aef1c61cc', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-17T09:56:05.2566667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0145', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'408550ef-e668-4e73-af8c-d2b0460af6fd', N'fba65f30-f6ad-4a8e-b028-256a76bd35a6', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-11T16:59:31.0966667' AS DateTime2), CAST(N'2018-09-04T22:33:55.6466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0117', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'409081dc-7ea0-4c1a-9ac9-e50472e9bb1f', N'fdccd60b-c8ec-4981-ae38-2653ca40f0a4', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'4', NULL, 0, CAST(N'2019-01-17T16:26:01.7510919' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 11787, 1000, 101, CAST(N'2019-01-17T11:30:49.5760437' AS DateTime2), CAST(N'2019-01-17T16:26:01.7530899' AS DateTime2), NULL, 0, 0, N'ss', 0, N'NCINV0051', NULL, NULL, 0, NULL, NULL, 10787, NULL, N'data:image/jpeg;base64,[encoded data, 9936 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4092fda9-a8f2-46aa-9af5-8a7759035fe5', N'99cede8a-7764-4efc-af37-8b5ad70f51b3', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T16:16:51.8566667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0216', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'41ddbc6d-94ae-4914-ae77-08cc5c909a83', N'06da2f2b-59e6-4aeb-a6fc-4c7d2801b141', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-27T20:52:58.5633333' AS DateTime2), CAST(N'2018-09-28T10:15:51.2100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0335', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4290003c-6efc-4157-bca1-b2030bd2d6af', N'd76eac76-def3-41f1-805e-9bd4f065c509', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T13:33:24.5366667' AS DateTime2), CAST(N'2018-09-28T10:15:51.2100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0319', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'42b491a2-e499-4084-9fb7-5db2ba93594b', N'b3dadf02-5864-4d55-b372-6b4aa9e05bca', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-30T10:28:20.4200000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0162', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4373493b-3231-4fde-b13d-9721735268ea', N'58509518-a034-40d8-8fb5-e4ae31730b64', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T10:21:55.4100000' AS DateTime2), CAST(N'2018-09-17T21:41:14.0466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0282', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'444d89a5-b5ce-4d3c-9e7f-e5b6d4e8598f', N'c372f6e3-eab0-49ac-bda2-1865e736dca5', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T12:19:23.6666667' AS DateTime2), CAST(N'2018-09-04T22:21:08.9533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0171', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'44ac6cb4-e09d-4c75-88db-e5930e3ad80f', N'd20b8773-17e5-4f70-a065-e8b5df7c998b', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T14:47:05.6533333' AS DateTime2), CAST(N'2018-09-25T10:03:14.7666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0321', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'452893c7-f636-483f-a757-324252885e4c', N'10a72196-c4c2-4534-8671-d2ab1650d2fe', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-24T13:26:47.3262721' AS DateTime2), CAST(N'2019-01-24T13:26:47.3262721' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0055', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9992 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'45bdfcb4-8949-4798-9c45-0e1516e96fac', N'79a6d3a7-b00f-4309-bb51-ec30b3153237', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T09:34:54.9400000' AS DateTime2), CAST(N'2018-09-28T10:15:51.2100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0339', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'45daa90c-6a81-4de1-a0b8-96142e893b17', N'23841ed5-6ba4-45ae-9d97-f43f4ddab411', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-21T12:32:13.9100000' AS DateTime2), CAST(N'2018-09-04T22:33:55.6466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0028', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'47fb450b-6943-4037-80c6-169a37a15cd6', N'02c86863-c759-4ada-9b9c-17259a238af7', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T14:13:08.3100000' AS DateTime2), CAST(N'2018-09-25T10:03:14.7700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0312', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4856dd6a-4492-4264-8a53-15069ff11437', N'6f4a491e-cf01-42b9-b8b8-697b4708640b', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-17T09:32:01.8066667' AS DateTime2), CAST(N'2018-09-04T22:21:08.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0143', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'48a4c7e2-d05c-4fd9-83df-eb1cda966350', N'bd733822-bc0e-4e7f-bfc6-577aeed8f10d', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-12-13T10:39:49.5180033' AS DateTime2), CAST(N'2018-12-13T10:39:49.5180033' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0033', NULL, NULL, 0, NULL, NULL, 0, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'48f4ff15-5a75-48c6-ac98-1d62e1731fa4', N'b700eb48-f8d4-4b59-bcb4-f1d35cd34818', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T11:31:08.9000000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0124', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'497f30df-1de2-49d5-aa44-c64136c8c385', N'6d2a8957-916f-4be8-8517-f8d79fcbb200', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T09:27:40.6666667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0272', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'49ac92a5-b34d-42ba-8e25-15ac127f6911', N'9b204752-6394-4980-a85c-9f6bd77e5d21', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T14:46:16.1833333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0073', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4a286579-d45f-430f-bd95-1f775706fdb6', N'40e86b7b-8cff-4f7e-8cd2-322bc227cf77', N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-30T15:24:04.4633333' AS DateTime2), CAST(N'2018-09-30T19:06:01.7500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0356', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4aa96a0f-f04c-4a43-94cb-e206e7521435', N'c5ab2330-bebf-4602-9580-76349e851715', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T10:06:37.5700000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0100', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4b870b5a-0ae2-411a-941d-bcb515d11fee', N'3ada3e77-cb0b-4e65-ba2b-148135f82226', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T17:28:55.8566667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0052', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4e293b61-0a47-49b3-b9a5-62f1da26f431', N'77d419f5-6a36-4c70-8e1a-fddb71225a1a', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-07T17:50:51.0741491' AS DateTime2), CAST(N'2018-10-07T17:50:51.0741491' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0002', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4e32108b-15fe-4992-a39b-3e6224ad307a', N'4c4cf58a-889d-48cf-98b4-3ad6b00fb860', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T12:33:24.6900000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0105', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4f6bb4f2-db3c-4907-b84e-37fa4994d061', N'38e591de-2d40-45d4-98f2-dd7f09f6101e', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T14:16:45.4000000' AS DateTime2), CAST(N'2018-09-27T09:49:04.8133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0328', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4f8ac9eb-79d1-4649-a127-d4a5252ede69', N'08c999f5-427d-4e6e-92e4-8938785e69ee', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T11:02:36.0466667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0213', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'4fab82f8-8a6d-46d6-abc8-83c5ed38b5a1', N'3d6b866b-b90d-48b3-89f4-3381e0050773', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T11:43:21.6866667' AS DateTime2), CAST(N'2018-09-28T13:02:39.2500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0347', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'520c0676-d4f4-4219-bfde-dc7726e12750', N'bc907759-4ffb-4d35-89da-63e24e0d1a27', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-30T12:30:17.7933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0068', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'52c0c294-ab9b-4d9c-80d9-d5d5eb2c56ae', N'0765baf0-c3ab-44b0-8eaf-e9f9296c4012', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T13:47:08.2300000' AS DateTime2), CAST(N'2018-09-16T12:50:42.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0264', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'539206c9-a36a-426b-80d7-25b02890090a', N'c157ee10-c494-4923-8c5b-ffe200a67999', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T10:16:34.5533333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0104', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'53b2f0e6-bdb7-43d8-adb9-acebc7c8355d', N'2d3a752e-e63a-4ac6-92f7-a2ae0f607fb1', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-11T16:59:27.1600000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0116', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'54863b24-e825-429a-9631-211c636d6bd2', N'f7090d84-bd7f-48e6-8e76-a88503961146', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', N'2', NULL, 0, CAST(N'2019-01-16T13:59:27.4756067' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 11609, 0, 101, CAST(N'2019-01-16T11:58:14.6954208' AS DateTime2), CAST(N'2019-01-16T13:59:27.4766051' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0049', NULL, NULL, 0, NULL, NULL, 11609, NULL, N'data:image/jpeg;base64,[encoded data, 9960 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'55ca3686-fcd6-4806-bdc6-795d6848c7b0', N'd19bee73-9758-45d1-b8bf-a50202f91a1d', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-02-25T13:58:10.2693279' AS DateTime2), CAST(N'2019-02-25T13:58:10.2693279' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0065', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9984 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'55e39262-4b80-4d6d-9d6e-a78df23d9e8a', N'3e3698f4-c5ca-4ed0-8d43-7a0061de5381', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-12T16:47:38.5066667' AS DateTime2), CAST(N'2018-09-13T17:23:39.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0246', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5610283e-bfdd-4559-813b-66c681d1914a', N'4a507f82-74db-4275-aac8-3bc9ee28438b', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-23T14:49:32.4000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0033', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'568c82d7-b57d-46ac-86ec-d3c2b36b579a', N'640537d1-16b5-4188-99d2-a548f30f287c', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T10:03:54.7033333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0166', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'58185790-2cb4-4666-8850-1480190f4f9e', N'83425963-54d3-417f-9889-3e1fc936ddf2', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T13:33:32.6600000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0088', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5838675e-5bcb-4ab8-9d6c-c8218890965a', N'ec9c0022-2c2f-47e6-bd79-7594613c00f5', N'410f20e6-ad68-450b-9cf3-55da4793042c', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-09T10:46:16.4162657' AS DateTime2), CAST(N'2019-01-09T10:46:16.4162657' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0044', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9976 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5925e2fe-fe19-4875-a141-03995303c939', N'35aa92ef-8c63-415e-a206-b7bae3d01c9c', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-11-12T10:41:41.9802426' AS DateTime2), CAST(N'2018-11-12T10:42:38.0259370' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0031', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'59e64938-4e85-4628-95ed-ec4075a2cd07', N'623870ab-ab19-4cc5-96a1-9d8ab6a803b1', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'2018-09-16T18:24:16.6333333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 1200, 1200, 101, CAST(N'2018-09-05T11:17:16.2066667' AS DateTime2), CAST(N'2018-09-17T21:41:14.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0201', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5a20044c-f7cc-43f8-a3c2-5a2651659ca0', N'419f14fe-b4d3-4aa5-971d-8c9ec7af1d75', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 1200, 0, 101, CAST(N'2018-08-15T20:04:59.5666667' AS DateTime2), CAST(N'2018-09-04T22:21:08.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0139', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5b01cd81-cbbf-4044-a70a-bdf37aebbb90', N'ebd9e124-2246-4941-8590-42d1363817d3', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-12T12:58:15.9900000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0118', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5b78b2be-ebd7-467c-b3cd-dba3186d362b', N'cb92230a-75c8-4f13-9f1d-edfe8128b837', N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T11:12:38.6900000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0134', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5c483e24-7f68-498e-a9b0-c0cb0c5c6861', N'9fd3dee6-5bc6-4d5a-811d-3f953cb61ca3', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T18:48:01.1633333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0075', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'5e39586c-fa56-4e7a-a1bb-3a5e05c0a889', N'850c9ce4-8e5a-4cd8-b21a-b8b54215c5cd', N'4c429608-d406-4dad-8a34-40474c235fe5', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T13:06:35.8466667' AS DateTime2), CAST(N'2018-09-28T10:15:51.2133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0309', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6043ae33-d3f8-4f70-b6ba-3e4414ba5e13', N'5579d645-dc8f-40ee-b435-d45a9e10853c', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T12:20:28.8733333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0108', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'60bfa4e4-13b1-4c3d-a2a7-84374e6014fc', N'e3ea1f04-f01a-4214-9bca-0fbfdac6df92', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T18:20:26.9700000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0064', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'61f6c967-0d9d-4f93-ac9e-4691670524aa', N'004c582f-14d1-4097-b36e-4cb1e7879a37', N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T16:57:16.8766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0186', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'62bbe540-9da1-49e6-9636-01ba3319b12d', N'd5ecc8d1-5bbd-4317-bd9f-8218cee96a62', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-30T15:18:00.0733333' AS DateTime2), CAST(N'2018-09-30T19:06:01.7500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0355', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'63927684-0f93-4cf7-bec9-6f13c086f970', N'92834b4b-3a81-44de-805e-9bd5320c2a92', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T21:05:04.3066667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0189', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'640581d4-8749-4ef1-b1a2-bbe766d3d79c', N'410692bb-0608-46e5-9a20-51aedbee5886', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T12:55:35.9966667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0106', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6443bb08-5a25-465c-83c0-88b1c3df975a', N'7f208d86-3485-4c28-8fa0-056f33c02ae8', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-30T19:49:08.9866667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0071', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6567c695-78d9-43f2-ae83-f47b1d4df681', N'33d3dfa1-e7f0-4989-951f-967d37335d8c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T21:34:23.3433333' AS DateTime2), CAST(N'2018-09-19T10:36:12.9400000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0295', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'65e0acd1-462e-4ce1-a3d7-1851ffc0795c', N'18fdfbf4-8f13-4572-9822-b5fba9ab4e75', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-06T11:39:52.9466667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0207', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'66984f96-578f-479c-b235-f736ec189efb', N'9505a9b2-095d-4a61-98cd-1496c0b9ed79', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-24T10:44:34.8844395' AS DateTime2), CAST(N'2018-10-24T10:44:34.8844395' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0020', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'68107bea-9d6c-472c-a195-8aae6f012b76', N'72aea9f8-e29a-4fd5-9539-00e9ea0498ac', N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-30T15:48:55.2900000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0070', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6922624b-5fe9-458b-bec4-ce7394ff88b2', N'56d9a307-3593-4ce3-9984-3db10c85ac84', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-13T20:52:48.5800000' AS DateTime2), CAST(N'2018-09-14T09:53:59.1100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0251', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6967b47c-fd11-484b-8c78-412154d1c0f8', N'74bb4863-3aa0-4f3c-9041-dcfcd02af3de', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T12:20:59.1433333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0284', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'697cd337-22e2-4411-97c0-2fe1577b3849', N'cf18540f-1a2f-4990-955f-f544708e50af', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T13:28:11.7833333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0087', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'69a00465-4cc6-4463-8bec-100b37d8a540', N'79348284-6793-420d-ac2e-0e1b78bf664c', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T10:22:01.7266667' AS DateTime2), CAST(N'2018-09-28T13:02:39.2666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0343', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6a13c186-610c-4611-9aa9-e8ee576d47f5', N'4e73ae05-1d4c-4a8e-90da-e35ac91d9c9a', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-17T12:17:00.0933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0146', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6b4dc1f6-f60c-4604-91b6-0b2443954dc9', N'bdd0084e-6aa4-4900-81a9-5d8692541757', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'3', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-17T10:51:15.9293009' AS DateTime2), CAST(N'2018-10-17T10:51:15.9293009' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0014', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6bbc25e1-a7ae-4780-9d70-ecff52ddcc29', N'eb444587-b64a-4ecb-91a8-66dcae2ca42c', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T12:25:10.0366667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0149', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6c056c80-8225-4edb-a07a-69ca4db0296a', N'a78ed2be-82de-4ee6-a817-665be3a79002', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T12:22:02.7900000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0026', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6c883487-ebb9-4a55-a218-092470672957', N'32824c9e-dbd7-4f06-9881-bcad35ac89c1', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-12T13:49:10.2200000' AS DateTime2), CAST(N'2018-09-13T17:23:39.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0245', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6d114ddb-74f3-4cd2-b254-95b0c9e8eca6', N'6d6b4daf-bfee-46b1-b7f0-e9b3775717a0', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T10:54:15.3233333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0045', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6d5275c3-14d6-402f-a25a-be761fa0a549', N'35bfddf6-1895-4258-a1c0-6277e040d811', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'2018-12-11T13:20:16.4791541' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 200, 0.015987082437390589, 0.15987082437390587, 657489, 53340, 101, CAST(N'2018-12-08T10:40:18.6713768' AS DateTime2), CAST(N'2018-12-11T13:20:16.4831543' AS DateTime2), NULL, 9100, 176, NULL, 5000, N'NCINV0032', NULL, NULL, 0, 103.67702896059984, 1036.7702896059982, 603017.18, N'na jjkjkk', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6dfed4c2-6ec5-477d-b39e-dc0a700dadf1', N'db4bbfa6-a72e-4e39-bae5-bac4efb0d836', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T09:52:01.8966667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0042', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6e5e53c4-0eef-4bf1-8a43-0c66ed20a098', N'ecd51489-d461-4721-b4df-b9623cea4c45', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-10T10:06:52.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0005', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'6f1e92d6-ac5c-4584-ad08-613b166fd833', N'4c782476-db0a-4515-bf50-771d58d2ce60', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:01:18.9933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0125', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'703e0c1c-6225-4031-b6e3-51dc1acd80db', N'61f5466a-8758-43e5-bcd4-bffa03ef4bfe', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-13T14:59:19.5766667' AS DateTime2), CAST(N'2018-09-13T17:23:39.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0250', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'707fb2e2-9e65-4bf8-8e93-40d41831d29c', N'f6f288db-10f7-4492-9537-b7dd4e84447c', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-28T16:03:12.1985170' AS DateTime2), CAST(N'2018-10-28T16:03:12.1985170' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0022', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'70afae7b-afd9-4f64-8a45-1625777f44e8', N'9407f195-8487-490e-904c-299cf68b67a9', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-19T10:56:36.7966667' AS DateTime2), CAST(N'2018-09-21T09:41:10.1766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0297', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'71c25613-f582-455a-958a-24e644bbd57a', N'3c0f8d57-f143-4031-ba67-f69a8b4fc246', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T09:48:38.0466667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0148', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'71f9202e-55ef-4e15-98a6-93e726f7cc9b', N'0abfde54-5a60-4752-8bff-3143717b0170', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-23T12:35:31.4833333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0032', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'739c2f3c-6b3c-4674-a06e-708d40c961f3', N'34f047c8-060d-4d81-9190-5f5dd1c5f15e', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T09:38:13.3633333' AS DateTime2), CAST(N'2018-09-28T10:15:51.2133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0340', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'73d3b635-f41a-4028-aa6b-232be5e94484', N'f44353af-874d-42db-8c70-a1b629407283', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T10:06:37.6033333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0100', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'740d3cca-7c5c-4ca2-a0a2-ac5c9aa0d3e8', N'2f0367c0-5770-461c-b4c0-e0df42f6be76', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'2018-08-30T12:09:15.0466667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-30T12:06:32.7500000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0163', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'74613cc2-0e1c-4f6c-af3f-26c9dc9d70cf', N'89e0d0be-6766-40d6-b975-83c680c24c6d', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-11-06T11:51:49.7375876' AS DateTime2), CAST(N'2018-11-06T11:54:32.5130433' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0030', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'750283d4-4f09-4016-96de-3a7914b00ae9', N'7ad429be-c311-489b-aecb-b3b01666a863', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T15:23:37.9533333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0266', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7596fbec-645b-44da-92e8-6940dd9fcf96', N'e9c52e35-7a61-4e4c-b25e-82d90b4c5459', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-20T18:54:07.4033333' AS DateTime2), CAST(N'2018-09-21T09:41:10.1800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0299', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'760bae3b-5fce-4770-b393-08aedbed060a', N'8f430996-e68a-40a4-8465-3cbfa5b851ab', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T11:56:33.9466667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0260', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'76430416-4182-4764-94cf-f7c3d9888831', N'457a3fb3-7905-43d8-a01c-06f954c75203', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T12:05:21.5000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0047', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'764909f2-8d2f-4861-8e6d-eaaf55a3c80e', N'ef9e2ce8-d55c-4878-a546-0293e7d2ce6c', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T10:27:06.6900000' AS DateTime2), CAST(N'2018-09-08T11:15:28.3900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0220', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'77bcdd75-7fee-47c8-8df2-f61a644fc78d', N'e03a3447-ae99-43b9-a3b2-6c8b3ef635bf', N'dadc84a5-ee03-4ba5-a1d9-cee8d0572be3', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-11T10:21:56.4466667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0114', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'782a631d-d3e4-4087-b5cc-befa86c15abd', N'9b424e4f-058c-4dd9-af12-40e22ffd3d11', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:01:18.9766667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0125', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
GO
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7887b484-c97d-4529-b095-f700c7970d1f', N'1780c793-f638-4fd1-ac52-0e182371e295', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-11-05T13:25:50.6259234' AS DateTime2), CAST(N'2018-11-05T13:25:50.6259234' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0029', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'79902d92-004f-4650-8dab-bfc21ffcea88', N'581eace3-02d4-41f2-8f49-f77731af298d', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T09:43:24.1166667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0274', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'79b66ee3-ed70-40bd-8a0a-a203890562cc', N'069f60c8-f697-490b-adfa-b0af0c5c1603', N'532e50ee-47d3-4858-8f96-9c2e425b78ca', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-19T10:24:26.9400000' AS DateTime2), CAST(N'2018-09-19T10:36:12.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0296', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7a098459-7777-4c0d-9d49-1ebfb50eded3', N'27c43532-ee31-4b3a-b3b6-88a15e52e22d', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T09:32:00.4700000' AS DateTime2), CAST(N'2018-09-28T10:15:51.5733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0338', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7a7225d2-f70a-4e6e-8e62-50b6a1026e2f', N'ba731774-0506-485c-937f-8966299e12b3', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T10:26:42.6100000' AS DateTime2), CAST(N'2018-09-28T13:02:39.2666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0344', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7c516e6b-5b8d-4bdd-9e10-b4a732fbc1e5', N'9b1c0b0c-c795-4f85-88fb-abc29ee54741', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T13:49:53.9366667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0185', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7c8128ac-43d7-4861-8270-268fce044691', N'38cdd563-0bcc-4dfc-b938-284863ae7c01', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T11:50:07.8533333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0259', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7d28c2bd-34a6-408a-a005-484a22f8d42b', N'c3e034f5-b60f-4daf-a5a4-050f0633666d', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T10:57:17.7433333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0212', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7d912689-97ea-40b7-9608-804ac90d9557', N'd8dc8143-d70a-4269-844a-2019aa56b31d', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-30T12:10:50.0933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0164', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7dae257e-be11-4a1a-ac50-a24ff4da3c98', N'8bad60ce-b1ca-47be-8995-2f9323dd4330', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-12T09:28:40.6767798' AS DateTime2), CAST(N'2019-01-13T11:23:59.7714229' AS DateTime2), NULL, 1993, 0, NULL, 0, N'NCINV0046', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9996 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'7ea3f015-4db5-40d1-9ebb-764e25fcc765', N'02fc928d-7c28-4909-a400-748a0db31521', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T12:29:03.7700000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0151', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8012e745-48fa-4c5b-804d-6296e0285a3b', N'dec9f50f-ed1c-4b21-be50-ad182aa67779', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-30T11:20:09.8366667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0067', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'80b33d10-1ed5-42b0-84d9-381fe30b3e9d', N'7370940e-b91e-4d9e-a1a9-20cf5ffb357c', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-01T12:16:03.6933333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0178', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'81855f1c-46a9-4bbd-af27-e40f449f16c7', N'065c9aed-f7e9-4e4d-a370-488082a96475', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T21:29:00.8566667' AS DateTime2), CAST(N'2018-09-28T10:15:51.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0331', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8243b77b-cc57-4b50-a4b2-8867f0524f9c', N'096a5ed3-c1f0-46bc-a23e-759b74728619', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-18T10:25:33.8773791' AS DateTime2), CAST(N'2018-11-04T11:42:57.8427537' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0016', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'826444dd-0504-4f13-83ac-7b0fb0b657f8', N'2e13e474-43fc-4ba8-859b-4cdcc208ab8c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T20:14:05.5100000' AS DateTime2), CAST(N'2018-09-17T21:41:14.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0287', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'827064f3-6f4c-48e1-97da-e915514e7c53', N'542f02e7-dc90-40a5-9505-0d517e36c5c4', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T11:10:59.8000000' AS DateTime2), CAST(N'2018-09-04T22:33:55.9966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0023', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'83281dd4-5998-4b90-bd4f-ad30ae28cfa6', N'3e776599-4b94-4593-8af5-be526f303007', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 62719, 0, 101, CAST(N'2018-12-17T08:57:09.7197221' AS DateTime2), CAST(N'2018-12-17T08:57:09.7197221' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0036', NULL, NULL, 0, NULL, NULL, 62719, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'84e385c1-90d7-4add-a08a-afcf7aa38d31', N'd06cbaa2-2a34-40a6-ad45-575d75afa535', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T20:32:32.0466667' AS DateTime2), CAST(N'2018-09-04T22:33:56.0000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0188', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'856db1e1-864a-476d-8045-60625559e28c', N'29670e89-91bd-4646-85de-af4ba4afc89c', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-01T15:35:12.1700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.0000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0079', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'86369ff8-4d85-4b08-8b42-7ba206964d7a', N'5495bff8-beb8-40ee-b32b-8b13fb593b49', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'2018-07-12T15:17:06.2266667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 10200, 0, 101, CAST(N'2018-07-09T21:46:08.0966667' AS DateTime2), CAST(N'2018-09-04T22:33:56.0000000' AS DateTime2), NULL, 400, 0, NULL, 0, N'RINV0006', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'86fcbac2-54fe-4cbb-9797-c8e71e6c287b', N'098a6bd1-3d70-42f5-9ed7-00dfece6a766', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T11:24:14.4333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.0033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0122', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'872725de-3c75-42d9-bed4-366f4bba1770', N'b2ac5ebd-d4b4-43d4-a181-64eb3b4e0506', N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T17:20:30.7833333' AS DateTime2), CAST(N'2018-09-09T10:10:51.7700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0223', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'876b095e-ffd7-4d43-ab44-63c0990c90c4', N'56706af0-cace-4ab8-868e-a451ff60250e', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-07T17:50:33.6632022' AS DateTime2), CAST(N'2018-10-07T18:01:00.8737981' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0001', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'87817419-cd7c-40a5-8c4e-85427c697ac0', N'3d2a0887-b490-4e2b-94b9-4924b170300c', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T09:42:35.2833333' AS DateTime2), CAST(N'2018-09-28T10:15:51.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0341', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8855a871-664f-41ca-93c5-f86e02fb7af7', N'35a45a00-60f5-4f3d-b8ea-c1bd263367b5', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'2018-09-16T18:23:46.2433333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 2000, 2000, 101, CAST(N'2018-09-11T10:30:39.2333333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0238', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8929470e-4e46-4aad-9002-44dca778e96a', N'a86d53ea-1b3b-4a79-b754-8175e2b21e72', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-12T12:20:44.3033333' AS DateTime2), CAST(N'2018-09-13T17:23:39.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0244', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'89a9aa05-f7d1-48a4-8d18-8e99642a9b5b', N'6cd1dacb-cdb5-4a44-98fb-138aebfeae56', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T11:48:32.4700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.0033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0085', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8ad9662f-a99b-4a85-865b-2850043df48d', N'b702a6c0-8e15-4462-98e5-3b5b57fdf36f', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T11:22:41.4300000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0184', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8c2d43c9-ad67-42a8-8527-2fc86d1cd454', N'becfa3b9-cc6e-403c-84df-89d8d74fdcee', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-01T10:33:28.1366667' AS DateTime2), CAST(N'2018-09-04T22:33:56.0066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0078', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8ce4738d-f975-4819-a1a7-63a71a469c19', N'8282f34c-dde3-478b-8ffd-de8b6f5c9718', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-23T18:14:05.1166667' AS DateTime2), CAST(N'2018-09-04T22:33:55.9966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0034', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8ed7a465-714d-4942-984c-578e1b8f6308', N'1f6e5f5a-2626-416f-888f-0e2fb32623c1', N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T11:13:36.7200000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0135', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8f288cc3-e4c0-41cd-be8e-18e32cbf7ab1', N'79cc13bc-4826-45f2-a1df-8abfeb55c532', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T12:41:41.9566667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0275', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8f91aa82-61f5-4f40-abbd-776aad6d6b84', N'2910c313-bf22-478f-981f-34ad2d659e34', N'6ee087eb-7031-408f-b4ea-f567d250f75b', N'1', NULL, 1, CAST(N'2019-01-13T12:26:40.6276851' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 102, CAST(N'2019-01-08T16:21:56.1614543' AS DateTime2), CAST(N'2019-01-13T12:26:40.6276851' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0043', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9984 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8f960014-7600-407a-9ce4-9ab743ab9eb1', N'8b2dc971-b90e-4030-be0e-7bed1aff7f30', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T09:59:47.1733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0191', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'8fd0a12f-1221-42c7-b67f-3eb75f657a08', N'6d9fcdf3-95bd-4e25-81c2-ea89197b430f', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-30T11:58:41.6966667' AS DateTime2), CAST(N'2018-09-30T19:06:01.7533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0353', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9006fef4-adee-4e9e-ad72-eab7e92e0a85', N'5c52f7ca-d0b0-42c8-a623-74e707265c3d', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T12:26:47.3800000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0150', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'90d42b32-6802-4f29-b2b3-7f87cc60a5b7', N'a48c50bd-16a9-4f56-bae4-e37616e91d0a', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T14:25:58.2866667' AS DateTime2), CAST(N'2018-09-27T09:49:04.8166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0329', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9100794d-2721-4358-987e-4449117c1f36', N'cdeb68a8-63e5-4b8a-a414-399c82484fcc', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-27T10:43:35.7900000' AS DateTime2), CAST(N'2018-09-28T10:15:51.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0334', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'919d76f5-f50b-4d36-8037-a4286b8f0b97', N'0152cac7-4bfb-4849-941b-f791180ba50a', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-16T15:37:36.8833333' AS DateTime2), CAST(N'2018-09-04T22:33:55.9966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0009', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'91c1b7c7-7f86-4a3c-a2de-6bb4fbac9f3a', N'6104dda9-20c2-469f-85de-ef478ffa5e27', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-23T16:22:47.3567482' AS DateTime2), CAST(N'2018-10-23T16:29:01.4517748' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0018', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'93379d15-f833-4e0a-b7ca-40cb4ff7b457', N'a4a0d6d6-7d65-4556-82b4-1fd88ce3a48a', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-02T12:28:41.4433333' AS DateTime2), CAST(N'2018-09-04T22:33:56.0000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0081', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'94ac00bf-4246-452b-93e3-fc3e1e469fc3', N'2afe3a31-18de-4a49-8282-282113d8c5c4', N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, NULL, 0, CAST(N'2018-08-15T11:10:10.9700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 1200, 0, 101, CAST(N'2018-08-15T11:06:46.2033333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0133', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9521f987-b83b-4530-8701-6e98c60e61a6', N'84889633-5256-463c-9e52-a5e6fff9be74', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T14:00:04.2200000' AS DateTime2), CAST(N'2018-09-09T10:10:51.7700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0221', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'95a45bf8-7492-4613-ab09-496d3e118a76', N'b6e9dca3-c573-4e85-be81-9303ec0e3d2f', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-20T20:02:48.7533333' AS DateTime2), CAST(N'2018-09-21T09:41:10.1800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0300', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9646efb6-4e8b-4564-9e02-f2c193956b56', N'f9c92d0c-26dd-4bfb-a856-1feb9e74d0b7', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-07T20:28:55.4800000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0099', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9679a1dd-7d34-45bd-bc8d-5f0f1691e200', N'f78cf7e8-6f84-4ec7-9336-2003310c48ed', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-29T12:55:44.1866667' AS DateTime2), CAST(N'2018-09-30T19:06:01.7533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0352', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'973db03e-0c18-47f2-a370-876be039fc3a', N'18f3ad30-f98a-4c10-9a3c-5ae0dc494e30', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T10:39:21.2933333' AS DateTime2), CAST(N'2018-09-04T22:33:56.0000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0043', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'977b0627-f8c7-411c-aa0f-972c945a0655', N'31477bfc-5670-40dc-aeca-f5161d1fb985', N'1846d6eb-7c42-4dfc-8716-badb967b683f', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-01T14:49:44.6600000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0181', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'98100586-77e6-47bd-abd8-f23cd7cab790', N'd99a6306-1524-402b-a561-bd5f807ab961', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-09T12:23:14.9433333' AS DateTime2), CAST(N'2018-09-12T12:13:23.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0228', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'98d91c56-b65a-4461-8b6a-7d4dd98ef16d', N'7cb10a9f-e69e-4a5f-85ba-451a76364298', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T13:39:22.9300000' AS DateTime2), CAST(N'2018-09-04T22:33:56.2566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0072', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'99507d76-919d-4020-8580-3d4dee408535', N'25ee59d3-84a6-4cc1-b624-6a5547b693c0', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-21T19:25:16.6966667' AS DateTime2), CAST(N'2018-09-28T10:15:51.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0304', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9956eec8-e5e1-435d-8639-36683f041bc7', N'8114b092-cd52-484d-a418-f5fc2e0acac4', N'7a432ef3-78e3-4091-811b-11fc802fb981', N'4', NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-15T13:49:41.5166667' AS DateTime2), CAST(N'2018-09-04T22:33:56.2566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0010', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'998279cc-2541-4672-b6d1-4ec83673be07', N'0333d279-6d27-46eb-bc80-da826720f55a', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-02-17T10:50:36.2819096' AS DateTime2), CAST(N'2019-02-17T10:50:36.2819096' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0062', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9948 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9aa612fb-7d6c-49cd-b34c-5544f8fc9976', N'cb5e6060-0234-4524-83a1-1b4c325fd0cc', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T10:50:57.7133333' AS DateTime2), CAST(N'2018-09-04T22:33:56.2600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0044', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9acfa881-a156-4cd3-9f44-a7740fa15b11', N'2ed2e6b0-d803-4568-a158-78d333a6866f', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-30T10:13:27.6733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0161', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9bd384f9-9a0b-4d79-9e23-ce7b3c553b3d', N'280870e9-bebc-48eb-8824-38c562cf6fda', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T12:47:21.2833333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0276', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9c0c25c5-11fc-4a52-a928-6cfebda17d20', N'7c432aa3-3330-4fe2-a4dc-f6881d86c170', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'1', NULL, 0, CAST(N'2018-12-20T16:40:36.9744019' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 10, 26240, 0, 101, CAST(N'2018-12-20T13:30:52.0965180' AS DateTime2), CAST(N'2018-12-20T16:40:36.9744019' AS DateTime2), NULL, 0, 0, NULL, 33, N'NCINV0038', NULL, NULL, 0, 0, 2624, 23616, N'11', N'NA')
