INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9c0f1a28-2a21-4e33-9600-f67f2eb3062c', N'cf4e6f6e-2135-4a16-983d-7f7978ac2b59', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T18:44:24.0866667' AS DateTime2), CAST(N'2018-09-17T21:41:14.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0281', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9c106375-0877-484d-8f46-b5f96be9941b', N'3252b2f4-0f72-4cc1-a54e-ae4c9807fcde', N'1846d6eb-7c42-4dfc-8716-badb967b683f', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-02T10:14:53.0733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0182', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9c6c3e6c-204b-4f4b-be6f-cea5e473bc7c', N'104a27ee-b816-4bbd-8a38-2452bf9c421a', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'2019-02-16T14:04:22.7212140' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 6666, 0, 101, CAST(N'2019-02-16T14:01:18.6486783' AS DateTime2), CAST(N'2019-02-16T16:26:57.8876235' AS DateTime2), NULL, 0, 0, NULL, 3330, N'NCINV0060', NULL, NULL, 0, 0, 0, 6666, NULL, N'data:image/jpeg;base64,[encoded data, 9940 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9cc2f681-c31c-47ba-896d-723a9092c066', N'df7012a1-c9f6-471d-b826-5240acfea20c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-20T20:02:48.7533333' AS DateTime2), CAST(N'2018-09-21T09:41:10.1800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0300', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9d10cb3e-d4c7-4b04-9d1d-b71a1f62b1f7', N'7e899081-e70a-40d7-b9c2-495280f7334b', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-06T11:11:07.4133333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0204', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9d683bf2-f3e5-40bb-853e-c8dbdb5f469b', N'010cd361-aa3c-4e7b-8c9c-d818739445d0', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T11:54:34.3900000' AS DateTime2), CAST(N'2018-09-28T13:02:39.2666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0348', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9e63076c-4fb0-419a-baa5-d742508cdcbe', N'ea4fc29c-f541-4036-9102-28e2be128a5a', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'2018-09-22T12:24:29.0966667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T12:24:20.3433333' AS DateTime2), CAST(N'2018-09-25T10:03:15.2066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0307', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9ea1dbce-ebe5-4b96-8458-a8ee3bb0aeb4', N'5a546169-b48c-42aa-a497-26d8102071ba', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-19T12:41:13.4266667' AS DateTime2), CAST(N'2018-09-04T22:33:56.2600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0019', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'9fe19858-d44a-4bdc-adb1-5a82956a1b1c', N'f3a224ac-9223-4d2e-9e3a-4bda32e2254b', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T17:40:47.4366667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0267', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a0076281-2f53-4487-b65a-cad43753bef6', N'a0d8f041-55f0-4b03-97c9-ca976740b734', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T11:09:51.4266667' AS DateTime2), CAST(N'2018-09-28T10:15:51.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0318', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a049aab2-4809-4685-9dbc-0594d80c9c39', N'1621739c-d246-4aba-a9e1-d943bd25e397', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T14:10:31.9866667' AS DateTime2), CAST(N'2018-09-25T10:03:15.2066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0320', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a09d1933-a42e-4b01-8f2f-08ffd0109967', N'7c3b5f48-cf18-418d-ae1b-fe76bffc376c', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-15T09:43:54.0066667' AS DateTime2), CAST(N'2018-09-04T22:33:56.2600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0009', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a24e729c-658b-445f-8e96-88e7b08d1b62', N'9faec093-6555-4b6d-9f61-7e5b878b64ee', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:30:02.6766667' AS DateTime2), CAST(N'2018-09-04T22:21:08.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0129', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a2dce265-45a3-48e1-974c-8ba0dc9a7673', N'2aded413-2721-4fe1-928e-dd9683f5898b', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-21T12:18:31.9600000' AS DateTime2), CAST(N'2018-09-04T22:33:56.2633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0027', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a46a0ce6-3430-4e29-b555-1b94f68f3032', N'd5b166c6-5a8c-42fd-8354-b091a9860d3c', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T16:31:34.8033333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0279', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a4ec750d-bc97-48f0-bc96-ac087d50558e', N'ba909af4-e134-413d-b0e6-8a738d612dac', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T17:32:05.1700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.2633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0174', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a51aaeb7-ac10-4fdf-961d-cbce4cf11189', N'784a6276-e628-4516-b735-c642b158321e', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-13T10:22:10.7833333' AS DateTime2), CAST(N'2018-09-13T17:23:39.0600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0247', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a520caf6-1ff9-40db-86ea-8bf3760e427d', N'b552d8aa-f3da-4a2c-8a26-31b226df1ef6', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-21T10:17:06.3400000' AS DateTime2), CAST(N'2018-09-25T10:03:15.2100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0303', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a5375c27-deba-4232-a1fb-756f9042b455', N'ec445a0d-b015-486f-86a4-8202bef14eab', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T14:40:11.1633333' AS DateTime2), CAST(N'2018-09-27T09:49:04.8166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0330', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a59f415e-29da-4177-8cf0-d6235ae37f30', N'5a0faf85-f5ca-4c6f-9895-8a1c4355d844', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-04T13:16:06.5433333' AS DateTime2), CAST(N'2018-09-04T22:33:56.2900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0091', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a62eccd4-2c1e-4eed-9d81-5715bbd99285', N'35e3d025-cb82-4643-b6fc-acf94d02a624', N'18e40a77-769d-410e-b02c-4313e71ae316', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T17:20:30.7666667' AS DateTime2), CAST(N'2018-09-09T10:10:51.7733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0223', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a62f2d18-d9c4-4cb8-afee-675c0e343d02', N'b0f70624-f350-4ed2-bcdd-5a384d856466', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-11T21:57:13.8400000' AS DateTime2), CAST(N'2018-09-12T12:13:23.9733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0242', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a775e694-4a5f-4de7-9dc4-37a174b38cf8', N'9f2e581a-713f-497b-9881-9561a97cdd1e', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T11:14:46.3000000' AS DateTime2), CAST(N'2018-09-04T22:33:56.2933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0024', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a96e7285-558f-4fde-b08f-192ca0451deb', N'5e60adc4-6efe-461e-ac69-bc38310f15b6', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T15:42:07.0566667' AS DateTime2), CAST(N'2018-09-19T10:36:12.9600000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0289', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a9bc4a23-9363-438b-9755-5cbb9551d47c', N'b5a97bb6-9471-4ac0-bfeb-5cda977ad653', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T16:35:12.1833333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0218', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'a9bd964f-1883-49ca-9631-fe526f2ae006', N'4ad3147a-dd04-4886-8d27-7a25d74ba8fc', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-06T11:11:07.4133333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0204', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'aa1caee1-8c39-4ec8-b77c-a7419072800d', N'faa7a3f6-cacc-4eb2-a35a-a30c5cb5713a', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-09T21:47:47.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:56.2933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0002', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ab467760-de43-4320-8fef-c640a42e39fb', N'0615f946-56c8-46a1-9c7c-0c7d1245ba51', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-18T10:36:52.9556288' AS DateTime2), CAST(N'2018-10-18T10:36:52.9556288' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0017', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ab50eb0d-2a8e-4567-b520-dae5e72cd937', N'5ead3d25-72fd-431c-80a7-27ce4c3bdac2', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-04T14:32:08.1433333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0094', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'abb18202-7f6f-4a1b-86a2-5bcf1da3d8a7', N'41152066-494b-40aa-a95b-b9379e933089', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'3', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-02-16T16:37:01.2260854' AS DateTime2), CAST(N'2019-02-27T19:18:39.8825671' AS DateTime2), NULL, 90, 0, NULL, 220, N'NCINV0061', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9924 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'abfb87d7-74ca-4fee-b441-c694ce5701f1', N'43095ea4-f156-4a1f-b879-aaa04f95537c', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T11:06:29.9300000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0046', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ac215f63-07c0-4382-881e-7959c9506110', N'87456429-b314-438f-95b1-79bb7e558614', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-13T19:46:36.1566667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0121', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ac28f2c1-3f4e-4f49-8657-9d2a900aed75', N'18e7de10-2cbf-4c1d-b44d-1f1dedfcf375', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-28T12:21:47.2566667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0054', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ac648549-b8c7-4d2e-bd99-44837610c45a', N'95fcf64d-1844-45db-b8f7-4031d618ab7e', N'8d3cf8f9-7ef7-4008-b529-e05a062b3f0c', N'2', NULL, 0, CAST(N'2019-01-19T10:38:08.8872986' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 10, 2819, 2537, 101, CAST(N'2019-01-17T16:44:15.3010056' AS DateTime2), CAST(N'2019-01-24T11:45:48.2090750' AS DateTime2), NULL, 37, 0, NULL, 220, N'NCINV0053', NULL, NULL, 0, NULL, 281.9, 0, NULL, N'data:image/jpeg;base64,[encoded data, 10024 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'acc4f16c-454d-48b9-b1a9-2f554c0749e5', N'391c5447-083b-46fc-b7a4-00562a4df77a', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-01T12:46:42.4366667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0180', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ace96277-8fcd-46aa-b198-ddcecba2182b', N'89150ccf-0cae-444e-9cbb-f3de56960c60', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 1, CAST(N'2018-09-04T12:38:35.4300000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 600, 600, 0, 102, CAST(N'2018-08-28T09:56:37.5700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0157', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', N'f3bd4e27-b7be-4d65-8979-8a5101f93382', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'4', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-09T10:56:09.8855659' AS DateTime2), CAST(N'2019-01-09T10:56:09.8855659' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0045', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9972 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'addf01ae-4946-42cf-a80b-eaad07f189d2', N'77d63ac9-7c3a-41c3-9b7e-649586e12ec1', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-13T22:08:28.1800000' AS DateTime2), CAST(N'2018-09-14T09:53:59.1300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0252', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'af090872-955f-451f-a16b-17b3a5b47f4a', N'f8eb93e2-b128-4aca-b59b-bc09941051c3', N'108d2b8e-48d2-4629-89a5-dbd3827cc496', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-11T10:23:53.4600000' AS DateTime2), CAST(N'2018-09-12T12:13:23.9733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0237', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b021ac64-8ceb-4081-9b50-ffb72a1e7691', N'75c51b91-578c-41e9-99a7-0d54c18877ba', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-11T12:03:21.2300000' AS DateTime2), CAST(N'2018-09-12T12:13:23.9500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0241', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b0a9528e-b42e-465c-8cba-4578a1e12f67', N'b050341f-766c-494a-96fd-3d055d950aa5', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-17T14:54:02.5633333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0285', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b0e6dc11-cf80-461b-97a1-d780ad96f544', N'bdbba6df-6e13-4e62-a51d-0c62eb402a20', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T10:05:01.1233333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3933333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0209', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
GO
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b165f658-f1e5-4e8d-902c-61e20171ec3c', N'fb5613df-763e-4d5f-85d8-1a7f2ba335e9', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'2018-09-04T12:31:52.1333333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 600, 600, 0, 101, CAST(N'2018-09-01T10:22:10.6466667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0176', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b26b4734-bd70-4e2d-b909-4e448ef399f7', N'7123b5ab-a54d-4466-9ce0-ce17fc554324', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T17:02:19.6000000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0060', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b31d81e8-e134-491c-b2e9-d492dc6e64bc', N'2199bfff-93b4-496b-9eef-12e6afb8f037', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T12:57:57.7800000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0107', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b37dcd7f-5f2f-4ab5-b328-7b1ec60f3910', N'b56f17a1-9c52-43ea-a385-68916fa785a4', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-23T12:57:12.8266667' AS DateTime2), CAST(N'2018-09-25T10:03:15.2100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0313', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b3cdcbcd-1575-45c3-b135-c9e33ce6d4e2', N'5150f1b8-b497-4793-827a-8dc767025682', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T11:26:04.3233333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0256', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b45853f6-c08a-4c0a-ae09-5b5d0765e3e5', N'9f243d7a-301e-4e9d-ba98-ca4288861fce', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T15:01:18.9766667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0125', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b495803a-93fc-4140-8be0-6d3ed230a12c', N'21004315-a935-4e16-bcdf-aa5abffa10aa', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T18:59:06.1333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3200000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0197', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b49f9faf-baaa-43aa-a7d7-72dd8cb158a3', N'f9f96af4-9506-4ced-bd73-da05b1cf397b', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T13:44:50.9833333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0090', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b4f9f0ee-30e6-4328-aecb-7afa41e318d6', N'ce7bdc4d-7c30-4e44-9230-0d7451e4b0bd', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-14T11:33:49.5433333' AS DateTime2), CAST(N'2018-09-16T12:50:42.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0257', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b541e5bf-5e44-4ac7-973f-54d77502339b', N'bda24df2-cf7a-4f3f-92c9-61cb99220907', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-25T20:14:22.1633333' AS DateTime2), CAST(N'2018-09-28T10:15:51.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0325', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b59992b2-9819-4717-be0a-cf587eed393f', N'1456c6db-f7a3-4bda-b2c1-1de8f1b97948', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-21T09:32:24.5800000' AS DateTime2), CAST(N'2018-09-21T09:41:10.1833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0302', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b64396cb-c60d-4bd8-9236-9b11edf45218', N'd039c4cc-b348-45b6-a22f-c8fc0ad71384', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-06T10:47:40.7366667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0096', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b663e548-2b84-4c59-af80-4aae3814f291', N'c686b703-1d0a-4126-9c6a-7741f569566c', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T18:13:17.7466667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0074', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b6700e30-ea31-4a50-8373-7f1e7b9ada28', N'fa3c1e61-9fb2-4fea-91ad-f1ef9bc1d0a5', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'2018-08-15T20:06:58.2700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 900, 0, 101, CAST(N'2018-07-12T11:19:53.4900000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0007', NULL, N'24a50fd4-8d08-41d3-94e5-be95c9e77925', 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b86b7441-3ea4-4075-9580-3599f10b212c', N'493abf66-7fd9-49f4-a834-adf3c86d7112', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-14T11:24:14.4333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0122', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'b945e0cf-9778-430e-8c8a-c61b8e0d15d7', N'8bf2385f-0bfb-446a-b83d-eb3f32fb1160', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T13:41:56.7066667' AS DateTime2), CAST(N'2018-09-28T10:15:51.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0310', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ba5ca83f-35f4-4d85-8979-43ed7ac2c18c', N'8b572682-4f34-4962-bcf0-f24fd72c4285', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T11:52:37.5166667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0086', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bb6797bb-6fd2-464b-8880-539b58f95590', N'538605ea-0b9d-4a06-b638-7d8eefd0f5dd', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'2018-09-04T12:34:55.7133333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 600, 600, 0, 101, CAST(N'2018-09-01T10:15:04.4766667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0175', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bb95e314-b607-4bb1-9614-0e01282ceb07', N'd5b83296-c480-4f41-ac46-0fca46edb964', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T09:31:20.5866667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0273', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bbb05da9-d540-4272-9728-e9efccaf3e3f', N'3945029b-3028-4168-8b89-6b658877d041', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-28T09:49:35.9633333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0156', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bc292378-61d4-40aa-8794-f0c2e784577e', N'5a810576-6cec-4077-ae60-37cea507492b', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-07T19:08:25.1333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3000000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0097', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bd77ed0f-4953-430a-97a1-a2d425e1f582', N'c5cd5889-2523-46f9-950e-d4aed98b8c59', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T20:00:17.8833333' AS DateTime2), CAST(N'2018-09-28T10:15:51.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0322', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bec76fb4-4ed9-4041-8f22-d0015f819ec0', N'15cb3a8e-8369-495b-b1a4-ca3740d2a78e', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-16T13:12:50.0933333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0277', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'bfa524fa-4f7e-4734-96de-1a0ce74a6522', N'874ea79c-f257-4093-9a17-d62890fe81c0', N'75dfb239-3543-4563-81c4-27f27edca9c9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T20:11:58.6766667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0235', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c050d739-2984-4f79-9086-fc357b41c392', N'735d60b6-7d0c-49e2-a73d-45bc14443c1e', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T11:38:04.5933333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0025', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c0f67091-dcd5-4faa-b543-ee04e3e8bfef', N'7a7ffe7b-6255-4432-a70c-7420c3f7beac', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-17T10:12:55.5342320' AS DateTime2), CAST(N'2018-10-17T10:12:55.5342320' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0012', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c13b2ff2-7c26-4421-9c59-52b2cf43fae4', N'957a0622-c8e1-4447-9f3f-0bba2aeb8b0a', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T19:34:51.1166667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0232', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c1d5d3e0-c38c-4353-9fea-bd260ccb7661', N'e9bccc0d-c88f-414d-ada8-14ffadc5c976', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', N'2', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-31T09:29:47.0314766' AS DateTime2), CAST(N'2018-10-31T10:21:42.0048288' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0026', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c265b351-a148-45ed-98f5-25675df9ddd0', N'b25ab5b7-c754-466c-929e-2e5c18016ed4', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T15:42:07.0733333' AS DateTime2), CAST(N'2018-09-19T10:36:12.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0289', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c2a3d785-de49-419b-b03e-e29f127e72b5', N'0d3a6ef8-b86b-4dd0-826a-70d994b8035a', N'2cdd8ed7-b91b-4b31-8196-8e0b70d90852', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T18:19:18.1700000' AS DateTime2), CAST(N'2018-09-19T10:36:12.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0293', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c2b8350f-1f42-4d89-938a-31a7a3f43afc', N'b0d8a1f6-f54f-4a66-ad83-7d082ae9945b', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T12:30:17.3366667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3033333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0037', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c315712d-9274-4926-bbe4-7398e2446aa1', N'c822692d-3929-4775-9e52-1389df7cbcf4', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T19:44:10.3966667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0234', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c3219c30-0cea-4790-9a82-9bbba3a25da2', N'7fd1d5a4-72dc-41d6-b953-b93408392b40', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-16T12:35:30.6625342' AS DateTime2), CAST(N'2018-10-16T12:35:56.9562070' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0011', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c34d284f-b887-4beb-a783-9929cf20303c', N'b125a33d-a5d4-44e8-bf5e-5c0f433f5d6e', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-18T12:35:44.3933333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0152', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c535df32-81aa-4031-919a-9b288bf847d0', N'7e0c54aa-574a-46c6-85bc-872bf9162e9b', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, NULL, 0, CAST(N'2019-02-02T16:30:38.6698286' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 19821, 4430, 101, CAST(N'2019-01-31T10:50:07.8369558' AS DateTime2), CAST(N'2019-02-02T16:30:38.6708274' AS DateTime2), NULL, 0, 0, NULL, 3330, N'NCINV0058', NULL, NULL, 0, 0, 0, 15391, NULL, N'data:image/jpeg;base64,[encoded data, 10000 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c590ea42-82f7-4347-a66c-86542ed1b87d', N'8a0098d0-78a4-4c22-9f7c-70474c0d3afe', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-25T10:48:48.1833333' AS DateTime2), CAST(N'2018-09-28T10:15:51.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0323', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c6106e28-4437-433a-8377-f893f2828c79', N'ac38c423-1f07-4200-8fd9-a22cf02f8dbd', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'2018-09-16T18:24:45.0533333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 600, 600, 101, CAST(N'2018-09-09T12:18:16.1133333' AS DateTime2), CAST(N'2018-09-17T21:41:14.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0227', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c799c525-bfe2-4cdb-a552-1e8814490fb3', N'948ec404-95cc-4f45-bc4f-a41f7e6b7a88', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-10T13:01:08.4066667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0229', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c7b8ae87-b1d9-4754-b9d4-42e2211b2af9', N'b749c33b-d727-41ee-899f-29fe50f95cba', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T11:37:47.9066667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0170', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c844a05f-1fd8-49ec-98cf-bad02020b266', N'a4139d78-f47c-4fe3-89e5-4b8dd13d3e7a', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T11:07:04.5533333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3066667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0167', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'c9684070-74cf-4d7b-a239-5c8287fbc107', N'018f1a94-ccc9-471e-89ab-b9dab53222dd', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T17:02:19.6166667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3100000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0060', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cb2c2b4c-d484-4bc5-9cdc-9b586460ff21', N'ad99f918-5b24-4441-b076-3e848dd23f01', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-27T16:17:12.5566667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0050', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cccd529a-0274-45f6-b1a3-74df56f3e307', N'99d35bca-511c-451f-bd8b-8fd8e6b79d21', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-15T16:29:11.1112715' AS DateTime2), CAST(N'2018-10-15T16:29:37.8966984' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0010', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cd1084a1-3cd3-4ca8-997e-9b832b0de141', N'fd0dae34-eefe-4116-850f-29821af9be54', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T21:30:45.9233333' AS DateTime2), CAST(N'2018-09-19T10:36:12.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0294', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ce62277e-8560-4ad9-ad3d-ff03027e1102', N'23311f48-24c4-4929-ac08-6110ee658496', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-31T20:17:38.1000000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3233333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0076', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cee7aa5d-711d-4cfc-887d-d1ed2a1d1150', N'bfde53bd-b071-4812-9328-c09a8ead6cfd', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T15:22:40.4733333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0136', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cefdfaba-7bbe-4be6-b04b-0badb7daee96', N'6585f8e5-1100-49a2-acf3-a1e785b13525', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-08T20:45:33.4866667' AS DateTime2), CAST(N'2018-09-09T10:10:51.7733333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0226', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'cf8836c8-fa80-4f8f-82fd-f777b158915e', N'b255c1f1-e34a-4e63-9f3d-c7946d1bc77c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T15:24:06.8566667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0195', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd0e641ff-d9d6-41d9-95ee-1e229118a4e2', N'09a621c7-7418-4a74-906c-137833319c3e', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-18T18:01:04.0300000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3266667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0018', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd0fdf682-ea2e-409d-baae-f2bf3885a305', N'de28d55f-9ca2-472b-9fb8-48f6ce140e8c', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T10:43:44.5166667' AS DateTime2), CAST(N'2018-09-28T13:02:39.2700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0346', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd1039f90-a091-4ef6-ae6f-5c88d88c8fad', N'4e5dba04-c4f4-4ea2-9ee6-305b1334e1f0', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2', NULL, 0, CAST(N'2019-02-22T22:50:33.9227979' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 13641, 2220, 101, CAST(N'2019-02-22T22:43:49.4365512' AS DateTime2), CAST(N'2019-02-22T22:50:33.9267972' AS DateTime2), NULL, 22, 0, NULL, 6660, N'NCINV0064', NULL, NULL, 0, 0, 0, 11421, NULL, N'data:image/jpeg;base64,[encoded data, 9928 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd1808aa2-0038-4f60-a9f7-704d66154287', N'4b82604f-f8df-4d07-801f-1f45b5d032ba', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-05T16:53:57.4266667' AS DateTime2), CAST(N'2018-09-06T09:51:32.6900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0203', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd1b4c66f-1545-4bdc-9cc5-ea8f5e4d29c1', N'68ae69ce-7354-47ed-81b6-fd80ed02c9d4', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-15T15:00:44.4466667' AS DateTime2), CAST(N'2018-09-16T12:50:42.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0271', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd3be7992-2504-4a6d-902c-1d73efe02580', N'9eadc22c-d8f9-4575-a86a-5189712ff768', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-16T11:07:07.8966667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0141', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd4384253-b264-43c8-b337-297dfdb59c3c', N'20ccde33-38eb-40d1-bb32-d0e057fa7cf5', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-20T10:45:10.8966667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0022', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd5583ec9-abf2-4de3-9d63-1c58e32be40c', N'34f8cf4c-c1af-407f-b1ee-25333dc669b1', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-19T10:58:01.9133333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0155', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd55daa8b-8cc2-4322-8eb0-b1e26b2bd078', N'afcb5469-966a-4aad-b84b-5f30fb100326', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-11T11:59:28.4966667' AS DateTime2), CAST(N'2018-09-12T12:13:23.9666667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0240', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd7b27c30-0373-4d95-a1b1-52660dff9f56', N'95ad0e89-4958-49d3-ad06-8f3c7981c6b1', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T10:05:01.1233333' AS DateTime2), CAST(N'2018-09-08T11:15:28.3966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0209', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd7d76c72-f79d-425e-a2ca-88d50ea9e6f3', N'6a443571-4baa-4418-9034-eda3ac02d161', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T11:35:12.2500000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3366667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0057', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd83ea011-1b95-4b48-b798-7367cf066919', N'588878dc-4547-41bb-84be-ecf6d0f58d05', N'86a49602-8632-4ca6-b138-eb3fdb57e3cf', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-15T10:26:08.6966667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0131', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'd97d0bbd-77b2-41b2-9ee5-3e4f6869de7e', N'd935d751-3760-4ca3-a647-44d66326aec6', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-03T18:14:51.4900000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0187', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'da6b6cd3-440c-4085-b2bf-4b476e61f2c4', N'f61e070a-b0f6-4538-bad9-bf878c08fcd3', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T23:24:08.8300000' AS DateTime2), CAST(N'2018-09-27T09:49:04.8200000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0332', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'db567732-85c2-4b3c-9714-229ea8201322', N'e54af6ae-5485-4826-a70e-3e93ccc207a0', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-16T14:16:47.3233333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0012', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dbe52048-fe8a-4ef6-b14f-9039935f57ec', N'a915872e-3793-4842-a3f6-01c4c04277e6', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T19:44:20.6733333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0113', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dc1a2ce0-6318-4422-9ecc-8889dc8d00c4', N'7309ade1-33c3-4b76-9129-80518e1cade7', N'82b04905-0844-420a-9734-ef6ef52771f2', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T11:43:50.0333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3433333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0084', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dc1c19e7-6ff9-4420-871c-84c3d642baed', N'b8bce332-0540-4983-b450-9258dbf1fc4e', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T11:35:17.5166667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0169', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dc6fb7b8-5130-412b-8448-b5220274cce5', N'6cba29ae-59e4-4de0-9a16-96850157e0c4', N'5972905b-bc7d-495a-bc9d-4469871316b1', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-05T16:01:31.5066667' AS DateTime2), CAST(N'2018-09-06T09:51:32.6900000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0202', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dd2db951-ce44-4665-8938-181ee2da563e', N'f08aeb97-08d2-42f8-8641-31f3ce5b96a5', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T18:12:09.9533333' AS DateTime2), CAST(N'2018-09-19T10:36:12.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0292', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dd5a34de-38c9-4d22-a71e-193d475f980e', N'a8dd7027-8c5f-495b-b17c-e99810146fd3', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-18T15:42:07.0866667' AS DateTime2), CAST(N'2018-09-19T10:36:12.9633333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0289', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'dd5e3703-3ba2-4cc1-b199-9c5887a08b72', N'852b79ce-3a39-4589-b215-649ed28d7b33', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-21T14:58:51.5066667' AS DateTime2), CAST(N'2018-09-04T22:33:56.3466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0031', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'de745a7c-c5b9-467e-8a74-1a979fe92952', N'f3c0e664-20dc-497f-ab71-b49cdb3172d9', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T14:49:33.5800000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0039', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ded1933e-6bcf-4d01-ae5d-15e1e8e31b4c', N'874d1da1-8317-4976-abda-106e49d5c4d8', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-05T18:03:13.8200000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3466667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0095', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e1a15310-a3a3-45c0-af38-acc407d5e92c', N'6f248b8e-aef5-40af-8355-7443614995f9', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-13T16:58:24.4500000' AS DateTime2), CAST(N'2018-09-04T22:33:56.3500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0120', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e1a7423a-447e-437e-b6a9-55f06d436a68', N'9455b3f2-b501-493f-b872-f5824c75aa0d', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-28T13:51:48.1033333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0056', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e1df93ce-f498-43aa-af25-d7112b51c407', N'a507b7fe-2e0d-4266-8343-1f71765976d9', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-17T09:42:29.6333333' AS DateTime2), CAST(N'2018-09-04T22:33:56.3500000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0144', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e32af61c-8b0b-4094-b865-760b90e42ef2', N'207de0df-31f6-4ca2-a58d-82bc641881bb', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-09T10:06:37.5700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0100', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e357fa95-cd80-4ba6-ac98-e1bff12f47af', N'9cf07b40-50f1-44a2-9db9-9613461f3981', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-19T20:27:27.6833333' AS DateTime2), CAST(N'2018-09-21T09:41:10.1833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0298', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e3ce0fd8-ac11-4b94-88b1-d1fcc4449a32', N'3b953339-ab8f-440a-8537-ae7b11d712b9', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T12:31:24.9200000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9766667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0109', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e442f9c5-c767-48c4-a0e9-983012f4bb00', N'e6a21130-efc4-47bd-81fe-b93fe43d5540', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'1', NULL, 0, CAST(N'2018-12-20T15:12:55.7391493' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 10, 92495, 0, 101, CAST(N'2018-12-20T15:11:02.4054005' AS DateTime2), CAST(N'2018-12-20T15:12:55.7401481' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0039', NULL, NULL, 0, 0, 9249.5, 83245.5, NULL, N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e5024391-82fd-4508-9f69-12e047eedc8e', N'edb07e23-c0c5-427e-983a-69224a2e1310', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T12:25:33.4400000' AS DateTime2), CAST(N'2018-09-25T10:03:15.2133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0308', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e5050d9e-7128-44ab-8d33-8296cd43ce74', N'59945f61-e455-413f-8981-bfa3c8cee4a7', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', NULL, NULL, 0, CAST(N'2019-02-17T11:18:06.9300436' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 10, 0, 0, 101, CAST(N'2019-02-17T11:12:37.5253034' AS DateTime2), CAST(N'2019-02-17T11:18:06.9340939' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0063', NULL, NULL, 0, NULL, 0, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9996 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e50d535b-141e-4ad3-a281-2fc31a33f4bf', N'7ba24e25-ef2e-4c1f-9ae2-d5ab6b4cb69c', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-16T16:44:09.3733333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0142', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e5ad7440-6629-405c-b524-aef3d276e5ad', N'8440421c-7bd7-43d2-b23a-8711cf1119fd', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-08T16:02:42.2323370' AS DateTime2), CAST(N'2019-01-08T16:02:42.2323370' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0042', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9976 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e6624887-bd62-42d3-91a8-8f889f574460', N'3397a57a-c5ac-4377-bf87-cbb5a54fc632', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'2018-09-16T18:22:07.8200000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 600, 600, 101, CAST(N'2018-09-13T12:54:04.6066667' AS DateTime2), CAST(N'2018-09-17T21:41:14.0566667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0249', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e759dbe8-08c4-4794-b106-27ab9aa08608', N'02ca712d-7c8f-4d83-8336-f2815ea9a065', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-22T11:18:37.6333333' AS DateTime2), CAST(N'2018-09-25T10:03:15.2133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0306', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e78e06d0-9214-494a-babf-04d5e7c79540', N'1336a709-6a2d-4f13-875e-65858969c22c', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'2018-09-30T12:00:27.8066667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 600, 600, 101, CAST(N'2018-09-28T12:51:36.8533333' AS DateTime2), CAST(N'2018-09-30T19:06:01.7533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0350', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e81c9aa0-2d10-45da-8ce9-644711ff1f97', N'e40a7b8a-f888-4258-b1e8-e5a45d1636ad', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-25T12:16:58.6166667' AS DateTime2), CAST(N'2018-09-27T09:49:04.8200000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0324', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e8dd0d43-e9b2-4f72-a98a-745fe77e3a42', N'33a7b7c1-35dc-4919-9c2c-b727612fc72f', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-14T09:18:10.7168531' AS DateTime2), CAST(N'2018-10-14T11:42:07.9446227' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0008', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'e982928f-dd63-4fbe-a9db-efc149bc99ee', N'867ec2bf-672d-45a6-a730-60eb3ff69e60', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-07T10:09:46.5466667' AS DateTime2), CAST(N'2018-09-08T11:15:28.3966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0211', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ea65692e-767e-454c-98e6-f0d1ce4721d7', N'5e44eb5c-be3b-4874-aeb0-6d86fd718ca9', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-24T10:49:36.2233333' AS DateTime2), CAST(N'2018-09-25T10:03:15.2133333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0317', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ea77ad15-11e3-466a-acb0-21401eafb4a7', N'e9197079-7639-43ee-a69a-b4ca5237cbea', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-04T13:42:27.5700000' AS DateTime2), CAST(N'2018-09-04T22:33:56.5800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0093', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'eb55a5b8-81fb-4481-81dc-09950ef6c53c', N'970e5393-a193-4431-a2da-78aa6ea70d6d', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-11-03T11:07:31.5390468' AS DateTime2), CAST(N'2018-11-03T11:07:31.5390468' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0027', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ebce39be-4d21-4251-835d-2620dd8fe8aa', N'40d883da-8f45-4676-ba91-e276e6207ba1', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'1', NULL, 0, CAST(N'2018-12-20T13:29:52.9340870' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 100, 0, 10, 44769, 0, 101, CAST(N'2018-12-20T13:27:39.5305824' AS DateTime2), CAST(N'2018-12-20T13:29:52.9350874' AS DateTime2), NULL, 0, 0, NULL, 444, N'NCINV0037', NULL, NULL, 0, 0, 4476.9, 40192.1, N'dd', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ec6ab72b-5f22-42d3-826a-bf4e7f27f030', N'23e96e11-98ef-4469-a2bd-b37b13134206', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-06T11:23:43.4300000' AS DateTime2), CAST(N'2018-09-08T11:15:28.3966667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0206', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ed999666-1b0f-4f0d-8dee-fdcfe57cf79c', N'21d4d279-2b35-4ea4-abd0-a45734299ba8', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-03T13:38:38.6433333' AS DateTime2), CAST(N'2018-09-04T22:33:56.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0089', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ed9fa94b-4156-447d-bd39-3874ebf52051', N'cb8ef6b3-c0ad-454d-92a8-b286e5957167', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T20:37:54.7300000' AS DateTime2), CAST(N'2018-09-04T22:33:56.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0041', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'eda4a9f5-ef51-490b-b4c3-8bf50a0e3954', N'2b6ecb45-596b-4115-9060-44dd71d2c994', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-28T11:09:40.3466667' AS DateTime2), CAST(N'2018-09-04T22:33:56.5833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0053', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ee0b1f7f-b2bc-46e2-abf6-e16c6d791ec1', N'8e38cfe9-45f6-4f83-8602-50df0f8759ca', N'410f20e6-ad68-450b-9cf3-55da4793042c', N'1', NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2019-01-14T10:42:01.7797406' AS DateTime2), CAST(N'2019-01-14T10:42:01.7797406' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0047', NULL, NULL, 0, NULL, NULL, 0, NULL, N'data:image/jpeg;base64,[encoded data, 9960 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ee2e24d7-93f1-4642-9672-c126af7aa4c5', N'8c85f2c2-156f-4189-a0d9-3ce0668dc07b', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T16:36:17.1166667' AS DateTime2), CAST(N'2018-09-30T19:06:01.7533333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0351', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ee5142c4-14b8-480f-a138-f1a7985c6ec3', N'a23c3fbc-c20c-4257-aea1-517eeb096082', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-13T15:23:45.8312655' AS DateTime2), CAST(N'2018-10-13T15:37:09.9025948' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0006', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
GO
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f1d6be92-75bd-4d59-8583-b9e6f6d7df1d', N'a0461cdf-72d4-41c9-aa33-cc9ee6d9a862', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T12:26:35.4300000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0172', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f253682d-6adc-4661-b133-62ba078575b5', N'6fa54761-e388-450f-a9c3-f395028e54be', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'2', NULL, 0, CAST(N'2019-01-16T14:00:12.2249155' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 58154, 0, 101, CAST(N'2019-01-16T12:40:10.8903524' AS DateTime2), CAST(N'2019-01-16T14:00:12.2269123' AS DateTime2), NULL, 55709, 0, NULL, 0, N'NCINV0050', NULL, NULL, 0, NULL, NULL, 58154, NULL, N'data:image/jpeg;base64,[encoded data, 9956 characters]')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f2724c66-005f-4357-b7a5-3ab67b54cea0', N'84a5ad02-0160-41e6-8b05-234e75bb8832', N'aa1bef3d-ea7c-404a-9d19-2347fcd8fad9', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-16T17:21:30.3100000' AS DateTime2), CAST(N'2018-09-04T22:33:56.5866667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0015', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f5a97a93-edd6-4cdb-aaaf-a657c1f9a65a', N'82672c9b-a004-417f-8675-d8a14c0e9d10', N'597236ef-a15e-49b2-a06d-8b4b63e50446', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T17:01:05.0200000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0112', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f5baa34e-44a3-4ba1-b2db-caea76b0ef35', N'2cd56c44-4c3e-4f9c-865d-d4ad3b921efb', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-29T18:20:26.9400000' AS DateTime2), CAST(N'2018-09-04T22:33:56.6300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0064', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f65421a4-83f2-4832-a4b9-07590239d852', N'7c844a4f-25dc-49b2-a768-39d29e0e54d0', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T12:36:53.0433333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9800000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0110', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f67fbe0b-1d75-4aa8-8735-7a354fc8e115', N'f555a75e-4431-4db6-90f3-2e7da103a061', N'cbfa4e4e-2fdf-48c7-9b94-e4712cf1f267', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T11:14:07.6600000' AS DateTime2), CAST(N'2018-09-04T22:33:56.6300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0036', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f6b0ccfa-c098-4790-aefc-1354aca6b85c', N'0a2d3662-18c2-4e79-8f6e-2b059cd40a23', N'3e6c7598-b4d4-453d-97fa-1de3da9ac873', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-31T12:56:53.4566667' AS DateTime2), CAST(N'2018-09-04T22:21:08.9833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0173', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f6c3a9a2-6d17-4da9-9329-986603a06d31', N'0962a39a-85ef-4a83-aa73-83140fe7c2e4', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T12:32:48.8433333' AS DateTime2), CAST(N'2018-09-28T13:02:39.2700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0349', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'f837df36-adff-43ca-accb-28a896247894', N'8959addd-cdf1-4562-8251-5504637faa7d', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T14:36:23.8500000' AS DateTime2), CAST(N'2018-09-04T22:33:56.6300000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0038', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fa4cba6c-82c7-414b-87ef-9c71bd43b81d', N'99699c6d-af32-466d-bc6e-0cb999360930', N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-28T10:31:12.9333333' AS DateTime2), CAST(N'2018-09-04T22:21:08.9833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0158', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fa8dc598-368c-4422-9d75-5e7347ee3ffd', N'25c2bcbf-b414-49a0-8f2b-26c0cc28bb67', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-26T23:24:08.8300000' AS DateTime2), CAST(N'2018-09-27T09:49:05.2166667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0332', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fab7d9f4-2959-44eb-851b-a42769081dbb', N'37c903c0-7996-4e80-aef8-a887d7fda6ed', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, NULL, 0, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, 0, 0, 0, 0, 101, CAST(N'2018-10-13T11:22:55.8032809' AS DateTime2), CAST(N'2018-10-13T11:23:28.3581692' AS DateTime2), NULL, 0, 0, NULL, 0, N'NCINV0004', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fab910a9-ee84-4d51-ab18-3303f3378884', N'ccbbe0b6-5e7a-43d5-8eeb-6731b0845a45', N'45c6d504-e6fb-4da1-9454-92195a3dba94', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-28T10:38:52.7533333' AS DateTime2), CAST(N'2018-09-28T13:02:39.2700000' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0345', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fc9cde7e-a514-4c51-8fb6-6f74b396fa26', N'285af3ed-09bf-45f5-aba1-10e7d15abfe1', N'7a432ef3-78e3-4091-811b-11fc802fb981', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-08-10T13:01:54.0100000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9833333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0111', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'fe947f42-40a4-4979-901b-ff197740dc60', N'6e453ae8-8e11-4ff2-9486-3e18acf575e4', N'24a50fd4-8d08-41d3-94e5-be95c9e77925', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-09-04T15:24:06.1400000' AS DateTime2), CAST(N'2018-09-04T22:21:08.9866667' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0194', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[Invoice] ([Id], [PatientId], [AssignedDoctorId], [AdmissionPurposeId], [InformerId], [IsDischarged], [DischargeDateTime], [HospitalId], [Discount], [Vat], [Less], [SubTotal], [ReceivedAmount], [Status], [CreatedTime], [UpdatedTime], [EmergencyDescription], [EmergencyAmount], [ServiceAmount], [AdmissionPurpose], [AdmissionFee], [Code], [ServiceDescription], [ReferralId], [ReferralCharge], [VatInTk], [LessInTk], [Due], [Comment], [BarCodeImageUrl]) VALUES (N'ff0ebd31-f7bc-498c-b664-2e56792867c1', N'eef9e5a5-7d39-467f-808b-883d6b5c855c', N'7aea2b0b-c196-4bd2-b220-d9be9dee7688', NULL, NULL, 0, CAST(N'1753-01-01T00:00:00.0000000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, 0, 0, 0, 0, 101, CAST(N'2018-07-25T15:23:27.8866667' AS DateTime2), CAST(N'2018-09-04T22:33:56.6333333' AS DateTime2), NULL, 0, 0, NULL, 0, N'RINV0040', NULL, NULL, 0, NULL, NULL, NULL, N'na', N'NA')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'0533bd36-d2ff-4483-bcc8-beb99f20e9b7', N'6d5275c3-14d6-402f-a25a-be761fa0a549', 6666, N'5caf9b46-0692-44d5-9db5-83167874482b', 10, CAST(N'2018-12-10T15:44:33.6074620' AS DateTime2), CAST(N'2018-12-10T15:44:33.6074620' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-12-2018 03:29 PM', N'20-12-2018 03:29 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'056185fa-5b0d-427b-82e1-b989f9c3e92d', N'07154479-e676-4264-bc19-36f5b01b43e7', 600, N'edc612c7-f5be-48d0-8336-722f89e012db', 1, CAST(N'2018-09-30T12:02:25.6800000' AS DateTime2), CAST(N'2018-09-30T19:06:02.1233333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'0a085dd4-dd34-46f2-80ea-d6c6869e875e', N'b6700e30-ea31-4a50-8373-7f1e7b9ada28', 900, N'12ed8d77-01eb-4a03-9387-9ee813312b62', 1, CAST(N'2018-07-12T11:27:17.5233333' AS DateTime2), CAST(N'2018-09-04T22:21:09.9566667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'0cc85d6b-cf93-43ac-982f-34482a5ccf71', N'abb18202-7f6f-4a1b-86a2-5bcf1da3d8a7', 500, N'a6a7ae96-e561-4998-b26e-bd211be7b614', 3, CAST(N'2019-02-16T17:02:10.4943798' AS DateTime2), CAST(N'2019-02-16T17:03:00.9655700' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 1, N'16-02-2019 05:02 PM', N'19-02-2019 05:02 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'0d684dfc-286a-4fff-8fdb-e293a5c3cbdc', N'db567732-85c2-4b3c-9714-229ea8201322', 1000, N'c29d8646-1843-4bdd-a681-bafa74915245', 1, CAST(N'2018-07-16T14:18:55.5866667' AS DateTime2), CAST(N'2018-09-04T22:33:57.0133333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'0f05f59f-caed-4ddc-b56b-7495c5d391ad', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 240, N'482734f1-de3b-4574-9ed3-4251a1f2af3a', 13, CAST(N'2019-01-10T16:22:31.0088463' AS DateTime2), CAST(N'2019-01-10T16:34:20.1485113' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 1, N'10-01-2019 04:22 PM', N'23-01-2019 04:22 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'12187121-57fe-4d3f-a696-46a4dbb05692', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 20, N'482734f1-de3b-4574-9ed3-4251a1f2af3a', 14, CAST(N'2019-01-10T16:35:06.3067418' AS DateTime2), CAST(N'2019-01-10T16:52:22.9383897' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-01-2019 04:34 PM', N'24-01-2019 04:34 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'1363698b-4244-4084-b78d-fdc91c6ce162', N'83281dd4-5998-4b90-bd4f-ad30ae28cfa6', 454, N'b42f3ca0-ab55-431c-907e-ad18e7a538d1', 7, CAST(N'2018-12-20T12:55:35.0496670' AS DateTime2), CAST(N'2018-12-20T12:55:35.0496670' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'28-12-2018 12:55 PM', N'04-01-2019 12:55 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'19042848-4a6a-47d2-963f-8af2f2f3cd6c', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 234, N'6b2520ac-10e5-485f-8311-54a6d317551e', 11, CAST(N'2019-01-10T16:52:53.8106765' AS DateTime2), CAST(N'2019-01-10T16:54:36.6272760' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-01-2019 04:52 PM', N'21-01-2019 04:52 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'1eed23c3-11d3-475b-9fb8-dc66250e8028', N'16bc03aa-d22d-4e2d-b340-064db2437f49', 122, N'b7b76f46-80b2-4343-a6fe-ea2c2084ad4d', 4, CAST(N'2018-12-15T11:42:40.5392474' AS DateTime2), CAST(N'2018-12-15T11:42:40.5392474' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'15-12-2018 11:41 AM', N'19-12-2018 11:41 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'2a770d2a-1705-4006-8f0c-b10dbd5af688', N'e6624887-bd62-42d3-91a8-8f889f574460', 600, N'2f8f8965-887f-427d-85ff-bbb8b8738b54', 1, CAST(N'2018-09-13T12:54:17.3100000' AS DateTime2), CAST(N'2018-09-17T21:41:14.4766667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'2c5a9281-03e5-410a-b6dd-03a2ac02ce48', N'3c7769fe-7bec-4997-a30d-38dfeb312bef', 2000, N'bd6381e9-9f9a-489a-95af-82f55991ba31', 1, CAST(N'2018-08-15T19:50:31.1933333' AS DateTime2), CAST(N'2018-09-04T22:21:09.9600000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'308757f3-59e7-49f6-bf14-f64514863365', N'2285205f-910f-44e6-98f1-beb4aae1cf72', 600, N'19336bfa-9783-4584-b122-c7a2ddd9abc4', 1, CAST(N'2018-09-17T19:59:20.3233333' AS DateTime2), CAST(N'2018-09-17T21:41:14.4766667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'31184ac4-9d75-403a-b197-58b718e4fb61', N'09b06f49-7e35-4be5-a35f-370941ea93e4', 2500, N'daab8179-7435-460b-8291-b29588a8ef9c', 5, CAST(N'2018-10-08T16:13:41.3482269' AS DateTime2), CAST(N'2018-10-08T16:13:41.3482269' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'329905ac-cfa9-4695-96e0-bdb2b164b2a1', N'6e5e53c4-0eef-4bf1-8a43-0c66ed20a098', 1500, N'a284e82a-70b7-4669-a727-1302cddcbce3', 1, CAST(N'2018-07-11T02:12:50.3433333' AS DateTime2), CAST(N'2018-09-04T22:33:57.0166667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'3925c5a3-8ddb-4812-9380-e7edfd9e972f', N'6d5275c3-14d6-402f-a25a-be761fa0a549', 44, N'64ec1329-7f9c-4798-b292-e0329ce6a0af', 10, CAST(N'2018-12-10T10:50:38.0736474' AS DateTime2), CAST(N'2018-12-10T10:50:38.0736474' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-12-2018 10:50 AM', N'20-12-2018 10:50 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'3a76d003-d6ec-45a7-bbcf-8c513a748c97', N'13c7f850-bbad-496b-a304-64cdd2292055', 600, N'3f78f22e-6d3f-41e0-b467-8b71abb28469', 1, CAST(N'2018-08-29T21:43:03.6466667' AS DateTime2), CAST(N'2018-09-04T22:21:09.9633333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'3b43182c-e062-4334-a5d1-2d357e171795', N'5a20044c-f7cc-43f8-a3c2-5a2651659ca0', 1200, N'0eefcc45-83a7-4ae3-bc8d-312a2626b4fd', 1, CAST(N'2018-08-15T20:11:31.2533333' AS DateTime2), CAST(N'2018-09-04T22:21:09.9666667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'40e05476-7432-43e2-b13e-7d9047020469', N'd1039f90-a091-4ef6-ae6f-5c88d88c8fad', 500, N'a6a7ae96-e561-4998-b26e-bd211be7b614', 6, CAST(N'2019-02-22T22:49:54.1090732' AS DateTime2), CAST(N'2019-02-22T22:49:54.1090732' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'22-02-2019 10:49 PM', N'28-02-2019 10:49 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'423d659d-8aa4-43bd-9b30-4aeb99ba79e1', N'70afae7b-afd9-4f64-8a45-1625777f44e8', 600, N'2f8f8965-887f-427d-85ff-bbb8b8738b54', 1, CAST(N'2018-09-19T10:56:51.5900000' AS DateTime2), CAST(N'2018-09-21T09:41:10.5633333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 0, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'48a8dabe-877e-494c-bfb3-1419c4f685a8', N'9c0c25c5-11fc-4a52-a928-6cfebda17d20', 500, N'475b82a6-10e3-48be-bd74-78e47e7df79c', 8, CAST(N'2018-12-20T13:31:11.6828393' AS DateTime2), CAST(N'2018-12-20T13:31:11.6828393' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'20-12-2018 01:30 PM', N'28-12-2018 01:30 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'4c3bf62a-3c8c-4c40-a865-235079fcc12e', N'188a3e11-6a03-499b-ab0c-9d7e5bc77eb5', 2100, N'ae44b731-8d01-497c-a1af-009691360a93', 3, CAST(N'2018-07-28T12:30:01.9433333' AS DateTime2), CAST(N'2018-09-04T22:21:09.9666667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'62f8bd97-a539-40b9-99ef-ad2733131d46', N'977b0627-f8c7-411c-aa0f-972c945a0655', 1800, N'26aa3c18-8ce0-47e3-b1b1-f8a7ec24b76e', 3, CAST(N'2018-09-04T12:05:11.6400000' AS DateTime2), CAST(N'2018-09-04T22:21:09.9666667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'69950b3a-0a2d-4896-8ef9-a79fd90f6b83', N'6e5e53c4-0eef-4bf1-8a43-0c66ed20a098', 700, N'2f8f8965-887f-427d-85ff-bbb8b8738b54', 1, CAST(N'2018-07-11T02:12:10.6533333' AS DateTime2), CAST(N'2018-09-04T22:33:57.0166667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'6a096aed-abfe-4293-a438-d2d56406bd3d', N'2dea13d0-bea8-41c9-8442-93148a2818c1', 454, N'6de2338e-66c3-4c38-b211-b4c2126e992d', 1, CAST(N'2018-12-25T16:29:07.5563930' AS DateTime2), CAST(N'2018-12-25T16:29:07.5563930' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'25-12-2018 04:26 PM', N'26-12-2018 04:26 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'6d21a3f5-f893-4b3d-bf1d-876d6ce2e62c', N'fa4cba6c-82c7-414b-87ef-9c71bd43b81d', 600, N'edc612c7-f5be-48d0-8336-722f89e012db', 1, CAST(N'2018-08-28T10:31:32.1533333' AS DateTime2), CAST(N'2018-09-04T22:21:09.9700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'70073654-9647-4dec-b711-772c95ef60b8', N'ace96277-8fcd-46aa-b198-ddcecba2182b', 600, N'fe977e75-56ec-4b9f-8bdf-be7a35436324', 1, CAST(N'2018-08-28T09:57:05.9300000' AS DateTime2), CAST(N'2018-09-04T22:21:09.9700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'7435596a-47df-441f-9ecd-8cc909fb8330', N'7dae257e-be11-4a1a-ac50-a24ff4da3c98', 2340, N'29270df9-14e2-439c-afc6-7bc69b0d64b3', 28, CAST(N'2019-01-12T09:29:01.6533213' AS DateTime2), CAST(N'2019-01-12T09:29:44.1072066' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'02-01-2019 09:28 AM', N'30-01-2019 09:28 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'7880df2f-6e60-4ade-8faa-ea0305302552', N'83281dd4-5998-4b90-bd4f-ad30ae28cfa6', 6666, N'99312b97-7303-4302-b7a2-2bc2b3599d15', 8, CAST(N'2018-12-20T12:50:04.3763567' AS DateTime2), CAST(N'2018-12-20T12:50:04.3763567' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'20-12-2018 12:49 PM', N'28-12-2018 12:49 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'7a63d330-e3d0-4e17-8526-e48c105b2fea', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 6750, N'6e2e6139-d06c-4223-b509-fa8b5c693605', 12, CAST(N'2019-01-10T12:14:09.3939543' AS DateTime2), CAST(N'2019-01-10T16:34:18.4510421' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 1, N'10-01-2019 12:14 PM', N'22-01-2019 12:10 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'8329cdef-396c-4cde-9d25-a41c2de581e0', N'59e64938-4e85-4628-95ed-ec4075a2cd07', 1200, N'c42e99b0-ee7b-4df8-9b73-a9823d8a02e2', 1, CAST(N'2018-09-05T11:17:35.1000000' AS DateTime2), CAST(N'2018-09-17T21:41:14.4800000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'84a2fe5d-98d9-46a7-a7dc-256064759838', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 500, N'6b60ce02-7182-46f5-8d60-f48530380ee2', 12, CAST(N'2019-01-10T16:53:17.1660911' AS DateTime2), CAST(N'2019-01-10T16:53:17.1660911' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-01-2019 04:53 PM', N'22-01-2019 04:53 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'8ede69bb-2cdb-4228-b89f-2653c9195561', N'86369ff8-4d85-4b08-8b42-7ba206964d7a', 700, N'0c4b2e28-4854-4eea-b624-3368e3c66d7c', 1, CAST(N'2018-07-11T02:09:16.2166667' AS DateTime2), CAST(N'2018-09-04T22:33:57.0066667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'917b720e-ce1c-4342-bbb3-3fe1e105c918', N'ebce39be-4d21-4251-835d-2620dd8fe8aa', 454, N'bb066411-eebe-4f02-8979-e56e69def4de', 2, CAST(N'2018-12-20T13:28:07.9656030' AS DateTime2), CAST(N'2018-12-20T13:28:07.9656030' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'20-12-2018 01:27 PM', N'22-12-2018 01:27 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'9c3785ec-c1dc-4def-a5e6-610b5df63bc9', N'2b6ed73b-13d0-4dc9-ab63-45754e433d28', 1200, N'c42e99b0-ee7b-4df8-9b73-a9823d8a02e2', 1, CAST(N'2018-08-15T20:18:23.1266667' AS DateTime2), CAST(N'2018-09-04T22:21:09.9700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'9fc5fab7-4f12-44f7-84f4-b09d4c454d60', N'adbfcac5-a317-434c-92bd-d3b3d62f3aeb', 6666, N'a6e78a84-88fa-4b04-89e6-475466f31f7f', 20, CAST(N'2019-01-10T12:01:30.9469866' AS DateTime2), CAST(N'2019-01-10T12:03:06.7871574' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 1, N'10-01-2019 11:58 AM', N'10-01-2019 11:58 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'a022ed32-ba22-4fe9-bcdd-ec07019a0598', N'94ac00bf-4246-452b-93e3-fc3e1e469fc3', 1200, N'0eefcc45-83a7-4ae3-bc8d-312a2626b4fd', 1, CAST(N'2018-08-15T11:09:12.6400000' AS DateTime2), CAST(N'2018-09-04T22:21:09.9700000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'a2f500b0-0259-4aa6-8eb2-c287613ef5c5', N'7dae257e-be11-4a1a-ac50-a24ff4da3c98', 6750, N'6e2e6139-d06c-4223-b509-fa8b5c693605', 3, CAST(N'2019-01-12T09:29:14.8900543' AS DateTime2), CAST(N'2019-01-12T09:29:14.8900543' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'12-01-2019 09:29 AM', N'15-01-2019 09:29 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'a755bc71-f6e1-49a9-9652-21156a5a8fb5', N'b165f658-f1e5-4e8d-902c-61e20171ec3c', 600, N'c78daaf8-c0eb-4ae8-9665-78ce8754f191', 1, CAST(N'2018-09-01T10:22:42.9266667' AS DateTime2), CAST(N'2018-09-04T22:21:09.9633333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'a98e386e-6d90-4673-8b7d-6b94535a7a66', N'3185ec7e-59f6-4fdc-b1ff-b0d47865fd59', 23, N'6b46c772-bc92-4ecf-ba2c-043f40420544', 8, CAST(N'2018-12-13T15:32:46.4656267' AS DateTime2), CAST(N'2018-12-13T15:32:46.4656267' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'13-12-2018 03:31 PM', N'21-12-2018 03:31 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'bc4711d1-9026-478e-a1c1-e8d5a7f4b338', N'0c6f2449-2e4f-489d-8372-860af4eabf75', 6666, N'6a86e9c2-1350-49d7-b625-56074151e8bb', 3, CAST(N'2018-12-26T08:08:36.6508616' AS DateTime2), CAST(N'2018-12-26T08:08:36.6508616' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'26-12-2018 08:07 AM', N'29-12-2018 08:07 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'c1e50c20-8a62-4f49-908f-70431db7b88d', N'8855a871-664f-41ca-93c5-f86e02fb7af7', 2000, N'bd6381e9-9f9a-489a-95af-82f55991ba31', 1, CAST(N'2018-09-11T10:30:58.7933333' AS DateTime2), CAST(N'2018-09-17T21:41:14.4800000' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'c580ea45-72b6-475d-a638-61ab6f242a17', N'ee0b1f7f-b2bc-46e2-abf6-e16c6d791ec1', 5656, N'c2dbb0fa-ea94-4204-bac5-7f5c2bf266f9', 2, CAST(N'2019-01-14T10:42:31.0301288' AS DateTime2), CAST(N'2019-01-14T10:42:31.0301288' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'14-01-2019 10:42 AM', N'16-01-2019 10:42 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'c9338451-e90b-4e42-8c8d-12c014cf0f22', N'1ce88068-715e-4f19-ae10-359b74d0d4a9', 700, N'16088419-afb9-424e-bffd-7963b3b8adaa', 1, CAST(N'2018-07-16T14:09:01.9166667' AS DateTime2), CAST(N'2018-09-04T22:21:09.9633333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'ca1bfb77-8390-477a-8198-4df1ef76aae2', N'bb6797bb-6fd2-464b-8880-539b58f95590', 600, N'4027fc70-a71d-4faa-9506-6b9f4dbb0cd8', 1, CAST(N'2018-09-01T10:15:26.4300000' AS DateTime2), CAST(N'2018-09-04T22:21:09.9666667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'ca9e763b-3a8c-4f05-9eb4-3b2556acdc6a', N'c6106e28-4437-433a-8377-f893f2828c79', 600, N'e6074bec-b2ee-40a9-bc95-6b111e57db5a', 1, CAST(N'2018-09-09T12:18:28.2233333' AS DateTime2), CAST(N'2018-09-17T21:41:14.4833333' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'd39bb051-7dc7-41b3-a0f1-78581e3c62f6', N'6d5275c3-14d6-402f-a25a-be761fa0a549', 454, N'6f3f528b-28c9-498f-804f-3e0c0eebc508', 11, CAST(N'2018-12-10T11:05:49.8434561' AS DateTime2), CAST(N'2018-12-10T11:05:49.8434561' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'10-12-2018 11:05 AM', N'21-12-2018 11:05 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'd4d11868-b0ad-4e20-beab-79bb95e9c525', N'5838675e-5bcb-4ab8-9d6c-c8218890965a', 6666, N'e67b4f75-474e-49e0-a103-8496d949b4e5', 19, CAST(N'2019-01-09T11:36:03.6269613' AS DateTime2), CAST(N'2019-01-09T11:36:03.6269613' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'09-01-2019 11:35 AM', N'28-01-2019 11:35 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'e08a5d39-d5d6-4c14-89c5-1fd61e2cc672', N'e442f9c5-c767-48c4-a0e9-983012f4bb00', 6666, N'32c950bd-076d-43c7-bbaa-1a14dc18d78d', 8, CAST(N'2018-12-20T15:11:13.0505435' AS DateTime2), CAST(N'2018-12-20T15:11:13.0505435' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'20-12-2018 03:10 PM', N'28-12-2018 03:10 PM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'efb706d5-f484-4fb1-880e-8165f13c8cd0', N'54863b24-e825-429a-9631-211c636d6bd2', 240, N'8834dc85-76fc-4cf1-a2ad-16353b805153', 1, CAST(N'2019-01-16T12:00:45.9390928' AS DateTime2), CAST(N'2019-01-16T12:00:45.9390928' AS DateTime2), N'ef1e120e-4fb9-43fe-890b-47c309427a7e', 0, N'15-01-2019 11:59 AM', N'16-01-2019 11:59 AM')
INSERT [dbo].[InvoiceBed] ([Id], [InvoiceId], [Charge], [BedId], [NumberOfDays], [CreatedTime], [UpdatedTime], [HospitalId], [IsReleased], [StartDate], [EndDate]) VALUES (N'f91fe273-67d0-49f8-9fe5-3c263fa92ec5', N'e78e06d0-9214-494a-babf-04d5e7c79540', 600, N'edc612c7-f5be-48d0-8336-722f89e012db', 1, CAST(N'2018-09-28T12:51:51.1033333' AS DateTime2), CAST(N'2018-09-30T19:06:02.1266667' AS DateTime2), N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', 1, NULL, NULL)
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'003042e8-1731-43ad-a3cd-906998b3e07d', N'NOTASSIGNED', CAST(N'2018-12-05T16:07:49.8600883' AS DateTime2), 100, 0, 39.06, 512, 213, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'no comment', 0, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 102, CAST(N'2018-12-05T16:07:49.8740832' AS DateTime2), CAST(N'2018-12-06T10:03:47.6079084' AS DateTime2), N'NCDG0066', N'HospitalOnly', 0, N'fc9e99df-6a93-4a66-b9a9-1fdf9a95db73', 199.99, 0, N'08 : 10 : AM', CAST(N'2018-05-19T00: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'0097caf9-c606-4073-a76a-2ffd99a9f436', N'2b47de34-12dd-4b73-8a9f-c96c741f5cd8', CAST(N'2018-09-22T11:01:35.6266667' AS DateTime2), 0, 0, 800, 2400, 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-22T11:01:35.6266667' AS DateTime2), CAST(N'2018-09-28T10:15:52.0933333' AS DateTime2), N'RDG0326', 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'0153a19d-b1c1-4923-b1f7-f133bc5cd9ec', N'6bbc25e1-a7ae-4780-9d70-ecff52ddcc29', CAST(N'2018-08-18T12:25:10.1766667' 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:25:10.1933333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7000000' AS DateTime2), N'RDG0166', 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'01742239-632f-4455-8f21-a6e5fde60fd1', N'NOTASSIGNED', CAST(N'2019-01-17T09:32:56.6287669' AS DateTime2), 0, 0, 0, 1457, 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-17T09:32:56.9286611' AS DateTime2), CAST(N'2019-01-19T13:54:10.6598216' AS DateTime2), N'NCDG0104', N'HospitalOnly', 1457, N'b031dede-97b5-45a6-80e2-6770c763aa9c', 0, 0, N'12 : 10 : AM', NULL, 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'01bee957-73f0-4edd-bc0e-b6f630627b6c', N'd7d76c72-f79d-425e-a2ca-88d50ea9e6f3', CAST(N'2018-07-29T11:35:21.2300000' AS DateTime2), 0, 0, 200, 2200, 2000, 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-29T11:35:21.3700000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4666667' AS DateTime2), N'RDG0077', 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'02581d5d-e2a1-45e9-b4c4-36f1102a9f4a', N'NOTASSIGNED', CAST(N'2018-12-05T12:30:58.5260082' AS DateTime2), 0, 0, 0, 955, 955, 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'2018-12-05T12:30:58.5829589' AS DateTime2), CAST(N'2018-12-06T13:19:34.6308438' AS DateTime2), N'NCDG0065', N'HospitalOnly', 0, N'7135188e-186c-451d-8930-48c3820b75d8', 0, 0, N'09 : 04 : AM', CAST(N'2006-05-30T00: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'02a0bc61-fe04-4dab-a57c-673eaf1a8fea', N'NOTASSIGNED', CAST(N'2019-02-22T22:34:49.0666970' AS DateTime2), 0, 0, 10, 10124, 1010, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', N'ddddddddddddddd', 0, N'Doctor', N'bb6d3d69-74b2-4218-b563-49d01cfbe205', NULL, 101, CAST(N'2019-02-22T22:34:49.1956179' AS DateTime2), CAST(N'2019-02-22T22:42:42.6482872' AS DateTime2), N'NCDG0119', N'HospitalOnly', 8101, N'c42910ee-e54b-43ec-9268-2c6469373d6c', 1012.4, 0, N'12 : 10 : AM', CAST(N'2019-02-22T00: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'03f3a52f-eff1-4fa8-ae16-0e11b72c4974', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T11:04: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:04:27.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4700000' AS DateTime2), N'RDG0002', 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'0576cef5-55fc-4222-8415-89c08fc55ff6', N'e5024391-82fd-4508-9f69-12e047eedc8e', CAST(N'2018-09-22T12:25:33.5166667' AS DateTime2), 0, 0, 0, 400, 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-22T12:25:33.5166667' AS DateTime2), CAST(N'2018-09-25T10:03:15.8666667' AS DateTime2), N'RDG0328', 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'069a117d-593b-49f4-ae36-961d9b5fe154', N'c590ea42-82f7-4347-a66c-86542ed1b87d', CAST(N'2018-09-25T10:48:48.2333333' AS DateTime2), 0, 0, 50, 550, 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-25T10:48:48.2466667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1033333' AS DateTime2), N'RDG0343', 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'06a3ddcf-f02a-4fff-b171-13b42c093c81', N'6c056c80-8225-4edb-a07a-69ca4db0296a', CAST(N'2018-07-20T12:22:06.6800000' AS DateTime2), 800, 0, 0, 800, 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-20T12:22:06.6800000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4700000' AS DateTime2), N'RDG0044', 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'06c1d88b-09d3-4276-903c-66a7e754bdc2', N'6dfed4c2-6ec5-477d-b39e-dc0a700dadf1', CAST(N'2018-07-27T09:52:13.1466667' AS DateTime2), 0, 0, 0, 800, 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-07-27T09:52:13.1600000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4733333' AS DateTime2), N'RDG0062', 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'07291096-4e2d-498f-8ee7-fb2c8f71262b', N'55e39262-4b80-4d6d-9d6e-a78df23d9e8a', CAST(N'2018-09-12T16:47:38.5533333' AS DateTime2), 0, 0, 100, 2400, 2300, 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-12T16:47:38.5700000' AS DateTime2), CAST(N'2018-09-13T17:23:39.7933333' AS DateTime2), N'RDG0267', 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'07b0a605-8a3d-40d3-9f5d-cfcfc5cc2850', N'addf01ae-4946-42cf-a80b-eaad07f189d2', CAST(N'2018-09-13T22:08:28.2266667' AS DateTime2), 0, 0, 0, 600, 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-13T22:08:28.2266667' AS DateTime2), CAST(N'2018-09-14T09:53:59.5233333' AS DateTime2), N'RDG0273', 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'08214eb5-b3ba-44c3-8e2a-63016a90a256', N'826444dd-0504-4f13-83ac-7b0fb0b657f8', CAST(N'2018-09-17T20:14:05.5566667' AS DateTime2), 1000, 0, 0, 1400, 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-17T20:14:05.5566667' AS DateTime2), CAST(N'2018-09-17T21:41:14.8966667' AS DateTime2), N'RDG0308', 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'0858d559-451b-4578-a003-c905fe560de7', N'NOTASSIGNED', CAST(N'2019-01-19T11:29:20.2465441' AS DateTime2), 0, 0, 13.04, 1150, 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-01-19T11:29:20.2545392' AS DateTime2), CAST(N'2019-01-19T13:47:26.9630070' AS DateTime2), N'NCDG0106', N'HospitalOnly', 1000, N'046cac5d-197d-40a9-997c-4e672bf13115', 150, 0, N'12 : 10 : AM', CAST(N'2019-01-19T00:00:00.0000000' AS DateTime2), N'data:image/jpeg;base64,[encoded data, 9272 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'08fdbbb1-2fdf-4fea-9f19-e48e62bcf2d6', N'a049aab2-4809-4685-9dbc-0594d80c9c39', CAST(N'2018-09-24T14:10:32.0500000' AS DateTime2), 0, 0, 0, 1450, 1450, 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-24T14:10:32.0666667' AS DateTime2), CAST(N'2018-09-25T10:03:15.8700000' AS DateTime2), N'RDG0340', 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'098939df-ff53-494f-a90a-dd04bc6397bc', N'4f8ac9eb-79d1-4649-a127-d4a5252ede69', CAST(N'2018-09-07T11:02:36.1266667' 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-07T11:02:36.1433333' AS DateTime2), CAST(N'2018-09-08T11:15:28.8866667' AS DateTime2), N'RDG0234', 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'0a3797d0-4678-4d57-a1e7-0a1fbfd2403f', N'bb6797bb-6fd2-464b-8880-539b58f95590', CAST(N'2018-09-01T10:15:48.6966667' AS DateTime2), 0, 0, 2050, 2050, 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-09-01T10:15:48.6966667' AS DateTime2), CAST(N'2018-09-04T22:21:10.7033333' AS DateTime2), N'RDG0191', 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'0ac3be51-ffc9-40ba-bda6-d6e87fb75c8d', N'81855f1c-46a9-4bbd-af27-e40f449f16c7', CAST(N'2018-09-26T21:29:00.9033333' AS DateTime2), 0, 0, 480, 1600, 1120, 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-26T21:29:00.9200000' AS DateTime2), CAST(N'2018-09-28T10:15:52.1066667' AS DateTime2), N'RDG0351', 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'0ac44004-48bb-4130-9406-e13dfbeb1b62', N'6567c695-78d9-43f2-ae83-f47b1d4df681', CAST(N'2018-09-18T21:34:23.3900000' AS DateTime2), 0, 0, 200, 900, 700, 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-18T21:34:23.3900000' AS DateTime2), CAST(N'2018-09-19T10:36:13.8500000' AS DateTime2), N'RDG0316', 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'0c2694e1-0cca-4197-8c0c-2fd99be84878', N'28717eca-5303-4d38-a4a7-a297564d4980', CAST(N'2018-09-14T11:09:09.1066667' 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-14T11:09:09.1066667' AS DateTime2), CAST(N'2018-09-16T12:50:43.2533333' AS DateTime2), N'RDG0275', 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'10e0de49-e711-4237-a7aa-500e5d4e33d4', N'37bf64b7-9eda-4398-85ee-bd0ab8afc5ca', CAST(N'2018-09-10T20:45:21.6566667' 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-10T20:45:21.6566667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7333333' AS DateTime2), N'RDG0257', 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'11c556d7-8a75-4303-990d-2a7f0ad183b3', N'4e32108b-15fe-4992-a39b-3e6224ad307a', CAST(N'2018-08-09T12:33:24.7366667' 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-08-09T12:33:24.7500000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7033333' AS DateTime2), N'RDG0122', 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'11ca0974-d897-47ae-9180-66b70ae11df1', N'NOTASSIGNED', CAST(N'2018-12-24T13:50:33.1324358' AS DateTime2), 0, 0, 10, 1077, 969, 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:50:33.1434282' AS DateTime2), CAST(N'2018-12-24T13:51:12.6926484' AS DateTime2), N'NCDG0077', N'HospitalOnly', 0, N'66e80012-013c-4b2d-842a-31c197e11a47', 107.7, 0, N'02 : 03 : PM', CAST(N'2018-12-24T00: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'12507f8f-3cdb-4750-8e3e-d343046ed308', N'c2a3d785-de49-419b-b03e-e29f127e72b5', CAST(N'2018-09-18T18:19:18.2500000' AS DateTime2), 0, 0, 0, 1000, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'2cdd8ed7-b91b-4b31-8196-8e0b70d90852', NULL, 0, N'Doctor', N'2cdd8ed7-b91b-4b31-8196-8e0b70d90852', NULL, 101, CAST(N'2018-09-18T18:19:18.2500000' AS DateTime2), CAST(N'2018-09-19T10:36:13.8500000' AS DateTime2), N'RDG0314', 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'1251f7cd-a664-4e3c-9294-31db3d9cbbeb', N'025708d8-b827-49dc-86c0-6791345cbdc0', CAST(N'2018-07-14T00:17:08.5266667' 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, 101, CAST(N'2018-07-14T00:17:08.5266667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4733333' AS DateTime2), N'RDG0024', 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'12c8aef3-f9e4-43b5-9bef-1eaf52a18332', N'9ea1dbce-ebe5-4b96-8458-a8ee3bb0aeb4', CAST(N'2018-07-19T12:41:19.3500000' AS DateTime2), 0, 0, 400, 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-07-19T12:41:19.3633333' AS DateTime2), CAST(N'2018-09-04T22:33:57.4733333' AS DateTime2), N'RDG0036', 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'12f8809d-9d44-440a-a59b-46c487d26e4f', N'c799c525-bfe2-4cdb-a552-1e8814490fb3', CAST(N'2018-09-10T13:01:08.4700000' AS DateTime2), 0, 0, 100, 600, 500, 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-10T13:01:08.4866667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7366667' AS DateTime2), N'RDG0250', 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'13b94a79-ccbf-41b6-aaed-3c4c13554c2f', N'1d7d9e78-52ff-4f83-8ddd-cc23e6dd37cc', CAST(N'2018-07-27T17:21:49.1066667' AS DateTime2), 0, 0, 0, 350, 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-27T17:21:49.1066667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4766667' AS DateTime2), N'RDG0071', 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'143e7d25-7666-4e30-a268-bc2b1c1ef8a7', N'8929470e-4e46-4aad-9002-44dca778e96a', CAST(N'2018-09-12T12:20:44.3366667' AS DateTime2), 0, 0, 50, 650, 600, 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-12T12:20:44.3500000' AS DateTime2), CAST(N'2018-09-13T17:23:39.7966667' AS DateTime2), N'RDG0265', 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'14cffb68-96e5-4029-9d69-6cee4c8bb1fe', N'0a992ac1-62dd-4e97-addc-6b7005076829', CAST(N'2018-07-29T17:10:04.0066667' AS DateTime2), 0, 0, 0, 1500, 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-29T17:10:04.0066667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4833333' AS DateTime2), N'RDG0081', 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'1507e653-67f5-499f-a6fc-8b698531f398', N'2341e5fa-18e5-4e11-8816-bfec36072b80', CAST(N'2018-07-09T18:14:26.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:14:26.0000000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4833333' AS DateTime2), N'RDG0007', 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'15a731c0-16d0-4ab4-a55b-8352a17027fc', N'NOTASSIGNED', CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), 0, 0, 0, 1556, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'ss', 0, N'Doctor', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 101, CAST(N'0001-01-01T00:00:00.0000000' AS DateTime2), CAST(N'2018-11-19T15:21:12.9546947' AS DateTime2), N'NCDG0043', N'HospitalOnly', 1556, N'8efe8741-adce-4e98-9e56-82abe27dd4c7', 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'1603f529-5012-4943-8da4-29b71fdcee65', N'f65421a4-83f2-4832-a4b9-07590239d852', CAST(N'2018-08-10T12:36:53.1233333' AS DateTime2), 0, 0, 0, 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, 101, CAST(N'2018-08-10T12:36:53.1233333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0127', 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'1828810e-1cb2-40f5-9ade-3035ea0f5d02', N'fa8dc598-368c-4422-9d75-5e7347ee3ffd', CAST(N'2018-09-26T23:24:08.9700000' 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-26T23:24:08.9833333' AS DateTime2), CAST(N'2018-09-27T09:49:06.0400000' AS DateTime2), N'RDG0352', 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'18381010-f99a-4672-9c2f-03812d42de9d', N'173d754a-e4cd-4299-86bc-95a4f22bfdfc', CAST(N'2018-09-14T13:41:04.0433333' AS DateTime2), 0, 0, 200, 1200, 1000, 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-14T13:41:04.0433333' AS DateTime2), CAST(N'2018-09-16T12:50:43.2600000' AS DateTime2), N'RDG0284', 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'19023f0a-883e-43b7-a653-44c3a48f1ef0', N'0a3c4b05-3ac9-413f-8fdf-cfb47d2c72e8', CAST(N'2018-09-30T17:52:06.2000000' 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-30T17:52:06.2000000' AS DateTime2), CAST(N'2018-09-30T19:06:02.5000000' AS DateTime2), N'RDG0376', 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'192168f2-5f03-4d9d-a6e2-b5d846984dd6', N'1f6d0654-58e3-4932-a7cc-93707fdbcafd', CAST(N'2018-07-29T13:39:51.4466667' AS DateTime2), 0, 0, 0, 1400, 1400, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'3e6c7598-b4d4-453d-97fa-1de3da9ac873', NULL, 0, N'Doctor', N'3e6c7598-b4d4-453d-97fa-1de3da9ac873', NULL, 102, CAST(N'2018-07-29T13:39:51.4466667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4833333' AS DateTime2), N'RDG0078', 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'1937a579-9542-4745-afa7-3206a86bafb8', N'1cccb658-114a-4ddd-becc-04b08a4c8dd2', CAST(N'2018-09-14T17:40:49.1100000' 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-14T17:40:49.1100000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2600000' AS DateTime2), N'RDG0290', 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'19faa00d-4fa3-41e9-948e-722a7f566b7d', N'b3cdcbcd-1575-45c3-b135-c9e33ce6d4e2', CAST(N'2018-09-14T11:26:04.3700000' AS DateTime2), 0, 0, 400, 1150, 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-14T11:26:04.3700000' AS DateTime2), CAST(N'2018-09-16T12:50:43.2600000' AS DateTime2), N'RDG0277', 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'1a19f822-5eb2-4e98-8812-d474a95bf90d', N'025708d8-b827-49dc-86c0-6791345cbdc0', CAST(N'2018-07-14T00:17:08.0600000' AS DateTime2), 0, 0, 0, 3750, 3750, 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-07-14T00:17:08.0900000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4833333' AS DateTime2), N'RDG0023', 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'1ad990b9-ebb3-41fe-a996-dfbc99f40c29', N'b495803a-93fc-4140-8be0-6d3ed230a12c', CAST(N'2018-09-04T18:59:06.2766667' AS DateTime2), 0, 0, 600, 1800, 1200, 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-04T18:59:06.2766667' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0217', 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'1b4f30e1-d191-40f6-86d6-9a1abf6514be', N'4a286579-d45f-430f-bd95-1f775706fdb6', CAST(N'2018-09-30T15:24:04.5566667' AS DateTime2), 0, 0, 0, 200, 0, 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-30T15:24:04.5566667' AS DateTime2), CAST(N'2018-09-30T19:06:02.5033333' AS DateTime2), N'RDG0375', 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'1ba4c1b0-6155-4ca1-81e7-51aab80bc329', N'a5375c27-deba-4232-a1fb-756f9042b455', CAST(N'2018-09-26T14:40:11.2233333' 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-26T14:40:11.2233333' AS DateTime2), CAST(N'2018-09-27T09:49:06.0400000' AS DateTime2), N'RDG0350', 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'1bee162c-dfdd-4c12-a638-e404433bc0b8', N'a59f415e-29da-4177-8cf0-d6235ae37f30', CAST(N'2018-08-04T13:16:06.6233333' AS DateTime2), 0, 0, 0, 1000, 1000, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', NULL, 1000, N'Referrer', N'd37a2bb9-4f7e-4342-8e6b-dc49b4339cbd', N'95b82f5e-e170-495e-a68b-05cf1af9bd8c', 102, CAST(N'2018-08-04T13:16:06.6233333' AS DateTime2), CAST(N'2018-09-04T22:33:57.4866667' AS DateTime2), N'RDG0108', 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'1c26fc2e-b098-4ab3-9338-220c32515107', N'a775e694-4a5f-4de7-9dc4-37a174b38cf8', CAST(N'2018-07-20T11:14:54.9700000' AS DateTime2), 1000, 0, 250, 1250, 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:14:54.9866667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4866667' AS DateTime2), N'RDG0042', 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'1cd98184-4ec6-44c8-b946-5f9350a5c503', N'59e64938-4e85-4628-95ed-ec4075a2cd07', CAST(N'2018-09-05T11:17:55.2833333' AS DateTime2), 1000, 0, 350, 2400, 1050, 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-05T11:17:55.3000000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8866667' AS DateTime2), N'RDG0220', 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'1d6045a7-1375-41cd-a3b1-166e195225d2', N'NOTASSIGNED', CAST(N'2018-12-02T15:59:13.6226760' AS DateTime2), 0, 0, 10, 891, 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'2018-12-02T15:59:13.6286735' AS DateTime2), CAST(N'2018-12-03T11:26:13.5508621' AS DateTime2), N'NCDG0062', N'HospitalOnly', 801.9, N'6554828e-1760-430c-b8b0-e548f8a813cb', 89.1, 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'1d75bd3e-6e05-415b-af81-957c96a57686', N'NOTASSIGNED', CAST(N'2018-11-10T12:51:15.6392437' AS DateTime2), 678, 0, 0, 0, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'222', 12111111, N'Both', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-11-10T12:51:15.6462379' AS DateTime2), CAST(N'2018-11-11T16:08:57.9823770' AS DateTime2), N'NCDG0032', N'HospitalOnly', 0, N'1e7e5a89-1c6a-4c7a-bb14-c942d51cb815', 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'1d7e9ea2-f7ae-418b-a43d-762f94e11b7c', N'NOTASSIGNED', CAST(N'2019-01-05T15:22:02.6911667' AS DateTime2), 0, 0, 0, 873, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 0, N'Both', N'1fc95b60-c117-4163-b73d-37bd64d7fac8', N'cbf3c979-dbe4-47e7-85c5-1519eae5a5f9', 101, CAST(N'2019-01-05T15:22:02.7041591' AS DateTime2), CAST(N'2019-01-05T16:33:38.4128160' AS DateTime2), N'NCDG0082', N'HospitalOnly', 873, N'7612b59f-0033-4b06-89cb-cb0b412126f9', 0, 0, N'02 : 03 : PM', CAST(N'2019-01-05T00: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'1f2197fc-5fe9-4325-899d-994c9fd6ea75', N'dc1a2ce0-6318-4422-9ecc-8889dc8d00c4', CAST(N'2018-08-03T11:43:50.0833333' AS DateTime2), 0, 0, 50, 1250, 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, 102, CAST(N'2018-08-03T11:43:50.0966667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4866667' AS DateTime2), N'RDG0101', 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'1f910825-5cfd-4c87-b8eb-9356d7591e15', N'f5a97a93-edd6-4cdb-aaaf-a657c1f9a65a', CAST(N'2018-08-10T17:01:05.1433333' AS DateTime2), 0, 0, 0, 1000, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'597236ef-a15e-49b2-a06d-8b4b63e50446', NULL, 0, N'Doctor', N'597236ef-a15e-49b2-a06d-8b4b63e50446', NULL, 101, CAST(N'2018-08-10T17:01:05.1433333' AS DateTime2), CAST(N'2018-09-04T22:21:10.7066667' AS DateTime2), N'RDG0131', 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'206259c6-b52e-4cb8-9015-7f383c84003e', N'NOTASSIGNED', CAST(N'2018-11-08T10:45:12.5772789' AS DateTime2), 11, 12, 12, 606, 100, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'comment', 100, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', N'2f49ff36-b04f-4081-9261-60ec973da26d', 101, CAST(N'2018-11-08T10:46:46.2805682' AS DateTime2), CAST(N'2018-11-12T10:15:44.2375502' AS DateTime2), N'NCDG0031', N'HospitalOnly', 486.2736, N'7551633c-d10c-4bf8-9c3a-222805269bb5', 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'209481c5-8894-40e0-9811-794b49bb6446', N'NOTASSIGNED', CAST(N'2018-11-28T08:59:14.1081200' AS DateTime2), 100, 0, 10, 8194, 1000, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'ss', 0, N'Both', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', 101, CAST(N'2018-11-28T08:59:14.2156449' AS DateTime2), CAST(N'2018-11-28T09:42:29.9273714' AS DateTime2), N'NCDG0060', N'HospitalOnly', 6274.6, N'3ae6986f-3a06-4505-a8a5-31f4650b73b4', 819.4, 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'21cf669a-0263-4154-929f-dd90200e7ef5', N'NOTASSIGNED', CAST(N'2018-11-15T16:53:27.2001013' AS DateTime2), 100, 10, 10, 802, 100, 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'2018-11-15T16:53:27.2584719' AS DateTime2), CAST(N'2018-11-15T16:53:27.2584719' AS DateTime2), N'NCDG0038', N'HospitalOnly', 593.9799999999999, N'0f2005af-d0fa-4e1f-bc55-2671ec31230d', 80.2, 72.18, 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'21f179c5-53c5-4dbe-b67d-df77327c89ee', N'c2b8350f-1f42-4d89-938a-31a7a3f43afc', CAST(N'2018-07-25T12:30:23.5100000' AS DateTime2), 0, 0, 0, 800, 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-25T12:30:23.5233333' AS DateTime2), CAST(N'2018-09-04T22:33:57.4933333' AS DateTime2), N'RDG0056', 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'224f5768-3b0b-49e4-9414-5040ae5fe36a', N'6c883487-ebb9-4a55-a218-092470672957', CAST(N'2018-09-12T13:49:10.3633333' AS DateTime2), 0, 0, 0, 200, 200, 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-12T13:49:10.3633333' AS DateTime2), CAST(N'2018-09-13T17:23:39.7966667' AS DateTime2), N'RDG0266', 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'22b6caac-53fd-43b0-a1fc-f5a38215c3a2', N'NOTASSIGNED', CAST(N'2018-11-26T13:54:12.9710053' AS DateTime2), 10, 0, 10, 1027, 914, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'4c772c03-ef45-492a-82d7-24bd49320ea3', NULL, 0, N'Both', N'4c772c03-ef45-492a-82d7-24bd49320ea3', N'4c772c03-ef45-492a-82d7-24bd49320ea3', 102, CAST(N'2018-11-26T13:54:12.9779995' AS DateTime2), CAST(N'2018-11-26T13:57:28.7893277' AS DateTime2), N'NCDG0057', N'HospitalOnly', 0, N'a1b3a327-d18b-404b-aa91-a007142b94a0', 102.7, 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'22cb0d70-5265-499d-b285-b25a96235e1a', N'3a3f39ff-68c3-43ec-88ae-b49b16518d48', CAST(N'2018-09-07T16:48:37.4500000' AS DateTime2), 0, 0, 50, 600, 550, 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-07T16:48:37.4500000' AS DateTime2), CAST(N'2018-09-08T11:15:28.8900000' AS DateTime2), N'RDG0240', 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'22d470c7-cb02-4d5b-99d5-c276c653412f', N'45daa90c-6a81-4de1-a0b8-96142e893b17', CAST(N'2018-07-21T12:32:18.4433333' AS DateTime2), 1100, 0, 50, 1150, 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, 102, CAST(N'2018-07-21T12:32:18.4566667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4933333' AS DateTime2), N'RDG0046', 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'23634e2c-5322-4a1a-9803-afe8521c3a33', N'5925e2fe-fe19-4875-a141-03995303c939', CAST(N'2018-11-12T10:41:42.0132216' AS DateTime2), 0, 2, 100, 500, 408, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, NULL, N'2f49ff36-b04f-4081-9261-60ec973da26d', N'gg', 0, N'Doctor', N'2f49ff36-b04f-4081-9261-60ec973da26d', NULL, 101, CAST(N'2018-11-12T10:41:42.0202175' AS DateTime2), CAST(N'2018-11-12T10:42:38.5119697' AS DateTime2), N'NCDG0033', 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'23ad62eb-5fc1-4deb-9784-b568116463cc', N'bec76fb4-4ed9-4041-8f22-d0015f819ec0', CAST(N'2018-09-16T13:12:50.1866667' AS DateTime2), 0, 0, 250, 1550, 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-16T13:12:50.1866667' AS DateTime2), CAST(N'2018-09-17T21:41:14.9000000' AS DateTime2), N'RDG0298', 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'245738a5-d4dd-430a-b6b3-598dc5e9f1ae', N'4aa96a0f-f04c-4a43-94cb-e206e7521435', CAST(N'2018-08-09T10:06:41.1500000' 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:41.1500000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0119', 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'2476a7d7-c61e-4209-a7d1-5dbd8bb6d983', N'bd77ed0f-4953-430a-97a1-a2d425e1f582', CAST(N'2018-09-24T20:00:17.9300000' AS DateTime2), 0, 0, 300, 800, 500, 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-24T20:00:17.9466667' AS DateTime2), CAST(N'2018-09-28T10:15:52.1100000' AS DateTime2), N'RDG0342', 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'24e4ffc4-6392-4eb1-a842-d19b9ccf6475', N'NOTASSIGNED', CAST(N'2018-12-03T16:05:49.6605440' AS DateTime2), 0, 0, 0, 314, 314, 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', 102, CAST(N'2018-12-03T16:05:49.6665426' AS DateTime2), CAST(N'2018-12-03T16:23:20.9772780' AS DateTime2), N'NCDG0063', N'HospitalOnly', 0, N'd212592a-5f1b-4629-8063-3b1ea20e3955', 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'25baf030-f741-473d-882b-a87e2bcd6ba0', N'NOTASSIGNED', CAST(N'2019-01-07T11:33:57.9416281' AS DateTime2), 0, 0, 0, 583, 300, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'410f20e6-ad68-450b-9cf3-55da4793042c', N'dddddd', 0, N'Both', N'410f20e6-ad68-450b-9cf3-55da4793042c', N'65ba8697-497a-4f36-bd6c-668eba0c5d62', 101, CAST(N'2019-01-07T11:33:57.9726087' AS DateTime2), CAST(N'2019-01-07T12:47:23.1387873' AS DateTime2), N'NCDG0086', N'HospitalOnly', 283, N'3965d8eb-6e0a-4ba0-afe8-38894806999e', 0, 0, N'07 : 06 : AM', NULL, 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'262f4640-f95e-4eee-9ca3-82ed39626d0a', N'c3219c30-0cea-4790-9a82-9bbba3a25da2', CAST(N'2018-10-16T12:35:30.7155014' AS DateTime2), 0, 0, 0, 1150, 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-16T12:35:30.8004481' AS DateTime2), CAST(N'2018-10-16T12:35:57.1900628' AS DateTime2), N'NCDG0010', 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'26b3e18b-3653-41c6-95af-cc1cff900d7f', N'NOTASSIGNED', CAST(N'2018-12-24T12:13:56.8430887' AS DateTime2), 0, 0, 0, 867, 867, 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-24T12:13:56.8550827' AS DateTime2), CAST(N'2018-12-24T12:25:32.3539794' AS DateTime2), N'NCDG0075', N'HospitalOnly', 0, N'4000c7e9-390b-40ff-a92c-8e4006eb1012', 0, 0, N'02 : 03 : PM', CAST(N'2018-12-24T00: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'2713a1e3-670a-4dea-9fcf-f0bdd0e98013', N'76430416-4182-4764-94cf-f7c3d9888831', CAST(N'2018-07-27T12:05:30.1100000' AS DateTime2), 0, 0, 0, 1450, 1450, 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-27T12:05:30.1100000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4966667' AS DateTime2), N'RDG0067', 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'271bd85e-8c95-495d-9fe0-8b016664587a', N'90d42b32-6802-4f29-b2b3-7f87cc60a5b7', CAST(N'2018-09-26T14:25:58.3366667' AS DateTime2), 0, 0, 0, 800, 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-26T14:25:58.3366667' AS DateTime2), CAST(N'2018-09-27T09:49:06.0400000' AS DateTime2), N'RDG0349', 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'27698a8f-5f0e-407a-8a72-9294269b5e78', N'98100586-77e6-47bd-abd8-f23cd7cab790', CAST(N'2018-09-09T12:23:14.9900000' AS DateTime2), 0, 0, 50, 600, 550, 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-09T12:23:15.0066667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7366667' AS DateTime2), N'RDG0249', 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'28110add-beac-45d0-bb81-dd731acd6a56', N'b37dcd7f-5f2f-4ab5-b328-7b1ec60f3910', CAST(N'2018-09-23T12:57:12.9066667' AS DateTime2), 0, 0, 0, 800, 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-09-23T12:57:12.9200000' AS DateTime2), CAST(N'2018-09-25T10:03:15.8700000' AS DateTime2), N'RDG0333', 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'28da1b59-9be8-4271-a394-351c59c1b9b6', N'24de6be3-6a1b-498d-acc7-caae75a6c122', CAST(N'2018-09-01T12:44:45.5300000' AS DateTime2), 0, 0, 0, 400, 0, N'd821cd9f-ac10-4f94-92cf-c292cd83b2c0', NULL, NULL, N'e3d4a527-b8d6-4e80-8e15-ddd22394a385', NULL, 0, NULL, NULL, NULL, 101, CAST(N'2018-09-01T12:44:45.5300000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0195', 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'2913474c-d62a-48b2-b498-bb50ba9db370', N'1d139864-3a2e-4f45-9fad-604f420f4df6', CAST(N'2018-07-24T10:25:57.7233333' AS DateTime2), 0, 0, 0, 5300, 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-07-24T10:25:57.7366667' AS DateTime2), CAST(N'2018-09-04T22:33:57.4966667' AS DateTime2), N'RDG0054', 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'29d0487d-5cc4-4be0-8028-d70e0afb8cf3', N'06ab0619-027e-4040-891a-f129390066ab', CAST(N'2018-09-05T10:02:52.7533333' AS DateTime2), 0, 0, 0, 400, 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-05T10:02:52.7700000' AS DateTime2), CAST(N'2018-09-06T09:51:33.4300000' AS DateTime2), N'RDG0219', 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'2a4569a0-70ab-4888-a205-af406c84856d', N'NOTASSIGNED', CAST(N'2019-01-07T09:32:31.0738943' AS DateTime2), 0, 0, 0, 1993, 0, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'65ba8697-497a-4f36-bd6c-668eba0c5d62', NULL, 0, N'Both', N'65ba8697-497a-4f36-bd6c-668eba0c5d62', N'410f20e6-ad68-450b-9cf3-55da4793042c', 101, CAST(N'2019-01-07T09:32:31.1570702' AS DateTime2), CAST(N'2019-01-07T14:11:45.0595722' AS DateTime2), N'NCDG0084', N'HospitalOnly', 1993, N'7039f5f1-f542-418e-b312-cd9713a4fc84', 0, 0, N'06 : 08 : AM', CAST(N'2054-01-12T05:33: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'2b9851b0-263a-42f6-b87c-a7a6a19ad97c', N'49ac92a5-b34d-42ba-8e25-15ac127f6911', CAST(N'2018-08-02T12:00:14.0100000' AS DateTime2), 0, 0, 0, 800, 800, 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-02T12:00:14.0100000' AS DateTime2), CAST(N'2018-09-04T22:33:57.4966667' AS DateTime2), N'RDG0096', 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'2bab3a99-d239-40d5-82ad-023adb5e25ee', N'NOTASSIGNED', CAST(N'2018-11-21T16:08:00.1986955' AS DateTime2), 10, 10, 10, 3732, 10, N'ef1e120e-4fb9-43fe-890b-47c309427a7e', NULL, N'NOTASSIGNED', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', N'dd', 0, N'Doctor', N'f58ff95f-89e6-4f8e-8868-a83828ebe999', NULL, 101, CAST(N'2018-11-21T16:08:00.2046921' AS DateTime2), CAST(N'2018-11-21T16:08:00.2046921' AS DateTime2), N'NCDG0044', N'HospitalOnly', 3674.68, N'7ff176b0-8411-4345-baab-b1acee415db1', 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'2cd841ad-5a6b-4844-bb2e-afa24bafaa64', N'2bf0b511-2aa2-4771-99cf-55874bd33af8', CAST(N'2018-09-04T18:59:06.2300000' 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-04T18:59:06.2300000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7100000' AS DateTime2), N'RDG0216', 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'2cdef65a-d591-46b7-ad79-ef086a35d066', N'NOTASSIGNED', CAST(N'2019-01-19T11:10:15.8732954' AS DateTime2), 0, 0, 0, 2750, 2750, 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-19T11:10:16.0473058' AS DateTime2), CAST(N'2019-01-19T11:13:11.1259934' AS DateTime2), N'NCDG0105', N'HospitalOnly', 0, N'fe62f99e-5bfc-4b7b-97a0-2388819b17a2', 0, 0, N'12 : 10 : AM', 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'2d9fa696-e184-4974-afbc-d504e59108a7', N'b31d81e8-e134-491c-b2e9-d492dc6e64bc', CAST(N'2018-08-09T12:57:57.8400000' AS DateTime2), 0, 0, 0, 1880, 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-08-09T12:57:57.8400000' AS DateTime2), CAST(N'2018-09-04T22:21:10.7133333' AS DateTime2), N'RDG0124', 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'2e09b0ff-bfcd-44e9-83e3-36d8a1f49123', N'c6106e28-4437-433a-8377-f893f2828c79', CAST(N'2018-09-09T12:19:01.7400000' AS DateTime2), 0, 0, 0, 200, 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-09-09T12:19:01.7566667' AS DateTime2), CAST(N'2018-09-12T12:13:24.7366667' AS DateTime2), N'RDG0248', N'DoctorOnly', 0, NULL, NULL, NULL, NULL, NULL, N'NA')
