November 14, 2024 at 6:11 pm
create table #T
(
VisitID varchar(30),
ER_Date date,
HR int
)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031192313800','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031155610449','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031215711573','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031164745365','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031214614352','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031173232450','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101003609653','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031225044156','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031150414832','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031191749157','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031201144561','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031193204161','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031152805265','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031122259833','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',0)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010035937','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101003609653','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015610159','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031203956980','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031150414832','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031204523425','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031193204161','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031152805265','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010104297','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031230155712','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031170646815','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031225041853','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031164745365','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101012405690','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031191749157','11/1/2024',1)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031230155712','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031225044156','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015610159','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031104447087','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101003609653','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20240924155251870','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031133446961','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101012405690','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010104297','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031193756337','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031152805265','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023404626','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031173232450','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031214614352','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031191749157','11/1/2024',2)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101035635115','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023404626','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031114725360','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101030006274','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031173232450','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031214614352','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030143439825','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',3)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101003609653','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010104297','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101012405690','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101035635115','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031170531730','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010035937','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015610159','11/1/2024',4)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101053442273','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101012405690','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010104297','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101052705407','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101054629659','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101055242793','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',5)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031170531730','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101053442273','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031173232450','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101062932191','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101064400906','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028143506410','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101052705407','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029184656024','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101012405690','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101054629659','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101035635115','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031225044156','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101055242793','11/1/2024',6)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101070533592','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101010035937','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071807651','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101013902463','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101054629659','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030214858505','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071453563','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030190217397','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031170531730','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025150004315','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030143439825','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101055242793','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101062932191','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101052705407','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030101221331','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101035635115','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101030006274','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029184656024','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030113500969','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101015624024','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101064400906','11/1/2024',7)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101062932191','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031111144569','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031150414832','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028225436848','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028125808397','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071807651','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101084027168','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031235836377','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101054629659','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083201825','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030190217397','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083404199','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241025080209742','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101055242793','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101052705407','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030143439825','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101081121259','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101070533592','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101064400906','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031120628275','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101035635115','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025150004315','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071453563','11/1/2024',8)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101095733907','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031233556094','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090312127','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092615289','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241024075218679','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028092216546','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071807651','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101090825252','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101091310797','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094223828','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241024145918433','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090226823','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083201825','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094520191','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091202835','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101092741585','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083404199','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101084027168','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101093943701','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092950703','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101093140523','11/1/2024',9)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092615289','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104137201','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105148575','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101093140523','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104806362','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101101710557','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092950703','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090312127','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083201825','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094223828','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105631979','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101095733907','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101043052267','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101052705407','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104626421','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101104223019','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030092508912','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101090825252','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094520191','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083404199','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030214858505','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091202835','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101102944073','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071453563','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101091310797','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028132647997','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101102858117','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',10)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090312127','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110931549','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110034207','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101102944073','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101114404670','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083201825','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110604990','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101101710557','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114902670','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114002674','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105631979','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101110504433','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101104223019','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104626421','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111437364','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094223828','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111052574','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101112924172','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094520191','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101093140523','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101102858117','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101081121259','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104806362','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114542633','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105148575','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101115528753','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030112832169','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083404199','11/1/2024',11)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030163329532','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029073447420','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101125444318','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101110504433','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125855060','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025172550189','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101102944073','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101084027168','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101102858117','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031095735499','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028205252077','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101115528753','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104626421','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111437364','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241029130400600','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241026084108524','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101112924172','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114002674','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241024111635387','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101114404670','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104137201','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111052574','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028125808397','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110034207','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028132647997','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114902670','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101081121259','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125651261','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121414324','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025133907805','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105148575','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101101710557','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101104223019','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121833172','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110931549','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101095733907','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114542633','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026102123863','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101030006274','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092950703','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031071801769','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241021113847021','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031084953710','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120118293','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028092216546','11/1/2024',12)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101094223828','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111052574','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030111037675','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090226823','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083225656','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101102858117','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101084027168','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125651261','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241029130400600','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030123624642','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131900585','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120118293','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125855060','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101110504433','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026010100347','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031084953710','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241024123448371','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101102944073','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114542633','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031124318039','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025133907805','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101114404670','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241025024637114','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031164745365','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101030006274','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121833172','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104626421','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131447465','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026120524861','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111437364','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028125808397','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114902670','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028111312358','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241024111635387','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101133240293','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026182830889','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104137201','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101130159125','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121414324','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026102123863','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105148575','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241026084108524','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092615289','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101125444318','11/1/2024',13)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101141255065','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241025150004315','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241025024637114','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101142058401','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101133240293','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028050853940','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101145538966','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120118293','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101143955623','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101104626421','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101084027168','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101144343846','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101093140523','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145459678','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131447465','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101110504433','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030111037675','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031084953710','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030163329532','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101083201825','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241026193952800','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026120524861','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101115528753','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125855060','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131900585','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101094452896','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101095733907','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090226823','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241028092216546','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101125444318','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111052574','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141701451','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241027215144242','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141834603','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101130159125','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121414324','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092615289','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110034207','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241026084108524','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026182830889','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145654669','11/1/2024',14)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101105631979','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20240930005657783','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120118293','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101141255065','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131447465','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151827856','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101115528753','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101143955623','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030214858505','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101133240293','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114542633','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101142058401','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121833172','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031183744823','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031163057209','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101151134236','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101104223019','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101145538966','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101154314802','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241018152547287','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125651261','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121414324','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111437364','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141701451','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028225436848','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154030005','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101155437261','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114002674','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101144343846','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110034207','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145654669','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145459678','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125855060','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101030006274','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154633168','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101130159125','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101090226823','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071807651','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131900585','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152037924','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101153856990','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101125444318','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101110504433','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241029124747187','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141834603','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029184656024','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151319672','11/1/2024',15)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131447465','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101142058401','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101121833172','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101162427357','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101151134236','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241025024637114','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031164610578','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101145538966','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026123507297','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101162051394','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101111437364','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151827856','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101144343846','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101153856990','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145654669','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101080518949','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241030142216902','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101143955623','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101141255065','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145459678','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141701451','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101161722759','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101114404670','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131900585','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241027215144242','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154633168','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151319672','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101165351302','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101155437261','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241028225436848','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101161252134','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101110034207','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141834603','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101154314802','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154030005','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',16)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170241716','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101141255065','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241026123507297','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101174214299','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030203551370','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101153856990','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101125444318','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173621243','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101120753263','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101151134236','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101165351302','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101161252134','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101154314802','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173723587','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101155437261','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151319672','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101033804839','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171940041','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175747246','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175737578','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101130159125','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131900585','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101161722759','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101173325468','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171418840','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101091453566','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154030005','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124436632','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101131447465','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170942627','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154633168','11/1/2024',17)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101154314802','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101161252134','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101100128206','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175737578','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101154633168','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101184629680','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173723587','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101122624877','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151319672','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101124613225','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145654669','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101174214299','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182045785','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170241716','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185339957','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173621243','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101165351302','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175747246','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241012105217623','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101181126624','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182021797','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101180615192','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101141255065','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101181043564','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101183136419','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101173325468','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171418840','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101184132680','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170942627','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171940041','11/1/2024',18)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101195759384','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029184656024','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193149566','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175737578','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173723587','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171418840','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170942627','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241029124747187','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101192812628','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241029070208659','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101191313217','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101181043564','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101183136419','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101173325468','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101180615192','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101192030934','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182021797','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185339957','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171940041','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101194038264','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151827856','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101162427357','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101184629680','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101174214299','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101023734854','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101181126624','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101190041156','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170241716','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173621243','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101125251398','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030214858505','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193511386','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101190131236','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',19)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173723587','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170942627','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101080313558','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171418840','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101181043564','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171940041','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101191313217','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101145459678','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101194038264','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101205201386','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101165351302','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114002674','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101192812628','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193149566','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101195759384','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185339957','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182045785','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101092030633','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193511386','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101202032496','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151954258','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101184132680','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101190131236','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101190041156','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170241716','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101204203370','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151827856','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101192030934','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101180615192','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173621243','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101184629680','11/1/2024',20)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101151319672','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101202032496','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193511386','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193149566','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101192812628','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101210440692','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175737578','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101171940041','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101214335053','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101183136419','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101181043564','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101212441345','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101214658928','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101192030934','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101114002674','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101180615192','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101214935135','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185339957','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101214102278','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101205201386','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101194038264','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101162427357','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101213513972','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101184132680','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101190041156','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175747246','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101151134236','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101170241716','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101204203370','11/1/2024',21)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101214658928','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101132743279','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101174214299','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101205201386','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101222142214','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101220403634','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175747246','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181839474','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101184132680','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224939106','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173621243','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101190131236','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182021797','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101213513972','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175544982','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165001803','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101173723587','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101175737578','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101214335053','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101212441345','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101214102278','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101192030934','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101214935135','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101221329506','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101183136419','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101130618244','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224122900','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101202032496','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101193511386','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101223349278','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224124643','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182045785','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101220632478','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141356667','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101152437245','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101195759384','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101222810708','11/1/2024',22)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101071807651','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101183136419','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101234459221','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101214658928','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101185741726','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101214935135','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101191313217','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101221329506','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101234617864','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101222142214','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224124643','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101192812628','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101165959212','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101212441345','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101220403634','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101213513972','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224939106','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101234215326','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241030214858505','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101194038264','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101231155787','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101190131236','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241031104513604','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101150551412','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241031181020527','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101223349278','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101100656972','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101210440692','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101220632478','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241029184656024','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164349468','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101141834603','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101184629680','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101232824535','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101182045785','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101204203370','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101222810708','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101224122900','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101164059054','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F3-B20241101124948864','11/1/2024',23)
insert into #T(VisitID, ER_Date, HR) values('F2-B20241101233707254','11/1/2024',23)
Each VisitID represents a visit to the ER. The HR represents the hour of the day that the patient was in the ER. Some hours are missing, meaning that there weren't any nurse entries during that hour. I need to have those hours "filled in". Then, I can add the VisitIDs and HR to a table and count the number of Visits per hour. The goal for the report is to be able to get the census by hour by day for the ER.
November 14, 2024 at 6:43 pm
Silly questions on my part because the likely answer is "Yes" to both of my questions but, I've got to make sure...
In your given example, is it possible that any given Visit_ID could have a first date prior to the date you want to count hours for or have a last date after the date you want to count hours for?
EDIT... and, please... do your self a favor... do NOT add any rows to the original table because you're changing the content of an auditable table. We can do this without adding to the data in the original table.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2024 at 8:06 pm
First, the VALUES
clause can take more than one set of values, so you can take advantage of that to make your script MUCH more concise.
insert into #T(VisitID, ER_Date, HR)
values ('F3-B20241031192313800','11/1/2024',0)
, ('F2-B20241031155610449','11/1/2024',0)
, ('F3-B20241031181839474','11/1/2024',0)
, ('F2-B20241031183744823','11/1/2024',0)
, ('F2-B20241031215711573','11/1/2024',0)
, ('F3-B20241031164745365','11/1/2024',0)
, ('F2-B20241031214614352','11/1/2024',0)
, ('F3-B20241031173232450','11/1/2024',0)
, ('F3-B20241101003609653','11/1/2024',0)
, ('F2-B20241031235836377','11/1/2024',0)
, ('F3-B20241031225044156','11/1/2024',0)
, ('F2-B20241031150414832','11/1/2024',0)
Second, you did not provide expected results so that people could verify their solutions.
Third, the purpose of posting sample data is to provide enough data to illustrate your issue without overwhelming anybody who would want to work on it. The more data you provide, the more complex it is to validate against your (missing) expected results. Your "sample" has 848 rows with 256 unique visits. There is nothing that indicates that your issue is that complex.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
November 14, 2024 at 8:40 pm
I don't have a beef with the data provided. I'd rather have "too much" than not enough.
I just need an answer to my previous question. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
November 15, 2024 at 4:48 am
I haven't ultra-tuned this, but see if it gives you the correct results.
;WITH
cte_tally10 AS (
SELECT * FROM (VALUES(0),(0),(0),(0),(0),(0),(0),(0),(0),(0)) AS numbers(number)
),
cte_tally_hrs AS (
SELECT number AS HR
FROM (
SELECT 0 AS number UNION ALL
SELECT ROW_NUMBER() OVER(ORDER BY (SELECT NULL)) AS number
FROM cte_tally10 c1 CROSS JOIN cte_tally10 c2
) AS T23
WHERE number BETWEEN 0 AND 23
)
SELECT T.ER_date, cth.HR, COUNT(*) AS Visit_Count
FROM (
SELECT ER_Date, VisitID, MIN(HR) AS HR_Min, MAX(HR) AS HR_Max
FROM #T
GROUP BY ER_Date, VisitID
) AS T
INNER JOIN cte_tally_hrs cth ON cth.HR BETWEEN HR_Min AND HR_Max
GROUP BY T.ER_date, cth.HR
ORDER BY 1, 2, 3
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
November 15, 2024 at 11:24 am
It is possible that the patient entered the ER on a previous day. However, I'm focused on one day in order to work out that piece. I don't think it matters that a patient is registered on a previous day or discharged on the next day. My hope is that you folks will help me fill in the missing hours then, I can count the number of VisitIDs for each hour.
I'm going to try Scott's code and provide feedback.
November 15, 2024 at 5:40 pm
It is possible that the patient entered the ER on a previous day. However, I'm focused on one day in order to work out that piece. I don't think it matters that a patient is registered on a previous day or discharged on the next day. My hope is that you folks will help me fill in the missing hours then, I can count the number of VisitIDs for each hour.
I'm going to try Scott's code and provide feedback.
Thanks for confirming. The problem with your idea of being focused on one day is that if a person checked in at, say, 10PM and no one made an additional entry until 2AM the next day, then you are missing this person for that next day for the midnight an 1Am hours. It would incorrectly show that you might be able to reduce staff for those 4 hours when you should be increasing them.
I'm "at work" right now. I'll try to get to this and demo what I mean (as well) sometime tonight.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 17, 2024 at 3:42 pm
Before I can give the demo I promised above, I need to know what the condition of the real table is.
In your example data, you have a DATE datatype column and the HOUR is separate. Is that the way it is in the original table or is there just one column with the DATETIME value?
Please see the following article for why I think your definition of the problem is incorrect. You MUST consider at least the day before and the day after the give report date or you will be missing a whole lot of patient hours for the report date. This also means that Scott's code will provide a correct answer for your requirements but, again, your requirements are incorrect.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2024 at 2:23 pm
My thought is if someone is registered at 10PM on 11/1 and no other status is entered until 2AM on 11/2, I still have distinct date and hour. So, with Scott's code, it will fill in the hours. There is a problem however. If the patient has been in the ER since 2AM, but there is no status entered since 8AM and I run the query at 9AM, this patient will fall off and I'll be one short. Eventually, the patient will be discharged, a status entered, and will show up on the report.
create table #T
(
VisitID varchar(30),
DateTimeID datetime,
Status varchar(30),
HR int
)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241028224259793','2024-10-31 12:28','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241028224259793','2024-10-31 12:42','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030142216902','2024-10-31 00:07','GO',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030142216902','2024-10-31 00:28','LEFT DEPT',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030143439825','2024-10-31 00:03','IN ROOM',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030143439825','2024-10-31 00:15','CRIS-EVAL',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030143439825','2024-10-31 11:33','CRIS-SEC12',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030143439825','2024-11-01 08:42','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030144117762','2024-10-31 01:29','DISCHARGED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030155623958','2024-10-31 00:00','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030182952403','2024-10-31 10:50','READY',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030182952403','2024-10-31 11:25','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 00:44','IN ROOM',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 02:40','EXTEND',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 03:44','READY',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 03:52','EXTEND',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 04:12','ADMITTED',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 04:23','GO',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030183317682','2024-10-31 06:17','LEFT DEPT',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030200533470','2024-10-31 14:07','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030200533470','2024-10-31 15:52','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030224903415','2024-10-31 00:03','READYER',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030224903415','2024-10-31 00:12','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030231314973','2024-10-31 02:28','READY',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241030231314973','2024-10-31 03:05','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031013101262','2024-10-31 01:31','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031013101262','2024-10-31 04:15','CASE M',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031013101262','2024-10-31 06:33','READY',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031013101262','2024-10-31 06:51','DISCHARGED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031021630622','2024-10-31 02:16','RECEIVED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031021630622','2024-10-31 02:29','WAITING',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031021630622','2024-10-31 02:32','IN ROOM',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031021630622','2024-10-31 02:57','READYER',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031021630622','2024-10-31 03:27','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031034603080','2024-10-31 03:46','RECEIVED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031034603080','2024-10-31 03:54','WAITING',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031034603080','2024-10-31 03:56','IN ROOM',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031034603080','2024-10-31 04:22','READYER',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031034603080','2024-10-31 04:31','DISCHARGED',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031041458769','2024-10-31 04:14','IN ROOM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031041458769','2024-10-31 06:11','READY',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031041458769','2024-10-31 07:07','DISCHARGED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031051639677','2024-10-31 05:16','IN ROOM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031051639677','2024-10-31 10:23','READY',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031051639677','2024-10-31 11:00','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031055848098','2024-10-31 05:58','IN ROOM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031055848098','2024-10-31 06:42','EXTEND',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031055848098','2024-10-31 08:24','READY',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031055848098','2024-10-31 08:47','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031065646690','2024-10-31 06:56','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031065646690','2024-10-31 07:53','PEND ADM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031065646690','2024-10-31 08:56','OBSERVE',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031065646690','2024-10-31 09:03','GO',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031065646690','2024-10-31 09:32','LEFT DEPT',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 07:11','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 07:19','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 07:22','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 07:54','POS ADM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 09:49','PEND ADM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 11:21','OBSERVE',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 11:25','GO',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031071144208','2024-10-31 12:27','LEFT DEPT',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031072221860','2024-10-31 07:22','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031072221860','2024-10-31 07:34','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031072221860','2024-10-31 07:34','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031072221860','2024-10-31 09:13','READY',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031072221860','2024-10-31 09:22','DISCHARGED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031081227305','2024-10-31 08:12','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031081227305','2024-10-31 08:17','WAITING',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031081227305','2024-10-31 08:22','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031081227305','2024-10-31 11:22','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031081227305','2024-10-31 11:39','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 08:44','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 08:52','WAITING',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 08:54','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 09:25','READY',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 09:30','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 11:21','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031084422390','2024-10-31 11:33','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031091244354','2024-10-31 09:12','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031091244354','2024-10-31 09:21','WAITING',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031091244354','2024-10-31 09:21','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031091244354','2024-10-31 12:54','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031091244354','2024-10-31 13:29','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 09:35','CALLIN',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 10:03','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 10:15','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 10:31','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 10:55','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 12:45','PEND ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 15:42','ADMITTED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 19:21','GO',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031093534180','2024-10-31 19:55','LEFT DEPT',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 09:44','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 09:50','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 10:15','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 13:37','PEND ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 15:55','OBSERVE',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 20:00','GO',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031094438144','2024-10-31 20:53','LEFT DEPT',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 09:57','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 10:49','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 13:36','PEND ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 15:23','OBSERVE',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 16:20','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031095735499','2024-10-31 22:55','LEFT DEPT',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031100332237','2024-10-31 10:03','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031100332237','2024-10-31 10:07','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031100332237','2024-10-31 11:57','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031100332237','2024-10-31 12:04','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 10:18','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 10:51','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 13:30','PEND ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 20:15','ADMITTED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 20:19','GO',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031101843399','2024-10-31 23:13','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104358944','2024-10-31 10:43','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104358944','2024-10-31 10:50','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104358944','2024-10-31 10:53','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104358944','2024-10-31 12:26','READY',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104358944','2024-10-31 12:31','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 10:44','CALLIN',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 11:07','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 11:12','TRIAGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 11:16','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 11:19','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 16:46','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104447087','2024-10-31 21:24','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104513604','2024-10-31 10:45','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104513604','2024-10-31 11:00','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104513604','2024-10-31 11:08','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104513604','2024-10-31 12:58','READY',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031104513604','2024-10-31 13:08','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 11:08','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 11:22','TRIAGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 11:25','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 11:31','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 13:00','READY',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031110813579','2024-10-31 13:11','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 11:11','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 11:19','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 13:14','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 15:13','PEND ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 15:46','ADMITTED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 16:13','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111144569','2024-10-31 17:06','LEFT DEPT',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 11:13','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 11:33','TRIAGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 11:40','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 11:43','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 13:32','READY',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031111316771','2024-10-31 13:43','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 11:28','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 11:37','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 11:57','POS ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 12:46','PEND ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 15:48','OBSERVE',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 16:22','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031112826916','2024-10-31 17:04','LEFT DEPT',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 11:33','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 11:43','TRIAGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 11:47','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 11:50','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 14:26','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031113259382','2024-10-31 14:40','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 11:43','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 11:50','TRIAGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 11:54','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 12:01','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 12:23','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 15:23','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031114345992','2024-10-31 15:41','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 12:18','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 12:26','TRIAGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 12:33','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 12:37','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 13:22','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 16:08','PEND ADM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 16:24','ADMITTED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 18:44','GO',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031121841494','2024-10-31 18:54','LEFT DEPT',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 12:23','CALLIN',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 13:38','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 13:41','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 14:24','POS ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 18:42','PEND ADM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-10-31 22:20','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-11-01 00:02','GO',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031122259833','2024-11-01 00:06','LEFT DEPT',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124316874','2024-10-31 12:43','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124316874','2024-10-31 15:29','READY',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124316874','2024-10-31 16:01','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 12:43','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 12:55','TRIAGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 13:01','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 13:12','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 14:39','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 16:29','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 19:16','OBSERVE',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 20:10','GO',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031124318039','2024-10-31 21:09','LEFT DEPT',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031130058199','2024-10-31 13:00','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031130058199','2024-10-31 14:21','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031130058199','2024-10-31 14:41','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131056754','2024-10-31 13:10','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131056754','2024-10-31 13:19','TRIAGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131056754','2024-10-31 13:25','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131056754','2024-10-31 13:36','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131056754','2024-10-31 14:24','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 13:13','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 13:31','TRIAGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 13:36','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 13:48','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 15:04','READY',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031131334981','2024-10-31 15:27','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133011269','2024-10-31 13:30','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133011269','2024-10-31 13:36','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133011269','2024-10-31 13:44','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 13:33','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 13:39','TRIAGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 13:44','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 13:54','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 15:01','POS ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 17:50','PEND ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 21:33','ADMITTED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 21:38','GO',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133327217','2024-10-31 22:11','LEFT DEPT',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 13:39','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 13:48','TRIAGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 13:53','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 14:05','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 18:52','READYER',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031133931500','2024-10-31 19:04','DISCHARGED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031141503144','2024-10-31 14:15','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031141503144','2024-10-31 19:30','READY',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031141503144','2024-10-31 19:55','DISCHARGED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 14:24','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 14:40','TRIAGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 14:44','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 14:52','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 15:35','READY',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031142400938','2024-10-31 15:36','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143717825','2024-10-31 14:37','CALLIN',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143717825','2024-10-31 15:10','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143717825','2024-10-31 16:23','CALLX3',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143717825','2024-10-31 21:08','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 14:37','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 14:49','TRIAGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 14:54','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 15:29','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 16:57','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031143736558','2024-10-31 17:11','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 14:55','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 15:01','TRIAGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 15:05','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 15:45','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 19:18','PEND ADM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 20:48','OBSERVE',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 21:27','GO',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145545439','2024-10-31 21:49','LEFT DEPT',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 14:58','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 15:10','TRIAGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 15:17','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 15:26','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 18:14','READY',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031145834460','2024-10-31 18:26','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150055785','2024-10-31 15:00','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150055785','2024-10-31 15:21','CALLX1',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150055785','2024-10-31 15:27','CALLX2',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150055785','2024-10-31 15:32','CALLX3',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150055785','2024-10-31 16:06','CANCELLED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150414832','2024-10-31 15:04','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150414832','2024-10-31 19:39','PEND ADM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150414832','2024-10-31 23:31','OBSERVE',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150414832','2024-11-01 00:28','GO',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150414832','2024-11-01 01:58','LEFT DEPT',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 15:05','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 15:24','TRIAGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 15:28','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 16:03','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 22:32','POS ADM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 22:45','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150556682','2024-10-31 22:48','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150835228','2024-10-31 15:08','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150835228','2024-10-31 15:25','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150835228','2024-10-31 15:28','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150835228','2024-10-31 16:53','READY',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031150835228','2024-10-31 16:59','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-10-31 15:28','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-10-31 20:09','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-10-31 22:31','PEND ADM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-10-31 23:46','ADMITTED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-11-01 01:48','GO',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031152805265','2024-11-01 02:16','LEFT DEPT',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 15:49','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 16:00','TRIAGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 16:03','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 16:23','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 17:30','POS ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 20:50','READY',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031154919156','2024-10-31 22:49','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 15:50','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 16:10','TRIAGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 16:14','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 17:51','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 20:49','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 22:23','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155051816','2024-10-31 23:03','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 15:52','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 16:24','TRIAGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 16:32','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 17:57','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 20:54','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155236319','2024-10-31 21:02','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155610449','2024-10-31 15:56','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155610449','2024-10-31 21:39','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155610449','2024-10-31 22:44','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155610449','2024-10-31 22:44','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031155610449','2024-10-31 23:13','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031161146207','2024-10-31 16:11','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031161146207','2024-10-31 21:51','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031161146207','2024-10-31 22:03','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-10-31 16:30','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-10-31 16:47','TRIAGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-10-31 16:54','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-10-31 18:33','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-10-31 21:10','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-11-01 02:16','ADMITTED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-11-01 04:08','GO',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163057209','2024-11-01 05:14','LEFT DEPT',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 16:32','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 17:14','TRIAGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 17:17','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 17:43','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 18:00','READYER',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163240147','2024-10-31 18:19','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163714840','2024-10-31 16:37','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163714840','2024-10-31 21:40','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031163714840','2024-10-31 22:07','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031164610578','2024-10-31 16:46','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031164610578','2024-10-31 18:43','PEND ADM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031164610578','2024-10-31 19:51','OBSERVE',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031164610578','2024-10-31 22:45','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031164610578','2024-10-31 23:06','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 16:57','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 17:38','TRIAGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 17:42','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 18:43','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 21:19','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031165716477','2024-10-31 21:32','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 17:06','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 17:46','TRIAGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 17:49','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 18:51','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 22:55','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031170646815','2024-10-31 23:16','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031171019701','2024-10-31 17:10','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031171019701','2024-10-31 21:37','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031171019701','2024-10-31 21:56','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 17:57','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 18:15','TRIAGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 18:19','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 19:08','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 20:56','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031175709905','2024-10-31 21:08','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 18:13','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 18:42','TRIAGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 18:49','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 20:06','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 23:42','READY',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031181354245','2024-10-31 23:55','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-10-31 18:37','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-11-01 04:53','POS ADM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-11-01 05:40','PEND ADM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-11-01 05:51','OBSERVE',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-11-01 05:55','GO',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031183744823','2024-11-01 06:34','LEFT DEPT',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031185008271','2024-10-31 18:50','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031185008271','2024-10-31 19:11','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031185008271','2024-10-31 19:57','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031185008271','2024-10-31 20:54','TRANSFER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031185008271','2024-10-31 21:18','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031192125799','2024-10-31 19:21','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031192125799','2024-10-31 22:49','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031192125799','2024-10-31 22:49','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031192125799','2024-10-31 22:49','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031192125799','2024-10-31 23:28','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-10-31 20:11','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-10-31 20:14','TRIAGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-10-31 20:19','WAITING',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-10-31 21:04','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-11-01 00:03','READY',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201144561','2024-11-01 00:15','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201945059','2024-10-31 20:19','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201945059','2024-10-31 20:51','WAITING',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201945059','2024-10-31 21:30','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201945059','2024-10-31 22:05','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031201945059','2024-10-31 22:16','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031203956980','2024-10-31 20:39','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031203956980','2024-10-31 21:02','TRIAGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031203956980','2024-10-31 21:07','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031203956980','2024-10-31 21:30','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031203956980','2024-10-31 22:58','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031213949194','2024-10-31 21:39','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031213949194','2024-10-31 21:47','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031213949194','2024-10-31 22:02','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031213949194','2024-10-31 23:16','READY',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031213949194','2024-10-31 23:43','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-10-31 21:46','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-10-31 22:04','TRIAGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-10-31 22:09','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-10-31 22:45','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-11-01 02:40','READY',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031214614352','2024-11-01 03:17','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-10-31 21:57','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-10-31 22:12','TRIAGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-10-31 22:15','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-10-31 22:21','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-10-31 23:49','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031215711573','2024-11-01 00:03','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031223837833','2024-10-31 22:38','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031223837833','2024-10-31 22:48','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031223837833','2024-10-31 22:53','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031223837833','2024-10-31 23:11','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031223837833','2024-10-31 23:23','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031230155712','2024-10-31 23:01','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031230155712','2024-10-31 23:18','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031230155712','2024-10-31 23:27','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031230155712','2024-11-01 01:51','READY',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031230155712','2024-11-01 02:53','DISCHARGED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-10-31 23:35','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-10-31 23:43','TRIAGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-10-31 23:47','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-10-31 23:52','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-11-01 07:06','TRANSFER',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031233556094','2024-11-01 09:17','DISCHARGED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-10-31 23:58','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 00:01','TRIAGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 00:07','WAITING',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 00:09','IN ROOM',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 01:32','POS ADM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 04:29','PEND ADM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 05:43','TRANSFER',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241031235836377','2024-11-01 08:37','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101012405690','2024-11-01 01:24','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101012405690','2024-11-01 05:36','READY',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101012405690','2024-11-01 06:02','DISCHARGED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 01:39','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 02:39','POS ADM',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 04:50','PEND ADM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 06:02','ADMITTED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 06:20','GO',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101013902463','2024-11-01 06:49','LEFT DEPT',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015610159','2024-11-01 01:56','RECEIVED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015610159','2024-11-01 02:03','WAITING',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015610159','2024-11-01 02:09','IN ROOM',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015610159','2024-11-01 04:29','READY',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015610159','2024-11-01 04:43','DISCHARGED',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 01:56','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 02:23','POS ADM',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 05:29','PEND ADM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 06:04','ADMITTED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 06:57','GO',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101015624024','2024-11-01 07:44','LEFT DEPT',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023404626','2024-11-01 02:34','RECEIVED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023404626','2024-11-01 02:40','WAITING',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023404626','2024-11-01 02:44','IN ROOM',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023404626','2024-11-01 03:31','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023734854','2024-11-01 02:37','RECEIVED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023734854','2024-11-01 02:44','WAITING',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023734854','2024-11-01 03:14','IN ROOM',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023734854','2024-11-01 08:31','READYER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101023734854','2024-11-01 08:44','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101030006274','2024-11-01 03:00','IN ROOM',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101030006274','2024-11-01 12:15','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101030006274','2024-11-01 13:38','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101033804839','2024-11-01 03:38','IN ROOM',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101033804839','2024-11-01 17:02','TRANSFER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101033804839','2024-11-01 17:16','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101035635115','2024-11-01 03:56','RECEIVED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101035635115','2024-11-01 04:08','WAITING',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101035635115','2024-11-01 04:18','IN ROOM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101035635115','2024-11-01 08:44','READY',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101035635115','2024-11-01 08:53','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101043052267','2024-11-01 04:30','IN ROOM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101043052267','2024-11-01 07:45','READYER',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101043052267','2024-11-01 07:49','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101043052267','2024-11-01 08:00','READYER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101043052267','2024-11-01 10:19','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101054629659','2024-11-01 05:46','RECEIVED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101054629659','2024-11-01 06:07','WAITING',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101054629659','2024-11-01 06:07','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101054629659','2024-11-01 08:07','READYER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101054629659','2024-11-01 08:30','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101055242793','2024-11-01 05:52','RECEIVED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101055242793','2024-11-01 06:23','WAITING',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101055242793','2024-11-01 06:24','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101055242793','2024-11-01 08:34','READY',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101055242793','2024-11-01 08:47','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101064400906','2024-11-01 06:44','RECEIVED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101064400906','2024-11-01 06:55','WAITING',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101064400906','2024-11-01 07:07','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101064400906','2024-11-01 08:05','READYER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101064400906','2024-11-01 08:11','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071453563','2024-11-01 07:14','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071453563','2024-11-01 07:32','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071453563','2024-11-01 07:40','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071453563','2024-11-01 10:17','READYER',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071453563','2024-11-01 10:23','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071807651','2024-11-01 07:18','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071807651','2024-11-01 07:40','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101071807651','2024-11-01 09:28','CRIS-SEC12',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 08:05','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 08:13','WAITING',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 08:26','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 08:39','POS ADM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 13:36','TRANSFER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101080518949','2024-11-01 16:59','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 08:11','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 08:21','WAITING',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 08:22','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 08:24','POS ADM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 11:12','PEND ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 11:19','ADMITTED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 11:23','GO',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101081121259','2024-11-01 12:12','LEFT DEPT',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083201825','2024-11-01 08:32','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083201825','2024-11-01 11:39','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083201825','2024-11-01 14:19','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 08:32','CALLIN',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 09:34','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 09:55','WAITING',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 09:57','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 12:47','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083225656','2024-11-01 13:08','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083404199','2024-11-01 08:34','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083404199','2024-11-01 11:49','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101083404199','2024-11-01 11:58','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 08:40','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 08:48','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 09:01','POS ADM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 12:27','PEND ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 13:06','OBSERVE',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 14:15','GO',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101084027168','2024-11-01 14:47','LEFT DEPT',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101090825252','2024-11-01 09:08','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101090825252','2024-11-01 09:15','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101090825252','2024-11-01 10:52','READYER',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101090825252','2024-11-01 10:58','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101091310797','2024-11-01 09:13','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101091310797','2024-11-01 09:20','WAITING',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101091310797','2024-11-01 09:22','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101091310797','2024-11-01 09:58','READYER',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101091310797','2024-11-01 10:19','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101092741585','2024-11-01 09:27','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101092741585','2024-11-01 09:33','CANCELLED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101094452896','2024-11-01 09:44','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101094452896','2024-11-01 11:29','EXTEND',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101094452896','2024-11-01 13:56','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101094452896','2024-11-01 14:10','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 09:57','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 10:07','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 10:40','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 14:22','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 14:23','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101095733907','2024-11-01 14:37','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101100656972','2024-11-01 10:06','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101100656972','2024-11-01 10:48','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101100656972','2024-11-01 14:35','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101100656972','2024-11-01 15:57','CRIS-SEC12',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101101710557','2024-11-01 10:17','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101101710557','2024-11-01 10:30','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101101710557','2024-11-01 10:32','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101101710557','2024-11-01 11:57','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101101710557','2024-11-01 12:16','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 10:29','CALLIN',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 10:38','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 10:48','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 11:10','POS ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 12:24','PEND ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 12:52','ADMITTED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 12:54','GO',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101102944073','2024-11-01 13:23','LEFT DEPT',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104137201','2024-11-01 10:41','CALLIN',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104137201','2024-11-01 12:46','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104137201','2024-11-01 13:07','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104626421','2024-11-01 10:46','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104626421','2024-11-01 13:17','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104626421','2024-11-01 13:19','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104626421','2024-11-01 14:31','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104626421','2024-11-01 14:58','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104806362','2024-11-01 10:48','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104806362','2024-11-01 11:02','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104806362','2024-11-01 11:03','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104806362','2024-11-01 11:50','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101104806362','2024-11-01 11:57','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105148575','2024-11-01 10:51','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105148575','2024-11-01 11:13','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105148575','2024-11-01 11:18','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105148575','2024-11-01 13:12','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105148575','2024-11-01 13:22','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105631979','2024-11-01 10:56','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105631979','2024-11-01 11:20','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105631979','2024-11-01 11:26','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105631979','2024-11-01 15:32','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101105631979','2024-11-01 15:43','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101110504433','2024-11-01 11:05','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101110504433','2024-11-01 11:37','POS ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101110504433','2024-11-01 14:40','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101110504433','2024-11-01 15:06','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101114404670','2024-11-01 11:44','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101114404670','2024-11-01 11:54','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101114404670','2024-11-01 11:59','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101114404670','2024-11-01 16:28','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101114404670','2024-11-01 16:38','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 11:55','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 12:29','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 12:30','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 14:45','POS ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 14:45','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101115528753','2024-11-01 15:08','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120118293','2024-11-01 12:01','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120118293','2024-11-01 12:43','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120118293','2024-11-01 12:50','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120118293','2024-11-01 15:06','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120118293','2024-11-01 15:15','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 12:07','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 12:16','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 12:39','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 14:01','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 15:10','OBSERVE',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 16:05','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101120753263','2024-11-01 17:20','LEFT DEPT',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 12:46','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 14:28','POS ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 15:42','PEND ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 16:29','OBSERVE',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 17:21','GO',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101124613225','2024-11-01 18:24','LEFT DEPT',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125251398','2024-11-01 12:52','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125251398','2024-11-01 13:29','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125251398','2024-11-01 13:31','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125251398','2024-11-01 19:05','READY',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125251398','2024-11-01 19:17','DISCHARGED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125651261','2024-11-01 12:56','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125651261','2024-11-01 13:16','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125651261','2024-11-01 15:09','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125855060','2024-11-01 12:58','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125855060','2024-11-01 13:14','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125855060','2024-11-01 14:57','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101125855060','2024-11-01 15:15','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 13:01','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 13:37','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 13:42','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 14:41','CRIS-VOL',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 15:49','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101130159125','2024-11-01 17:41','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 13:14','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 13:57','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 15:35','PEND ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 16:48','OBSERVE',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 17:07','GO',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131447465','2024-11-01 17:44','LEFT DEPT',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 13:19','CALLIN',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 13:23','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 13:45','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 14:07','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 16:32','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 17:02','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101131900585','2024-11-01 17:26','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101133240293','2024-11-01 13:32','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101133240293','2024-11-01 14:13','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101133240293','2024-11-01 15:01','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101133240293','2024-11-01 15:40','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101133240293','2024-11-01 15:56','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 14:13','CALLIN',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 15:30','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 15:52','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 15:57','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 16:26','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 20:21','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141356667','2024-11-01 20:40','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141701451','2024-11-01 14:17','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141701451','2024-11-01 14:22','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141701451','2024-11-01 14:24','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141701451','2024-11-01 16:37','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141701451','2024-11-01 16:51','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141834603','2024-11-01 14:18','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141834603','2024-11-01 14:36','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101141834603','2024-11-01 14:46','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101142058401','2024-11-01 14:20','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101142058401','2024-11-01 14:54','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101142058401','2024-11-01 15:15','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101142058401','2024-11-01 16:49','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101142058401','2024-11-01 16:58','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101143955623','2024-11-01 14:39','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101143955623','2024-11-01 15:01','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101143955623','2024-11-01 15:15','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101143955623','2024-11-01 16:13','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101143955623','2024-11-01 16:23','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101144343846','2024-11-01 14:43','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101144343846','2024-11-01 16:32','READY',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101144343846','2024-11-01 16:41','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101145538966','2024-11-01 14:55','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101145538966','2024-11-01 15:23','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101145538966','2024-11-01 15:26','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101145538966','2024-11-01 16:34','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101145538966','2024-11-01 16:55','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101150551412','2024-11-01 15:05','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101150551412','2024-11-01 15:36','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101150551412','2024-11-01 15:43','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101150551412','2024-11-01 22:30','PEND ADM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 15:11','CALLIN',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 15:29','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 15:57','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 15:58','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 17:02','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101151134236','2024-11-01 17:15','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152037924','2024-11-01 15:20','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152037924','2024-11-01 15:31','CANCELLED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152437245','2024-11-01 15:24','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152437245','2024-11-01 15:47','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152437245','2024-11-01 16:21','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152437245','2024-11-01 21:57','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101152437245','2024-11-01 22:17','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101154314802','2024-11-01 15:43','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101154314802','2024-11-01 16:12','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101154314802','2024-11-01 16:47','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101154314802','2024-11-01 18:19','READYER',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101154314802','2024-11-01 18:25','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101155437261','2024-11-01 15:54','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101155437261','2024-11-01 16:21','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101155437261','2024-11-01 16:56','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101155437261','2024-11-01 17:51','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101155437261','2024-11-01 17:52','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101161252134','2024-11-01 16:12','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101161252134','2024-11-01 16:41','PEND ADM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101161252134','2024-11-01 17:07','ADMITTED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101161252134','2024-11-01 18:14','LEFT DEPT',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101162051394','2024-11-01 16:20','CALLIN',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101162427357','2024-11-01 16:24','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101162427357','2024-11-01 21:00','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101162427357','2024-11-01 21:34','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 16:40','CALLIN',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 16:57','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 17:12','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 17:18','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 17:57','POS ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 19:39','PEND ADM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 20:42','OBSERVE',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 21:59','GO',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164059054','2024-11-01 23:05','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 16:43','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 16:55','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 17:26','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 18:08','POS ADM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 21:27','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 22:38','OBSERVE',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101164349468','2024-11-01 23:53','GO',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101165351302','2024-11-01 16:53','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101165351302','2024-11-01 17:07','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101165351302','2024-11-01 17:20','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101165351302','2024-11-01 20:26','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101165351302','2024-11-01 20:43','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101173325468','2024-11-01 17:33','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101173325468','2024-11-01 17:52','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101173325468','2024-11-01 18:27','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101173325468','2024-11-01 19:28','READYER',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101173325468','2024-11-01 19:48','DISCHARGED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 18:06','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 18:10','CALLX1',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 18:22','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 19:44','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 19:49','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 19:58','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 21:14','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101180615192','2024-11-01 21:19','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101181043564','2024-11-01 18:10','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101181043564','2024-11-01 18:20','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101181043564','2024-11-01 19:57','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101181043564','2024-11-01 21:11','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101181043564','2024-11-01 21:39','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182021797','2024-11-01 18:20','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182021797','2024-11-01 18:37','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182021797','2024-11-01 19:05','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182021797','2024-11-01 22:09','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182021797','2024-11-01 22:44','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182045785','2024-11-01 18:20','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182045785','2024-11-01 18:21','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182045785','2024-11-01 22:58','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101182045785','2024-11-01 23:04','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 18:31','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 18:32','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 21:32','POS ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 21:55','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 23:13','OBSERVE',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101183136419','2024-11-01 23:53','GO',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101184132680','2024-11-01 18:41','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101184132680','2024-11-01 18:49','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101184132680','2024-11-01 20:28','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101184132680','2024-11-01 22:50','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101184132680','2024-11-01 22:59','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185339957','2024-11-01 18:53','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185339957','2024-11-01 19:08','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185339957','2024-11-01 20:05','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185339957','2024-11-01 21:15','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185339957','2024-11-01 21:41','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185741726','2024-11-01 18:57','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185741726','2024-11-01 19:16','POS ADM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185741726','2024-11-01 21:43','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101185741726','2024-11-01 23:02','OBSERVE',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101190041156','2024-11-01 19:00','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101190041156','2024-11-01 19:17','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101190041156','2024-11-01 20:16','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101190041156','2024-11-01 21:23','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101190041156','2024-11-01 21:38','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 19:13','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 19:22','CALLX1',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 19:24','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 19:29','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 23:29','READY',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101191313217','2024-11-01 23:44','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101192812628','2024-11-01 19:28','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101192812628','2024-11-01 19:42','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101192812628','2024-11-01 20:09','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101192812628','2024-11-01 23:34','READY',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193149566','2024-11-01 19:31','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193149566','2024-11-01 19:41','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193149566','2024-11-01 20:16','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193149566','2024-11-01 20:55','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193149566','2024-11-01 21:12','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 19:35','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 19:50','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 20:58','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 21:35','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 21:37','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 21:55','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101193511386','2024-11-01 22:02','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101194038264','2024-11-01 19:40','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101194038264','2024-11-01 19:50','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101194038264','2024-11-01 20:53','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101210440692','2024-11-01 21:04','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101213513972','2024-11-01 21:35','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101213513972','2024-11-01 21:49','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101213513972','2024-11-01 22:19','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214102278','2024-11-01 21:41','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214102278','2024-11-01 21:57','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214102278','2024-11-01 22:24','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214935135','2024-11-01 21:49','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214935135','2024-11-01 22:08','CALLX1',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214935135','2024-11-01 22:23','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101214935135','2024-11-01 23:30','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220403634','2024-11-01 22:04','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220632478','2024-11-01 22:06','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220632478','2024-11-01 22:13','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220632478','2024-11-01 22:15','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220632478','2024-11-01 23:18','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101220632478','2024-11-01 23:45','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101221329506','2024-11-01 22:13','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101221329506','2024-11-01 22:31','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101221329506','2024-11-01 22:36','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101222142214','2024-11-01 22:21','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101222142214','2024-11-01 22:28','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101231155787','2024-11-01 23:11','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101231155787','2024-11-01 23:21','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101231155787','2024-11-01 23:27','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101232824535','2024-11-01 23:28','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101233707254','2024-11-01 23:37','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234215326','2024-11-01 23:42','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234215326','2024-11-01 23:50','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234215326','2024-11-01 23:50','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234459221','2024-11-01 23:44','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234617864','2024-11-01 23:46','RECEIVED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F2-B20241101234617864','2024-11-01 23:57','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20240912184324303','2024-10-31 10:13','READY',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20240912184324303','2024-10-31 10:15','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241028175720205','2024-10-31 13:50','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241028175720205','2024-10-31 15:08','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241028175720205','2024-10-31 15:18','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241029143734100','2024-10-31 17:18','READY',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241029143734100','2024-10-31 17:41','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030111037675','2024-10-31 00:25','LEFT DEPT',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030152719949','2024-10-31 00:35','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030162747917','2024-10-31 01:16','GO',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030162747917','2024-10-31 01:45','LEFT DEPT',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030164301980','2024-10-31 00:08','LEFT DEPT',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030180359120','2024-10-31 08:56','READY',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030180359120','2024-10-31 10:13','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030190217397','2024-10-31 02:35','CRIS-EVAL',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030190217397','2024-10-31 11:33','CRIS-SEC12',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030190217397','2024-11-01 08:07','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030203551370','2024-10-31 00:58','ADMITTED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030203551370','2024-10-31 01:10','GO',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030203551370','2024-10-31 01:24','LEFT DEPT',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030210948712','2024-10-31 00:08','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030211109116','2024-10-31 11:49','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030211109116','2024-10-31 12:12','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030213811261','2024-10-31 00:05','READY',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030213811261','2024-10-31 00:23','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030214858505','2024-11-01 10:11','CRIS-SEC12',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030215120857','2024-10-31 00:14','READY',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030215120857','2024-10-31 00:31','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030223001772','2024-10-31 01:03','PEND ADM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030223001772','2024-10-31 04:10','OBSERVE',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030223001772','2024-10-31 04:18','GO',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030223001772','2024-10-31 04:49','LEFT DEPT',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030232209508','2024-10-31 00:42','EXTEND',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030232209508','2024-10-31 01:22','READYER',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030232209508','2024-10-31 01:36','DISCHARGED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030233729809','2024-10-31 01:57','READY',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241030233729809','2024-10-31 02:14','DISCHARGED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031011628290','2024-10-31 01:16','RECEIVED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031011628290','2024-10-31 01:26','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031011628290','2024-10-31 03:07','READYER',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031011628290','2024-10-31 03:18','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031012008553','2024-10-31 01:20','RECEIVED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031012008553','2024-10-31 01:35','WAITING',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031012008553','2024-10-31 01:37','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031012008553','2024-10-31 02:04','READY',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031012008553','2024-10-31 02:35','DISCHARGED',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031032904411','2024-10-31 03:29','IN ROOM',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031032904411','2024-10-31 05:19','READY',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031032904411','2024-10-31 05:52','DISCHARGED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031043229501','2024-10-31 04:32','RECEIVED',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031043229501','2024-10-31 04:39','WAITING',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031043229501','2024-10-31 04:41','IN ROOM',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031043229501','2024-10-31 05:45','READYER',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031043229501','2024-10-31 06:12','DISCHARGED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 05:50','RECEIVED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 05:58','WAITING',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 06:01','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 07:18','POS ADM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 12:49','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031055049044','2024-10-31 13:17','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031060808784','2024-10-31 06:08','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031060808784','2024-10-31 06:48','EXTEND',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031060808784','2024-10-31 10:36','READY',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031060808784','2024-10-31 11:41','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031062201785','2024-10-31 06:22','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031062201785','2024-10-31 11:46','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031062201785','2024-10-31 12:03','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031063629102','2024-10-31 06:36','RECEIVED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031063629102','2024-10-31 06:46','WAITING',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031063629102','2024-10-31 06:54','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031063629102','2024-10-31 11:14','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031063629102','2024-10-31 11:26','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031070249943','2024-10-31 07:02','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031070249943','2024-10-31 10:52','CRIS-SEC12',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031070249943','2024-10-31 21:26','TRANSFER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031070249943','2024-10-31 22:29','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 07:18','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 07:24','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 07:28','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 10:08','PEND ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 11:31','OBSERVE',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 11:35','GO',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031071801769','2024-10-31 12:04','LEFT DEPT',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031074250971','2024-10-31 07:42','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031074250971','2024-10-31 07:50','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031074250971','2024-10-31 07:52','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031074250971','2024-10-31 09:06','READY',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031074250971','2024-10-31 09:14','DISCHARGED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 08:49','RECEIVED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 08:58','WAITING',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 09:10','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 10:04','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 11:37','PEND ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 13:18','OBSERVE',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 13:25','GO',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031084953710','2024-10-31 14:14','LEFT DEPT',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094244610','2024-10-31 09:42','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094244610','2024-10-31 13:10','READY',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094244610','2024-10-31 13:40','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094545412','2024-10-31 09:45','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094545412','2024-10-31 10:06','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094545412','2024-10-31 10:06','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094545412','2024-10-31 11:31','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031094545412','2024-10-31 12:30','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031095440037','2024-10-31 09:54','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031095440037','2024-10-31 10:08','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031095440037','2024-10-31 10:15','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031095440037','2024-10-31 12:13','READY',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031095440037','2024-10-31 12:31','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031100036613','2024-10-31 10:00','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031100036613','2024-10-31 10:31','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031100036613','2024-10-31 17:18','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031101631259','2024-10-31 10:16','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031101631259','2024-10-31 10:28','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031101631259','2024-10-31 10:33','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031101631259','2024-10-31 11:10','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031101631259','2024-10-31 11:25','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031105047336','2024-10-31 10:50','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031105047336','2024-10-31 10:54','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031105047336','2024-10-31 14:26','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031105047336','2024-10-31 14:40','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 11:41','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 12:01','TRIAGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 12:07','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 12:10','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 14:22','READY',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114112269','2024-10-31 14:42','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 11:47','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 12:11','TRIAGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 12:16','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 12:31','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 15:01','POS ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 17:59','READY',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031114725360','2024-10-31 18:18','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 11:50','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 11:51','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 12:17','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 14:51','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 19:34','ADMITTED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 22:30','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115000954','2024-10-31 23:09','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115503017','2024-10-31 11:55','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115503017','2024-10-31 12:40','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115503017','2024-10-31 13:29','TRANSFER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115503017','2024-10-31 16:04','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115911942','2024-10-31 11:59','CALLIN',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115911942','2024-10-31 12:28','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115911942','2024-10-31 12:28','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115911942','2024-10-31 18:05','READY',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031115911942','2024-10-31 18:16','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 12:06','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 12:27','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 15:23','PEND ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 17:49','OBSERVE',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 17:58','GO',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031120628275','2024-10-31 19:06','LEFT DEPT',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031121812255','2024-10-31 12:18','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031121812255','2024-10-31 12:46','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031121812255','2024-10-31 17:39','PEND ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031121812255','2024-10-31 19:04','ADMITTED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031121812255','2024-10-31 20:57','LEFT DEPT',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 12:28','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 12:40','TRIAGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 12:46','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 13:19','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 18:32','READY',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031122824926','2024-10-31 18:41','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031123415798','2024-10-31 12:34','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031123415798','2024-10-31 12:52','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031123415798','2024-10-31 13:13','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031123415798','2024-10-31 13:57','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031123415798','2024-10-31 14:12','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 12:59','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 13:32','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 14:17','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 15:12','ADMITTED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 16:22','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031125924018','2024-10-31 16:47','LEFT DEPT',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 13:03','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 13:08','TRIAGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 13:14','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 13:18','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 13:50','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 15:35','PEND ADM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 17:09','OBSERVE',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 17:17','GO',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031130328528','2024-10-31 18:14','LEFT DEPT',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 13:34','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 14:00','TRIAGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 14:05','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 14:25','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 19:41','READY',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031133446961','2024-10-31 20:12','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 14:20','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 14:29','TRIAGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 14:37','WAITING',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 14:52','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 17:07','READY',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031142032038','2024-10-31 17:27','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031144630510','2024-10-31 14:46','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031144630510','2024-10-31 18:41','PEND ADM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031144630510','2024-10-31 18:42','POS ADM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031144630510','2024-10-31 22:11','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031144630510','2024-10-31 23:30','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031151159311','2024-10-31 15:12','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031151159311','2024-10-31 15:35','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031151159311','2024-10-31 15:36','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031151159311','2024-10-31 20:46','READY',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031151159311','2024-10-31 21:23','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 15:23','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 15:35','TRIAGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 15:40','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 15:52','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 18:29','READY',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031152325179','2024-10-31 18:40','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 15:47','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 15:52','TRIAGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 15:56','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 16:03','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 18:37','READYER',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031154745405','2024-10-31 18:45','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 16:00','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 16:37','TRIAGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 16:44','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 17:06','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 19:55','READYER',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160006931','2024-10-31 20:04','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 16:08','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 17:30','POS ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 20:00','PEND ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 22:05','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 22:07','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031160825865','2024-10-31 23:04','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 16:12','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 21:35','POS ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 21:39','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 22:23','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 22:34','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031161236192','2024-10-31 23:38','LEFT DEPT',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 16:34','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 17:22','TRIAGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 17:26','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 17:43','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 22:13','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031163454220','2024-10-31 22:26','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 16:47','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 17:08','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 17:28','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 17:46','POS ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 21:04','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 22:20','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-10-31 23:33','GO',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031164745365','2024-11-01 01:07','LEFT DEPT',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170531730','2024-10-31 17:05','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170531730','2024-11-01 04:52','EXTEND',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170531730','2024-11-01 06:25','READY',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170531730','2024-11-01 07:07','DISCHARGED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170631105','2024-10-31 17:06','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170631105','2024-10-31 17:35','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170631105','2024-10-31 18:45','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170631105','2024-10-31 21:09','READYER',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031170631105','2024-10-31 21:38','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173232450','2024-10-31 17:32','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173232450','2024-10-31 20:36','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173232450','2024-10-31 22:54','TRANSFER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173232450','2024-11-01 03:38','DISCHARGED',3)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 17:36','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 17:59','TRIAGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 18:02','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 18:40','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 23:09','READY',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031173649885','2024-10-31 23:34','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031174124433','2024-10-31 17:41','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031174124433','2024-10-31 21:28','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 18:07','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 18:53','TRIAGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 18:59','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 19:13','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 22:30','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031180738488','2024-10-31 22:46','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181020527','2024-10-31 18:10','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181020527','2024-10-31 18:19','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181020527','2024-11-01 04:53','CRIS-SEC12',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181839474','2024-10-31 18:18','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181839474','2024-10-31 20:47','CRIS-SEC12',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181839474','2024-11-01 20:38','TRANSFER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031181839474','2024-11-01 20:39','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-10-31 19:17','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-10-31 20:36','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-10-31 23:19','PEND ADM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-11-01 00:02','ADMITTED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-11-01 01:29','GO',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031191749157','2024-11-01 02:25','LEFT DEPT',2)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 19:21','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 19:28','TRIAGED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 19:34','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 20:17','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 23:32','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192109804','2024-10-31 23:44','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-10-31 19:23','CALLIN',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-10-31 20:20','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-10-31 20:32','WAITING',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-10-31 20:51','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-11-01 00:04','READY',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031192313800','2024-11-01 00:18','DISCHARGED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-10-31 19:32','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-10-31 20:23','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-10-31 23:53','PEND ADM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-11-01 00:06','ADMITTED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-11-01 01:13','GO',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193204161','2024-11-01 01:35','LEFT DEPT',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193756337','2024-10-31 19:37','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193756337','2024-10-31 20:33','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031193756337','2024-10-31 21:06','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 20:45','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 21:15','TRIAGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 21:19','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 21:20','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 23:17','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204523425','2024-10-31 23:52','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 20:49','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 21:31','TRIAGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 21:35','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 21:56','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 22:31','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031204944289','2024-10-31 22:49','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-10-31 22:50','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-10-31 22:56','TRIAGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-10-31 23:00','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-10-31 23:27','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-11-01 01:26','READY',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225041853','2024-11-01 01:48','DISCHARGED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225044156','2024-10-31 22:50','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225044156','2024-11-01 06:27','READY',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241031225044156','2024-11-01 06:44','DISCHARGED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101003609653','2024-11-01 00:36','RECEIVED',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101003609653','2024-11-01 00:38','IN ROOM',0)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101003609653','2024-11-01 04:07','READY',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101003609653','2024-11-01 04:12','DISCHARGED',4)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010035937','2024-11-01 01:00','RECEIVED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010035937','2024-11-01 01:02','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010035937','2024-11-01 07:05','READY',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010035937','2024-11-01 07:20','DISCHARGED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010104297','2024-11-01 01:01','RECEIVED',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010104297','2024-11-01 01:08','WAITING',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010104297','2024-11-01 01:11','IN ROOM',1)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010104297','2024-11-01 05:00','READY',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101010104297','2024-11-01 05:14','DISCHARGED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101052705407','2024-11-01 05:27','IN ROOM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101052705407','2024-11-01 08:16','TRANSFER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101052705407','2024-11-01 10:00','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101053442273','2024-11-01 05:34','RECEIVED',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101053442273','2024-11-01 05:43','WAITING',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101053442273','2024-11-01 05:46','IN ROOM',5)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101053442273','2024-11-01 06:07','READY',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101053442273','2024-11-01 06:25','DISCHARGED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101062932191','2024-11-01 06:29','RECEIVED',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101062932191','2024-11-01 06:39','WAITING',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101062932191','2024-11-01 06:46','IN ROOM',6)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101062932191','2024-11-01 08:39','READYER',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101062932191','2024-11-01 08:59','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101070533592','2024-11-01 07:05','RECEIVED',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101070533592','2024-11-01 07:14','WAITING',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101070533592','2024-11-01 07:18','IN ROOM',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101070533592','2024-11-01 07:49','READYER',7)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101070533592','2024-11-01 08:03','DISCHARGED',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 08:03','IN ROOM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 08:21','POS ADM',8)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 11:54','PEND ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 12:27','ADMITTED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 12:29','GO',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 12:36','ADMITTED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 18:24','GO',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101080313558','2024-11-01 20:36','LEFT DEPT',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090226823','2024-11-01 09:02','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090226823','2024-11-01 13:04','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090226823','2024-11-01 13:37','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090226823','2024-11-01 14:58','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090226823','2024-11-01 15:13','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090312127','2024-11-01 09:03','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090312127','2024-11-01 09:15','WAITING',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090312127','2024-11-01 09:16','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090312127','2024-11-01 11:00','READY',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101090312127','2024-11-01 11:17','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091202835','2024-11-01 09:12','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091202835','2024-11-01 09:19','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091202835','2024-11-01 10:25','READYER',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091202835','2024-11-01 10:58','DISCHARGED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 09:14','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 09:31','POS ADM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 11:09','PEND ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 11:32','ADMITTED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 11:35','GO',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 12:23','ADMITTED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 16:57','GO',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101091453566','2024-11-01 17:16','LEFT DEPT',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092030633','2024-11-01 09:20','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092030633','2024-11-01 14:59','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092030633','2024-11-01 20:05','ADMITTED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092030633','2024-11-01 20:35','GO',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092030633','2024-11-01 20:59','LEFT DEPT',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 09:26','CALLIN',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 09:29','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 09:44','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 10:08','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 13:54','EXTEND',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 13:54','POS ADM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 14:04','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092615289','2024-11-01 14:08','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092950703','2024-11-01 09:29','CALLIN',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092950703','2024-11-01 09:49','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092950703','2024-11-01 09:52','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092950703','2024-11-01 12:46','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101092950703','2024-11-01 12:58','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093140523','2024-11-01 09:31','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093140523','2024-11-01 09:40','WAITING',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093140523','2024-11-01 09:42','IN ROOM',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093140523','2024-11-01 14:05','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093943701','2024-11-01 09:39','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101093943701','2024-11-01 09:41','CANCELLED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094223828','2024-11-01 09:42','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094223828','2024-11-01 10:03','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094223828','2024-11-01 10:03','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094223828','2024-11-01 13:10','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094223828','2024-11-01 13:33','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094520191','2024-11-01 09:45','RECEIVED',9)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094520191','2024-11-01 10:19','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094520191','2024-11-01 10:23','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094520191','2024-11-01 10:47','READYER',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101094520191','2024-11-01 11:16','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 10:01','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 10:08','POS ADM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 14:05','PEND ADM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 17:43','ADMITTED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 17:59','GO',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101100128206','2024-11-01 18:47','LEFT DEPT',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101102858117','2024-11-01 10:28','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101102858117','2024-11-01 10:43','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101102858117','2024-11-01 10:47','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101102858117','2024-11-01 12:44','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101102858117','2024-11-01 13:06','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101104223019','2024-11-01 10:42','RECEIVED',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101104223019','2024-11-01 10:52','WAITING',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101104223019','2024-11-01 10:54','IN ROOM',10)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101104223019','2024-11-01 12:10','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101104223019','2024-11-01 12:28','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 11:00','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 11:03','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 11:45','POS ADM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 14:20','EXTEND',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 15:43','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110034207','2024-11-01 16:23','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110604990','2024-11-01 11:06','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110604990','2024-11-01 11:11','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110604990','2024-11-01 11:36','READYER',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110604990','2024-11-01 11:55','DISCHARGED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110931549','2024-11-01 11:09','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110931549','2024-11-01 11:26','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110931549','2024-11-01 11:26','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101110931549','2024-11-01 12:05','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111052574','2024-11-01 11:10','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111052574','2024-11-01 14:24','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111052574','2024-11-01 14:27','DISCHARGED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 11:14','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 11:36','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 12:09','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 12:46','POS ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 15:41','EXTEND',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 15:49','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 15:51','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 16:19','READY',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101111437364','2024-11-01 16:24','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101112924172','2024-11-01 11:29','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101112924172','2024-11-01 11:47','WAITING',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101112924172','2024-11-01 11:59','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101112924172','2024-11-01 12:37','READYER',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101112924172','2024-11-01 12:50','DISCHARGED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114002674','2024-11-01 11:40','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114002674','2024-11-01 20:40','READY',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114002674','2024-11-01 21:23','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114542633','2024-11-01 11:45','IN ROOM',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114542633','2024-11-01 12:35','PEND ADM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114542633','2024-11-01 12:43','NED.OR',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114542633','2024-11-01 13:42','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114902670','2024-11-01 11:49','RECEIVED',11)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114902670','2024-11-01 12:04','WAITING',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114902670','2024-11-01 12:08','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114902670','2024-11-01 13:41','READYER',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101114902670','2024-11-01 13:53','DISCHARGED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121414324','2024-11-01 12:14','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121414324','2024-11-01 12:35','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121414324','2024-11-01 14:48','READYER',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121414324','2024-11-01 15:00','DISCHARGED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121833172','2024-11-01 12:18','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121833172','2024-11-01 15:57','READYER',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101121833172','2024-11-01 16:25','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101122624877','2024-11-01 12:26','IN ROOM',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101122624877','2024-11-01 15:18','EXTEND',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101122624877','2024-11-01 18:32','READY',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101122624877','2024-11-01 18:51','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124436632','2024-11-01 12:44','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124436632','2024-11-01 13:03','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124436632','2024-11-01 13:26','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124436632','2024-11-01 17:17','READY',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124436632','2024-11-01 17:48','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124948864','2024-11-01 12:49','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124948864','2024-11-01 13:13','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124948864','2024-11-01 13:18','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124948864','2024-11-01 15:16','CRIS-EVAL',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101124948864','2024-11-01 15:16','CRIS-SEC12',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101125444318','2024-11-01 12:54','RECEIVED',12)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101125444318','2024-11-01 13:10','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101125444318','2024-11-01 17:34','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101125444318','2024-11-01 17:45','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 13:06','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 13:14','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 13:36','IN ROOM',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 21:43','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 22:07','OBSERVE',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 22:22','GO',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101130618244','2024-11-01 22:50','LEFT DEPT',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101132743279','2024-11-01 13:27','RECEIVED',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101132743279','2024-11-01 13:53','WAITING',13)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101132743279','2024-11-01 14:01','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101132743279','2024-11-01 22:34','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101132743279','2024-11-01 22:51','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101141255065','2024-11-01 14:12','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101141255065','2024-11-01 17:40','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101141255065','2024-11-01 18:08','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 14:55','RECEIVED',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 15:11','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 15:16','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 15:18','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 15:18','CALLX1RM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 15:43','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 16:39','READYER',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145459678','2024-11-01 16:55','DISCHARGED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145654669','2024-11-01 14:56','IN ROOM',14)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101145654669','2024-11-01 18:56','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151319672','2024-11-01 15:13','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151319672','2024-11-01 15:32','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151319672','2024-11-01 17:48','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151319672','2024-11-01 18:08','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151827856','2024-11-01 15:18','CALLIN',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151827856','2024-11-01 15:25','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151827856','2024-11-01 15:25','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151827856','2024-11-01 20:05','READY',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151827856','2024-11-01 20:19','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 15:19','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 15:34','WAITING',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 15:41','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 17:48','PEND ADM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 18:55','OBSERVE',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 19:00','GO',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101151954258','2024-11-01 20:12','LEFT DEPT',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101153856990','2024-11-01 15:38','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101153856990','2024-11-01 16:04','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101153856990','2024-11-01 16:46','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101153856990','2024-11-01 17:34','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101153856990','2024-11-01 17:49','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154030005','2024-11-01 15:40','IN ROOM',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154030005','2024-11-01 17:05','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154030005','2024-11-01 17:28','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154633168','2024-11-01 15:46','RECEIVED',15)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154633168','2024-11-01 16:17','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154633168','2024-11-01 16:20','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154633168','2024-11-01 17:48','READYER',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101154633168','2024-11-01 18:00','DISCHARGED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101161722759','2024-11-01 16:17','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101161722759','2024-11-01 16:27','WAITING',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101161722759','2024-11-01 16:43','IN ROOM',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101161722759','2024-11-01 17:55','DISCHARGED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165001803','2024-11-01 16:50','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165001803','2024-11-01 17:04','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165001803','2024-11-01 17:19','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165001803','2024-11-01 20:56','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165001803','2024-11-01 21:03','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165959212','2024-11-01 16:59','RECEIVED',16)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165959212','2024-11-01 17:13','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165959212','2024-11-01 22:58','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165959212','2024-11-01 22:58','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101165959212','2024-11-01 23:27','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170241716','2024-11-01 17:02','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170241716','2024-11-01 17:17','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170241716','2024-11-01 17:43','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170241716','2024-11-01 21:18','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170241716','2024-11-01 21:31','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170942627','2024-11-01 17:09','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170942627','2024-11-01 17:29','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170942627','2024-11-01 18:11','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170942627','2024-11-01 20:43','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101170942627','2024-11-01 20:53','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171418840','2024-11-01 17:14','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171418840','2024-11-01 17:37','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171418840','2024-11-01 18:16','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171418840','2024-11-01 20:03','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171418840','2024-11-01 20:16','DISCHARGED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171940041','2024-11-01 17:19','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171940041','2024-11-01 17:44','WAITING',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171940041','2024-11-01 18:24','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171940041','2024-11-01 20:59','READYER',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101171940041','2024-11-01 21:16','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173621243','2024-11-01 17:36','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173621243','2024-11-01 17:38','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173723587','2024-11-01 17:37','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173723587','2024-11-01 17:49','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173723587','2024-11-01 22:39','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101173723587','2024-11-01 22:57','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101174214299','2024-11-01 17:42','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101174214299','2024-11-01 18:04','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101174214299','2024-11-01 18:30','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101174214299','2024-11-01 22:19','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101174214299','2024-11-01 22:47','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 17:55','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 17:56','IN ROOM',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 18:14','TRANSFER',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 20:02','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 21:21','PEND ADM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175544982','2024-11-01 22:52','ADMITTED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175737578','2024-11-01 17:57','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175737578','2024-11-01 18:05','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175737578','2024-11-01 19:07','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175737578','2024-11-01 22:00','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175737578','2024-11-01 22:12','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175747246','2024-11-01 17:57','RECEIVED',17)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175747246','2024-11-01 18:11','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175747246','2024-11-01 18:21','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175747246','2024-11-01 21:50','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101175747246','2024-11-01 22:05','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101181126624','2024-11-01 18:11','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101181126624','2024-11-01 18:15','IN ROOM',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101181126624','2024-11-01 19:02','POS ADM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101184629680','2024-11-01 18:46','RECEIVED',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101184629680','2024-11-01 18:57','WAITING',18)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101184629680','2024-11-01 20:02','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101184629680','2024-11-01 20:35','POS ADM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101190131236','2024-11-01 19:01','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101192030934','2024-11-01 19:20','RECEIVED',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101192030934','2024-11-01 19:30','WAITING',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101192030934','2024-11-01 20:44','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101192030934','2024-11-01 21:25','READY',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101192030934','2024-11-01 21:51','DISCHARGED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101195759384','2024-11-01 19:58','IN ROOM',19)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101195759384','2024-11-01 22:03','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101195759384','2024-11-01 22:21','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101202032496','2024-11-01 20:20','IN ROOM',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101202032496','2024-11-01 22:32','READY',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101202032496','2024-11-01 22:55','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101204203370','2024-11-01 20:42','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101204203370','2024-11-01 20:50','WAITING',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101204203370','2024-11-01 21:13','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101205201386','2024-11-01 20:52','RECEIVED',20)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101205201386','2024-11-01 21:06','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101205201386','2024-11-01 21:16','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101205201386','2024-11-01 22:15','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101205201386','2024-11-01 22:34','DISCHARGED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101212441345','2024-11-01 21:24','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101212441345','2024-11-01 21:42','WAITING',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101212441345','2024-11-01 21:49','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101212441345','2024-11-01 22:53','READYER',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101212441345','2024-11-01 23:01','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214335053','2024-11-01 21:43','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214335053','2024-11-01 21:45','IN ROOM',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214658928','2024-11-01 21:46','RECEIVED',21)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214658928','2024-11-01 22:03','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214658928','2024-11-01 22:06','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214658928','2024-11-01 23:05','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101214658928','2024-11-01 23:26','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101222810708','2024-11-01 22:28','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101222810708','2024-11-01 22:38','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101222810708','2024-11-01 23:08','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101222810708','2024-11-01 23:35','READYER',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101222810708','2024-11-01 23:54','DISCHARGED',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101223349278','2024-11-01 22:33','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101223349278','2024-11-01 22:49','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101223349278','2024-11-01 23:11','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101223349278','2024-11-01 23:12','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101223349278','2024-11-01 23:22','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224122900','2024-11-01 22:41','IN ROOM',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224124643','2024-11-01 22:41','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224124643','2024-11-01 22:59','WAITING',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224124643','2024-11-01 23:12','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224939106','2024-11-01 22:49','RECEIVED',22)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224939106','2024-11-01 23:10','WAITING',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224939106','2024-11-01 23:10','IN ROOM',23)
insert into #T1(VisitID,DateTimeID,Status,HR) values('F3-B20241101224939106','2024-11-01 23:52','READYER',23)
November 18, 2024 at 3:16 pm
How is one to know when it's, say, 8AM or 9AM, and the last entry for a person was at 2AM, whether future entries were missed or the person is already discharged? Do we need to check for "DISCHARGED" as well?
SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".
November 19, 2024 at 11:43 am
You make a good point. We need to keep counting hours for the VisitID until we get a DISCHARGED status.
November 19, 2024 at 5:58 pm
You make a good point. We need to keep counting hours for the VisitID until we get a DISCHARGED status.
Without saying it quite that way, that's been my whole point all along. You need to keep track of hours from first to last entry, no matter what with the understanding that it could change because you reported for a given day and the patient hadn't yet been DISCHARGED.
I have code that works this correctly. I just need to "Tweak'n'Peek" it a bit. Hopefully, tonight after work.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 18, 2024 at 3:52 pm
Just wondering where we're at with this. I'm happy to send more data, if needed.
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply