INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'2ecee648-d380-46da-8a1e-bf3b3dae7a40', N'06b53133-c056-4813-9854-2ee999bb7228', CAST(N'2018-09-28T09:18:14.2133333' AS DateTime2), 0, 0, 0, 7150, 4150, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-28T09:18:14.2133333' AS DateTime2), CAST(N'2018-09-30T19:06:02.5033333' AS DateTime2), N'RDG0356', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'302697a8-ccdd-4abf-92b7-960002bdf1f4', N'09913d21-588e-44ec-b126-74e66ef910e6', CAST(N'2018-07-19T12:56:58.3566667' AS DateTime2), 0, 0, 0, 1400, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Referrer', N'5972905b-bc7d-495a-bc9d-4469871316b1', N'225ac70b-ce0c-497c-90d8-d4a9816d83ee', 101, CAST(N'2018-07-19T12:56:58.3566667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4966667' AS DateTime2), N'RDG0037', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'307df4fa-fc32-4973-9000-fa77dcf8b613', N'f67fbe0b-1d75-4aa8-8735-7a354fc8e115', CAST(N'2018-07-25T11:14:37.1000000' AS DateTime2), 200, 0, 50, 250, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 102, CAST(N'2018-07-25T11:14:37.1000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.5033333' AS DateTime2), N'RDG0055', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'30ff9b91-f328-4657-bdb1-5bcce2b3a469', N'2b695a10-1b87-4e47-8ac8-b0cff3871df9', CAST(N'2018-08-17T17:14:14.3466667' AS DateTime2), 0, 0, 0, 1200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-17T17:14:14.3600000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7000000' AS DateTime2), N'RDG0164', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'311488bc-4590-47ae-8ab2-13ffa2b6576c', N'NOTASSIGNED', CAST(N'2019-02-25T18:42:40.4678965' AS DateTime2), 0, 0, 0, 5290, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2019-02-25T18:42:40.5735698' AS DateTime2), CAST(N'2019-02-25T18:42:40.5735698' AS DateTime2), N'NCDG0121', N'HospitalOnly', 5290, N'afb897b4-8856-4e2b-b668-8c42c7ba832a', 0, 0, N'12 : 10 : AM', CAST(N'2019-02-25T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9300 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'313fcb5f-246c-4b5f-b851-f870631ef392', N'ed9fa94b-4156-447d-bd39-3874ebf52051', CAST(N'2018-07-25T20:38:02.6533333' AS DateTime2), 0, 0, 0, 0, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-25T20:38:02.6733333' AS DateTime2), CAST(N'2018-09-04T22:33:57.5066667' AS DateTime2), N'RDG0061', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'31765541-03a1-4b6d-9b4a-8526b30d3bea', N'9006fef4-adee-4e9e-ad72-eab7e92e0a85', CAST(N'2018-08-18T12:26:47.4600000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-18T12:26:47.4600000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7033333' AS DateTime2), N'RDG0167', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'327a5698-2071-4a5b-912f-a95e3389ac65', N'e759dbe8-08c4-4794-b106-27ab9aa08608', CAST(N'2018-09-22T11:18:37.6800000' AS DateTime2), 0, 0, 800, 1800, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-22T11:18:37.6966667' AS DateTime2), CAST(N'2018-09-25T10:03:15.8700000' AS DateTime2), N'RDG0327', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'32dd68a5-a5a1-4acc-8708-a500c2e565f3', N'8ed7a465-714d-4942-984c-578e1b8f6308', CAST(N'2018-08-15T11:13:36.7666667' AS DateTime2), 0, 0, 0, 350, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, 0, N'Doctor', N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, 101, CAST(N'2018-08-15T11:13:36.7800000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7033333' AS DateTime2), N'RDG0152', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'32efb69d-feb4-42a5-b5d8-9365511f01dc', N'a09d1933-a42e-4b01-8f2f-08ffd0109967', CAST(N'2018-07-15T10:05:42.1600000' AS DateTime2), 2300, 0, 1150, 3450, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 102, CAST(N'2018-07-15T10:05:42.1766667' AS DateTime2), CAST(N'2018-09-04T22:33:57.5066667' AS DateTime2), N'RDG0026', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'33131b51-6a56-4afb-b783-e403fe81cd1d', N'fd892f81-0081-482f-9a7e-f8e1c65bf68c', CAST(N'2018-09-28T09:27:11.6600000' AS DateTime2), 0, 0, 0, 150, 150, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-28T09:27:11.6600000' AS DateTime2), CAST(N'2018-09-28T10:15:52.1100000' AS DateTime2), N'RDG0357', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'33274e3f-944d-470b-bd2d-c1944a898a2a', N'fa4cba6c-82c7-414b-87ef-9c71bd43b81d', CAST(N'2018-08-28T10:31:55.6833333' AS DateTime2), 0, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 0, N'Doctor', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 101, CAST(N'2018-08-28T10:31:55.6833333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0175', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3447f67f-4e8c-4ca8-9fd9-02cdd784aaef', N'e32af61c-8b0b-4094-b865-760b90e42ef2', CAST(N'2018-08-09T10:06:40.6666667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-09T10:06:40.6666667' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0118', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'34fc05d9-22b2-478c-9ca0-f9a14d2e39a3', N'NOTASSIGNED', CAST(N'2018-11-22T15:12:50.9785295' AS DateTime2), 110, 10, 11, 7480, 7213, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'fff', 0, N'Both', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'2018-11-22T15:12:50.9855282' AS DateTime2), CAST(N'2018-11-22T16:48:13.8682279' AS DateTime2), N'NCDG0050', N'HospitalOnly', -0.08, N'cfb7108a-19ed-4fa3-aa5b-86f414b746a7', 822.8, 665.72, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'350b9602-e8c1-4ee4-9545-dd03d6231320', N'e982928f-dd63-4fbe-a9db-efc149bc99ee', CAST(N'2018-09-07T10:09:46.6100000' AS DateTime2), 0, 0, 150, 300, 150, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-07T10:09:46.6100000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8933333' AS DateTime2), N'RDG0232', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'35867a5f-fe8e-4647-a802-499e2d14f2d1', N'444d89a5-b5ce-4d3c-9e7f-e5b6d4e8598f', CAST(N'2018-08-31T12:19:23.7133333' AS DateTime2), 0, 0, 200, 800, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-31T12:19:23.7133333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0187', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'35fa670b-37c3-4d34-ab05-b3de95e08fbe', N'd55daa8b-8cc2-4322-8eb0-b1e26b2bd078', CAST(N'2018-09-11T11:59:28.6066667' AS DateTime2), 1000, 0, 0, 1750, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-11T11:59:28.6066667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7400000' AS DateTime2), N'RDG0261', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
GO
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'36168919-2b9e-4dfc-ab56-e5b1c262953c', N'NOTASSIGNED', CAST(N'2018-11-26T14:04:47.7284569' AS DateTime2), 0, 0, 0, 4228, 4228, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 102, CAST(N'2018-11-26T14:04:47.7314583' AS DateTime2), CAST(N'2018-11-26T14:09:10.4801028' AS DateTime2), N'NCDG0058', N'HospitalOnly', 0, N'8988b35d-1f96-4608-826c-3646ed7bea80', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'365226aa-989f-4e36-b6ef-e20fb30e851a', N'ac215f63-07c0-4382-881e-7959c9506110', CAST(N'2018-08-13T19:46:36.2066667' AS DateTime2), 0, 0, 0, 150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-13T19:46:36.2066667' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0140', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'37c0df4b-ab06-4afe-940d-28f307c741a6', N'4290003c-6efc-4157-bca1-b2030bd2d6af', CAST(N'2018-09-24T13:33:24.6000000' AS DateTime2), 0, 0, 0, 1350, 1350, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-24T13:33:24.6166667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1133333' AS DateTime2), N'RDG0339', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'37d547b2-fa75-42a1-a269-aeb62b5456b2', N'41ddbc6d-94ae-4914-ae77-08cc5c909a83', CAST(N'2018-09-27T20:52:58.6400000' AS DateTime2), 0, 0, 0, 2200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-27T20:52:58.6566667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1133333' AS DateTime2), N'RDG0355', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'382cd1f3-4586-4048-ad26-83f20f1a5a59', N'221c0f99-79f1-434a-a55d-8584e2203989', CAST(N'2018-07-31T20:17:38.1633333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-31T20:17:38.1800000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7766667' AS DateTime2), N'RDG0091', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'38eaf1ff-15e6-464b-afe4-8edfd638a740', N'NOTASSIGNED', CAST(N'2019-01-07T11:52:53.0666624' AS DateTime2), 0, 0, 1, 15356, 135790, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-07T11:52:53.0736566' AS DateTime2), CAST(N'2019-01-20T15:32:48.0693033' AS DateTime2), N'NCDG0087', N'HospitalOnly', 0, N'ca6ef635-21ca-4e0e-98dc-192b8e250331', 1000, 0, N'08 : 11 : AM', NULL, N'data:image/jpeg;base64,[encoded data, 9300 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'398a80b7-3ac2-4017-a864-97c23ca9179a', N'63927684-0f93-4cf7-bec9-6f13c086f970', CAST(N'2018-09-03T21:12:26.6200000' AS DateTime2), 0, 0, 0, 800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-03T21:12:26.6200000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0208', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'39b40131-dd02-494a-9c09-93ae96288084', N'NOTASSIGNED', CAST(N'2019-01-13T13:32:39.0808654' AS DateTime2), 0, 40.49, 10, 2744, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'1fc95b60-c117-4163-b73d-37bd64d7fac8', NULL, 0, N'Doctor', N'1fc95b60-c117-4163-b73d-37bd64d7fac8', NULL, 101, CAST(N'2019-01-13T13:32:39.0868620' AS DateTime2), CAST(N'2019-01-13T13:42:13.5841800' AS DateTime2), N'NCDG0099', N'HospitalOnly', 3469, N'f04cd29c-7c18-4582-bd2f-ee5509c3db26', 274.4, 1000, N'12 : 10 : AM', CAST(N'2019-01-13T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9348 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3a2adaca-9159-4647-bc0b-18d813f92306', N'c050d739-2984-4f79-9086-fc357b41c392', CAST(N'2018-07-20T11:38:08.2800000' AS DateTime2), 800, 0, 300, 1100, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 102, CAST(N'2018-07-20T11:38:08.2800000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7766667' AS DateTime2), N'RDG0043', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3a442785-7616-4876-ae16-c14ce250668e', N'9100794d-2721-4358-987e-4449117c1f36', CAST(N'2018-09-27T10:43:35.8233333' AS DateTime2), 0, 0, 800, 1950, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-09-27T10:43:35.8366667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1166667' AS DateTime2), N'RDG0354', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3c126df4-7dd2-4507-8ec3-8abe4b74ddc7', N'919d76f5-f50b-4d36-8037-a4286b8f0b97', CAST(N'2018-07-16T15:37:45.5366667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-16T15:37:45.5433333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7800000' AS DateTime2), N'RDG0025', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3c7e7e81-8d2d-4efa-b73b-a323bc9a8bba', N'NOTASSIGNED', CAST(N'2018-11-21T16:41:14.6958068' AS DateTime2), 0, 0, 0, 500, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Referral', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'2018-11-21T16:41:14.7028043' AS DateTime2), CAST(N'2018-11-21T16:43:03.9539056' AS DateTime2), N'NCDG0049', N'HospitalOnly', 500, N'aa68ad4c-71fa-4407-a1ba-557f388b1509', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3ce455de-c7c0-4d92-8f57-b14c3c197107', N'39c0489b-f02d-4921-9e57-65e80608118c', CAST(N'2018-09-04T09:59:45.6733333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 102, CAST(N'2018-09-04T09:59:45.7333333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0209', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3d29089f-fc1f-4c6d-bb31-61b25b2815e7', N'63927684-0f93-4cf7-bec9-6f13c086f970', CAST(N'2018-09-03T21:05:04.3866667' AS DateTime2), 0, 0, 0, 800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-03T21:05:04.3866667' AS DateTime2), CAST(N'2018-09-04T22:21:10.7133333' AS DateTime2), N'RDG0207', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3d622c99-a636-47ed-98d6-0ecb1afce794', N'06b99ad7-0177-4ec9-ba3d-d85d2fc73345', CAST(N'2018-09-12T11:23:03.8700000' AS DateTime2), 0, 0, 50, 150, 100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-12T11:23:03.9000000' AS DateTime2), CAST(N'2018-09-12T12:13:24.7400000' AS DateTime2), N'RDG0264', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3d9bbadf-ad02-495a-8f92-d33523e9a310', N'e1a15310-a3a3-45c0-af38-acc407d5e92c', CAST(N'2018-08-13T16:58:24.4966667' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-08-13T16:58:24.4966667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7800000' AS DateTime2), N'RDG0139', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3e29c9ce-a2e6-468a-b848-37fc673bc656', N'1f71be3a-1c60-4d86-86ce-477a49c0a173', CAST(N'2018-09-17T10:38:02.6866667' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-09-17T10:38:02.6866667' AS DateTime2), CAST(N'2018-09-17T21:41:14.9000000' AS DateTime2), N'RDG0304', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3e34586b-5b04-4755-ae22-5694878a495e', N'NOTASSIGNED', CAST(N'2019-01-21T15:49:30.9956188' AS DateTime2), 0, 0, 0, 22280, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-21T15:49:31.1487126' AS DateTime2), CAST(N'2019-01-21T16:19:04.8146101' AS DateTime2), N'NCDG0107', N'HospitalOnly', 22280, N'e7f7a432-1296-4a23-b4cf-1e63b64083fd', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-21T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9268 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3e8b358c-79ba-4de7-b107-f068db6c37c0', N'39445a4a-c2eb-4995-be56-a876e9694b4e', CAST(N'2018-07-20T10:38:55.8033333' AS DateTime2), 0, 0, 0, 1050, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-20T10:38:55.8033333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7800000' AS DateTime2), N'RDG0039', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3eddb765-d8ed-44bb-ad8a-2effd21d9b58', N'NOTASSIGNED', CAST(N'2018-12-23T11:14:13.6727150' AS DateTime2), 0, 0, 10, 650, 585, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-12-23T11:14:13.6797121' AS DateTime2), CAST(N'2018-12-23T11:18:49.4378134' AS DateTime2), N'NCDG0074', N'HospitalOnly', 0, N'3b17c613-0fd6-4e92-a6c4-c3e977ead8f0', 65, 0, N'02 : 03 : PM', CAST(N'2018-12-23T00:00:00.0000000' AS DateTime2), N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3f10b9b1-0cd2-413e-b2b1-f52e32d42c2d', N'NOTASSIGNED', CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), 100, 2, 19, 0, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'haha', 0, N'Doctor', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 101, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2018-11-13T10:17:36.8735520' AS DateTime2), N'NCDG0036', N'HospitalOnly', -24585, N'74453941-610f-4955-848e-3a7f7e687065', 14250, 215, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3fb74011-863b-4ba9-a455-122f8de4fc9e', N'3c9128d1-01bd-425b-a784-9cbbf7c1604f', CAST(N'2018-09-26T10:59:59.2133333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-26T10:59:59.2133333' AS DateTime2), CAST(N'2018-09-27T09:49:06.0433333' AS DateTime2), N'RDG0346', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3fe0b102-ff0a-438d-baa7-f5bb676440b9', N'8f288cc3-e4c0-41cd-be8e-18e32cbf7ab1', CAST(N'2018-09-16T12:41:42.0033333' AS DateTime2), 0, 0, 0, 1350, 1350, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-16T12:41:42.0166667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2633333' AS DateTime2), N'RDG0296', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'3ff6014c-d50a-403a-bbf2-fea054d9aefd', N'NOTASSIGNED', CAST(N'2019-01-24T09:54:37.4800593' AS DateTime2), 0, 0, 0, 1150, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2019-01-24T09:54:37.5792773' AS DateTime2), CAST(N'2019-01-24T09:54:37.5792773' AS DateTime2), N'NCDG0108', N'HospitalOnly', 1150, N'6c2f4c00-4521-4803-b0ac-e486598cc51f', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-24T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9320 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4070b394-e991-40f2-99c9-24422b1d85cf', N'b663e548-2b84-4c59-af80-4aae3814f291', CAST(N'2018-07-31T18:13:17.9033333' AS DateTime2), 0, 0, 150, 400, 250, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-31T18:13:17.9166667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7833333' AS DateTime2), N'RDG0089', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'417161f8-fc25-416a-9bc8-ec91b47fd148', N'68107bea-9d6c-472c-a195-8aae6f012b76', CAST(N'2018-07-30T15:48:55.3366667' AS DateTime2), 0, 0, 0, 600, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, 0, N'Doctor', N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, 101, CAST(N'2018-07-30T15:48:55.3366667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7833333' AS DateTime2), N'RDG0085', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'41c12ad3-9c19-4e10-9133-d425803403de', N'NOTASSIGNED', CAST(N'2018-11-21T16:10:46.2543517' AS DateTime2), 10, 16, 15, 1078, 110, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Referral', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', 101, CAST(N'2018-11-21T16:10:46.2563164' AS DateTime2), CAST(N'2018-11-21T16:10:46.2563164' AS DateTime2), N'NCDG0046', N'HospitalOnly', 942.91, N'4bed5a74-86a3-4e1d-9c9e-ca3583a782e9', 161.7, 146.61, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'438bd665-9331-4624-969f-d99e60398bea', N'3a109c7a-7d38-421c-99e8-84e429a0b79f', CAST(N'2018-09-07T12:16:54.5900000' AS DateTime2), 0, 0, 0, 1750, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-07T12:16:54.5900000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8933333' AS DateTime2), N'RDG0236', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'43ad6708-6ddb-4107-a45d-748af5d9bb35', N'd1b4c66f-1545-4bdc-9cc5-ea8f5e4d29c1', CAST(N'2018-09-15T15:00:44.4933333' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-09-15T15:00:44.5066667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2633333' AS DateTime2), N'RDG0292', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'44369f56-3fb5-48fa-af0a-8eaadb6f81a2', N'45bdfcb4-8949-4798-9c45-0e1516e96fac', CAST(N'2018-09-28T09:34:55.0366667' AS DateTime2), 0, 0, 50, 1150, 1100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-28T09:34:55.0366667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1166667' AS DateTime2), N'RDG0359', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4469621b-8a3f-4ae6-9e23-a0a15e6b3414', N'a09d1933-a42e-4b01-8f2f-08ffd0109967', CAST(N'2018-07-15T09:44:02.3200000' AS DateTime2), 2300, 0, 1150, 3450, 2300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 102, CAST(N'2018-07-15T09:44:02.3366667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7633333' AS DateTime2), N'RDG0025', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4561a3e0-d340-4da7-8094-1a2b3288fa16', N'NOTASSIGNED', CAST(N'2019-02-02T10:06:56.3825435' AS DateTime2), 0, 0, 0, 917, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'onn', 0, N'Both', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', 101, CAST(N'2019-02-02T10:06:56.3895443' AS DateTime2), CAST(N'2019-02-02T16:40:25.8726941' AS DateTime2), N'NCDG0114', N'HospitalOnly', 917, N'228ebd73-833c-4ac9-8211-a5929b2e7d90', 0, 0, N'04 : 16 : PM', CAST(N'2019-02-02T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9276 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'46485c38-b957-4d32-85e4-d7ce0af46113', N'07154479-e676-4264-bc19-36f5b01b43e7', CAST(N'2018-09-30T12:02:48.7566667' AS DateTime2), 0, 0, 50, 350, 300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-09-30T12:02:48.7733333' AS DateTime2), CAST(N'2018-09-30T19:06:02.5033333' AS DateTime2), N'RDG0373', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'46b321cb-aee2-4632-a91d-ed9df783c3c0', N'NOTASSIGNED', CAST(N'2019-01-07T16:46:27.4933917' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'410f20e6-ad68-450b-9cf3-55da4793042c', NULL, 0, N'Doctor', N'410f20e6-ad68-450b-9cf3-55da4793042c', NULL, 101, CAST(N'2019-01-07T16:46:27.5733429' AS DateTime2), CAST(N'2019-01-07T16:46:27.5733429' AS DateTime2), N'NCDG0091', N'HospitalOnly', 0, N'fef2017d-95fc-4516-9cb1-487d8718e638', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-07T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9296 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'46c00d1f-5e01-48f2-bb69-3629188f218e', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T11:05:27.0000000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-09T11:05:27.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7633333' AS DateTime2), N'RDG0003', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'47662b44-9b2f-46f4-b5c6-7a935a2aafce', N'030323b5-4b3c-4b3a-ad7e-336e12511173', CAST(N'2018-08-02T12:21:39.0700000' AS DateTime2), 0, 0, 0, 400, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-02T12:21:39.0700000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7633333' AS DateTime2), N'RDG0097', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'47a6e12a-5c43-45a7-befa-e52bb414861a', N'1aa62646-f441-4296-a319-d3b1cae8a2aa', CAST(N'2018-10-13T14:58:49.9578093' AS DateTime2), 0, 0, 0, 500, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', 101, CAST(N'2018-10-13T14:58:49.9578093' AS DateTime2), CAST(N'2018-10-13T14:59:30.6393088' AS DateTime2), N'NCDG0004', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'482a20b6-b3a5-4b5e-b850-bf4d3147d0f0', N'2427d7d2-d7ca-4277-8e55-611927aba93f', CAST(N'2018-07-30T15:42:04.4633333' AS DateTime2), 0, 0, 0, 550, 350, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-07-30T15:42:04.4633333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7666667' AS DateTime2), N'RDG0084', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'48a21440-2967-4fcf-9aa0-388dc58b8649', N'b945e0cf-9778-430e-8c8a-c61b8e0d15d7', CAST(N'2018-09-22T13:41:56.7700000' AS DateTime2), 0, 0, 0, 600, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-22T13:41:56.7700000' AS DateTime2), CAST(N'2018-09-28T10:15:52.0833333' AS DateTime2), N'RDG0330', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'49d808cd-ba98-49f9-8452-5a64721efcd6', N'77bcdd75-7fee-47c8-8df2-f61a644fc78d', CAST(N'2018-08-11T10:21:56.4933333' AS DateTime2), 0, 0, 0, 600, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'dadc84a5-ee03-4ba5-a1d9-cee8d0572be3', NULL, 0, N'Doctor', N'dadc84a5-ee03-4ba5-a1d9-cee8d0572be3', NULL, 101, CAST(N'2018-08-11T10:21:56.5100000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7666667' AS DateTime2), N'RDG0133', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4a306173-f72b-4ae9-9b32-c4bea3ed0d2e', N'c265b351-a148-45ed-98f5-25675df9ddd0', CAST(N'2018-09-18T15:42:07.3533333' AS DateTime2), 0, 0, 200, 600, 400, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-18T15:42:07.4166667' AS DateTime2), CAST(N'2018-09-19T10:36:13.8533333' AS DateTime2), N'RDG0311', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4a4fd648-1fef-427c-9c04-4345f0a205e5', N'872725de-3c75-42d9-bed4-366f4bba1770', CAST(N'2018-09-08T17:20:31.9066667' AS DateTime2), 0, 0, 0, 650, 650, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, 0, N'Doctor', N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, 101, CAST(N'2018-09-08T17:20:31.9066667' AS DateTime2), CAST(N'2018-09-09T10:10:52.1533333' AS DateTime2), N'RDG0245', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4a789af4-1c3e-4c78-bd51-6703e5a534b5', N'9c0f1a28-2a21-4e33-9600-f67f2eb3062c', CAST(N'2018-09-16T18:44:24.1633333' AS DateTime2), 0, 0, 350, 1800, 1300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-16T18:44:24.1633333' AS DateTime2), CAST(N'2018-09-17T21:41:14.9033333' AS DateTime2), N'RDG0302', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4a7c7745-5874-480e-8f88-afd420969cd8', N'4028ccc2-0f16-42c7-be95-d1901382b9db', CAST(N'2018-08-17T09:56:05.4766667' AS DateTime2), 0, 0, 250, 1750, 1500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-08-17T09:56:05.4766667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7666667' AS DateTime2), N'RDG0162', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4aa32346-2fa4-4c6b-ad4e-0930a55e4d9b', N'3d0e7772-d289-4c03-b3e7-bf05563cc42d', CAST(N'2018-09-22T14:08:38.3866667' AS DateTime2), 0, 0, 100, 600, 500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-22T14:08:38.4033333' AS DateTime2), CAST(N'2018-09-25T10:03:15.8733333' AS DateTime2), N'RDG0331', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4aafa844-537f-4b36-b47b-2e102b1a8f1a', N'NOTASSIGNED', CAST(N'2018-11-17T09:13:34.7162249' AS DateTime2), 0, 0, 0, 600, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'ss', 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2018-11-17T09:13:34.7202218' AS DateTime2), CAST(N'2018-11-17T09:13:34.7202218' AS DateTime2), N'NCDG0040', N'HospitalOnly', 600, N'1756c157-d3d2-4401-be69-f19df3938932', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4ab58aa7-7bfb-4e0a-b35c-930ed8cf9adc', N'abfb87d7-74ca-4fee-b441-c694ce5701f1', CAST(N'2018-08-10T12:42:42.4333333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-10T12:42:42.4333333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7666667' AS DateTime2), N'RDG0128', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4b2f8e38-f3c0-4c6b-8f27-2bd454fe76c1', N'39725fe1-2055-4667-a346-a492a03e55f1', CAST(N'2018-08-07T19:31:03.2700000' AS DateTime2), 0, 0, 300, 1800, 1500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-08-07T19:31:03.2700000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7666667' AS DateTime2), N'RDG0115', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4bac4ff3-459b-4475-8761-1773a8b06677', N'NOTASSIGNED', CAST(N'2018-12-25T16:06:13.9045053' AS DateTime2), 0, 0, 10, 823, 740, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'ss', 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'2018-12-25T16:06:13.9164993' AS DateTime2), CAST(N'2018-12-25T16:06:51.2884654' AS DateTime2), N'NCDG0080', N'HospitalOnly', 0, N'38db4351-6046-4dcb-8670-ee2f3db46a40', 82.3, 0, N'02 : 03 : PM', CAST(N'2018-12-25T00:00:00.0000000' AS DateTime2), N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4bbca1b2-41a7-4028-84c2-c2906e4c9858', N'28d89aed-1a5a-4087-985e-2a5d4683f3ab', CAST(N'2018-09-23T14:45:34.0166667' AS DateTime2), 0, 0, 0, 1250, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-09-23T14:45:34.0466667' AS DateTime2), CAST(N'2018-09-25T10:03:15.8733333' AS DateTime2), N'RDG0334', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4bf2af61-c67a-4511-ae40-1ecac7be6445', N'a520caf6-1ff9-40db-86ea-8bf3760e427d', CAST(N'2018-09-21T10:17:06.3700000' AS DateTime2), 0, 0, 100, 400, 300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-21T10:17:06.3866667' AS DateTime2), CAST(N'2018-09-25T10:03:15.8833333' AS DateTime2), N'RDG0324', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4c1f7544-4c94-466d-a494-eccf7d866132', N'9cc2f681-c31c-47ba-896d-723a9092c066', CAST(N'2018-09-20T20:02:48.9266667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-20T20:02:48.9266667' AS DateTime2), CAST(N'2018-09-21T09:41:11.0000000' AS DateTime2), N'RDG0321', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4c6d13e1-3827-482b-9531-17b053f7ed67', N'94ac00bf-4246-452b-93e3-fc3e1e469fc3', CAST(N'2018-08-15T11:07:44.9533333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'a4c75886-7bbe-46aa-ba7b-87d197c0b972', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-15T11:07:44.9533333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7700000' AS DateTime2), N'RDG0151', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4c6f2fac-0fd3-4cc1-9837-8432626eb6ee', N'764909f2-8d2f-4861-8e6d-eaaf55a3c80e', CAST(N'2018-09-08T10:27:06.7500000' AS DateTime2), 0, 0, 0, 1200, 1200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 0, N'Doctor', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 101, CAST(N'2018-09-08T10:27:06.7666667' AS DateTime2), CAST(N'2018-09-08T11:15:28.8966667' AS DateTime2), N'RDG0241', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4db4f89f-ff9a-4eb0-98ee-966524f56836', N'NOTASSIGNED', CAST(N'2019-01-16T11:02:19.8860278' AS DateTime2), 0, 0, 13.04, 1150, 1000, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-16T11:02:20.0059561' AS DateTime2), CAST(N'2019-01-19T10:48:38.6780077' AS DateTime2), N'NCDG0103', N'HospitalOnly', 0, N'7d28bc22-914f-455e-9be0-0067529469b5', 150, 0, N'12 : 10 : AM', NULL, N'data:image/jpeg;base64,[encoded data, 9312 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4e2fcaa5-d5a3-45b3-a71e-cb1fa4fe5673', N'6b4dc1f6-f60c-4604-91b6-0b2443954dc9', CAST(N'2018-10-17T10:51:16.0005505' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-17T10:51:16.0485201' AS DateTime2), CAST(N'2018-10-17T10:51:16.0485201' AS DateTime2), N'NCDG0013', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4e40e085-3296-4025-9446-ca543de74827', N'973db03e-0c18-47f2-a370-876be039fc3a', CAST(N'2018-07-27T10:39:26.6233333' AS DateTime2), 0, 0, 50, 750, 700, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-27T10:39:26.6233333' AS DateTime2), CAST(N'2018-09-04T22:33:57.7700000' AS DateTime2), N'RDG0063', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4f6f8b6d-99a6-46e9-98ca-419a574bd743', N'3a08de75-9cc6-469b-89c1-a0cd6c5eae6d', CAST(N'2018-09-24T10:22:30.9433333' AS DateTime2), 0, 0, 300, 1200, 900, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-09-24T10:22:30.9600000' AS DateTime2), CAST(N'2018-09-28T10:15:52.1033333' AS DateTime2), N'RDG0336', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'4fedaa2e-f0b2-44f5-9763-c9c487f39c20', N'6043ae33-d3f8-4f70-b6ba-3e4414ba5e13', CAST(N'2018-08-10T12:20:29.0000000' AS DateTime2), 0, 0, 0, 1150, 1150, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-10T12:20:29.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.7966667' AS DateTime2), N'RDG0125', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'50eac00f-9079-40d2-b919-d22feaa121aa', N'd0e641ff-d9d6-41d9-95ee-1e229118a4e2', CAST(N'2018-07-18T18:01:10.2966667' AS DateTime2), 0, 0, 0, 2300, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-18T18:01:10.2966667' AS DateTime2), CAST(N'2018-09-04T22:33:57.7966667' AS DateTime2), N'RDG0035', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'512e5ce1-e23d-4993-bf88-d8530bbc2c10', N'70afae7b-afd9-4f64-8a45-1625777f44e8', CAST(N'2018-09-19T10:57:23.3400000' AS DateTime2), 0, 0, 0, 800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-19T10:57:23.3400000' AS DateTime2), CAST(N'2018-09-21T09:41:11.0033333' AS DateTime2), N'RDG0318', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'51c1122d-de73-48a8-b5f3-11dbd65883d8', N'd4384253-b264-43c8-b337-297dfdb59c3c', CAST(N'2018-07-20T10:45:14.6166667' AS DateTime2), 1000, 0, 150, 1150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 102, CAST(N'2018-07-20T10:45:14.6333333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8000000' AS DateTime2), N'RDG0040', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5337f991-19d6-4aa4-83f4-4c3948600515', N'0b656b9b-77fd-41e7-a024-45862de2f251', CAST(N'2018-10-30T16:19:43.8812667' AS DateTime2), 0, 0, 0, 500, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-10-30T16:19:43.9222489' AS DateTime2), CAST(N'2018-10-30T16:21:16.1971934' AS DateTime2), N'NCDG0024', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'53dce076-55a8-40b0-a45e-db00c18462cf', N'7596fbec-645b-44da-92e8-6940dd9fcf96', CAST(N'2018-09-20T18:54:07.5300000' AS DateTime2), 0, 0, 0, 2800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-20T18:54:07.5433333' AS DateTime2), CAST(N'2018-09-21T09:41:11.0033333' AS DateTime2), N'RDG0320', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5445a5e1-fbe1-4ea5-9cdd-d731884352a3', N'84e385c1-90d7-4add-a08a-afcf7aa38d31', CAST(N'2018-09-03T20:32:32.0933333' AS DateTime2), 0, 0, 0, 750, 750, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-09-03T20:32:32.0933333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8000000' AS DateTime2), N'RDG0206', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'54d6699f-3e99-459f-9000-11651f0748bd', N'3c7769fe-7bec-4997-a30d-38dfeb312bef', CAST(N'2018-08-15T18:54:52.8433333' AS DateTime2), 0, 0, 0, 1000, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-08-15T18:54:52.8433333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8000000' AS DateTime2), N'RDG0155', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5511895c-3efb-49e3-bad8-85c91ab325e5', N'71c25613-f582-455a-958a-24e644bbd57a', CAST(N'2018-08-18T09:48:38.3266667' AS DateTime2), 0, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-18T09:48:38.3433333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8000000' AS DateTime2), N'RDG0165', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'55338c4f-57bc-4c74-97df-c3cf847157ba', N'NOTASSIGNED', CAST(N'2019-01-13T13:24:07.9943199' AS DateTime2), 0, 0, 0, 1733, 1540, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', N'vvvvv', 0, N'Doctor', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', NULL, 101, CAST(N'2019-01-13T13:24:08.1062513' AS DateTime2), CAST(N'2019-01-13T15:42:25.2306851' AS DateTime2), N'NCDG0098', N'HospitalOnly', 193, N'46d56e98-78d1-4f95-b863-09fa3f268a1c', 0, 0, N'12 : 10 : AM', NULL, N'data:image/jpeg;base64,[encoded data, 9352 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'555ae580-8143-4c9d-9fe7-b86d653a409e', N'ba5ca83f-35f4-4d85-8979-43ed7ac2c18c', CAST(N'2018-08-03T11:52:37.6266667' AS DateTime2), 0, 0, 200, 1300, 1100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-03T11:52:37.6266667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8033333' AS DateTime2), N'RDG0103', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'561c3be4-133f-45f5-923f-f6eb076069e7', N'9d10cb3e-d4c7-4b04-9d1d-b71a1f62b1f7', CAST(N'2018-09-06T11:11:09.1000000' AS DateTime2), 0, 0, 600, 2200, 1600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-06T11:11:09.1000000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8966667' AS DateTime2), N'RDG0224', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'565b55a0-e0d4-4482-af03-f8feec0bc9d5', N'89a9aa05-f7d1-48a4-8d18-8e99642a9b5b', CAST(N'2018-08-03T11:48:32.5333333' AS DateTime2), 0, 0, 0, 650, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-03T11:48:32.5500000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8033333' AS DateTime2), N'RDG0102', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'58525adc-0bea-49f7-bb18-ed280e6322ab', N'f15ef478-12c2-4bd1-b133-c7f72cbf139e', CAST(N'2018-09-15T09:37:59.4066667' AS DateTime2), 0, 0, 50, 1550, 1500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-09-15T09:37:59.4066667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2633333' AS DateTime2), N'RDG0291', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5884d972-352b-4763-b4f7-a03c519c1e2b', N'NOTASSIGNED', CAST(N'2018-11-24T13:12:45.9630162' AS DateTime2), 0, 0, 0, 982, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'2018-11-24T13:12:45.9690137' AS DateTime2), CAST(N'2018-11-24T13:12:45.9690137' AS DateTime2), N'NCDG0052', N'HospitalOnly', 982, N'b652c54f-2e6c-4d3f-a8fe-c6ea5d4269a1', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'58f9124a-7895-4350-b25f-7bf4d7a1da7a', N'9bd384f9-9a0b-4d79-9e23-ce7b3c553b3d', CAST(N'2018-09-16T12:47:21.3766667' AS DateTime2), 0, 0, 150, 1750, 1600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-16T12:47:21.3766667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2633333' AS DateTime2), N'RDG0297', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'58fc4fba-d879-4d77-a62e-056433789d76', N'26fe81e5-890a-4720-8e0c-cba65abcc6a7', CAST(N'2018-08-02T18:32:53.7933333' AS DateTime2), 0, 0, 50, 1250, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-08-02T18:32:53.8866667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8033333' AS DateTime2), N'RDG0100', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'59195e96-5a11-444e-bc42-aa6ebd0fc43f', N'e3ce0fd8-ac11-4b94-88b1-d1fcc4449a32', CAST(N'2018-08-10T12:31:25.0600000' AS DateTime2), 1000, 0, 0, 2300, 1300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-10T12:31:25.0600000' AS DateTime2), CAST(N'2018-09-04T22:21:10.9766667' AS DateTime2), N'RDG0126', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'59f95637-d0c0-4c8d-814f-a686629a946b', N'4fab82f8-8a6d-46d6-abc8-83c5ed38b5a1', CAST(N'2018-09-28T11:43:21.7800000' AS DateTime2), 0, 0, 220, 1450, 1230, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-28T11:43:21.7800000' AS DateTime2), CAST(N'2018-09-28T13:02:40.0333333' AS DateTime2), N'RDG0367', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5bf68bd7-1c00-4ef6-b408-c16205a87884', N'23a7aaed-c613-4a38-9975-a5a2d0ebff3f', CAST(N'2018-09-08T15:39:50.4866667' AS DateTime2), 0, 0, 300, 1600, 1300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 0, N'Doctor', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 101, CAST(N'2018-09-08T15:39:50.5033333' AS DateTime2), CAST(N'2018-09-09T10:10:52.1600000' AS DateTime2), N'RDG0243', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5bfa497e-3d4e-4e59-b7d1-ff25975c3755', N'ab467760-de43-4320-8fef-c640a42e39fb', CAST(N'2018-10-18T10:36:53.0076176' AS DateTime2), 0, 0, 0, 950, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-18T10:36:53.0107552' AS DateTime2), CAST(N'2018-10-18T12:00:05.5795230' AS DateTime2), N'NCDG0016', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5cb196e8-bc7c-4f99-9a26-0d51c6da954c', N'02969bca-4404-4804-a288-3183d880412c', CAST(N'2018-07-27T13:24:32.8000000' AS DateTime2), 0, 0, 150, 1900, 800, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-27T13:24:32.8000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8100000' AS DateTime2), N'RDG0068', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5cb6ed4f-a477-4a91-8fc8-3c405c2a817b', N'69a00465-4cc6-4463-8bec-100b37d8a540', CAST(N'2018-09-28T10:22:01.8466667' AS DateTime2), 0, 0, 50, 450, 400, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-28T10:22:01.8466667' AS DateTime2), CAST(N'2018-09-28T13:02:40.0366667' AS DateTime2), N'RDG0363', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5d6e6715-8036-4fe1-8754-5f8a95f7fbd5', N'49ac92a5-b34d-42ba-8e25-15ac127f6911', CAST(N'2018-08-02T11:59:07.0866667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-08-02T11:59:07.1500000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8133333' AS DateTime2), N'RDG0095', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5d962c43-e77a-4c05-82d0-3d51c16481cf', N'030f641a-e473-4a6e-b1ee-cfc5ea522c91', CAST(N'2018-08-18T12:41:28.8166667' AS DateTime2), 0, 0, 2000, 7000, 5000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-18T12:41:28.8166667' AS DateTime2), CAST(N'2018-09-04T22:21:10.9800000' AS DateTime2), N'RDG0170', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5dc1ffce-59f7-4661-b9fd-1a1e4bf52a15', N'NOTASSIGNED', CAST(N'2019-02-14T13:02:18.3737606' AS DateTime2), 0, 0, 0, 5290, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2019-02-14T13:02:18.5006794' AS DateTime2), CAST(N'2019-02-14T16:35:22.9730585' AS DateTime2), N'NCDG0117', N'HospitalOnly', 5290, N'b9a86f09-20c1-432a-a62c-0c983be2a934', 0, 0, N'12 : 10 : AM', CAST(N'2019-02-14T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9244 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5e555d75-f6b1-4a96-8483-d65e27f3ec6b', N'ebce39be-4d21-4251-835d-2620dd8fe8aa', CAST(N'2019-01-07T16:44:24.5822329' AS DateTime2), 0, 0, 0, 294, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Active', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2019-01-07T16:44:24.6661795' AS DateTime2), CAST(N'2019-01-07T16:44:24.6661795' AS DateTime2), N'NCDG0090', N'HospitalOnly', 294, N'40d883da-8f45-4676-ba91-e276e6207ba1', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-07T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9352 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5e85492e-e112-45fb-9c1d-f21f3ab4674c', N'408550ef-e668-4e73-af8c-d2b0460af6fd', CAST(N'2018-08-11T16:59:31.1600000' AS DateTime2), 0, 0, 0, 1200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-08-11T16:59:31.1766667' AS DateTime2), CAST(N'2018-09-04T22:21:10.9800000' AS DateTime2), N'RDG0136', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5e88963c-36d2-430a-bc01-12ba9063a60d', N'e2260acc-3938-4fab-9af7-7bea1074552f', CAST(N'2018-09-14T11:47:11.2166667' AS DateTime2), 0, 0, 0, 750, 750, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-14T11:47:11.2300000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2633333' AS DateTime2), N'RDG0279', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5ee279a2-8a05-492e-bbec-afc6e899771e', N'39445a4a-c2eb-4995-be56-a876e9694b4e', CAST(N'2018-07-20T10:34:58.4933333' AS DateTime2), 0, 0, 0, 1050, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-20T10:34:58.5100000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8133333' AS DateTime2), N'RDG0038', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5f4249f4-99cc-4dfd-9856-3c43f33c32f0', N'0103b619-6a06-4b23-b73c-793e1f618b73', CAST(N'2018-07-09T23:01:36.0000000' AS DateTime2), 0, 0, 0, 1900, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'eb3bf4b3-28e3-43ea-a54e-9d9346558dc0', NULL, 0, N'Doctor', N'eb3bf4b3-28e3-43ea-a54e-9d9346558dc0', NULL, 101, CAST(N'2018-07-09T23:01:36.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8133333' AS DateTime2), N'RDG0014', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5f969835-ec0d-45c4-b363-5c8635683645', N'8ad9662f-a99b-4a85-865b-2850043df48d', CAST(N'2018-09-03T11:22:41.5066667' AS DateTime2), 0, 0, 100, 400, 300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-03T11:22:41.5066667' AS DateTime2), CAST(N'2018-09-04T22:21:10.9800000' AS DateTime2), N'RDG0201', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'5fae862d-ea39-4257-ba88-5d499ad0f404', N'NOTASSIGNED', CAST(N'2018-11-17T09:18:30.5151041' AS DateTime2), 0, 0, 0, 601, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'ss', 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2018-11-17T09:18:30.5171030' AS DateTime2), CAST(N'2018-11-17T09:18:30.5171030' AS DateTime2), N'NCDG0041', N'HospitalOnly', 601, N'4377149f-1d61-4aca-be8d-8b2fe40ef079', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'60979da7-f36d-4574-a704-4e578bbad2c7', N'5b01cd81-cbbf-4044-a70a-bdf37aebbb90', CAST(N'2018-08-12T12:58:16.0533333' AS DateTime2), 0, 0, 0, 100, 100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-12T12:58:16.0533333' AS DateTime2), CAST(N'2018-09-04T22:21:10.9800000' AS DateTime2), N'RDG0137', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'60ec085b-72f6-4908-a740-b969f7a65455', N'c0f67091-dcd5-4faa-b543-ee04e3e8bfef', CAST(N'2018-10-17T10:21:39.7891961' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-17T10:21:39.9169157' AS DateTime2), CAST(N'2018-10-17T10:21:39.9169157' AS DateTime2), N'NCDG0011', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'62c18ca3-02c7-4f2f-aaf6-83e1f8173c43', N'26c10276-c679-4884-b50a-c22db821701a', CAST(N'2018-10-14T09:03:18.7648132' AS DateTime2), 0, 0, 0, 300, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-10-14T09:03:18.7648132' AS DateTime2), CAST(N'2018-10-14T09:04:00.2182808' AS DateTime2), N'NCDG0006', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'62d767ec-8bd8-4515-8ae8-7ed535ddcc82', N'de745a7c-c5b9-467e-8a74-1a979fe92952', CAST(N'2018-07-25T14:49:38.0500000' AS DateTime2), 700, 0, 450, 1150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 102, CAST(N'2018-07-25T14:49:38.0500000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8166667' AS DateTime2), N'RDG0059', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'634b1b53-1051-45dd-9bc1-b66adc4c1e87', N'NOTASSIGNED', CAST(N'2018-12-23T10:47:58.5524040' AS DateTime2), 0, 0, 10, 2000, 900, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-12-23T10:47:58.5680296' AS DateTime2), CAST(N'2018-12-23T11:02:26.0408331' AS DateTime2), N'NCDG0072', N'HospitalOnly', 900, N'329ebe9f-81b0-4b23-a760-7a921159dd68', 200, 0, N'02 : 03 : PM', CAST(N'2018-12-23T00:00:00.0000000' AS DateTime2), N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'63d1de73-fc1a-4e53-8c43-baaa5f484bb7', N'188ead2a-a829-438b-9946-a4f92bf11da6', CAST(N'2018-09-02T13:53:22.2566667' AS DateTime2), 0, 0, 150, 1150, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-02T13:53:22.2566667' AS DateTime2), CAST(N'2018-09-04T22:21:10.9800000' AS DateTime2), N'RDG0200', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'64e80e5e-91f1-4ea2-901d-0ea8cd45e4f7', N'fab7d9f4-2959-44eb-851b-a42769081dbb', CAST(N'2018-10-13T11:22:55.9595097' AS DateTime2), 0, 0, 0, 450, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'jj', 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-10-13T11:22:55.9907555' AS DateTime2), CAST(N'2018-10-13T11:23:28.6851837' AS DateTime2), N'NCDG0003', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'65513723-2d7e-40ba-989d-11c1138646df', N'NOTASSIGNED', CAST(N'2018-11-25T13:14:54.0904561' AS DateTime2), 100, 0, 20, 1206, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'fff', 0, N'Referral', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', 101, CAST(N'2018-11-25T13:14:54.0936648' AS DateTime2), CAST(N'2018-11-25T16:46:00.0694970' AS DateTime2), N'NCDG0055', N'Both', 764.8, N'295e347e-87ea-47d8-a455-55d90cf3a0df', 241.2, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6584d499-bdb5-432f-bbc4-76f619fc25a3', N'b0e6dc11-cf80-461b-97a1-d780ad96f544', CAST(N'2018-09-07T10:05:01.2033333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-07T10:05:01.2033333' AS DateTime2), CAST(N'2018-09-08T11:15:28.8966667' AS DateTime2), N'RDG0230', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
GO
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'67b289d0-644b-4278-a2c3-3d230a455da7', N'6d5275c3-14d6-402f-a25a-be761fa0a549', CAST(N'2018-12-11T09:49:04.3820193' AS DateTime2), 0, 0, 0, 250, 250, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'Active', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'fff', 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2018-12-11T09:49:04.3850191' AS DateTime2), CAST(N'2018-12-23T10:33:09.9798608' AS DateTime2), N'NCDG0071', N'HospitalOnly', 0, N'96a52ed6-c65c-46c2-860c-d19975cd4153', 0, 0, N'08 : 10 : AM', CAST(N'2018-12-11T00:00:00.0000000' AS DateTime2), N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6863972c-448c-49f8-b2ea-7287983102b7', N'7887b484-c97d-4529-b095-f700c7970d1f', CAST(N'2018-11-05T13:25:50.6995503' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-11-05T13:25:50.7285341' AS DateTime2), CAST(N'2018-11-05T13:25:50.7285341' AS DateTime2), N'NCDG0028', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'68e8ec74-5bc3-4d45-9a63-b5e4190e5626', N'6443bb08-5a25-465c-83c0-88b1c3df975a', CAST(N'2018-07-30T19:49:09.0666667' AS DateTime2), 0, 0, 0, 600, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-30T19:49:09.0833333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8233333' AS DateTime2), N'RDG0086', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6934d123-a6cb-4a72-9e32-d1bd1440b06d', N'27b1b1ae-a621-4b4a-a7df-1996f16ca805', CAST(N'2018-09-04T10:46:46.9466667' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 102, CAST(N'2018-09-04T10:46:46.9466667' AS DateTime2), CAST(N'2018-09-04T22:21:10.9833333' AS DateTime2), N'RDG0211', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6a33137c-a586-4070-af33-68addbf764f3', N'4f6bb4f2-db3c-4907-b84e-37fa4994d061', CAST(N'2018-09-26T14:16:45.4466667' AS DateTime2), 0, 0, 0, 3950, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-09-26T14:16:45.4600000' AS DateTime2), CAST(N'2018-09-27T09:49:06.0433333' AS DateTime2), N'RDG0348', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6b50f2de-8b1a-49d2-a565-744dc30a64c3', N'87817419-cd7c-40a5-8c4e-85427c697ac0', CAST(N'2018-09-28T09:42:35.3300000' AS DateTime2), 0, 0, 50, 2950, 2900, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-28T09:42:35.3300000' AS DateTime2), CAST(N'2018-09-28T10:15:52.1066667' AS DateTime2), N'RDG0361', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6c1ff354-1ad1-44c0-8fb0-94755318ee7f', N'12aa3c82-571f-4d3f-a39f-740efb66c414', CAST(N'2018-10-29T11:17:30.2258683' AS DateTime2), 0, 0, 0, 400, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-29T11:17:30.3105403' AS DateTime2), CAST(N'2018-10-29T11:37:54.4248839' AS DateTime2), N'NCDG0022', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6cc29c22-426f-488a-84f8-2f2b714ba810', N'acc4f16c-454d-48b9-b1a9-2f554c0749e5', CAST(N'2018-09-01T12:46:42.5166667' AS DateTime2), 0, 0, 500, 2500, 2000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 0, N'Doctor', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 101, CAST(N'2018-09-01T12:46:42.5300000' AS DateTime2), CAST(N'2018-09-04T22:21:10.9833333' AS DateTime2), N'RDG0196', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6cf5f46b-ca82-409c-a699-7d394b027cf9', N'NOTASSIGNED', CAST(N'2019-02-25T22:04:48.7366029' AS DateTime2), 0, 0, 0, 5439, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', NULL, 0, N'Doctor', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', NULL, 101, CAST(N'2019-02-25T22:04:48.7856116' AS DateTime2), CAST(N'2019-02-25T22:04:59.8445564' AS DateTime2), N'NCDG0124', N'HospitalOnly', 5439, N'758f1a10-cf4b-4cf5-86a2-b7a22e0e5747', 0, 0, N'12 : 10 : AM', NULL, N'data:image/jpeg;base64,[encoded data, 9328 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6d5cb673-9df2-4d90-b18c-3cd87d8e69a7', N'73d3b635-f41a-4028-aa6b-232be5e94484', CAST(N'2018-08-09T10:06:41.7900000' AS DateTime2), 0, 0, 50, 1250, 1200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-09T10:06:41.8033333' AS DateTime2), CAST(N'2018-09-04T22:21:10.9833333' AS DateTime2), N'RDG0120', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6d6e39a6-3767-43c9-847b-7c0e7e2731b1', N'0c4ddd18-42f3-41ee-8ac8-bdbd18baf09b', CAST(N'2018-09-11T11:17:57.7333333' AS DateTime2), 0, 0, 0, 1400, 1400, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-11T11:17:57.7500000' AS DateTime2), CAST(N'2018-09-12T12:13:24.7400000' AS DateTime2), N'RDG0260', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6e582752-6237-4b6e-9d31-a4eccf5ba0ca', N'b86b7441-3ea4-4075-9580-3599f10b212c', CAST(N'2018-08-14T11:24:14.5600000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-14T11:24:14.5733333' AS DateTime2), CAST(N'2018-09-04T22:21:10.9866667' AS DateTime2), N'RDG0141', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6e9f009a-ebf3-4c42-8311-793581359fa5', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T18:07:35.0000000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-09T18:07:35.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8266667' AS DateTime2), N'RDG0004', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6efa52a5-0570-4ff9-85ef-ff9d0834e569', N'abfb87d7-74ca-4fee-b441-c694ce5701f1', CAST(N'2018-07-27T11:06:36.5700000' AS DateTime2), 0, 0, 0, 1850, 1850, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Referrer', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-27T11:06:36.5866667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8266667' AS DateTime2), N'RDG0066', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6f2c564e-ce49-4da8-b96f-dcdd99732d0f', N'25c5c6f8-32d8-4d67-aa9f-a1e05bad80ed', CAST(N'2018-10-24T10:21:43.5768566' AS DateTime2), 0, 0, 0, 1300, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, N'Referrer', NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', 101, CAST(N'2018-10-24T10:21:43.5914920' AS DateTime2), CAST(N'2018-10-24T10:39:29.0495602' AS DateTime2), N'NCDG0018', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6f940ce0-de77-417d-8db8-e6a6c5a7761f', N'385ad5a1-84d0-467c-a427-003c74208ae1', CAST(N'2018-09-10T17:51:49.2466667' AS DateTime2), 0, 0, 260, 850, 590, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-09-10T17:51:49.2466667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7433333' AS DateTime2), N'RDG0252', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'6fae8816-97f2-4c88-824b-ebee0d9dad4e', N'827064f3-6f4c-48e1-97da-e915514e7c53', CAST(N'2018-07-20T11:11:03.7366667' AS DateTime2), 700, 0, 150, 850, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-20T11:11:03.7533333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8266667' AS DateTime2), N'RDG0041', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'703d5936-69a5-45c0-a69e-1b32c6fcd0f7', N'NOTASSIGNED', CAST(N'2019-01-07T10:38:42.7740040' AS DateTime2), 0, 0, 0, 1357, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2019-01-07T10:38:42.9472130' AS DateTime2), CAST(N'2019-01-07T12:05:59.7717136' AS DateTime2), N'NCDG0085', N'HospitalOnly', 1357, N'9da521b2-8646-4fcf-b473-613bffccddb0', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-07T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9332 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'70c46bff-f6d4-4080-ad55-13ab653de85d', N'b021ac64-8ceb-4081-9b50-ffb72a1e7691', CAST(N'2018-09-11T12:03:21.2933333' AS DateTime2), 0, 0, 0, 800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-11T12:03:21.3066667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7433333' AS DateTime2), N'RDG0262', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'71b1b768-ba6d-4f1a-be92-58dbc19f2d25', N'e8dd0d43-e9b2-4f72-a98a-745fe77e3a42', CAST(N'2018-10-14T09:18:11.9958366' AS DateTime2), 0, 0, 0, 2550, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, 0, N'Referrer', NULL, N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', 101, CAST(N'2018-10-14T09:18:12.1677122' AS DateTime2), CAST(N'2018-10-14T11:42:08.4311177' AS DateTime2), N'NCDG0007', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'71c3fad3-2aae-4fe9-8bc1-a18f3de9d7a5', N'2346f319-0301-40bc-baf6-6322a20a765e', CAST(N'2018-09-04T10:48:55.3833333' AS DateTime2), 0, 0, 50, 150, 100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 102, CAST(N'2018-09-04T10:48:55.3833333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8300000' AS DateTime2), N'RDG0212', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'71c72c2b-ac3d-4d25-9d04-da6392c2b409', N'856db1e1-864a-476d-8045-60625559e28c', CAST(N'2018-08-01T15:35:12.2466667' AS DateTime2), 0, 0, 100, 1600, 1300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-08-01T15:35:12.2666667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8300000' AS DateTime2), N'RDG0094', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'71fcb58f-e5de-4829-8949-fed1dfc730c8', N'1ce88068-715e-4f19-ae10-359b74d0d4a9', CAST(N'2018-07-16T14:03:22.0133333' AS DateTime2), 0, 0, 150, 950, 700, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-16T14:03:22.0133333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8366667' AS DateTime2), N'RDG0028', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'72d462e7-1832-4710-b10e-8319878a50e7', N'9aa612fb-7d6c-49cd-b34c-5544f8fc9976', CAST(N'2018-07-27T10:51:05.2200000' AS DateTime2), 0, 0, 100, 600, 500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-27T10:51:05.2200000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8366667' AS DateTime2), N'RDG0064', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'73240c1d-6a14-4e1b-9077-7a3d5c43560f', N'3c98dc60-8199-46b2-999d-06e2a7b66142', CAST(N'2018-07-21T12:47:29.4866667' AS DateTime2), 0, 0, 0, 1800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 0, N'Doctor', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 101, CAST(N'2018-07-21T12:47:29.4866667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8400000' AS DateTime2), N'RDG0047', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'73b669b7-0dad-4e3d-8b47-37d0b57f0830', N'bbb05da9-d540-4272-9728-e9efccaf3e3f', CAST(N'2018-08-28T09:49:36.2766667' AS DateTime2), 0, 0, 0, 1500, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-08-28T09:49:36.6033333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8400000' AS DateTime2), N'RDG0173', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'74cfa015-4edf-48df-822f-7235e26d0eda', N'ac28f2c1-3f4e-4f49-8657-9d2a900aed75', CAST(N'2018-07-28T12:21:54.8666667' AS DateTime2), 0, 0, 0, 950, 950, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-28T12:21:54.8666667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8400000' AS DateTime2), N'RDG0074', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'74d1284f-1490-4c62-9fb7-3f914a1bbaa9', N'86fcbac2-54fe-4cbb-9797-c8e71e6c287b', CAST(N'2018-08-14T11:24:15.5900000' AS DateTime2), 0, 0, 0, 1350, 1350, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-14T11:24:15.5900000' AS DateTime2), CAST(N'2018-09-04T22:33:57.8400000' AS DateTime2), N'RDG0142', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7522c3c4-d2fd-49ae-9b1c-a7fe5b02cbc8', N'32eac032-a84d-403d-accf-1c88b33a4c6b', CAST(N'2018-10-30T16:13:59.1689979' AS DateTime2), 0, 0, 0, 750, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-30T16:13:59.2569433' AS DateTime2), CAST(N'2018-10-30T16:25:43.3707578' AS DateTime2), N'NCDG0023', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7551f129-c652-4eca-a3c5-9289d102f350', N'79902d92-004f-4650-8dab-bfc21ffcea88', CAST(N'2018-09-16T09:43:24.1933333' AS DateTime2), 0, 0, 0, 350, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-09-16T09:43:24.2100000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2666667' AS DateTime2), N'RDG0295', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7563126c-a5b2-40ab-bdef-ef3b9f9dbfc4', N'NOTASSIGNED', CAST(N'2018-11-26T09:22:20.9798744' AS DateTime2), 100, 0, 28.95, 1727, 1127, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 102, CAST(N'2018-11-26T09:22:21.0580030' AS DateTime2), CAST(N'2018-11-26T14:02:59.2779854' AS DateTime2), N'NCDG0056', N'HospitalOnly', 0, N'af0b0832-1f8f-4210-8c26-859ab70fe71d', 499.97, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'78375895-ab72-4a5c-b4a1-3153afdf3fca', N'b49f9faf-baaa-43aa-a7d7-72dd8cb158a3', CAST(N'2018-08-03T13:44:51.0166667' AS DateTime2), 0, 0, 0, 1400, 1400, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Referrer', N'45c6d504-e6fb-4da1-9454-92195a3dba94', N'35471cdd-86e8-4eb1-8532-e96a2ba5ea2f', 102, CAST(N'2018-08-03T13:44:51.0166667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8433333' AS DateTime2), N'RDG0107', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7a054570-a86b-44e4-b924-ce2c3d1cd64e', N'f2724c66-005f-4357-b7a5-3ab67b54cea0', CAST(N'2018-07-16T17:21:37.3566667' AS DateTime2), 0, 0, 550, 2150, 1600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 102, CAST(N'2018-07-16T17:21:37.3566667' AS DateTime2), CAST(N'2018-09-04T22:33:57.8433333' AS DateTime2), N'RDG0032', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7a0fb956-cf96-48c0-993a-206e8be0b2d1', N'37b2ebca-c56b-4284-aa42-d21bfe091c0d', CAST(N'2018-09-14T10:54:09.2300000' AS DateTime2), 0, 0, 0, 600, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-14T10:54:09.2466667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2733333' AS DateTime2), N'RDG0274', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7a50ee74-848a-4efd-a61c-bfa453f13d5e', N'66984f96-578f-479c-b235-f736ec189efb', CAST(N'2018-10-24T10:44:34.9156875' AS DateTime2), 0, 0, 0, 650, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-24T10:44:35.0094374' AS DateTime2), CAST(N'2018-10-24T10:44:56.2788468' AS DateTime2), N'NCDG0019', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7a71d817-6046-4a79-9bd3-064b755e5752', N'19756a79-eab9-4844-841f-b7f894f8b8b7', CAST(N'2018-09-08T18:36:44.5333333' AS DateTime2), 0, 0, 0, 1200, 1200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-09-08T18:36:44.5333333' AS DateTime2), CAST(N'2018-09-09T10:10:52.1600000' AS DateTime2), N'RDG0246', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7a797a80-e4f3-41fa-9a28-71436075757d', N'28351205-e63e-4f99-bcaf-786b1f21b6b9', CAST(N'2018-09-28T10:09:05.0633333' AS DateTime2), 0, 0, 500, 1800, 1300, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-09-28T10:09:05.0633333' AS DateTime2), CAST(N'2018-09-28T13:02:40.0366667' AS DateTime2), N'RDG0362', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7aaf151c-2a00-4dd0-abd1-e619f3a4dbca', N'ce62277e-8560-4ad9-ad3d-ff03027e1102', CAST(N'2018-07-31T20:17:38.1933333' AS DateTime2), 0, 0, 100, 600, 500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-31T20:17:38.1933333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8433333' AS DateTime2), N'RDG0092', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7ab0de71-9a20-4ee8-85ba-7dd8b293cb7b', N'a24e729c-658b-445f-8e96-88e7b08d1b62', CAST(N'2018-08-14T15:30:02.7533333' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-08-14T15:30:02.7533333' AS DateTime2), CAST(N'2018-09-04T22:33:57.8466667' AS DateTime2), N'RDG0148', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7ae8deec-0052-4d93-87cf-d4a84437bc6f', N'7a7225d2-f70a-4e6e-8e62-50b6a1026e2f', CAST(N'2018-09-28T10:26:42.6900000' AS DateTime2), 0, 0, 0, 600, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-28T10:26:42.6900000' AS DateTime2), CAST(N'2018-09-28T13:02:40.0400000' AS DateTime2), N'RDG0364', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7b39d05c-2bfc-4fac-962e-45371ab5f650', N'a62eccd4-2c1e-4eed-9d81-5715bbd99285', CAST(N'2018-09-08T17:20:30.8766667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-08T17:20:30.8766667' AS DateTime2), CAST(N'2018-09-09T10:10:52.1600000' AS DateTime2), N'RDG0244', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7b87ae99-1bce-4538-94be-e3c85a364994', N'b64396cb-c60d-4bd8-9236-9b11edf45218', CAST(N'2018-08-06T10:47:40.8000000' AS DateTime2), 0, 0, 380, 1900, 1520, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-08-06T10:47:40.8000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0833333' AS DateTime2), N'RDG0113', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7bd632bc-ba3f-4f72-90c9-a5025915a7d4', N'NOTASSIGNED', CAST(N'2019-01-31T10:43:32.1676650' AS DateTime2), 0, 0, 0, 917, 510, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-31T10:43:32.3253485' AS DateTime2), CAST(N'2019-01-31T10:54:42.0640156' AS DateTime2), N'NCDG0112', N'HospitalOnly', 407, N'f196a341-0a80-4fa9-a052-1191cc919c92', 0, 0, N'12 : 10 : AM', NULL, N'data:image/jpeg;base64,[encoded data, 9260 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7d6d1985-914a-4343-9ab5-3a1c53ad8f9a', N'9acfa881-a156-4cd3-9f44-a7740fa15b11', CAST(N'2018-08-30T10:15:08.7500000' AS DateTime2), 1000, 0, 250, 3050, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-30T10:15:08.7700000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0866667' AS DateTime2), N'RDG0178', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7d929136-2f6e-4cf2-b1d7-b550ecfb6474', N'NOTASSIGNED', CAST(N'2019-01-08T15:44:49.6113899' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'1fc95b60-c117-4163-b73d-37bd64d7fac8', NULL, 0, N'Doctor', N'1fc95b60-c117-4163-b73d-37bd64d7fac8', NULL, 101, CAST(N'2019-01-08T15:44:49.6183857' AS DateTime2), CAST(N'2019-01-08T15:44:49.6183857' AS DateTime2), N'NCDG0096', N'HospitalOnly', 0, N'a8ea7d91-2699-41c0-ac65-514e22c0a5ff', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-08T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9336 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7da82ec2-8237-4a0e-a875-d4e2d9a906c6', N'6967b47c-fd11-484b-8c78-412154d1c0f8', CAST(N'2018-09-17T12:20:59.1900000' AS DateTime2), 0, 0, 0, 4400, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-09-17T12:20:59.2066667' AS DateTime2), CAST(N'2018-09-17T21:41:14.9033333' AS DateTime2), N'RDG0305', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7dc35a18-74a5-490c-abad-adba3badbfd2', N'NOTASSIGNED', CAST(N'2019-01-07T16:47:02.9877329' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2019-01-07T16:47:02.9937271' AS DateTime2), CAST(N'2019-01-07T16:47:02.9937271' AS DateTime2), N'NCDG0092', N'HospitalOnly', 0, N'92e2263f-da5a-43e1-b80e-c1ef65db3dc8', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-07T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9352 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7e000997-e652-485f-b122-a2d84bf1e5a1', N'6e5e53c4-0eef-4bf1-8a43-0c66ed20a098', CAST(N'2018-07-09T21:07:03.7466667' AS DateTime2), 0, 0, 0, 2450, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'6bdc2a49-adee-4527-aa08-701f0648c7ca', NULL, 101, CAST(N'2018-07-09T21:07:03.7633333' AS DateTime2), CAST(N'2018-09-04T22:33:58.0866667' AS DateTime2), N'RDG0016', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7e6c7bb6-3ffe-48ec-afcb-5148b9f04d0e', N'NOTASSIGNED', CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), 100, 5, 5, 1250, 400, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2018-11-12T15:33:58.1837204' AS DateTime2), N'NCDG0034', N'HospitalOnly', 234.875, N'56783aed-0302-4eb4-9288-1db5f5fb6796', NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7e84c7f4-7cc1-47ac-8d7b-f160038d2698', N'a4ec750d-bc97-48f0-bc96-ac087d50558e', CAST(N'2018-08-31T17:32:05.2166667' AS DateTime2), 200, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-31T17:32:05.2333333' AS DateTime2), CAST(N'2018-09-04T22:33:58.0866667' AS DateTime2), N'RDG0190', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7ea8e66b-ca58-4750-8390-8d9bf0a0eaf3', N'1ba5de0f-7097-4e68-a910-9d17c7c8fc94', CAST(N'2018-11-04T09:58:12.1712021' AS DateTime2), 0, 0, 0, 623, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-11-04T09:58:12.2051805' AS DateTime2), CAST(N'2018-11-04T09:58:25.7425992' AS DateTime2), N'NCDG0027', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7fb9f829-ff38-4a15-a8dd-0925f84d4616', N'4856dd6a-4492-4264-8a53-15069ff11437', CAST(N'2018-08-17T09:32:01.9333333' AS DateTime2), 0, 0, 100, 800, 700, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 0, N'Doctor', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 101, CAST(N'2018-08-17T09:32:01.9333333' AS DateTime2), CAST(N'2018-09-04T22:33:58.0866667' AS DateTime2), N'RDG0160', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7fd1476f-a284-4bbb-b248-a2bc9eff70cf', N'8243b77b-cc57-4b50-a4b2-8867f0524f9c', CAST(N'2018-10-18T10:25:33.9711132' AS DateTime2), 0, 0, 0, 417, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 100, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-10-18T10:25:34.0023615' AS DateTime2), CAST(N'2018-11-04T11:42:58.0873900' AS DateTime2), N'NCDG0015', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'7fed122e-3f47-4cf8-a9e1-c1cc8ce4af2c', N'a9bc4a23-9363-438b-9755-5cbb9551d47c', CAST(N'2018-09-07T16:35:12.2300000' AS DateTime2), 0, 0, 100, 600, 500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-07T16:35:12.2300000' AS DateTime2), CAST(N'2018-09-08T11:15:28.9000000' AS DateTime2), N'RDG0239', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'81efe0aa-c8bd-4fdb-b3bd-f306b416bb2d', N'02cae185-558d-4f91-a9ff-17af841e72a3', CAST(N'2018-07-16T14:49:46.1800000' AS DateTime2), 350, 0, 0, 350, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 102, CAST(N'2018-07-16T14:49:46.2000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0900000' AS DateTime2), N'RDG0029', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8286525c-8419-4c78-bc18-1b11ec98d359', N'703e0c1c-6225-4031-b6e3-51dc1acd80db', CAST(N'2018-09-13T14:59:19.6233333' AS DateTime2), 0, 0, 400, 600, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-13T14:59:19.6233333' AS DateTime2), CAST(N'2018-09-13T17:23:39.7966667' AS DateTime2), N'RDG0271', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'828d536e-4497-4770-8908-138df6187393', N'bfa524fa-4f7e-4734-96de-1a0ce74a6522', CAST(N'2018-09-10T20:11:58.7366667' AS DateTime2), 0, 0, 0, 1300, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'75dfb239-3543-4563-81c4-27f27edca9c9', NULL, 0, N'Doctor', N'75dfb239-3543-4563-81c4-27f27edca9c9', NULL, 101, CAST(N'2018-09-10T20:11:58.7533333' AS DateTime2), CAST(N'2018-09-12T12:13:24.7433333' AS DateTime2), N'RDG0256', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'83c57c79-0995-4aed-b873-c5255aa313d5', N'15b24779-1b6a-48a4-be07-fb414508c38a', CAST(N'2018-09-06T15:41:12.4633333' AS DateTime2), 0, 0, 0, 800, 800, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, 0, N'Doctor', N'52554e18-666b-4b57-97a6-cc593e3fd4d4', NULL, 101, CAST(N'2018-09-06T15:41:12.4633333' AS DateTime2), CAST(N'2018-09-08T11:15:28.9000000' AS DateTime2), N'RDG0229', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'83d08b99-a422-459c-b002-8ae7c5038d9f', N'd97d0bbd-77b2-41b2-9ee5-3e4f6869de7e', CAST(N'2018-09-03T18:14:51.5666667' AS DateTime2), 0, 0, 0, 3750, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-03T18:14:51.5833333' AS DateTime2), CAST(N'2018-09-04T22:33:58.0900000' AS DateTime2), N'RDG0204', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'83dbd864-0948-4e8a-bbfa-10b04300e4fc', N'ed999666-1b0f-4f0d-8dee-fdcfe57cf79c', CAST(N'2018-08-03T13:38:38.7200000' AS DateTime2), 0, 0, 100, 900, 800, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-03T13:38:38.7200000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0900000' AS DateTime2), N'RDG0106', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'842671da-0061-4672-b0ca-22660eee3ef5', N'NOTASSIGNED', CAST(N'2018-12-24T13:34:09.3453559' AS DateTime2), 0, 0, 10, 1223, 1100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'2018-12-24T13:34:09.3753377' AS DateTime2), CAST(N'2018-12-24T13:34:50.2801350' AS DateTime2), N'NCDG0076', N'HospitalOnly', 0, N'db10f226-31db-441e-9b83-ba3d26d1aeec', 122.3, 0, N'02 : 03 : PM', NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'86016633-9a21-49ce-915f-475f0c8ae109', N'f837df36-adff-43ca-accb-28a896247894', CAST(N'2018-07-25T14:36:32.7100000' AS DateTime2), 200, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 102, CAST(N'2018-07-25T14:36:32.7100000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0900000' AS DateTime2), N'RDG0058', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'86636fc7-fea3-4e6c-ad30-5f4bea4f8417', N'NOTASSIGNED', CAST(N'2018-11-24T13:30:55.5972100' AS DateTime2), 0, 0, 12.85, 1556, 1357, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-11-24T13:30:55.6012090' AS DateTime2), CAST(N'2018-11-24T15:48:04.6643019' AS DateTime2), N'NCDG0053', N'HospitalOnly', -0.95, N'3f54cf09-5c2a-4ef9-a9f1-cad9bfff842b', 199.95, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'86b66756-7719-470a-85a5-866eb64fd3c7', N'NOTASSIGNED', CAST(N'2019-01-26T15:32:07.2891660' AS DateTime2), 0, 0, 0, 1150, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2019-01-26T15:32:07.4469164' AS DateTime2), CAST(N'2019-01-26T15:32:07.4469164' AS DateTime2), N'NCDG0109', N'HospitalOnly', 1150, N'95c4d58a-b237-428b-8c27-3d1904f1b4fb', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-26T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9304 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'86bf3098-02bb-4934-8177-a8be4c27562d', N'876b095e-ffd7-4d43-ab44-63c0990c90c4', CAST(N'2018-10-07T17:50:34.0659529' AS DateTime2), 0, 0, 0, 850, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-10-07T17:50:34.3187964' AS DateTime2), CAST(N'2018-10-07T18:01:01.3245155' AS DateTime2), N'NCDG0001', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8715c8f2-8454-47fd-bfdf-336a0f6bd997', N'28f99c6d-af41-4789-b684-26bdd1ab4ca1', CAST(N'2018-09-16T14:34:09.3333333' AS DateTime2), 0, 0, 200, 1000, 800, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-16T14:34:09.3333333' AS DateTime2), CAST(N'2018-09-17T21:41:14.9033333' AS DateTime2), N'RDG0299', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'88bc4e15-4919-409c-a678-70b8b365e152', N'd1808aa2-0038-4f60-a9f7-704d66154287', CAST(N'2018-09-05T16:53:57.5500000' AS DateTime2), 0, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-05T16:53:57.5500000' AS DateTime2), CAST(N'2018-09-06T09:51:33.4300000' AS DateTime2), N'RDG0222', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'88c55fd2-418c-483d-b8bd-4e74ef4178e2', N'b4f9f0ee-30e6-4328-aecb-7afa41e318d6', CAST(N'2018-09-14T11:33:49.6200000' AS DateTime2), 0, 0, 250, 1250, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, N'Doctor', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 101, CAST(N'2018-09-14T11:33:49.6200000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2733333' AS DateTime2), N'RDG0278', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'89c64cf6-4f15-458b-be04-df83c4f5a840', N'62bbe540-9da1-49e6-9636-01ba3319b12d', CAST(N'2018-09-30T15:18:00.1033333' AS DateTime2), 0, 0, 0, 1150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-09-30T15:18:00.1033333' AS DateTime2), CAST(N'2018-09-30T19:06:02.5066667' AS DateTime2), N'RDG0374', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8a53fd94-a9cc-48e8-adc8-5487444dffb8', N'b6700e30-ea31-4a50-8373-7f1e7b9ada28', CAST(N'2018-07-12T11:20:00.8133333' AS DateTime2), 0, 0, 0, 800, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-07-12T11:20:00.8200000' AS DateTime2), CAST(N'2018-09-04T22:33:58.0933333' AS DateTime2), N'RDG0020', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8b207e67-3a20-4a9d-a0b2-a0150b115139', N'9c106375-0877-484d-8f46-b5f96be9941b', CAST(N'2018-09-02T10:14:53.1366667' AS DateTime2), 200, 0, 0, 200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'1846d6eb-7c42-4dfc-8716-badb967b683f', NULL, 0, N'Doctor', N'1846d6eb-7c42-4dfc-8716-badb967b683f', NULL, 101, CAST(N'2018-09-02T10:14:53.1366667' AS DateTime2), CAST(N'2018-09-04T22:33:58.1000000' AS DateTime2), N'RDG0199', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8bb64e3c-c175-4d81-a297-5d183d8a7fd6', N'39345306-88be-40a7-8fc4-e268307a0b73', CAST(N'2018-09-04T16:31:19.3133333' AS DateTime2), 0, 0, 200, 800, 600, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'532e50ee-47d3-4858-8f96-9c2e425b78ca', NULL, 0, N'Doctor', N'532e50ee-47d3-4858-8f96-9c2e425b78ca', NULL, 101, CAST(N'2018-09-04T16:31:19.3300000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1000000' AS DateTime2), N'RDG0215', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8be24963-914e-473d-b269-d80182e42daf', N'NOTASSIGNED', CAST(N'2018-11-25T08:59:05.7217518' AS DateTime2), 10, 0, 10, 5222, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'dd', 0, N'Both', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', 101, CAST(N'2018-11-25T08:59:05.7217518' AS DateTime2), CAST(N'2018-11-25T16:27:25.2589648' AS DateTime2), N'NCDG0054', N'HospitalOnly', 4589.8, N'8075e124-fe1c-4887-b40c-88ff76b2f711', 522.2, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8c7d745a-6793-4b3f-a56b-e35a12a6aa1a', N'abfb87d7-74ca-4fee-b441-c694ce5701f1', CAST(N'2018-08-10T12:56:03.9933333' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-08-10T12:56:03.9933333' AS DateTime2), CAST(N'2018-09-04T22:33:58.1033333' AS DateTime2), N'RDG0129', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8cc3523a-cf70-4989-8016-c4935e008655', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T21:07:40.0000000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-09T21:07:40.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1033333' AS DateTime2), N'RDG0008', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8d2c18bc-eaa3-400c-9973-193d90ea8acc', N'c2b8350f-1f42-4d89-938a-31a7a3f43afc', CAST(N'2018-07-25T14:18:21.1166667' AS DateTime2), 150, 0, 0, 150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 0, N'Doctor', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 102, CAST(N'2018-07-25T14:18:21.4133333' AS DateTime2), CAST(N'2018-09-04T22:33:58.1033333' AS DateTime2), N'RDG0057', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8da80495-0307-4c84-8c11-6a4ce85e6a13', N'3ffff73b-f89a-4c90-ad1e-c4dc2bc4c227', CAST(N'2018-07-18T12:30:29.9200000' AS DateTime2), 0, 0, 0, 1350, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-18T12:30:29.9333333' AS DateTime2), CAST(N'2018-09-04T22:33:58.1066667' AS DateTime2), N'RDG0034', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8ee35293-c5f5-4a25-bf48-c7d3df3dec44', N'93379d15-f833-4e0a-b7ca-40cb4ff7b457', CAST(N'2018-08-02T12:28:41.5200000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-02T12:28:41.5200000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1066667' AS DateTime2), N'RDG0098', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8f8ff69d-ed74-4bd1-99b1-6068438441c3', N'fab910a9-ee84-4d51-ab18-3303f3378884', CAST(N'2018-09-28T10:38:52.8166667' AS DateTime2), 0, 0, 0, 750, 750, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-28T10:38:52.8166667' AS DateTime2), CAST(N'2018-09-28T13:02:40.0400000' AS DateTime2), N'RDG0365', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8fa690be-ed84-406b-ae36-9d1f067df243', N'239cdde6-e562-4e30-bac0-2ab58f415e45', CAST(N'2018-10-28T15:08:13.9817347' AS DateTime2), 0, 0, 0, 500, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-10-28T15:08:14.0351204' AS DateTime2), CAST(N'2018-10-28T15:08:18.2522344' AS DateTime2), N'NCDG0020', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'8fd69ff6-59f9-4936-891e-a4932f56f7e0', N'NOTASSIGNED', CAST(N'2018-11-21T16:25:23.9862048' AS DateTime2), 11, 10, 10, 3732, 11, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Referral', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', 101, CAST(N'2018-11-21T16:25:23.9902033' AS DateTime2), CAST(N'2018-11-21T16:25:23.9902033' AS DateTime2), N'NCDG0047', N'HospitalOnly', 3672.68, N'4ef4b2ce-0b13-4180-818c-29ca638c2917', 373.2, 335.88, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'90cd5656-27cf-461d-bfa9-028fb908e6d6', N'f0b06891-604b-4e3f-a949-79414866db73', CAST(N'2018-09-14T14:40:56.3466667' AS DateTime2), 0, 0, 0, 550, 550, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-14T14:40:56.3466667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2733333' AS DateTime2), N'RDG0286', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'910108a3-05f0-4c1b-8bd4-ace0d4c1644f', N'26082dda-f875-408c-9bab-9e8b1f2cabad', CAST(N'2018-07-29T17:02:30.5700000' AS DateTime2), 0, 0, 0, 2950, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-07-29T17:02:30.5700000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1066667' AS DateTime2), N'RDG0080', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'93595415-5ab2-4793-a671-527223d8f5fa', N'8f960014-7600-407a-9ce4-9ab743ab9eb1', CAST(N'2018-09-04T09:59:47.2500000' AS DateTime2), 0, 0, 0, 2200, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, N'Doctor', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 101, CAST(N'2018-09-04T09:59:47.2500000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1066667' AS DateTime2), N'RDG0210', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'93bbc874-bcdb-4c49-85d0-f4156f7a62a0', N'0a6fef0d-e14f-41ef-b91f-d94be3e8bb10', CAST(N'2018-08-12T14:50:53.7866667' AS DateTime2), 0, 0, 0, 1000, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 0, N'Doctor', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 101, CAST(N'2018-08-12T14:50:53.8000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1066667' AS DateTime2), N'RDG0138', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9450496b-7a95-409d-b018-70a3551b11aa', N'dd5a34de-38c9-4d22-a71e-193d475f980e', CAST(N'2018-09-18T15:42:07.3366667' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-18T15:42:07.3366667' AS DateTime2), CAST(N'2018-09-19T10:36:13.8533333' AS DateTime2), N'RDG0310', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'94e4bc77-3319-4ec9-bb2f-2d6cd91f63a5', N'04a23b3e-1cb1-4751-ae3c-d6d3d824d533', CAST(N'2018-09-07T11:33:48.4966667' AS DateTime2), 0, 0, 0, 800, 800, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-07T11:33:48.5100000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8733333' AS DateTime2), N'RDG0235', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'95330de0-a5b7-4d94-a289-175147c7848b', N'NOTASSIGNED', CAST(N'2019-01-09T12:23:06.3873287' AS DateTime2), 0, 0, 0, 606, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-09T12:23:06.6109646' AS DateTime2), CAST(N'2019-01-16T12:51:28.9061253' AS DateTime2), N'NCDG0097', N'HospitalOnly', 506, N'5903c7c8-2969-42f7-9ba1-5f1b222d0f77', 0, 0, N'10 : 16 : PM', NULL, N'data:image/jpeg;base64,[encoded data, 9292 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'95372274-565c-4483-8075-5634268f1ecb', N'2487ab7d-dd5e-4e37-aba4-80591968a37b', CAST(N'2018-08-14T15:20:54.1000000' AS DateTime2), 0, 0, 0, 3150, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, N'Doctor', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 101, CAST(N'2018-08-14T15:20:54.1000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1266667' AS DateTime2), N'RDG0147', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'95dfd308-386a-4a6b-99a1-6e1090f1a664', N'6d114ddb-74f3-4cd2-b254-95b0c9e8eca6', CAST(N'2018-07-27T10:54:22.7133333' AS DateTime2), 0, 0, 0, 750, 750, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-07-27T10:54:22.7133333' AS DateTime2), CAST(N'2018-09-04T22:33:58.1266667' AS DateTime2), N'RDG0065', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'960177ed-08a3-4cdf-a946-207110151b7a', N'44ac6cb4-e09d-4c75-88db-e5930e3ad80f', CAST(N'2018-09-24T14:47:05.7033333' AS DateTime2), 0, 0, 160, 400, 240, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 0, N'Doctor', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, 101, CAST(N'2018-09-24T14:47:05.7033333' AS DateTime2), CAST(N'2018-09-25T10:03:15.8866667' AS DateTime2), N'RDG0341', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'97d32b19-0c62-4958-8fb5-142c9cc14ce5', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T21:50:15.0000000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-09T21:50:15.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1300000' AS DateTime2), N'RDG0011', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9803d3e3-4c4a-455d-899b-299c864d21e7', N'6f1e92d6-ac5c-4584-ad08-613b166fd833', CAST(N'2018-08-14T15:01:19.2733333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-08-14T15:01:19.2900000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1300000' AS DateTime2), N'RDG0144', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'98072732-8ff7-4821-82e4-ec7bc5d0df96', N'a9bd964f-1883-49ca-9631-fe526f2ae006', CAST(N'2018-09-06T11:11:07.5233333' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-06T11:11:07.5233333' AS DateTime2), CAST(N'2018-09-08T11:15:28.8800000' AS DateTime2), N'RDG0223', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9820a8fd-8c68-497e-97c3-4e3c4f8fab3d', N'29ed711c-07dd-40c9-8489-03a638193575', CAST(N'2018-09-14T12:24:02.9600000' AS DateTime2), 0, 0, 100, 1200, 1100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 0, N'Doctor', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, 101, CAST(N'2018-09-14T12:24:02.9600000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2766667' AS DateTime2), N'RDG0283', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'984e0451-f442-4ae9-8443-17a37d75992b', N'7c516e6b-5b8d-4bdd-9e10-b4a732fbc1e5', CAST(N'2018-09-03T13:49:54.0800000' AS DateTime2), 0, 0, 50, 1150, 1100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 0, N'Doctor', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, 101, CAST(N'2018-09-03T13:49:54.1100000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1300000' AS DateTime2), N'RDG0202', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'992af5f3-7d01-4d51-9af2-2a83f5148810', N'NOTASSIGNED', CAST(N'2019-01-27T13:25:38.2912593' AS DateTime2), 0, 0, 0, 750, 500, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 101, CAST(N'2019-01-27T13:25:38.4631545' AS DateTime2), CAST(N'2019-01-27T13:34:49.9432399' AS DateTime2), N'NCDG0110', N'HospitalOnly', 250, N'0a003551-18ba-4ff4-839a-ada8d89e58b8', 0, 0, N'12 : 10 : AM', CAST(N'2019-01-27T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9268 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'99924fc1-f516-43ed-9aed-77b581667818', N'4e293b61-0a47-49b3-b9a5-62f1da26f431', CAST(N'2018-10-07T17:50:53.8480315' AS DateTime2), 0, 0, 0, 0, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-10-07T17:50:54.7220189' AS DateTime2), CAST(N'2018-10-07T17:50:54.7220189' AS DateTime2), N'NCDG0002', N'HospitalOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'99b09b39-39f3-4f0d-bc09-980ae17741ca', N'176c0929-5c3b-4720-a698-d3e2acc63b2a', CAST(N'2018-09-13T10:40:28.2533333' AS DateTime2), 0, 0, 0, 200, 200, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 0, N'Doctor', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, 101, CAST(N'2018-09-13T10:40:28.2833333' AS DateTime2), CAST(N'2018-09-16T12:50:43.2766667' AS DateTime2), N'RDG0269', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'99c9cc6e-4a3f-40ea-9b87-ba9c54528223', N'539206c9-a36a-426b-80d7-25b02890090a', CAST(N'2018-08-09T10:16:34.6466667' AS DateTime2), 0, 0, 50, 1150, 1100, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-08-09T10:16:34.6633333' AS DateTime2), CAST(N'2018-09-04T22:33:58.1300000' AS DateTime2), N'RDG0121', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
GO
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9af7e983-7371-4227-bf4d-411de851e031', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T21:07:51.0000000' AS DateTime2), 0, 0, 0, 0, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-07-09T21:07:51.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:58.1333333' AS DateTime2), N'RDG0009', NULL, 0, NULL, NULL, NULL, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9b1d0359-6b2c-4b7a-8e6f-121aed43f2b7', N'NOTASSIGNED', CAST(N'2019-01-14T09:33:09.5496618' AS DateTime2), 0, 0, 0, 450, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', NULL, 0, N'Both', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', N'65ba8697-497a-4f36-bd6c-668eba0c5d62', 101, CAST(N'2019-01-14T09:33:09.7393970' AS DateTime2), CAST(N'2019-01-14T10:55:45.3161087' AS DateTime2), N'NCDG0100', N'Both', 450, N'b4cb8766-1691-4ce2-a6fe-83304fd6a0d6', 0, 0, N'11 : 16 : PM', CAST(N'2019-01-14T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9296 characters]')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9b713f78-559f-4801-893c-e120ef52af2d', N'NOTASSIGNED', CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), 0, 0, 0, 500, 400, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'ss', 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2018-11-17T10:42:53.9287349' AS DateTime2), N'NCDG0042', N'HospitalOnly', 100, N'8563e125-bb50-4c39-8dce-b1b84a97a6a6', 0, 0, NULL, NULL, N'NA')
INSERT [dbo].[InvoiceDiagnosticGroup] ([Id], [InvoiceId], [CreatedDateTime], [Discount], [Vat], [Less], [Subtotal], [ReceivedAmount], [HospitalId], [PaymentStatus], [InvoiceStatus], [DoctorId], [Comment], [SpecialDiscount], [ReferredBy], [ReferredDoctorId], [ReferrerId], [Status], [CreatedTime], [UpdatedTime], [Code], [LessFrom], [Due], [PatientId], [LessInTk], [VatInTk], [ReportDeliveryTime], [ReportDeliveryDate], [BarCodeImageUrl]) VALUES (N'9be3709f-18ba-4f92-be3c-d7847e665880', N'98d91c56-b65a-4461-8b6a-7d4dd98ef16d', CAST(N'2018-07-31T13:39:22.9900000' AS DateTime2), 0, 0, 100, 600, 500, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, 0, N'Referrer', NULL, N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', 101, CAST(N'2018-07-31T13:39:23.0066667' AS DateTime2), CAST(N'2018-09-04T22:33:58.1333333' AS DateTime2), N'RDG0087', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
