--2.x-0964
Delete from [dbo].[AB_ErrorMessageFields]
from [dbo].[AB_ErrorMessageFields] f
    inner join ab_abstract ab with (nolock) on f.abstractid = ab.abstractid 
    inner join ab_patientservice p with (nolock) on ab.abstractid = p.abstractid and p.serviceoccurrence = 1
    inner join lu_patientservice lp with (nolock) on p.patientservice = lp.code
    inner join ab_diagnosis d with (nolock) on ab.abstractid = d.abstractid and d.diagnosisoccurrence = 1
    inner join icd_diagfile10 ld with (nolock) on d.diagnosiscode = ld.code
where ab.dischargedate > '2017/03/31' and lp.cihivalue = '99'
    and ld.cihivalue in ('Z590', 'Z591', 'Z598', 'Z740', 'Z741', 'Z742', 'Z743', 'Z748', 'Z751', 'Z752', 'Z753', 'Z754', 'Z755', 'Z758', 'Z762', 'Z763', 'Z764')
    and caretype in (1, 2)
    and messagekey = 'TE07010035'
GO
Delete from [dbo].[AB_ErrorMessages]
from [dbo].[AB_ErrorMessages] f
    inner join ab_abstract ab with (nolock) on f.abstractid = ab.abstractid 
    inner join ab_patientservice p with (nolock) on ab.abstractid = p.abstractid and p.serviceoccurrence = 1
    inner join lu_patientservice lp with (nolock) on p.patientservice = lp.code
    inner join ab_diagnosis d with (nolock) on ab.abstractid = d.abstractid and d.diagnosisoccurrence = 1
    inner join icd_diagfile10 ld with (nolock) on d.diagnosiscode = ld.code
where ab.dischargedate > '2017/03/31' and lp.cihivalue = '99'
    and ld.cihivalue in ('Z590', 'Z591', 'Z598', 'Z740', 'Z741', 'Z742', 'Z743', 'Z748', 'Z751', 'Z752', 'Z753', 'Z754', 'Z755', 'Z758', 'Z762', 'Z763', 'Z764')
    and caretype in (1, 2)
    and messagekey = 'TE07010035'
GO
--2.x-0970 
declare @code int
declare @province varchar(50)
set @code = 19962
set @province = (select top 1 p.CIHIValue from H_HospitalProfile h inner join lu_province p on h.provincenumber = p.code)

if @province = '6'
begin
    if not exists (select * from lu_codefile where lookupid = 62  and cihivalue = '0311')
    begin
        if exists (select * from lu_codefile where code = 19962)
        begin
            set @code = (select max(code) from lookupid where code > 500000 and code < 600000) + 1
            if isnull(@code, 0) = 0 set @code = 500001
        end
        insert into [dbo].[LU_CodeFile](Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, LookupID, HospitalID, LUText)
        values(@code, '0311', 'Transitional Care Residence', 'Transitional Care Residence', '0311', '2017/10/04', '2099/03/31', '0311', 62, 0 , '')
    end
end
GO
--0977
Update LU_Institution_10 
set [InstCareType] = 'A', 
    [HospitalType] = 'AT',
    IsAcute = 1
where CIHIValue = '90503'
GO
Update LU_Institution_10 
set [InstCareType] = 'D', 
    [HospitalType] = 'DS',
    IsAcute = 0
where CIHIValue = '91503'
GO
--0978 
Update lu_codefile 
set UserDescription = 'Pediatric disruptive behaviour', DefaultDescription = 'Pediatric disruptive behaviour'
where lookupid = 1100 and cihivalue = '360'
GO
if exists (select * from information_schema.tables where table_name = 'zz2017Inst_ON')
    drop table zz2017Inst_ON
GO
create table zz2017Inst_ON(
    LHIN varchar(10), 
    LOCATION varchar(100), 
    [NAME] varchar(100), 
    [TYPE] varchar(10), 
    MASTERNUMBER int, 
    FACILITYNUMBER varchar(50)
)
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ACTIVE TREATMENT HOSP-ONTARIO-GENERIC #', 'IN', '1', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'GENERAL REHAB HOSPITAL-ONTARIO-GENERIC #', 'IN', '2', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHRONIC HOSPITAL - ONTARIO - GENERIC #', 'IN', '3', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'NURSING HOME - ONTARIO - GENERIC #', 'IN', '4', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PSYCHIATRIC HOSPITAL-ONTARIO-GENERIC #', 'IN', '5', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNCLASSIFIED HEALTH INST-ONT-GENERIC #', 'IN', '6', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SPECIAL REHAB HOSP-ONTARIO-GENERIC #', 'IN', '7', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOME CARE PROGRAM-ONTARIO-GENERIC #', 'IN', '8', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOME FOR THE AGED-ONTARIO-GENERIC #', 'IN', '9', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'LEISUREWORLD CAREGIVING CENTRE-BRANTFORD', 'NH', '1002', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANTWOOD RESIDENTIAL DEVELOPMENT CENTRE', 'SH', '1005', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'JOHN NOBLE HOME', 'HF', '1011', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CHESLEY', 'PARKVIEW MANOR HEALTH CARE CENTRE', 'NH', '1024', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LIONS HEAD', 'GREY BRUCE HEALTH SERVICES-LIONS HEAD', 'AT', '1030', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LUCKNOW', 'PINECREST MANOR', 'NH', '1031', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SOUTHAMPTON', 'SOUTHAMPTON CARE CENTRE', 'NH', '1034', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'BRUCELEA HAVEN', 'HF', '1035', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WIARTON', 'GATEWAY HAVEN', 'HF', '1040', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'SHELBURNE', 'DUFFERIN OAKS', 'HF', '1048', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DUTTON', 'BOBIER VILLA', 'HF', '1052', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'CARESSANT CARE ON MARY BUCKE', 'NH', '1053', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ELGIN MANOR', 'HF', '1056', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSPITAL', 'AT', '1059', '793')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSPITAL', 'CR', '1060', '793')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'AMHERSTBURG', 'RICHMOND TERRACE', 'NH', '1065', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'ESSEX', 'ILER LODGE', 'NH', '1066', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'ERIE SHORES HEALTHCARE', 'AT', '1067', '704')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'ERIE SHORES HEALTHCARE', 'CR', '1068', '704')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'FRANKLIN GARDENS LONG TERM CARE HOME', 'NH', '1069', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'SUN PARLOR HOME FOR SENIOR CITIZENS', 'HF', '1071', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'ALEXANDER HALL CNIB', 'SH', '1072', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'BERKSHIRE CARE CENTRE', 'NH', '1074', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'TECUMSEH', 'BROUILLETTE MANOR', 'NH', '1075', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSPITAL-METROPOLITAN', 'AT', '1079', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR MEN''S DETOXIFICATION CENTRE', 'DT', '1080', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'TECUMSEH', 'BANWELL GARDENS CARE CENTRE', 'NH', '1083', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WOODSLEE', 'COUNTRY VILLAGE HEALTH CARE CENTRE', 'NH', '1093', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'GLENBURNIE', 'FAIRMOUNT HOME FOR THE AGED', 'HF', '1094', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'EXTENDICARE/KINGSTON', 'NH', '1096', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'ONGWANADA', 'SH', '1106', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDENCE CARE CENTRE-PROVIDENCE MANOR', 'HF', '1108', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'QUINTE ST LAWRENCE HALL CNIB', 'SH', '1109', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'HOTEL DIEU HOSP THE CHILD DEVELOP CENTRE', 'RT', '1110', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'RIDEAUCREST HOME', 'HF', '1111', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDENCE CARE HOSPITAL', 'CR', '1112', '695')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CHATSWORTH', 'COUNTRY LANE LONG TERM CARE RESIDENCE', 'NH', '1115', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLARKSBURG', 'HINCKS DELLCREST CENTRE (THE)', 'CM', '1116', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'CLARKSBURG', 'KERRY''S PLACE', 'CM', '1117', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HANOVER', 'HANOVER AND DISTRICT HOSPITAL', 'AT', '1124', '676')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HANOVER', 'CENTRAL PARK LODGE-HANOVER', 'NH', '1126', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MARKDALE', 'GREY GABLES HOME FOR THE AGED', 'HF', '1129', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MEAFORD', 'MEAFORD LONG TERM CARE CENTRE', 'NH', '1132', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'LEE MANOR', 'HF', '1137', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'VERSA-CARE SUMMIT PLACE', 'NH', '1141', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'THORNBURY', 'ERRINRUNG LONG TERM CARE HOME', 'NH', '1143', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'GRANDVIEW LODGE/DUNNVILLE', 'HF', '1145', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'HALDIMAND WAR MEMORIAL HOSPITAL', 'AT', '1146', '648')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'HALDIMAND WAR MEMORIAL HOSPITAL', 'CR', '1147', '648')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HALDIMAND', 'WEST HALDIMAND GENERAL HOSPITAL', 'AT', '1149', '734')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'BROWNDALE ONTARIO', 'CM', '1152', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'MINDEN', 'HYLAND CREST SENIOR CITIZEN''S HOME', 'HF', '1154', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'WELLINGTON PARK CARE CENTRE', 'NH', '1156', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'JOSEPH BRANT HOSPITAL', 'AT', '1160', '718')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'JOSEPH BRANT HOSPITAL', 'CR', '1161', '718')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'MAPLE VILLA LONG TERM CARE CENTRE', 'NH', '1162', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'ALLENDALE', 'HF', '1165', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'MOUNT NEMO CHRISTIAN NURSING HOME', 'NH', '1169', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BANCROFT', 'HASTINGS CENTENNIAL MANOR', 'HF', '1175', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'HASTINGS MANOR', 'HF', '1183', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'WESTGATE LODGE NURSING HOME', 'NH', '1186', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'DESERONTO', 'FRIENDLY MANOR NURSING HOME', 'NH', '1188', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PLAINFIELD', 'PLAINFIELD COMMUNITY HOME', 'SH', '1190', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'STIRLING', 'STIRLING MANOR NURSING HOME', 'NH', '1191', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'CANADIAN FORCES HOSPITAL', 'AT', '1193', '859')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'TRENT VALLEY LODGE NURSING HOME', 'NH', '1195', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'CLINTON PUBLIC HOSPITAL', 'AT', '1199', '633')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'CLINTON PUBLIC HOSPITAL', 'CR', '1200', '633')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'HURONVIEW', 'HF', '1202', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'EXETER', 'SOUTH HURON HOSPITAL', 'AT', '1203', '655')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'EXETER', 'SOUTH HURON HOSPITAL', 'CR', '1204', '655')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'FORDWICH', 'FORDWICH VILLAGE NURSING HOME (THE)', 'NH', '1205', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'ALEXANDRA MARINE AND GENERAL HOSPITAL', 'AT', '1206', '663')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'MAITLAND MANOR', 'NH', '1210', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HENSALL', 'QUEENSWAY LONG TERM CARE HOME', 'NH', '1211', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH COMMUNITY HOSPITAL', 'AT', '1213', '801')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH COMMUNITY HOSPITAL', 'CR', '1214', '801')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH LONG TERM CARE HOME', 'NH', '1215', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'WINGHAM AND DISTRICT HOSPITAL', 'AT', '1217', '889')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'WINGHAM AND DISTRICT HOSPITAL', 'CR', '1218', '889')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ZURICH', 'BLUEWATER REST HOME', 'HF', '1219', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CEDAR SPRINGS', 'SOUTHWESTERN REGIONAL CENTRE', 'SF', '1221', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'COPPER TERRACE LONG-TERM CARE FACILITY', 'NH', '1222', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'PUBLIC GENERAL HOSP SOCIETY OF CHATHAM', 'AT', '1223', '628')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'PRISM CTR FOR AUDIOLOGY&CHILDREN''S REHAB', 'RT', '1226', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'TILBURY', 'TILBURY MANOR NURSING HOME', 'NH', '1236', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'SYDENHAM DISTRICT HOSPITAL', 'AT', '1239', '870')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'FOREST', 'NORTH LAMBTON LODGE', 'HF', '1240', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'FIDDICK''S NURSING HOME', 'NH', '1242', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'LAMBTON MEADOWVIEW VILLA', 'HF', '1243', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'VISION NURSING HOME', 'NH', '1244', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'PATHWAYS HEALTH CENTRE FOR CHILDREN', 'RT', '1246', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'SUMAC LODGE', 'NH', '1250', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'TRILLIUM VILLA NURSING HOME', 'NH', '1252', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WATFORD', 'WATFORD NURSING HOME', 'NH', '1253', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'ALMONTE GENERAL HOSPITAL', 'AT', '1254', '597')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'ALMONTE COUNTRY HAVEN', 'NH', '1255', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CARLETON PLACE', 'CARLETON PLACE AND DISTRICT MEM HOSPITAL', 'AT', '1256', '626')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CARLETON PLACE', 'STONERIDGE MANOR', 'NH', '1259', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'LANARK LODGE', 'HF', '1264', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'PERTH COMMUNITY CARE CENTRE', 'NH', '1265', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'SMITHS FALLS', 'BROADVIEW NURSING CENTRE', 'NH', '1268', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'SMITHS FALLS', 'PERTH & SMITHS FALLS DIST-SMITHS FALLS', 'AT', '1269', '928')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'ATHENS', 'MAPLE VIEW LODGE', 'HF', '1272', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE GENERAL HOSP-CHARLES ST SITE', 'AT', '1273', '619')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'SHERWOOD PARK MANOR', 'NH', '1278', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'ST LAWRENCE LODGE', 'HF', '1279', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'JASPER', 'ROSEBRIDGE MANOR', 'NH', '1282', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'KEMPTVILLE DISTRICT HOSPITAL', 'AT', '1284', '732')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'KEMPTVILLE DISTRICT HOSPITAL', 'CR', '1285', '732')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'MERRICKVILLE', 'HILLTOP MANOR NURSING HOME', 'NH', '1288', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PRESCOTT', 'WELLINGTON HOUSE NURSING HOME', 'NH', '1290', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'GANANOQUE', 'CARVETH CARE CENTRE', 'NH', '1291', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'LENNOX AND ADDINGTON COUNTY GEN HOSPITAL', 'AT', '1295', '592')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'LENNOX AND ADDINGTON COUNTY GEN HOSPITAL', 'CR', '1296', '592')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO EAST HEALTH NETWORK -  DETOX', 'DT', '1300', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TOR. EAST HLTH NTWRK-MICHAEL GARRON HOSP', 'AT', '1302', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'EATONVILLE CARE CENTRE', 'NH', '1305', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'GARDEN COURT NURSING HOME  (ETOBICOKE)', 'NH', '1306', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'IVAN FRANKO HOME (ETOBICOKE)', 'HF', '1307', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'KIPLING ACRES  (ETOBICOKE)', 'HF', '1308', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TURNING POINT YOUTH SERVICES', 'CM', '1310', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'THISTLETOWN REGIONAL CENTRE (ETOBICOKE)', 'CM', '1313', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BAYCREST HOSPITAL (NORTH YORK)', 'CR', '1315', '827')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'EXTENDICARE/BAYVIEW (NORTH YORK)', 'NH', '1316', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CAREFREE LODGE  (NORTH YORK)', 'HF', '1318', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'LEISUREWORLD CAREGIVING CTR-CHELTENHAM', 'NH', '1320', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CUMMER LODGE (NORTH YORK)', 'HF', '1321', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DELLCREST CHILDRENS CENTRE (NORTH YORK)', 'CM', '1322', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DOWNSVIEW LONG TERM CARE CENTRE', 'NH', '1324', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CHARTWELL GIBSON LONG TERM CARE RES', 'NH', '1325', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'JEWISH HOME FOR AGED (THE)', 'HF', '1326', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH PARK NURSING HOME', 'NH', '1328', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK GENERAL HOSPITAL', 'AT', '1330', '632')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HAWTHORNE PLACE CARE CENTRE', 'NH', '1331', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DON MILLS SURGICAL UNIT', 'AT', '1332', '680')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST JOSEPH''S INFIRMARY', 'CR', '1338', '605')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'THOMPSON HOUSE (NORTH YORK)', 'HF', '1341', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-ALTAMONT', 'NH', '1344', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'BENDALE ACRES (SCARBOROUGH)', 'HF', '1345', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'CRAIGLEE NURSING HOME (SCARBOROUGH)', 'NH', '1348', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'EXTENDICARE/SCARBOROUGH', 'NH', '1349', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'EXTENDICARE/GUILDWOOD (SCARBOROUGH)', 'NH', '1351', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'KENNEDY LODGE NURSING HOME (SCARBOROUGH)', 'NH', '1352', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PROVIDENCE HEALTHCARE', 'GR', '1355', '773')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PROVIDENCE HEALTHCARE', 'CR', '1356', '773')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PROVIDENCE HEALTHCARE', 'HF', '1357', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'LEISUREWORLD CAREGIVING CTR-ROCKCLIFFE', 'NH', '1358', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SACRED HEART CHILD AND FAMILY CENTRE', 'CM', '1359', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST MICHAEL''S DETOXIFICATION', 'DT', '1366', '852')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'VERMONT SQUARE', 'NH', '1370', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BELLWOODS PARK HOUSE', 'SH', '1372', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BELMONT HOUSE', 'HF', '1373', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MAIN STREET TERRACE', 'NH', '1374', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRAL TORONTO YOUTH SERVICES', 'CM', '1385', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'EARLSCOURT CHILD & FAMILY CENTRE', 'CM', '1396', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'FUDGER HOUSE', 'HF', '1401', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HERITAGE NURSING HOME (THE)', 'NH', '1402', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'C M HINCKS TREATMENT CENTRE', 'CM', '1405', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOSPITAL FOR SICK CHILDREN  (THE)', 'AT', '1406', '837')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'YOUTHLINKS', 'CM', '1407', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'INA GRAFTON GAGE HOME', 'HF', '1408', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'JEWISH FAMILY AND CHILD SERVICE', 'CM', '1412', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-ST.GEORGE', 'NH', '1416', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MAYNARD NURSING HOME', 'NH', '1419', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MC LEOD HOUSE', 'SH', '1421', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'NISBET LODGE', 'HF', '1424', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'NORWOOD NURSING HOME', 'NH', '1425', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'OOLAGEN COMMUNITY SERVICES', 'CM', '1427', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ELM GROVE LIVING CENTRE INC', 'NH', '1430', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'RUNNYMEDE HEALTHCARE CENTRE', 'CR', '1441', '850')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST JOSEPH''S HEALTH CENTRE', 'AT', '1443', '898')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST MICHAEL''S HOSPITAL', 'AT', '1444', '852')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TRUE DAVIDSON ACRES (EAST YORK)', 'HF', '1456', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TYNDALL NURSING HOME', 'NH', '1457', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO WESTERN HOSPITAL DETOX UNIT', 'DT', '1460', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'WEST END CRECHE CHILD AND FAMILY CLINIC', 'CM', '1461', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHARTWELL WHITE EAGLE LONG TERM CARE RES', 'NH', '1462', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'YOUTHDALE RESD TREAT CTR-VICTORIA ST', 'CM', '1465', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CEDARVALE TERRACE', 'NH', '1467', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WEST PARK HEALTHCARE CENTRE (YORK CITY)', 'CR', '1469', '613')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WEST PARK HEALTHCARE CENTRE (YORK CITY)', 'SR', '1471', '613')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'AILSA CRAIG', 'CRAIGHOLME', 'NH', '1472', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'AILSA CRAIG', 'CRAIGWOOD', 'CM', '1473', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DELAWARE', 'MIDDLESEX TERRACE', 'NH', '1475', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'KOMOKA', 'COUNTRY TERRACE', 'NH', '1476', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'CHILD AND PARENT RESOURCES INSTITUTE', 'SF', '1481', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'DEARNESS HOME FOR SENIOR CITIZENS', 'HF', '1483', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON DETOX CTR', 'DT', '1484', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'EXTENDICARE/LONDON', 'NH', '1485', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'THAMES VALLEY CHILDRENS TREATMENT CTR', 'RT', '1487', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MADAME VANIER CHILDRENS SERVICES', 'CM', '1489', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON', 'AT', '1497', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'TWEEDSMUIR HALL CNIB', 'SH', '1499', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'NEWBURY', 'FOUR COUNTIES HEALTH SERVICES CORP', 'AT', '1507', '593')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'CHELSEY PARK (OXFORD) NURSING HOME', 'NH', '1510', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATHROY', 'STRATHROY MIDDLESEX GENERAL HOSPITAL', 'AT', '1515', '814')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WARDSVILLE', 'BABCOCK COMMUNITY CARE CENTRE', 'NH', '1520', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'PINES (THE)', 'HF', '1522', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BEAMSVILLE', 'ALBRIGHT GARDENS HOMES INCORPORATED', 'HF', '1531', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'CRESCENT PARK LODGE', 'NH', '1535', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'KILEAN LODGE', 'NH', '1536', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'DORCHESTER MANOR', 'HF', '1540', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'OAKWOOD PARK LODGE', 'NH', '1545', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'R. H. LAWSON EVENTIDE HOME', 'HF', '1546', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA-ON-THE-LAKE', 'CHARTWELL NIAGARA LONG TERM CARE RESIDEN', 'NH', '1547', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'WEST PARK HEALTH CENTRE', 'NH', '1554', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'EXTENDICARE/ST CATHARINES', 'NH', '1555', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'HEIDEHOF LONG TERM CARE HOME', 'NH', '1556', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'INA GRAFTON-GAGE HOME (NIAGARA)', 'HF', '1558', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'LINHAVEN', 'HF', '1559', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'LINWELL HALL CNIB', 'SH', '1560', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'GARDEN CITY MANOR', 'NH', '1561', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA CHILDREN''S CENTRE', 'RT', '1564', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA HEALTH SYSTEM-ST CATHARINES GEN', 'DT', '1569', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'TABOR MANOR', 'HF', '1572', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'VINELAND', 'BETHESDA HOME', 'SH', '1578', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA HEALTH SYSTEM,WELLAND SITE,ECU', 'NH', '1585', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'COURTLAND', 'CARESSANT CARE COURTLAND', 'NH', '1587', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT DOVER', 'DOVER CLIFFS', 'NH', '1588', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'NORFOLK GENERAL HOSPITAL', 'AT', '1591', '804')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'NORFOLK GENERAL HOSPITAL', 'CR', '1592', '804')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'NORFOLK HOSPITAL NURSING HOME (THE)', 'NH', '1593', '804')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CAMPBELLFORD', 'CAMPBELLFORD MEMORIAL HOSPITAL', 'AT', '1597', '624')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CAMPBELLFORD', 'BURNBRAE GARDENS LONG TERM CARE RESIDENC', 'NH', '1599', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'GOLDEN PLOUGH LODGE', 'HF', '1602', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PORT HOPE', 'REGENCY LONG TERM CARE HOME', 'NH', '1605', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PORT HOPE', 'COMMUNITY NURSING HOME', 'NH', '1606', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BEAVERTON', 'LAKEVIEW MANOR', 'HF', '1612', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BOWMANVILLE', 'MARNWOOD LIFECARE CENTRE', 'NH', '1614', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BOWMANVILLE', 'STRATHAVEN LIFECARE CENTRE', 'NH', '1617', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CANNINGTON', 'CHARTWELL BON AIR LONG TERM CARE RESIDE', 'NH', '1619', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CLARINGTON', 'FOSTERBROOKE-LONG TERM CARE FAC NEWCAST', 'NH', '1624', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'EXTENDICARE/OSHAWA', 'NH', '1627', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'HILLSDALE ESTATES', 'HF', '1628', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'THORNTON VIEW', 'NH', '1631', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'GRANDVIEW REHAB & TREATMENT CENTRE', 'RT', '1632', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'CHARTWELL BALLYCLIFFE LONG TERM CA', 'NH', '1633', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PORT PERRY', 'COMMUNITY NURSING HOME', 'NH', '1638', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'FAIRVIEW LODGE', 'HF', '1646', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'SUNNYCREST NURSING HOME', 'NH', '1647', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'GLOUCESTER', 'BRUYERE CONTINUING CARE INC', 'HF', '1651', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CARLINGVIEW MANOR', 'NH', '1652', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CARLETON LODGE', 'HF', '1655', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CHILDREN''S HOSPITAL OF EASTERN ONTARIO', 'AT', '1657', '751')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'EXTENDICARE/STARWOOD', 'NH', '1658', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'HILLEL LODGE (THE BESS AND MOE GREENBERG', 'HF', '1660', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'HOPITAL MONTFORT', 'AT', '1661', '753')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'EXTENDICARE/MEDEX', 'NH', '1667', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'NATIONAL DEFENCE MEDICAL CTRE', 'AM', '1669', '730')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'EXTENDICARE/NEW ORCHARD LODGE', 'NH', '1671', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ROBERTS/SMART CENTRE', 'CM', '1675', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'QUEENSWAY-CARLETON HOSPITAL', 'AT', '1681', '777')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ST PATRICK''S HOME', 'HF', '1688', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'SARSFIELD', 'SARSFIELD COLONIAL HOME', 'NH', '1692', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'VANIER', 'CENTRE D''ACCUEIL CHAMPLAIN', 'HF', '1693', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'INGERSOLL', 'ALEXANDRA HOSPITAL', 'AT', '1696', '684')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'INGERSOLL', 'ALEXANDRA HOSPITAL', 'CR', '1697', '684')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'INGERSOLL', 'LEISUREWORLD CAREGIVING CENTRE-OXFORD', 'NH', '1698', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TAVISTOCK', 'PEOPLECARE TAVISTOCK', 'NH', '1705', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TAVISTOCK', 'MAPLES HOME FOR SENIORS (THE)', 'NH', '1706', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'MAPLE MANOR NURSING HOME', 'NH', '1707', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'TILLSONBURG DISTRICT MEMORIAL HOSPITAL', 'AT', '1709', '824')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'TILLSONBURG DISTRICT MEMORIAL HOSPITAL', 'CR', '1710', '824')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK GENERAL HOSPITAL TRUST', 'AT', '1716', '890')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK GENERAL HOSPITAL TRUST', 'CR', '1717', '890')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK PRIVATE HOSPITAL', 'CR', '1718', '891')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'PEEL MANOR', 'HF', '1719', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'LEISUREWORLD CAREGIVING CENTRE-TULLAMORE', 'NH', '1722', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BOLTON', 'KING NURSING HOME', 'NH', '1725', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'LEISUREWORLD CAREGIVING CTR-MISSISSAUGA', 'NH', '1727', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'ERINOAK SERV YOUNG PEOP WITH PHYS DIS', 'RT', '1728', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'COOKSVILLE CARE CENTRE', 'NH', '1729', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'LEISUREWORLD CAREGIVING CTR-STREETSVILLE', 'NH', '1730', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'SHERIDAN VILLA', 'HF', '1735', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'MISSISSAUGA NURSING HOME', 'NH', '1736', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LISTOWEL', 'LISTOWEL MEMORIAL HOSPITAL', 'AT', '1740', '709')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LISTOWEL', 'LISTOWEL MEMORIAL HOSPITAL', 'CR', '1741', '709')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MILVERTON', 'KNOLLCREST LODGE', 'HF', '1742', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MITCHELL', 'RITZ LUTHERAN VILLA', 'HF', '1744', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MITCHELL', 'MITCHELL NURSING HOME', 'NH', '1746', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'ST MARYS MEMORIAL HOSPITAL', 'AT', '1748', '792')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'HILLSIDE MANOR', 'NH', '1751', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'SPRUCE LODGE', 'HF', '1753', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL', 'AT', '1754', '813')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL', 'CR', '1755', '813')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'PEOPLE CARE CENTRE', 'NH', '1756', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'FIVE COUNTIES CHILDRENS CENTRE', 'RT', '1763', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'EXTENDICARE/PETERBOROUGH', 'NH', '1764', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'FAIRHAVEN HOME', 'HF', '1765', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH REGIONAL HEALTH CENTRE', 'AT', '1768', '771')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH REGIONAL HEALTH CENTRE', 'CR', '1769', '771')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'SPRINGDALE COUNTRY MANOR', 'NH', '1771', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BOURGET', 'CARESSANT CARE BOURGET', 'NH', '1773', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'EMBRUN', 'ST JACQUES NURSING HOME', 'NH', '1776', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'HAWKESBURY AND DISTRICT GENERAL HOSPITAL', 'AT', '1777', '800')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'RESIDENCE CHAMPLAIN', 'NH', '1778', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'L''ORIGNAL', 'CHARTWELL CHAMPLAIN LONG TERM CARE RESID', 'NH', '1781', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'PRESCOTT & RUSSELL RESIDENCE', 'HF', '1783', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'HALLOWELL HOUSE', 'NH', '1787', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'KENTWOOD PARK', 'NH', '1789', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'MC FARLAND (H.J.) MEMORIAL HOME', 'HF', '1791', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'WEST LAKE TERRACE', 'NH', '1798', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ARNPRIOR', 'ARNPRIOR REGIONAL HEALTH', 'AT', '1799', '599')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ARNPRIOR', 'ARNPRIOR REGIONAL HEALTH', 'CR', '1800', '599')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BARRY''S BAY', 'ST FRANCIS MEMORIAL HOSPITAL', 'AT', '1801', '768')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'DEEP RIVER', 'DEEP RIVER AND DISTRICT HOSPITAL', 'AT', '1803', '646')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE REGIONAL HOSPITAL INC.', 'AT', '1804', '763')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE REGIONAL HOSPITAL INC.', 'CR', '1805', '763')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'BONNECHERE MANOR', 'HF', '1812', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'RENFREW VICTORIA HOSPITAL', 'AT', '1813', '788')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'RENFREW VICTORIA HOSPITAL', 'CR', '1814', '788')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'ALLISTON', 'GOOD SAMARITAN NURSING HOME', 'NH', '1816', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEW TECUMSETH', 'STEVENSON MEMORIAL HOSPITAL ALLISTON', 'AT', '1817', '596')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'COLEMAN CARE CENTRE', 'NH', '1821', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'GROVE PARK', 'NH', '1822', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'IOOF HOME', 'HF', '1823', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'LEISUREWORLD CAREGIVING CENTRE-BARRIE', 'NH', '1824', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROYAL VICTORIA REGIONAL HEALTH CENTRE', 'AT', '1825', '606')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'BEETON', 'SIMCOE MANOR', 'HF', '1827', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'CAMP BORDEN', 'CANADIAN ARMED FORCES BASE HOSPITAL', 'AT', '1829', '631')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'BAY HAVEN NURSING HOME', 'NH', '1831', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'COLLINGWOOD GENERAL AND MARINE HOSPITAL', 'AT', '1833', '640')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'SUNSET MANOR', 'HF', '1839', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'CREEMORE', 'LEISUREWORLD CAREGIVING CTR-CREEDAN VALL', 'NH', '1840', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'GEORGIAN BAY GENERAL HOSP-MIDLAND SITE', 'AT', '1844', '726')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'VILLA CARE CENTRE (THE)', 'NH', '1846', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'OAK TERRACE', 'NH', '1847', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'HURONIA REGIONAL CENTRE', 'SF', '1852', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA SOLDIERS'' MEMORIAL HOSPITAL', 'AT', '1853', '745')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA SOLDIERS'' MEMORIAL HOSPITAL', 'CR', '1854', '745')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'NEW PATH YOUTH AND FAMILY SERVICES', 'CM', '1856', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'TRILLIUM MANOR HOME FOR THE AGED', 'HF', '1857', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'BEECHWOOD PRIVATE HOSPITAL', 'CR', '1858', '765')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'GEORGIAN MANOR HOME FOR THE AGED', 'HF', '1859', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'COMMUNITY NURSING HOME', 'NH', '1869', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'GLENGARRY MEMORIAL HOSPITAL', 'AT', '1870', '802')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'HEARTWOOD', 'NH', '1871', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'GLEN-STOR-DUN LODGE', 'HF', '1873', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'PARISIEN MANOR NURSING HOME', 'NH', '1877', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'ST JOSEPH''S VILLA (CORNWALL)', 'HF', '1878', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'MAXVILLE', 'MAXVILLE MANOR', 'HF', '1882', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'WINCHESTER', 'WINCHESTER DISTRICT MEMORIAL HOSPITAL', 'AT', '1885', '882')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'WINCHESTER', 'WINCHESTER DISTRICT MEMORIAL HOSPITAL', 'CR', '1886', '882')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BOBCAYGEON', 'SPECIALTY CARE CASE MANOR', 'NH', '1887', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'KINMOUNT', 'CHIMO YOUTH SERVICES', 'CM', '1890', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'ROSS MEMORIAL HOSPITAL', 'AT', '1893', '707')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'ROSS MEMORIAL HOSPITAL', 'CR', '1894', '707')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'VICTORIA MANOR HOME FOR THE AGED', 'HF', '1897', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'FAIRVIEW MENNONITE HOME', 'HF', '1899', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'GOLDEN YEARS NURSING HOME', 'NH', '1900', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'HILLTOP MANOR NURSING HOME', 'NH', '1901', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEMORIAL HOSPITAL', 'AT', '1905', '661')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE COUNTRY MANOR', 'NH', '1907', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'ELMIRA', 'CHARTWELL ELMIRA LONG TERM CARE RESIDEN', 'NH', '1908', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'FOREST HEIGHTS LONG TERM CARE', 'NH', '1910', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-FREEPORT SITE', 'GR', '1912', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'HURONIA HALL CNIB', 'SH', '1914', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL DETOX CENTRE', 'DT', '1915', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'KIDSABILITY CENTRE FOR CHILD DEVELOPMENT', 'RT', '1919', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'PEOPLECARE A.R.GOUDIE KITCHENER', 'HF', '1920', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'ST MARY''S GENERAL HOSPITAL', 'AT', '1921', '699')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'TRINITY VILLAGE CARE CENTRE', 'NH', '1922', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'SUNNYSIDE HOME', 'HF', '1923', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'NEW HAMBURG', 'NITHVIEW HOME', 'HF', '1926', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'ST JACOBS', 'DERBECKER''S HERITAGE HOUSE', 'NH', '1927', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'LUTHERWOOD', 'CM', '1929', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'PINEHAVEN NURSING HOME', 'NH', '1931', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'SUNBEAM RESIDENTIAL DEVLPNT CTR', 'SH', '1932', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'GROVES MEMORIAL COMMUNITY HOSPITAL', 'AT', '1936', '656')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'GROVES MEMORIAL COMMUNITY HOSPITAL', 'CR', '1937', '656')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'CARESSANT CARE FERGUS NURSING HOME', 'NH', '1939', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'ELLIOTT HOME (THE)', 'HF', '1943', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'GUELPH GENERAL HOSPITAL', 'AT', '1946', '665')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'LAPOINTE-FISHER NURSING HOME', 'NH', '1949', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'ST JOSEPH''S HOME', 'HF', '1950', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'ST JOSEPH''S HEALTH CENTRE,GUELPH', 'CR', '1952', '666')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'HARRISTON', 'CARESSANT CARE HARRISTON', 'NH', '1953', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'MOUNT FOREST', 'SAUGEEN VALLEY NURSING CENTER', 'NH', '1959', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNDAS', 'BLACKADAR NURSING HOME', 'NH', '1965', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNDAS', 'ST JOSEPH''S VILLA (DUNDAS)', 'NH', '1966', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNDAS', 'WENTWORTH LODGE', 'HF', '1967', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'ORCHARD TERRACE CARE CENTRE', 'NH', '1968', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'BAYWOODS PLACE', 'NH', '1969', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'CHEDOKE MCMASTER CHILD FAMILY CENTRE', 'CM', '1975', '678')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'RYGIEL HOME', 'SH', '1978', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-GENERAL', 'AT', '1982', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-JURAVINSKI', 'AT', '1983', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP MCMASTER S', 'RT', '1986', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'IDLEWYLD MANOR', 'NH', '1990', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'LYNWOOD HALL CHILD AND FAMILY CENTRE', 'CM', '1991', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'MACASSA LODGE', 'HF', '1992', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-MCMASTER', 'AT', '1994', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILTON', 'AT', '2003', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'VICTORIA GARDENS LONG TERM CARE', 'NH', '2009', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON DETOXIFICATION CENTRE', 'DT', '2011', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'CHARTWELL AURORA LONG TERM CARE RES', 'NH', '2014', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'BLUE HILLS ACADEMY FERGUSON HOUSE', 'CM', '2015', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'WILLOWS ESTATE NURSING HOME (THE)', 'NH', '2021', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'YOUTHDALE RESD TREAT CTR-SPADINA', 'CM', '2022', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'KING CITY', 'KING CITY LODGE NURSING HOME', 'NH', '2023', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UNIONVILLE', 'BETHANY LODGE', 'HF', '2025', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UNIONVILLE', 'UNION VILLA', 'HF', '2028', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'EAGLE TERRACE', 'NH', '2033', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'YORK REGION NEWMARKET HEALTH CENTRE', 'HF', '2034', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE REGIONAL HEALTH CENTRE', 'AT', '2038', '736')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MACKENZIE HEALTH', 'AT', '2046', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'SUTTON WEST', 'RIVER GLEN HAVEN NURSING HOME', 'NH', '2048', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'SHOULDICE HOSPITAL', 'AT', '2049', '855')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'NORTH SHORE HLTH NTWRK-BLIND RIVER SITE', 'AT', '2057', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ST JOSEPH''S GENERAL HOSPITAL', 'AT', '2058', '650')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ST JOSEPH''S GENERAL HOSPITAL', 'CR', '2059', '650')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HORNEPAYNE', 'HORNEPAYNE COMMUNITY HOSPITAL', 'AT', '2061', '682')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'THRIVE CHILD DEVELOPMENT CENTRE', 'RT', '2071', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'EXTENDICARE/VAN DAELE', 'NH', '2073', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WAWA', 'LADY DUNN HEALTH CENTRE', 'AT', '2076', '686')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'COCHRANE', 'LADY MINTO HOSPITAL (THE)', 'AT', '2078', '638')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'COCHRANE', 'LADY MINTO HOSPITAL (THE)', 'CR', '2079', '638')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'HOPITAL NOTRE DAME HOSPITAL (HEARST)', 'AT', '2082', '681')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'HOPITAL NOTRE DAME HOSPITAL (HEARST)', 'CR', '2083', '681')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'IROQUOIS FALLS', 'ANSON GENERAL HOSPITAL', 'AT', '2084', '685')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'IROQUOIS FALLS', 'SOUTH CENTENNIAL MANOR', 'HF', '2085', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'EXTENDICARE/KAPUSKASING', 'NH', '2086', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'NORTH CENTENNIAL MANOR', 'HF', '2087', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'SENSENBRENNER HOSPITAL (THE)', 'AT', '2088', '687')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'SENSENBRENNER HOSPITAL (THE)', 'CR', '2089', '687')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATHESON', 'BINGHAM MEMORIAL HOSPITAL', 'AT', '2090', '723')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'SMOOTH ROCK FALLS HOSPITAL', 'AT', '2094', '809')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'GOLDEN MANOR', 'HF', '2095', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'EXTENDICARE TIMMINS', 'NH', '2100', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'BIG TROUT LAKE', 'BIG TROUT LAKE NURSING STATION', 'NS', '2102', '610')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'DRYDEN REGIONAL HEALTH CENTRE', 'AT', '2103', '647')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'DRYDEN REGIONAL HEALTH CENTRE', 'CR', '2104', '647')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT HOPE', 'FORT HOPE NURSING STATION', 'NS', '2105', '821')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KASHECHEWAN', 'KASHECHEWAN NURSING STATION', 'NS', '2106', '828')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'MORNINGSTAR DETOX DROP-IN CENTRE', 'DT', '2107', '826')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'BIRCHWOOD TERRACE', 'NH', '2109', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE-OF-THE-WOODS DISTRICT HOSPITAL', 'AT', '2110', '826')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'PINECREST', 'HF', '2111', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'LANSDOWNE HOUSE', 'LANSDOWNE HOUSE NURSING STATION', 'NS', '2112', '703')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NEW OSNABURGH', 'NEW OSNABURGH NURSING STATION', 'NS', '2113', '639')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'PIKANGIKUM', 'PIKANGIKUM NURSING STATION', 'NS', '2114', '779')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RED LAKE', 'RED LAKE MARG COCHENOUR MEM HOSP (THE)', 'AT', '2115', '896')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ROUND LAKE', 'ROUND LAKE NURSING STATION', 'NS', '2116', '670')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SANDY LAKE', 'SANDY LAKE NURSING STATION', 'NS', '2117', '794')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'LITTLE CURRENT', 'MANITOULIN CENTENNIAL MANOR', 'HF', '2120', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'LITTLE CURRENT', 'MANITOULIN HEALTH CENTRE-LITTLE CURRENT', 'AT', '2121', '784')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MINDEMOYA', 'MANITOULIN HEALTH CENTRE-MINDEMOYA UNIT', 'AT', '2123', '784')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WIKWEMIKONG', 'WIKWEMIKONG NURSING HOME', 'NH', '2124', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CORBEIL', 'NIPISSING MANOR NURSING CARE CENTER', 'NH', '2125', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTAWA', 'MATTAWA GENERAL HOSPITAL', 'AT', '2126', '724')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'CASSELLHOLME', 'HF', '2127', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'LEISUREWORLD CAREGIVING CENTRE-NORTH BAY', 'NH', '2128', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'AU CHATEAU', 'HF', '2134', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'BELVEDERE HEIGHTS', 'HF', '2137', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MAGNETAWAN', 'YOUTHDALE RESID TREATMENT CENTRES LTD', 'CM', '2142', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'POWASSAN', 'EASTHOLME', 'HF', '2144', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TROUT CREEK', 'LADY ISABELLE NURSING HOME', 'NH', '2146', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ATIKOKAN', 'ATIKOKAN GENERAL HOSPITAL', 'AT', '2147', '600')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EMO', 'RIVERSIDE HEALTH CARE FAC-EMO SITE', 'AT', '2148', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RIVERSIDE HEALTH CARE FAC-LAVERENDRYE', 'AT', '2150', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RIVERSIDE HEALTH CARE FAC-LAVERENDRYE', 'CR', '2151', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RAINYCREST', 'HF', '2152', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RAINY RIVER', 'RIVERSIDE HEALTH CARE FAC-RAINY RIVER', 'AT', '2153', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'EXTENDICARE/FALCONBRIDGE', 'NH', '2157', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'PINEGATE DETOX CENTRE (MEN''S)', 'DT', '2158', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'PIONEER MANOR', 'HF', '2162', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HOPITAL REGIONAL DE SUDBURY REGIONAL HOS', 'RT', '2167', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'EXTENDICARE/YORK', 'NH', '2172', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHAPLEAU', 'SERVICES DE SANTE DE CHAPLEAU HLTH SERV', 'AT', '2173', '627')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA GENERAL HOSPITAL', 'AT', '2174', '654')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'GERALDTON', 'GERALDTON DISTRICT HOSPITAL', 'AT', '2175', '662')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MANITOUWADGE', 'MANITOUWADGE GENERAL HOSPITAL', 'AT', '2176', '719')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NIPIGON', 'NIPIGON DISTRICT MEMORIAL HOSPITAL', 'AT', '2178', '739')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'BIRCHWOOD TERRACE', 'HF', '2179', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'LAKEHEAD MANOR', 'NH', '2181', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'BALMORAL DETOXIFICATION CENTRE', 'DT', '2183', '781')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'CUMBERLAND HALL CNIB', 'SH', '2185', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'GEORGE JEFFREY CHILDREN''S TREAT CENTRE', 'RT', '2193', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'CENTRE FOR THE DEVELOPMENTALY CHALLENGED', 'SH', '2200', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ENGLEHART', 'ENGLEHART AND DISTRICT HOSPITAL', 'AT', '2204', '653')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ENGLEHART', 'NORTHVIEW NURSING HOME', 'NH', '2205', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HAILEYBURY', 'EXTENDICARE/TRI-TOWN', 'NH', '2206', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'TEMISKAMING HOSPITAL', 'AT', '2207', '888')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'TEMISKAMING HOSPITAL', 'CR', '2208', '888')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'EXTENDICARE/KIRKLAND LAKE', 'NH', '2209', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'KIRKLAND AND DISTRICT HOSPITAL', 'AT', '2211', '696')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'KIRKLAND AND DISTRICT HOSPITAL', 'CR', '2212', '696')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE REGIONAL HEALTH CENTRE', 'CR', '2217', '736')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MACKENZIE HEALTH', 'CR', '2218', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'DM', '2220', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDENCE CARE HOSPITAL', 'GR', '2223', '695')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE-OF-THE-WOODS DISTRICT HOSPITAL', 'CR', '2224', '826')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'ALGOMA DISTRICT HEALTH UNIT (THE)', 'HU', '2226', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COUNTY HEALTH UNIT', 'HU', '2227', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'DURHAM REGIONAL HEALTH UNIT', 'HU', '2230', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ELGIN-ST THOMAS HEALTH UNIT', 'HU', '2231', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH UNIT', 'HU', '2233', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'HALDIMAND-NORFOLK HEALTH UNIT', 'HU', '2234', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PORT HOPE', 'HALIBURTON KAWARTHA PINE RIDGE DIST HLTH', 'HU', '2235', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON REGIONAL HEALTH UNIT', 'HU', '2236', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'CITY OF HAMILTON HEALTH UNIT', 'HU', '2237', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'HASTINGS AND PRINCE EDWARD COUNTIES HLTH', 'HU', '2238', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'HURON COUNTY HEALTH UNIT', 'HU', '2239', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'CHATHAM-KENT HEALTH UNIT', 'HU', '2240', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON FRONTENAC & LENNOX & ADDINGTON', 'HU', '2241', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'LAMBTON HEALTH UNIT', 'HU', '2242', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'LEEDS GRENVILLE AND LANARK DISTRICT HLTH', 'HU', '2243', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MIDDLESEX-LONDON HEALTH UNIT', 'HU', '2244', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA REGIONAL AREA HEALTH UNIT', 'HU', '2246', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY PARRY SOUND DISTRICT HLTH UNIT', 'HU', '2247', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'NORTHWESTERN HEALTH UNIT', 'HU', '2249', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CITY OF OTTAWA HEALTH UNIT', 'HU', '2251', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'OXFORD COUNTY HEALTH UNIT', 'HU', '2252', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'PEEL REGIONAL HEALTH UNIT', 'HU', '2253', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'PERTH DISTRICT HEALTH UNIT', 'HU', '2254', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH COUNTY-CITY HEALTH UNIT', 'HU', '2255', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'PORCUPINE HEALTH UNIT', 'HU', '2256', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'RENFREW COUNTY AND DISTRICT HEALTH UNIT', 'HU', '2257', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'EASTERN ONTARIO HEALTH UNIT (THE)', 'HU', '2258', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'SIMCOE MUSKOKA DISTRICT HEALTH UNIT', 'HU', '2260', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY AND DISTRICT HEALTH UNIT', 'HU', '2261', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY DISTRICT HEALTH UNIT', 'HU', '2262', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'TIMISKAMING HEALTH UNIT', 'HU', '2263', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'WATERLOO HEALTH UNIT', 'HU', '2265', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'WELLINGTON-DUFFERIN-GUELPH HEALTH UNIT', 'HU', '2266', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR-ESSEX COUNTY HEALTH UNIT', 'HU', '2268', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'YORK REGIONAL HEALTH UNIT', 'HU', '2270', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'ONTARIO CORRECTIONAL INSTITUTE', 'CC', '2276', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANTFORD JAIL', 'CC', '2278', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE JAIL', 'CC', '2281', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'BROOKSIDE YOUTH CENTRE', 'CC', '2284', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'FORT FRANCES JAIL', 'CC', '2287', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'KENORA JAIL', 'CC', '2294', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'MAPLEHURST CORRECTION & TREATMENT CENTRE', 'CC', '2301', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'TORONTO INTERMITTENT CENTRE', 'CC', '2302', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MONTEITH', 'MONTEITH CORRECTIONAL CENTRE & JAIL', 'CC', '2303', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'QUINTE DETENTION CENTRE', 'CC', '2304', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY JAIL', 'CC', '2306', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'SARNIA JAIL', 'CC', '2317', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'ALGOMA TREATMENT AND REMAND CENTRE', 'CC', '2318', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'SPRUCEDALE YOUTH CENTRE', 'CC', '2319', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD JAIL', 'CC', '2322', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'CECIL FACER YOUTH CENTRE', 'CC', '2323', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY JAIL', 'CC', '2324', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY CORRECTIONAL CENTRE', 'CC', '2325', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY JAIL', 'CC', '2326', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'CORRECTIONAL SERVICES MAIN OFFICE', 'CC', '2327', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'WALKERTON JAIL', 'CC', '2330', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'STOTHERS PRE SCHOOL CHILD CARE CENTRE', 'CM', '2334', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE-OF-THE-WOODS CHILD DEVELOPMENT CTR', 'CM', '2337', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'INTEGRA FOUNDATION CAMP TOWNEE', 'CM', '2338', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'CRECHE CHILD AND FAMILY SERVICES', 'CM', '2339', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'ADVENTURE PLACE  (NORTH YORK)', 'CM', '2340', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'SERTOMA CENTRE FOR CHILDREN AND YOUTH', 'CM', '2343', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WEST END CRECHE CHILD AND FAMILY CLINIC(', 'CM', '2344', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'YORKTOWN CHILD AND FAMILY', 'CM', '2345', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'INTEGRA FOUNDATION', 'CM', '2348', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'W ROSS MACDONALD SCHOOL', 'SS', '2356', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'SIR JAMES WHITNEY SCHOOL', 'SS', '2357', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ROBARTS SCHOOL', 'SS', '2358', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'ERNEST C DRURY SCHOOL', 'SS', '2359', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CANNINGTON', 'CHIMO YOUTH SERVICES', 'CM', '2361', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'FRONTENAC YOUTH SERVICES', 'CM', '2364', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'ETOBICOKE CHILDREN''S CENTRE', 'CM', '2366', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'TERCENTENNIAL LODGE', 'SH', '2369', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'GLENGARRY MEMORIAL HOSPITAL', 'CR', '2399', '802')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'NH', '2400', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'MACKENZIE PLACE', 'NH', '2401', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'BLUE HILLS ACADEMY SUMMIT HOUSE', 'CM', '2403', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'SUNPARLOUR EMERGENCY SERVICES INC', 'AS', '2407', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'BRIGDEN', 'BRIGDEN & DISTRICT AMBULANCE SERVICE', 'AS', '2410', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'THEDFORD', 'GILPIN AMBULANCE SERVICE', 'AS', '2411', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'PETROLIA & DIST AMBULANCE SERVICE', 'AS', '2412', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GLENCOE', 'LAMBTON MIDDLESEX AMBULANCE SERVICE LTD.', 'AS', '2414', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATHROY', 'DENNING BROTHERS AMBULANCE SERVICE', 'AS', '2415', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'PARKHILL', 'NORTH MIDDLESEX AMBULANCE SERVICE', 'AS', '2416', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LUCAN', 'LUCAN AMBULANCE SERVICE', 'AS', '2417', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'THAMES VALLEY AMBULANCE LTD', 'AS', '2418', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'RODNEY', 'RODNEY AMBULANCE SERVICE LTD', 'AS', '2419', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK AMBULANCE LTD', 'AS', '2420', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD AMBULANCE SERVICE', 'AS', '2421', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DASHWOOD', 'HOFFMAN AMBULANCE SERVICE', 'AS', '2422', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ZURICH', 'ZURICH AMBULANCE SERVICE', 'AS', '2423', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH DISTRICT AMBULANCE SERVICE', 'AS', '2424', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'SARNIA GENERAL HOSPITAL AMBULANCE', 'AS', '2425', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSP AMBULANCE', 'AS', '2426', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'TILLSONBURG DIST MEMORIAL HOSP AMBULANCE', 'AS', '2427', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'ST MARYS MEMORIAL HOSPITAL AMBULANCE', 'AS', '2428', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL AMBULANCE', 'AS', '2429', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LISTOWEL', 'LISTOWEL MEMORIAL HOSPITAL AMBULANCE', 'AS', '2430', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'OSHAWA DISTRICT AMBULANCE SERVICE', 'AS', '2431', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'WINGHAM AND DISTRICT HOSPITAL AMBULANCE', 'AS', '2432', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'KINCARDINE', 'OWEN SOUND EMERGENCY SERVICE', 'AS', '2433', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WIARTON', 'BRUCE PENINSULA HEALTH SERVICES AMB', 'AS', '2435', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'WALKERTON AMBULANCE SERVICE', 'AS', '2437', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HANOVER', 'HANOVER & DISTRICT HOSPITAL AMBULANCE', 'AS', '2438', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'OWEN SOUND EMERGENCY SERVICES INC', 'AS', '2439', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DURHAM', 'DURHAM MEMORIAL HOSPITAL AMBULANCE', 'AS', '2440', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MARKDALE', 'CENTRE GREY GENERAL HOSPITAL AMBULANCE', 'AS', '2441', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR PROVINCIAL AMBULANCE SERVICE', 'AS', '2443', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'AMHERSTBURG', 'AMHERSTBURG ANDERDON MALDON VOL AMB SERV', 'AS', '2444', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PELEE ISLAND', 'PELEE ISLAND VOLUNTEER AMBULANCE SERV', 'AS', '2445', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'MOUNT FOREST', 'MOUNT FOREST DIST AMBULANCE SERVICE', 'AS', '2446', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'PALMERSTON', 'PALMERSTON AND DISTRICT AMBULANCE', 'AS', '2447', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'ROYAL CITY AMBULANCE SERVICE LTD', 'AS', '2449', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'LANGTON', 'VERHOEVE AMBULANCE SERVICE', 'AS', '2450', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DELHI', 'D L MURPHY AMBULANCE SERVICE', 'AS', '2451', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'GREENS AMBULANCE SERVICE', 'AS', '2452', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT COLBORNE', 'PORT COLBORNE DISTRICT AMBULANCE SERV', 'AS', '2455', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SMITHVILLE', 'BOOK AMBULANCE SERVICE', 'AS', '2456', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'FLEETWOOD AMBULANCE SERVICE', 'AS', '2457', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'SUPERIOR AMBULANCE LIMITED', 'AS', '2458', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'DISTRICT OF HALTON-MISSISSAUGA AMBULANCE', 'AS', '2460', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'WEST LINCOLN AMBULANCE LTD', 'AS', '2465', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'SHELBURNE', 'SHELBURNE DISTRICT HOSPITAL AMB', 'AS', '2466', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'ROYAL CITY AMBULANCE SERVICE LTD', 'AS', '2467', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'KITCHENER-WATERLOO REGIONAL AMB INC', 'AS', '2468', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEMORIAL HOSPITAL AMBULANCE', 'AS', '2469', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HALDIMAND', 'WEST HALDIMAND GEN HOSP AMBULANCE SERV', 'AS', '2471', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'HALDIMAND WAR MEMORIAL HOSP AMBULANCE', 'AS', '2472', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'HOTEL DIEU HOSPITAL AMBULANCE', 'AS', '2473', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'NIAGARA FALLS DISTRICT AMB SERV', 'AS', '2474', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA-ON-THE-LAKE', 'NIAGARA-ON-THE-LAKE AMBULANCE SERVICE', 'AS', '2475', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COUNTY AMBULANCE SERVICE LTD', 'AS', '2476', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ANCASTER', 'ANCASTER AMBULANCE SERVICE', 'AS', '2477', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'STREETSVILLE', 'LEE AMBULANCE SERVICE', 'AS', '2478', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'MC KECHNIE AMBULANCE SERVICE INC', 'AS', '2479', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'MIDLAND DISTRICT AMBULANCE SERVICE', 'AS', '2480', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BEAVERTON', 'BEAVERTON & DISTRICT AMBULANCE SERVICE', 'AS', '2481', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BOBCAYGEON', 'BOBCAYGEON AMBULANCE SERVICE', 'AS', '2482', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'MEDAVIE EMS ONTARIO (MEMSO)', 'AS', '2483', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'BRADFORD', 'LEWIS AMBULANCE SERVICE', 'AS', '2484', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'COBOURG & DIST AMBULANCE SERVICE', 'AS', '2485', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COLBORNE', 'RUTHERFORD''S AMBULANCE SERVICE', 'AS', '2486', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'FENELON FALLS', 'FENELON FALLS AMBULANCE SERVICE', 'AS', '2487', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MACTIER', 'MEDAVIE EMS ONTARIO (MEMSO)', 'AS', '2488', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'WHITBY-BOWMANVILLE AMBULANCE SERVICE', 'AS', '2497', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEW TECUMSETH', 'STEVENSON MEMORIAL HOSPITAL AMB ALLISTON', 'AS', '2500', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'AJAX AND PICKERING AMBULANCE SERVICE', 'AS', '2501', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROYAL VICTORIA HOSP BARRIE & DIST AMB', 'AS', '2502', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CAMPBELLFORD', 'CAMPBELLFORD MEMORIAL HOSPITAL AMB', 'AS', '2504', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'HUNTSVILLE', 'MEDAVIE EMS ONTARIO (MEMSO)', 'AS', '2505', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'YORK COUNTY HOSPITAL AMBULANCE', 'AS', '2506', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'DUFFERIN AREA HOSPITAL AMBULANCE', 'AS', '2507', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH & DIST AMBULANCE SERV', 'AS', '2508', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UXBRIDGE', 'UXBRIDGE AMBULANCE SERVICE', 'AS', '2509', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA DISTRICT AMBULANCE SERVICE', 'AS', '2514', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'MISSISSAUGA', 'C.A.C.C-MISSISSAUGA', 'AS', '2516', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'OSHAWA-MARKHAM AMBULANCE SERVICE', 'AS', '2517', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BOLTON', 'BOLTON & DISTR VOLUNTEER AMBULANCE ASSOC', 'AS', '2518', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NOBLETON', 'NOBLETON AMBULANCE SERVICE ASSOCIATION', 'AS', '2521', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'WASAGA BEACH', 'WASAGA BEACH AMBULANCE SERVICE', 'AS', '2522', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'HALIBURTON & DIST AMBULANCE SERVICE', 'AS', '2523', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'CENTRAL AMBULANCE COMMUNICATION CENTRE', 'AS', '2524', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'MINDEN', 'HALIBURTON COUNTY AMBULANCE SERVICE', 'AS', '2525', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO EMERGENCY MEDICAL SERVICES', 'AS', '2526', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALFRED', 'LAMARRE & SON AMBULANCE SERVICE', 'AS', '2527', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'MADOC', 'CITY AMBULANCE SERVICE OF QUINTE LTD', 'AS', '2529', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'CITY AMBULANCE SERVICE OF QUINTE LTD', 'AS', '2530', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'LA SALLE AMBULANCE SERVICE', 'AS', '2531', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CARLETON PLACE', 'CARLETON PLACE/RICHMOND AMBULANCE SERV', 'AS', '2532', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CASSELMAN', 'ST LAWRENCE & DISTRICT AMB SERVICE LTD', 'AS', '2533', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'NOEL AMBULANCE SERVICE LTD', 'AS', '2534', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'WINCHESTER', 'ST LAWRENCE & DISTRICT AMB SERVICE LTD', 'AS', '2536', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PRESCOTT', 'ST LAWRENCE & DISTRICT AMB SERVICE LTD', 'AS', '2537', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'GANANOQUE', 'GANANOQUE PROVINCIAL AMBULANCE SERV', 'AS', '2538', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PARHAM', 'PARHAM AMBULANCE SERVICE', 'AS', '2539', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PETAWAWA', 'UPPER OTTAWA VALLEY AMBULANCE', 'AS', '2540', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'DISTRICT AMBULANCE SERVICE LTD.', 'AS', '2541', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BANCROFT', 'BANCROFT AMBULANCE SERVICE', 'AS', '2542', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'CITY AMBULANCE SERVICE OF QUINTE LTD', 'AS', '2543', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'ALEXANDRIA & DISTRICT AMBULANCE SERVICE', 'AS', '2544', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'ALMONTE DISTRICT AMBULANCE SERVICE', 'AS', '2545', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'PERTH AMBULANCE SERVICE', 'AS', '2546', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ARNPRIOR', 'ARNPRIOR & KANATA AMBULANCE SERVICE', 'AS', '2547', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BARRY''S BAY', 'BARRY''S BAY DISTRICT AMBULANCE', 'AS', '2548', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE DISTRICT AMBULANCE SERVICE', 'AS', '2549', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE & DIST AMBULANCE SERVICE', 'AS', '2550', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'ST LAWRENCE & DISTRICT AMB SERVICE LTD', 'AS', '2551', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON AMBULANCE SERVICE', 'AS', '2552', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL PROVINCIAL AMBULANCE SERVICE', 'AS', '2553', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA-CARLETON REGIONAL AMB SERVICE', 'AS', '2554', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'SMITHS FALLS', 'SMITHS FALLS DISTRICT AMB SERVICE', 'AS', '2555', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'RENFREW PROV AMBULANCE SERVICE', 'AS', '2556', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ROCKLAND', 'ROCKLAND AMBULANCE SERVICE', 'AS', '2557', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'ELGIN', 'NORTH LEEDS VOL AMBULANCE SERVICE', 'AS', '2558', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'WOLFE ISLAND', 'WOLFE ISLAND VOLUNTEER AMBULANCE SERV', 'AS', '2559', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HAILEYBURY', 'BUFFAM AMBULANCE SERVICE', 'AS', '2560', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'PORCUPINE AREA AMBULANCE SERVICE', 'AS', '2561', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'ST JOSEPH''S GENERAL HOSPITAL AMBULANCE', 'AS', '2562', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'THESSALON', 'THESSALON AMBULANCE SERVICE', 'AS', '2563', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT ALGOMA AMBULANCE SERVICE', 'AS', '2564', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ST JOSEPH''S GENERAL HOSPITAL AMBULANCE', 'AS', '2565', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HORNEPAYNE', 'HORNEPAYNE COMMUNITY HOSPITAL AMBULANCE', 'AS', '2566', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WAWA', 'LADY DUNN HOSPITAL AMBULANCE', 'AS', '2567', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'PARRY SOUND & DIST GENERAL HOSP AMB', 'AS', '2569', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHAPLEAU', 'CHAPLEAU GENERAL HOSPITAL AMBULANCE', 'AS', '2570', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA GENERAL HOSPITAL AMBULANCE', 'AS', '2571', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'SMOOTH ROCK FALLS HOSPITAL AMBULANCE', 'AS', '2572', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'COCHRANE', 'LADY MINTO HOSPITAL AMBULANCE', 'AS', '2573', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'NOTRE DAME HOSPITAL AMBULANCE', 'AS', '2574', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'IROQUOIS FALLS', 'ANSON GENERAL HOSPITAL AMB', 'AS', '2575', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'HOPITAL SENSENBRENNER AMBULANCE', 'AS', '2576', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATHESON', 'BINGHAM MEMORIAL HOSPITAL AMBULANCE', 'AS', '2577', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ENGLEHART', 'ENGLEHART AND DISTRICT HOSP.  AMBULANCE', 'AS', '2578', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'KIRKLAND & DISTRICT HOSPITAL AMB', 'AS', '2579', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'LITTLE CURRENT', 'MANITOULIN HEALTH CENTRE AMBULANCE', 'AS', '2580', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTAWA', 'MATTAWA GENERAL HOSPITAL AMB', 'AS', '2581', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY CIVIC HOSPITAL AMBULANCE', 'AS', '2582', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'WEST NIPISSING GENERAL HOSPITAL AMBULANC', 'AS', '2583', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY CENTRAL AMBULANCE COMM. CENTRE', 'AS', '2584', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'POWASSAN', 'POWASSAN & DISTRICT AMBULANCE', 'AS', '2585', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'GORE BAY', 'GORE BAY VOLUNTEER AMBULANCE GROUP', 'AS', '2586', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NOELVILLE', 'NOELVILLE AMBULANCE SERVICE', 'AS', '2587', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'DUBREUILVILLE', 'DUBREUILVILLE VOLUNTEER AMBULANCE SERV', 'AS', '2588', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'RICHARDS LANDING', 'RICHARDS LANDING AMBULANCE', 'AS', '2589', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WHITE RIVER', 'WHITE RIVER VOLUNTEER AMBULANCE SERVICE', 'AS', '2590', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TEMAGAMI', 'TOWNSHIP OF TEMAGAMI AMBULANCE SERVICE', 'AS', '2592', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MOOSONEE', 'JAMES BAY GENERAL HOSPITAL AMBULANCE', 'AS', '2593', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'GERALDTON', 'FAWCETT AMBULANCE SERVICE', 'AS', '2594', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NIPIGON', 'NIPIGON DIST MEM HOSPITAL AMBULANCE', 'AS', '2597', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MANITOUWADGE', 'MANITOUWADGE GENERAL HOSPITAL AMBULANCE', 'AS', '2598', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MARATHON', 'WILSON MEMORIAL HOSPITAL AMBULANCE', 'AS', '2599', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SCHREIBER', 'NORTH SHORE AMBULANCE SERVICE', 'AS', '2600', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'BEARDMORE', 'BEARDMORE VOLUNTEER AMBULANCE SERVICE', 'AS', '2601', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ATIKOKAN', 'ATIKOKAN GENERAL HOSPITAL AMBULANCE', 'AS', '2602', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RAINY RIVER VALLEY H C F AMB SERV', 'AS', '2603', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'NORTHWEST EMERGENCY MED SERV-KENORA', 'AS', '2605', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'NORTHWEST EMERGENCY MED SERV-DRYDEN', 'AS', '2606', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'NORTHWEST EMERGENCY MED SERV-SIOUX LOOKO', 'AS', '2607', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RED LAKE', 'NORTHWEST EMERGENCY MED SERV-RED LAKE', 'AS', '2608', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NESTOR FALLS', 'NORTHWEST EMERGENCY MED SERV-NESTOR FALL', 'AS', '2609', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EAR FALLS', 'NORTHWEST EMERGENCY MED SERV-EAR FALLS', 'AS', '2610', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX NARROWS', 'NORTHWEST EMERGENCY MED SERV-SIOUX NARRO', 'AS', '2612', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'IGNACE', 'NORTHWEST EMERGENCY MED SERV-IGNACE', 'AS', '2613', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'FOREST', 'FOREST DISTRICT AMBULANCE SERVICE', 'AS', '2614', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ARMSTRONG', 'ARMSTRONG AREA AMBULANCE SERVICE', 'AS', '2615', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BEAVERTON', 'CHIMO YOUTH SERVICES', 'CM', '2618', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MERCURY II (NORTH YORK)', 'CM', '2619', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'EAST METRO YOUTH SERVICES', 'CM', '2620', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'O''NEILL CENTRE (THE)', 'NH', '2621', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'PARKHILL', 'CHATEAU GARDENS PARKHILL LONG TERM CARE', 'NH', '2622', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'CARESSANT CARE WOODSTOCK NURSING HOME', 'NH', '2623', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MON SHEONG', 'HF', '2624', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'ST.JOSEPH''S HLTH SERV ASSOC OF CHATHAM', 'CR', '2626', '629')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BARRY''S BAY', 'ST FRANCIS MEMORIAL HOSPITAL', 'CR', '2628', '768')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'ALMONTE GENERAL HOSPITAL', 'CR', '2629', '597')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'OAKLAND REGIONAL CENTRE', 'SH', '2633', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UXBRIDGE', 'REACHVIEW VILLAGE', 'NH', '2636', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'BARRIE PHYSIOTHERAPY CLINIC', 'PT', '2638', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'BAYNES PHYSIOTHERAPY CENTRE (THE)', 'PT', '2640', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'BRANT 730 PHYSIOTHERAPY', 'PT', '2644', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DURHAM', 'MACGILLIVRAY D.J. MRS.', 'PT', '2647', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'EVAREST HOUSE', 'PT', '2648', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'UPPER OTTAWA PHYSIOTHERAPY', 'PT', '2658', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'BLASER''S PHYSIOTHERAPY CLINIC', 'PT', '2660', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'KITCHENER PHYSIOTHERAPY CENTRE', 'PT', '2661', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'SALO J MR.', 'PT', '2663', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'THOMSON M. MRS.', 'PT', '2666', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'MONCKTON G.F. MR.', 'PT', '2670', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'OSHAWA CLINIC', 'PT', '2671', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ARNOLD A.G. MRS.', 'PT', '2672', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SPORTS THERAPY CLINIC (THE)', 'PT', '2673', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT STE MARIE DIST GROUP HEALTH ASSOC', 'PT', '2682', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'THOROLD', 'THOROLD MEDICAL CLINIC', 'PT', '2687', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'JOSEPH BERKELEY LTD.', 'PT', '2689', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'BOYES E', 'PT', '2691', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BALA', 'GOLTZ J', 'PT', '2693', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CHERRYWOOD', 'PEMBERTON-PIGGOTT PHYSIOTHERAPY', 'PT', '2694', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLDWATER', 'LE GARD J', 'PT', '2695', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EMO', 'JAMES E', 'PT', '2697', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'POLENSKE G E', 'PT', '2698', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'GEORGETOWN', 'DAVIS J', 'PT', '2699', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'FLAVELL J', 'PT', '2700', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BERTOLIN D A  (ETOBICOKE)', 'PT', '2701', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOWELL M J    (ETOBICOKE)', 'PT', '2702', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KIWALA H', 'PT', '2705', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LAKEFIELD', 'HARRIS A', 'PT', '2706', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'KIMMINS C', 'PT', '2707', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MAPLE', 'CREIGHTON D', 'PT', '2708', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MISSISSAUGA', 'CLARKSON M', 'PT', '2709', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'MOBILE PHYSIOTHERAPY', 'PT', '2711', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'NAUMENKO W', 'PT', '2713', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'THEDFORD', 'SERCOMBE B', 'PT', '2714', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HARGRAFT H (NORTH YORK)', 'PT', '2716', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'KERR M L', 'PT', '2718', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LESLIE M', 'PT', '2719', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'RICHARDSON V H', 'PT', '2720', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SCHUETZE H', 'PT', '2721', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'METCALFE H', 'PT', '2723', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'BLYTHE H  (NORTH YORK)', 'PT', '2725', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DANIEL D  (NORTH YORK)', 'PT', '2726', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'REEVES G      (NORTH YORK)', 'PT', '2728', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'PHYSIOTHERAPY ASSOCIATES  (NORTH YORK)', 'PT', '2731', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'MARKEZINIS H. MRS.   (NORTH YORK)', 'PT', '2732', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'FOUR SEASONS PHYSIOTHERAPY (ETOBICOKE)', 'PT', '2733', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'SEAVER M.W. MISS  (SCARBOROUGH)', 'PT', '2736', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ALBANY PHYSIOTHERAPY CLINIC', 'PT', '2737', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BLOOR MEDICAL CLINIC', 'PT', '2738', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'DAVISVILLE PHYSIOTHERAPY CENTRE', 'PT', '2740', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST GEORGE PHYSIOTHERAPY CLINIC', 'PT', '2741', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'GACICH M. MRS.', 'PT', '2743', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HIGH PARK PHYSIOTHERAPY', 'PT', '2744', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'KINGSWAY PHYSIOTHERAPY (ETOBICOKE)', 'PT', '2746', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'PHYSIOTHERAPY KI LI', 'PT', '2749', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MADGETT D. MISS', 'PT', '2751', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'RAXLEN CLINIC', 'PT', '2757', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST CLAIR DUFFERIN MEDICAL CENTRE', 'PT', '2758', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'SHELTON PHYSIOTHERAPY ASSOCIATES', 'PT', '2759', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'WESTON PHYSIOTHERAPY CENTRE', 'PT', '2764', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'VERSA-CARE GEORGIAN HEIGHTS', 'NH', '2769', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE REGIONAL HEALTH CENTRE', 'GR', '2771', '736')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'SF', '2772', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'WHITBY PSYCHIATRIC CHILD AND ADOLESCENT', 'SF', '2787', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MEADOW PARK NURSING HOME', 'NH', '2788', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTAWA', 'ALGONQUIN NURSING HOME', 'NH', '2789', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'GROVES PARK LODGE', 'NH', '2790', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'EXTENDICARE/HALIBURTON', 'NH', '2793', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'TENDERCARE LIVING CENTRE (SCARBOROUGH)', 'NH', '2795', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CLARENCE CREEK', 'CENTRE D''ACCUEIL ROGER SEGUIN', 'HF', '2796', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'VILLA COLOMBO  (NORTH YORK)', 'HF', '2799', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CASTLEVIEW WYCHWOOD TOWERS', 'HF', '2801', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'OOLAGEN DALTON RD', 'CM', '2805', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK CENTRE FOR YOUTH SERVICES', 'CM', '2806', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'CHILDREN''S ASSESSMENT AND TR SERVICE', 'CM', '2808', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHAPLEAU', 'SERVICES DE SANTE DE CHAPLEAU HLTH SERV', 'CR', '2809', '627')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'WEST NIPISSING GENERAL HOSPITAL', 'AT', '2812', '881')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'MORRISBURG', 'ST LAWRENCE DISTRICT AMBULANCE SERVICE', 'AS', '2825', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'PORT ELGIN', 'OWEN SOUND EMERGENCY SERVICE', 'AS', '2826', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'UPSALA', 'UPSALA VOLUNTEER AMBULANCE', 'AS', '2827', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'CHATHAM AND DISTRICT AMBULANCE SERVICE', 'AS', '2829', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DELHI', 'DELHI LONG TERM CARE CENTRE', 'NH', '2838', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'NORTH SHORE HLTH NTWRK-BLIND RIVER SITE', 'CR', '2839', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'WEST NIPISSING GENERAL HOSPITAL', 'CR', '2841', '881')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ATIKOKAN', 'ATIKOKAN GENERAL HOSPITAL', 'CR', '2842', '600')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'LAKEHEAD PSYCHIATRIC HOSPITAL', 'CM', '2845', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA CENTRE FOR YOUTH CARE', 'CM', '2846', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'HURON-PERTH CENTRE FOR CHILDREN AND YOUT', 'CM', '2847', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'TONY STACEY CENTRE FOR VETERANS CARE', 'HF', '2848', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'SAINT LUKE''S PLACE', 'HF', '2850', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'LANSDOWNE CHILDRENS CENTRE', 'RT', '2851', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO,EAST YORK FAMILY PLANN', 'FP', '2875', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO,ETOBICOKE FAMILY PLANN', 'FP', '2876', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO,NORTH YORK FAMILY PLANN', 'FP', '2877', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO,SCARB.FAMILY PLANNING', 'FP', '2878', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO,YORK FAMILY PLANNING', 'FP', '2879', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO CITY FAMILY PLANNING', 'FP', '2880', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'DURHAM REGIONAL FAMILY PLANNING', 'FP', '2881', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'HALIBURTON KAWARTHA PINE RIDGE FAM PLAN', 'FP', '2882', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'MUSKOKA-PARRY SOUND FAMILY PLANNING', 'FP', '2883', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'PEEL REGIONAL FAMILY PLANNING', 'FP', '2884', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH COUNTY CITY FAMILY PLANNING', 'FP', '2885', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'SIMCOE COUNTY DISTRICT FAMILY PLANNING', 'FP', '2886', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'YORK REGIONAL FAMILY PLANNING', 'FP', '2887', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COUNTY FAMILY PLANNING', 'FP', '2888', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'BRUCE-GREY OWEN SOUND FAMILY PLANNING', 'FP', '2889', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ELGIN-ST THOMAS FAMILY PLANNING', 'FP', '2890', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'BRUCE-GREY OWEN SOUND FAMILY PLANNING', 'FP', '2891', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'HALDIMAND-NORFOLK FAMILY PLANNING', 'FP', '2892', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'HALTON FAMILY PLANNING', 'FP', '2893', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON-WENTWORTH FAMILY PLANNING', 'FP', '2894', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'HURON FAMILY PLANNING', 'FP', '2895', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'KENT CHATHAM FAMILY PLANNING', 'FP', '2896', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'LAMBTON FAMILY PLANNING', 'FP', '2897', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR ESSEX COUNTY FAMILY PLANNING', 'FP', '2898', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MIDDLESEX LONDON FAMILY PLANNING', 'FP', '2899', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA REGION FAMILY PLANNING', 'FP', '2900', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'OXFORD FAMILY PLANNING', 'FP', '2901', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'PERTH FAMILY PLANNING', 'FP', '2902', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'WATERLOO REGION FAMILY PLANNING', 'FP', '2903', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'WELLINGTON-DUFFERIN FAMILY PLANNING', 'FP', '2904', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'ALGOMA FAMILY PLANNING', 'FP', '2905', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'HASTINGS-PRINCE EDWARD CO FAMILY PLAN', 'FP', '2906', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON FRONTENAC LENNOX ADDN FAM PLAN', 'FP', '2907', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'LEEDS-GRENVILLE-LANARK FAMILY PLANNING', 'FP', '2908', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY DISTRICT FAMILY PLANNING', 'FP', '2909', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'NORTHWESTERN FAMILY PLANNING', 'FP', '2910', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA-CARLETON FAMILY PLANNING', 'FP', '2911', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'PORCUPINE FAMILY PLANNING', 'FP', '2912', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'RENFREW COUNTY DISTRICT FAMILY PLANNING', 'FP', '2913', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'EASTERN ONTARIO FAMILY PLANNING', 'FP', '2914', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY DISTRICT FAMILY PLANNING', 'FP', '2915', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY FAMILY PLANNING', 'FP', '2916', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'TIMISKAMING FAMILY PLANNING', 'FP', '2917', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'VERSA-CARE ELMWOOD PLACE', 'NH', '2919', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WESTSIDE', 'NH', '2920', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LISTOWEL', 'CARESSANT CARE LISTOWEL NURSING HOME', 'NH', '2921', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'GLOUCESTER', 'EXTENDICARE/LAURIER MANOR', 'NH', '2922', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'STREAMWAY VILLA', 'NH', '2923', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'GORE BAY', 'MANITOULIN LODGE', 'NH', '2924', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'CANNIFTON', 'E J MCQUIGGE LODGE', 'NH', '2925', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSP-DETOXIFICATION CENTRE', 'DT', '2926', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'PICKLE LAKE', 'NORTHWEST EMERGENCY MED SERV-PICKLE LAKE', 'AS', '2927', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'PORT STANLEY', 'EXTENDICARE/PORT STANLEY', 'NH', '2928', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WARDLE''S PHYSIOTHERAPY CLINIC', 'PT', '2932', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SALVATION ARMY TORONTO GRACE HLTH CTR', 'CR', '2933', '854')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON PHYSIOTHERAPY CLINIC (THE)', 'PT', '2937', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'SIX POINTS PHYSIOTHERAPY (ETOBICOKE)', 'PT', '2939', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'PHYSIOTHERAPY SERVICES', 'PT', '2940', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HILLS PHYSIOTHERAPY CLINIC', 'PT', '2941', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'PHYSIOTHERAPY REHABILITATION CENTRE', 'PT', '2942', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'STEEL CITY PHYSIOTHERAPY', 'PT', '2943', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'QUEENSWAY PHYSIOTHERAPY CENTRE (ETOB)', 'PT', '2944', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON PHYSICAL THERAPY CLINIC (THE)', 'PT', '2945', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'YURICHUK,PAULINE MRS.', 'PT', '2948', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR PHYSIOTHERAPY SERVICES', 'PT', '2949', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'REGIONAL PHYSIOTHERAPY CLINIC', 'PT', '2950', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'RUSNAK BRENDA L', 'PT', '2951', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'FRAGIS PHYSIOTHERAPY CLINIC', 'PT', '2952', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'FIRST PLACE PHYSIOTHERAPY', 'PT', '2953', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'WEST END PHYSIOTHERAPY CLINIC', 'PT', '2954', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'HARRINGTON PHYSIOTHERAPY CLINIC (THE)', 'PT', '2957', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'NORTH EAST PHYSIOTHERAPY SERVICES (NY)', 'PT', '2960', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER PHYSIOTHERAPY SERVICES (YC)', 'PT', '2961', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'QUINTE PHYSIOTHERAPY CLINIC', 'PT', '2962', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA & DIST PHYSIOTHERAPY CLINIC (THE)', 'PT', '2963', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE PHYSIOTHERAPY CLINIC', 'PT', '2964', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PHYSIOTHERAPY CENTRE (THE) (NORTH YORK)', 'PT', '2965', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'SCOTT PHYSIOTHERAPY CLINIC', 'PT', '2966', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'PROFESSIONAL PHYSIOTHERAPY CENTRE (YC)', 'PT', '2967', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL PHYSIOTHERAPY CLINIC', 'PT', '2968', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'FREDA NAIMAN PHYSIOTHERAPY  (NORTH YORK)', 'PT', '2969', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'GREYSTONE PHYSIOTHERAPY CLINIC', 'PT', '2970', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CLEAVE PHYSIOTHERAPY', 'PT', '2971', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'MOUNTAIN PHYSIOTHERAPY', 'PT', '2972', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'WILLOWDALE PHYSIOTHERAPY CLINIC', 'PT', '2973', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'NORTH TORONTO PHYSIOTHERAPY CENTRE (NY)', 'PT', '2974', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT PHYSIOTHERAPY CENTRE', 'PT', '2975', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PHYSICAL THERAPY SERVICES', 'PT', '2976', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MAIN AND GERRARD PHYSIOTHERAPY CLINIC', 'PT', '2977', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SCARBOROUGH - SOUTH PHYSIOTHERAPY CENTRE', 'PT', '2978', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'PARK PHYSICAL THERAPY', 'PT', '2979', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'EGLINTON-BAYVIEW PHYSIOTHERAPY', 'PT', '2980', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'KING EAST PHYSIO', 'PT', '2981', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMALEA', 'EVANS PHYSIOTHERAPY CLINIC', 'PT', '2982', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'EGLINTON / WARDEN PHYSIOTHERAPY (SCARB)', 'PT', '2983', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'CENTRAL PARK PHYSIOTHERAPY CENTRE', 'PT', '2984', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'TILLSONBURG PHYSIOTHERAPY', 'PT', '2985', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LAWRENCE CURLEW PHYSIOTHERAPY (NY)', 'PT', '2986', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRECHIN', 'MACINTYRE B. MR.', 'PT', '2987', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'COXWELL PHYSIOTHERAPY CENTRE', 'PT', '2988', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST CLAIR PHYSIOTHERAPY CLINIC', 'PT', '2989', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'SIXTY EIGHT CHARLTON AVE WEST LTD', 'PT', '2990', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'STOUFFVILLE', 'STOUFFVILLE PHYSIOTHERAPY CLINIC', 'PT', '2991', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'SAM SHUQAIR PHYSIOTHERAPY', 'PT', '2992', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CANADIAN PHYSIOTHERAPY CENTRE (NY)', 'PT', '2993', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'QUEENSTON PHYSIOTHERAPY', 'PT', '2994', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'OAKVILLE PHYSIOTHERAPY CENTRE', 'PT', '2995', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'CENTRAL SCARBOROUGH PHYSIOTHERAPY CLINIC', 'PT', '2996', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'YORK PHYSIO AND REHAB CENTRE', 'PT', '2997', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'LINDSAY PHYSIOTHERAPY SERVICES', 'PT', '2998', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PARKDALE PHYSIOTHERAPY ASSOCIATES', 'PT', '2999', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'WINCHESTER', 'DUNDAS MANOR NURSING HOME', 'NH', '3001', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'LARDER LAKE', 'LARDER LAKE NURSING STATION', 'NS', '3002', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON PUBLIC HEALTH LABORATORY', 'HL', '3011', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CENTRAL PUBLIC HEALTH LABORATORY (ETOB)', 'HL', '3012', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON PUBLIC HEALTH LABORATORY', 'HL', '3013', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON PUBLIC HEALTH LABORATORY', 'HL', '3014', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA PUBLIC HEALTH LABORATORY', 'HL', '3015', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA PUBLIC HEALTH LABORATORY', 'HL', '3016', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH PUBLIC HEALTH LABORATORY', 'HL', '3018', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT STE MARIE PUBLIC HEALTH LAB', 'HL', '3019', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY PUBLIC HEALTH LABORATORY', 'HL', '3020', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY PUBLIC HEALTH LABORATORY', 'HL', '3021', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS PUBLIC HEALTH LABORATORY', 'HL', '3022', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR PUBLIC HEALTH LABORATORY', 'HL', '3023', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ONTARIO ASSOC OF CHILDRENS AID SOCIETIES', 'CA', '3025', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'CHILDREN''S AID SOCIETY OF ALGOMA', 'CA', '3026', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'CHILDREN''S AID SOCIETY OF BRANT (THE)', 'CA', '3027', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'CHILDREN''S AID SOCIETY OF COUNTY OF BRUC', 'CA', '3028', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'SERVICES FAMILIAUX JEANNE SAUVE FAM SERV', 'CA', '3029', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'CHILD AND FAMILY SERV.FOR TIMMINS AND D', 'CA', '3030', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'CHILDREN''S AID SOCIETY OF COUNTY OF DUFF', 'CA', '3031', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'DURHAM CHILDREN''S AID SOCIETY', 'CA', '3032', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'CHILDREN''S AID SOC OF CITY OF ST THOMAS', 'CA', '3033', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR-ESSEX CHILDREN''S AID SOCIETY', 'CA', '3034', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'CHILDREN''S AID SOC.OF COUNTY OF FRONTENA', 'CA', '3036', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'CHILDREN''S AID SOC.OF COUNTY OF GREY', 'CA', '3037', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'CHILDREN''S AID SOCIETY OF REG MUN OF HAL', 'CA', '3039', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'CHILDREN''S AID SOC.OF HAMILTON-WENTWORTH', 'CA', '3040', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'CATHOLIC CHILDREN''S AID SOC OF HAM-WENT', 'CA', '3041', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'HASTINGS CHILDREN''S AID SOCIETY', 'CA', '3042', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'CHILDREN''S AID SOCIETY OF HURON', 'CA', '3043', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'KENORA-PATRICIA CHILD AND FAMILY SERVICE', 'CA', '3044', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'CHATHAM-KENT INTEGRATED CHILDREN''S SERV', 'CA', '3045', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'POINT EDWARD', 'SARNIA-LAMBTON CHILDREN''S AID SOCIETY', 'CA', '3046', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'CHILDREN''S AID SOC OF COUNTY OF LANARK', 'CA', '3047', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'CHILDREN''S AID SOC.OF COUNTY OF LEEDS', 'CA', '3048', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'LENNOX-ADDINGTON FAMILY AND CHILDREN''S S', 'CA', '3049', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'CHILDREN''S AID SOC.OF LONDON-MIDDLESEX', 'CA', '3050', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'FAMILY YOUTH AND CHILD SERV OF MUSKOKA', 'CA', '3051', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'CHILDREN''S AID SOC.OF NIAGARA REGION', 'CA', '3052', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'CHILDREN''S AID SOC.DISTRICT OF NIPISSING', 'CA', '3053', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'CHILDREN''S AID SOC.OF HALDIMAND-NORFOLK', 'CA', '3054', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'CHILDREN''S AID SOCIETY OF NORTHUMBERLAND', 'CA', '3055', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'GLOUCESTER', 'CHILDREN''S AID SOC.OF OTTAWA-CARLETON', 'CA', '3056', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'CHILDREN''S AID SOCIETY OF OXFORD', 'CA', '3057', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'CHILDREN''S AID SOC.FOR DIST OF NIPISSING', 'CA', '3058', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'CHILDREN''S AID SOC.OF THE REGION OF PEEL', 'CA', '3059', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'CHILDREN''S AID SOC.OF COUNTY OF PERTH', 'CA', '3060', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'KAWARTHA-HALIBURTON CHILDREN''S AID SOC', 'CA', '3061', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PLANTAGENET', 'PRESCOTT-RUSSELL SERVICES TO CAS', 'CA', '3062', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'CHILDREN''S AID SOCIETY OF PRINCE EDWARD', 'CA', '3063', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'CHILDREN''S AID SOC.OF DIST OF RAINY RIVE', 'CA', '3064', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'FAMILY AND CHILDREN''S SERV OF RENFREW CO', 'CA', '3065', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'CHILDREN''S AID SOC.OF COUNTY OF SIMCOE', 'CA', '3066', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CHILDREN''S AID SOC.COUNTIES OF STORMONT', 'CA', '3067', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'CHILDREN''S AID OF SUDBURY AND MANITOULIN', 'CA', '3068', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'TIMISKAMING CHILD AND FAMILY SERVICES', 'CA', '3069', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'CHILDREN''S AID SOC.OF DIST OF THUNDER B', 'CA', '3070', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CHILDREN''S AID SOCIETY OF TORONTO', 'CA', '3071', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHILDREN''S AID SOC.OF TOR EAST BRANCH', 'CA', '3072', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHILDREN''S AID SOC.OF TOR WEST BRANCH', 'CA', '3073', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHILDREN''S AID SOCIETY', 'CA', '3074', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'CHILDREN''S AID SOCIETY 5414 YONGE ST', 'CA', '3075', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'CHILDREN''S AID SOCIETY 5799 YONGE ST', 'CA', '3076', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'CHILDREN''S AID SOCIETY KENNEDY RD', 'CA', '3077', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHILDREN''S AID SOCIETY EGLINTON AVE EAST', 'CA', '3078', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY CENTRAL', 'CA', '3079', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY KEELE BR', 'CA', '3080', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY DUFFERIN', 'CA', '3081', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY (ETOB)', 'CA', '3082', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY (NY)', 'CA', '3083', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'CATHOLIC CHILDREN''S AID SOCIETY (SCARB)', 'CA', '3084', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'CHILDREN''S AID SOC.OF REG.MUN.WATERLOO', 'CA', '3085', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'CHILDREN''S AID SOC.GUELPH & CO OF WELLIN', 'CA', '3086', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'CHILDREN''S AND FAMILY SERV FOR YORK REG', 'CA', '3087', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'JEWISH FAMILY AND CHILD SERVICE OF TORON', 'CA', '3088', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'JEWISH FAMILY AND CHILD SERVICE BATHURST', 'CA', '3089', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BARRY''S BAY', 'VALLEY MANOR NURSING HOME', 'NH', '3090', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'LONGLAC', 'LONGLAC VOLUNTEER AMBULANCE SERVICE', 'AS', '3092', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NAKINA', 'NAKINA VOLUNTEER AMBULANCE SERVICE', 'AS', '3093', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'BEARDMORE', 'BEARDMORE REGIONAL HEALTH CENTRE', 'NS', '3094', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BRITT', 'BRITT AREA NURSING STATION', 'NS', '3095', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'CARAMAT', 'CARAMAT HEALTH CENTRE', 'NS', '3096', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'DUBREUILVILLE', 'DUBREUILVILLE CLINIC', 'NS', '3097', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NAKINA', 'NAKINA MEDICAL CLINIC', 'NS', '3098', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'FOLEYET', 'FOLEYET NURSING STATION', 'NS', '3100', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'GOGAMA', 'GOGAMA HEALTH CENTRE', 'NS', '3101', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KILLARNEY', 'KILLARNEY HEALTH CENTRE', 'NS', '3102', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELK LAKE', 'ELK LAKE HEALTH CENTRE', 'NS', '3103', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATACHEWAN', 'MATACHEWAN HEALTH CENTRE', 'NS', '3104', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PELEE ISLAND', 'PELEE ISLAND NURSING STATION', 'NS', '3105', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PORT LORING', 'ARGYLE NURSING STATION (THE)', 'NS', '3106', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'LANCASTER', 'CHARTWELL LANCASTER LONG TERM CARE RESID', 'NH', '3113', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'SELBY', 'VILLAGE GREEN NURSING HOME (THE)', 'NH', '3114', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'AYLMER', 'TERRACE LODGE', 'HF', '3117', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'WEXFORD (THE)  (SCARBOROUGH)', 'HF', '3118', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'CHESHIRE HOME QUINTE', 'SH', '3121', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'CHESHIRE HOMES PEEL', 'SH', '3122', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'CHESHIRE HOMES DURHAM REGION', 'SH', '3123', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CORDI OTTAWA CARLETON RES FOR DISABLED', 'SH', '3124', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'REHABILITATION INSTITUTE OF OTTAWA', 'SH', '3125', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'HANDICAPPED ACTION GROUP', 'SH', '3126', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'CHESHIRE HOMES CLARENDON FOUNDATION INC', 'SH', '3129', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'ALPHA APARTMENT LIVING PHYS HANDIC ASSN', 'SH', '3130', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BOB RUMBALL CENTRE FOR THE DEAF (THE)', 'SH', '3131', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'CHILDREN''S REHAB CENTRE OF ESSEX COUNTY', 'RT', '3136', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ARTHRITIS SOCIETY ONTARIO DIVISION (THE)', 'RT', '3137', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY AMBULANCE SERVICES INC', 'AS', '3138', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH AMBULANCE DISPATCH CENTRE', 'AS', '3141', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'C.A.C.C-GEORGIAN BAY', 'AS', '3142', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'C.A.C.C-OTTAWA CONTROL', 'AS', '3143', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'C.A.C.C-WINDSOR', 'AS', '3145', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'ST MARYS MEMORIAL HOSPITAL', 'CR', '3149', '792')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'MEADOW PARK NURSING HOME', 'NH', '3152', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'IROQUOIS FALLS', 'ANSON GENERAL HOSPITAL', 'CR', '3153', '685')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RED LAKE', 'RED LAKE MARG COCHENOUR MEM HOSP (THE)', 'CR', '3154', '896')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILTON', 'GR', '3155', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'GERALDTON', 'GERALDTON DISTRICT HOSPITAL', 'CR', '3156', '662')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NIPIGON', 'NIPIGON DISTRICT MEMORIAL HOSPITAL', 'CR', '3158', '739')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'BETHAMMI NURSING HOME', 'NH', '3159', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ENGLEHART', 'ENGLEHART AND DISTRICT HOSPITAL', 'CR', '3167', '653')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA GENERAL HOSPITAL', 'CR', '3168', '654')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTAWA', 'MATTAWA GENERAL HOSPITAL', 'CR', '3169', '724')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATHESON', 'BINGHAM MEMORIAL HOSPITAL', 'CR', '3171', '723')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON FAMILY COURT CLINIC', 'CM', '3183', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'L''ORIGNAL', 'CENTRE INFANT SERVS PRESCOTT & RUSSELL', 'CM', '3184', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA-ON-THE-LAKE', 'NIAGARA CENTRE FOR YOUTH CARE', 'CM', '3185', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'FAMILY COURT CLINIC', 'CM', '3187', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'RENFREW COUNTY YOUTH SERVICES', 'CM', '3189', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'YOUTHDALE RESIDENTIAL TREATMENT CTR LTD', 'CM', '3194', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'WOODVIEW CHILDRENS CENTRE', 'CM', '3195', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'WOODVIEW CHILDRENS CENTRE', 'CM', '3197', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'MANSFIELD', 'BLUE HILLS ACADEMY MACDONALD HOUSE', 'CM', '3198', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'DURHAM HOUSE', 'CM', '3199', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'GENEVA CENTRE (THE)', 'CM', '3201', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'REGENT PARK COMMUNITY HEALTH CENTRE', 'CO', '3206', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SOUTH RIVERDALE COMMUNITY HEALTH CENTRE', 'CO', '3208', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRAL TORONTO COMMUNITY HLTH CENTRES', 'CO', '3209', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LAKESHORE AREA MULTI-SERVICE PROJECT INC', 'CO', '3210', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'FLEMINGDON HEALTH CENTRE', 'CO', '3212', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CENTRETOWN COMMUNITY HEALTH CENTRE', 'CO', '3216', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ST ANNE''S CLINIC INC.', 'SO', '3217', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SANDY HILL COMMUNITY HEALTH CENTRE', 'CO', '3218', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SOMERSET WEST COMMUNITY HEALTH CENTRE', 'CO', '3220', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'NORTH HAMILTON COMMUNITY HEALTH CENTRE', 'CO', '3224', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HEALTH SCIENCES CENTRE PCN', 'SO', '3225', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'STONECHURCH FAMILY HEALTH (WEEKEND CL)', 'SO', '3226', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT STE MARIE & DIST GROUP HLTH ASSOC', 'SO', '3232', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PICKERING', 'COMMUNITY NURSING HOME', 'NH', '3235', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST JOSEPH''S DETOX CENTRE-GLENDALE HOUSE', 'DT', '3237', '898')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'VERSA-CARE MAPLE VIEW, OWEN SOUND', 'NH', '3238', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SALVATION ARMY TORONTO GRACE HLTH CTR PL', 'AT', '3240', '854')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILTON', 'CR', '3241', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'BLENHEIM', 'BLENHEIM COMMUNITY VILLAGE', 'NH', '3243', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HAILEYBURY', 'TEMISKAMING LODGE', 'NH', '3244', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'CARESSANT CARE LINDSAY NURSING HOME', 'NH', '3249', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ARNPRIOR', 'GROVE ARNPRIOR & DIST NURSING HOME (THE)', 'NH', '3250', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'PARKVIEW NURSING CENTRE', 'NH', '3251', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'STOUFFVILLE', 'BLOOMINGTON COVE', 'NH', '3252', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'MARIANHILL NURSING HOME', 'NH', '3253', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'FROST MANOR', 'NH', '3254', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LIONS HEAD', 'GOLDEN DAWN NURSING HOME', 'NH', '3258', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON CONVALESCENT CENTRE', 'NH', '3259', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'WEBEQUIE', 'WEBEQUIE NURSING STATION', 'NS', '3260', '877')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'HUNTSVILLE', 'FAIRVERN NURSING HOME', 'NH', '3261', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'EXTENDICARE/WEST END VILLA', 'NH', '3263', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ELMVALE', 'SARA VISTA NURSING CENTRE', 'NH', '3264', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'TUFFORD NURSING HOME', 'NH', '3265', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MARIANN HOME', 'NH', '3266', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'CHATEAU PARK LONG TERM CARE HOME', 'NH', '3267', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KILLARNEY', 'KILLARNEY VOLUNTEER AMBULANCE SERVICE', 'AS', '3272', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MINDEMOYA', 'CARNARVON TWP VOL AMBULANCE SERVICE', 'AS', '3273', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT ROWAN', 'M.C.M.B. AMBULANCE SERVICE', 'AS', '3274', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SOUTH RIVER', 'SOUTH RIVER MACHAR VOL AMBULANCE SERV', 'AS', '3275', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'BANDAGE 2 M.O.H. AIR AMBULANCE BASE', 'AS', '3277', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'BANDAGE 3 M.O.H. AIR AMBULANCE BASE', 'AS', '3278', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'BANDAGE 4 M.O.H. AIR AMBULANCE BASE', 'AS', '3279', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'BANDAGE 5 M.O.H. AIR AMBULANCE BASE', 'AS', '3280', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'C.A.C.C-HAMILTON-WENTWORTH', 'AS', '3281', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA CENTRAL AMBULANCE COMM. CENTRE', 'AS', '3284', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'C.A.C.C-WATERLOO-WELLINGTON', 'AS', '3285', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'HUMBER VALLEY TERRACE', 'NH', '3290', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'AVALON CARE CENTRE', 'NH', '3292', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ELGIN-MIDDLESEX DETENTION CENTRE', 'CC', '3293', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON-WENTWORTH DETENTION CENTRE', 'CC', '3294', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'METRO TORONTO EAST DETENTION CENTRE', 'CC', '3295', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'THOROLD', 'NIAGARA DETENTION CENTRE', 'CC', '3296', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA-CARLETON DETENTION CENTRE', 'CC', '3297', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BRIGHTON', 'MAPLEWOOD', 'NH', '3300', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'MARMORA', 'CARESSANT CARE MARMORA', 'NH', '3301', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST CLAIR O''CONNOR COMMUNITY NURSING HOME', 'NH', '3302', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'CLARION NURSING HOME', 'NH', '3303', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'RIVERVIEW MANOR NURSING HOME', 'NH', '3304', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'MOUNT PLEASANT', 'HARDY TERRACE', 'NH', '3308', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'SO', '3312', '857')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CHESLEY', 'ELGIN ABBEY NURSING HOME', 'NH', '3313', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'KINGSWAY LODGE NURSING HOME', 'NH', '3314', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRIERWOOD GARDENS', 'NH', '3315', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'FAIRVIEW NURSING HOME', 'NH', '3316', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'OHSWEKEN', 'IROQUOIS LODGE NURSING HOME', 'NH', '3317', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'BELLEVILLE  C.A.C.C.', 'AS', '3318', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'DENBIGH', 'DENBIGH AREA VOLUNTEER AMBULANCE SERV', 'AS', '3321', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'COCHRANE/TEMISKAMING CTC', 'RT', '3322', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'PUSLINCH', 'MORRISTON PARK NURSING HOME', 'NH', '3324', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'AMHERSTVIEW', 'HELEN HENDERSON NURSING HOME', 'NH', '3325', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'BEARSKIN LAKE', 'BEARSKIN LAKE NURSING STATION', 'NS', '3327', '839')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DEER LAKE', 'DEER LAKE NURSING STATION', 'NS', '3328', '711')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'HAWKESBURY AND DISTRICT GENERAL HOSPITAL', 'CR', '3329', '800')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'KENSINGTON VILLAGE', 'NH', '3330', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'CARESSANT CARE ON BONNIE PLACE', 'NH', '3331', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'BOBCAYGEON', 'PINECREST NURSING HOME', 'NH', '3332', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HAROLD AND GRACE BAKER CENTRE', 'NH', '3333', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BOLTON', 'VERA M. DAVIS COMMUNITY CARE CENTRE', 'NH', '3335', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'STAYNER', 'STAYNER CARE CENTRE', 'NH', '3336', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'ERIN MILLS LODGE NURSING HOME', 'NH', '3337', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'VALLEY PARK LODGE', 'NH', '3338', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PARKDALE COMMUNITY HEALTH CENTRE', 'CO', '3339', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'MERRICKVILLE', 'RIDEAU COMMUNITY HEALTH SERVICES', 'CO', '3340', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KASABONIKA LAKE', 'KASABONIKA LAKE NURSING STATION', 'NS', '3342', '904')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KANATA', 'ARNPRIOR & KANATA AMBULANCE SERVICE', 'AS', '3343', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TOBERMORY', 'ST EDMUNDS VOLUNTEER AMBULANCE SERVICE', 'AS', '3345', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WOODSLEE', 'SUNPARLOUR EMERGENCY SERVICES', 'AS', '3346', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PICKERING', 'AJAX-PICKERING AMBULANCE SERVICE', 'AS', '3350', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'C.A.C.C-OSHAWA', 'AS', '3351', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'EGANVILLE', 'PEMBROKE DISTRICT AMBULANCE SERVICE', 'AS', '3352', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ST LAWRENCE & DISTRICT AMB SERVICE LTD', 'AS', '3353', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RAINY RIVER AMBULANCE SERVICE', 'AS', '3356', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'DEEP RIVER', 'DEEP RIVER AMBULANCE SERVICE', 'AS', '3357', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY AND DISTRICT AMBULANCE SERVICE', 'AS', '3358', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MASSEY', 'MASSEY & DISTRICT VOLUNTEER AMBULANCE', 'AS', '3359', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS DISPATCH CENTRE', 'AS', '3360', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DURHAM', 'ROCKWOOD TERRACE', 'HF', '3364', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'BRUCE-GREY CHILDREN''S SERVICES', 'CM', '3367', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'CHILDREN''S ACHIEVEMENT CENTRE', 'CM', '3370', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CHILDREN''S M H PROG OF CORNWALL GEN HOSP', 'CM', '3371', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'TOWNSEND', 'CHILDREN''S M H SERVS HALDIMAND-NORFOLK', 'CM', '3372', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'EQUIPE HYGIENE MENTALE POUR ENFANTS ET A', 'CM', '3374', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'FAMILY RESOURCES NETWORK RESIDENCE', 'CM', '3375', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'DIAMOND J D CENTRE', 'CM', '3378', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'J D GRIFFEN ADOLESCENT CENTRE', 'CM', '3379', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'VANIER', 'LE CENTRE PSY-SOC POUR ENFANTS ET FAMIL', 'CM', '3382', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MERCURY YOUTH SERVICES', 'CM', '3383', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'MERCURY YOUTH SERVICES', 'CM', '3384', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA INSTITUTE CHILD DEVELOPMENT CTR', 'CM', '3385', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'NORTH OF SUPERIOR C M H C PROGRAM', 'CM', '3387', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'PATRICIA CENTRE FOR CHILDREN & YOUTH', 'CM', '3389', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'L''ORIGNAL', 'PRESCOTT & RUSSELL FAMILY SERVICES CTR', 'CM', '3391', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'AISLING DISCOVERIES', 'CM', '3392', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ROTARY CRECHE', 'CM', '3393', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SCARBOROUGH YOUTH SERVICES', 'CM', '3395', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'CHILD''S PLACE (THE)', 'CM', '3396', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'YORK CENTRE FOR CHILDREN,YOUTH AND FAMIL', 'CM', '3398', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'SERVICES AUX ENFANTS ET ADULTES DE P.R.', 'CM', '3399', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'DUNDURN PLACE CARE CENTRE', 'NH', '3401', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'AYLMER', 'CHATEAU GARDENS AYLMER LONG TERM CARE', 'NH', '3408', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'GRACE VILLA (HAMILTON)', 'NH', '3409', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PARIS', 'TELFER PLACE', 'NH', '3410', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS & DISTRICT GENERAL HOSPITAL', 'AT', '3414', '907')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS & DISTRICT GENERAL HOSPITAL', 'CR', '3415', '907')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS & DISTRICT GENERAL HOSPITAL', 'GR', '3416', '907')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'EDGAR', 'C M HINCKS TREATMENT CENTRE', 'CM', '3419', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'AYLMER', 'ST THOMAS-ELGIN GENERAL HOSP. AMBULANCE', 'AS', '3420', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'LONG SAULT', 'WOODLAND VILLA', 'NH', '3421', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'SENIORS'' HEALTH CENTRE (NORTH YORK)', 'NH', '3422', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'FAITH MANOR NURSING HOME', 'NH', '3424', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY CENTRAL AMBULANCE COMM. CENT', 'AS', '3425', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON CENTRAL AMBULANCE COMM. CENTRE', 'AS', '3426', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'LINDSAY & DIST AMBULANCE SERVICE', 'AS', '3427', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'RENFREW CENTRAL AMBULANCE COMM. CENTRE', 'AS', '3428', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WOMENS DETOXIFICATION CENTRE', 'DT', '3429', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA HEALTH SYSTEM-FEMALE DETOX CTR', 'DT', '3430', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'BARRIE DETOX CENTRE', 'DT', '3431', '606')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH SERV NON-MED DETOX CTR', 'DT', '3432', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'CHELSEA COURT HEALTH CENTRE', 'SO', '3433', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'LIMOGES', 'FOYER ST-VIATEUR NURSING HOME', 'NH', '3437', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'BELLWOOD HEALTH SERVICES INC (SCARB)', 'AT', '3438', '908')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BAYCREST HOSPITAL (NORTH YORK)', 'GR', '3439', '827')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'METCALFE', 'TOWNSHIP OF OSGOODE CARE CENTRE', 'NH', '3440', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'ARTHUR', 'CARESSANT CARE ARTHUR NURSING HOME', 'NH', '3441', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'KINARK CHILD AND FAMILY SERVICES', 'CM', '3442', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'EXETER', 'EXETER VILLA', 'NH', '3443', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'THOMAS HEALTH CARE CORPORATION (THE)', 'NH', '3446', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'DEER PARK VILLA', 'HF', '3448', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'KH MEDICAL GROUP', 'SO', '3449', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ROSEDALE FAMILY MEDICAL CENTRE PCN', 'SO', '3450', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL & AREA SOCIAL DETOX PROG', 'DT', '3452', '643')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'HALDIMAND-NORFOLK DETOX & REHAB PROG', 'DT', '3453', '804')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HOSPITAL DETOX CTR', 'DT', '3454', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'CAT LAKE', 'CAT LAKE NURSING STATION', 'NS', '3458', '911')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CASEY HOUSE HOSPICE', 'AT', '3459', '910')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'SIMCOE OUTREACH SERVICES', 'TC', '3460', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'ADDICTIONS ASSESSMENT AND COUNSEL CENTRE', 'TC', '3461', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'SERENITY HOUSE OF QUINTE (THE)', 'TC', '3462', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'REGIONAL MUNICIPALITY OF PEEL (THE)', 'TC', '3463', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BOARD OF HEALTH BRANT CO HEALTH UNIT(THE', 'TC', '3464', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'ST. LEONARD''S SOCIETY OF BRANT', 'TC', '3465', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'HALTON ALCOHOL & DRUG ADDICT TREAT PROG', 'TC', '3466', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CARLETON PLACE', 'ALWOOD TREATMENT CENTRE', 'TC', '3467', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'ADDICTION SERVICES OF EASTERN ONTARIO', 'TC', '3468', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ELLIOT LAKE FAMILY LIFE CTR FAM ADDICT P', 'TC', '3469', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'JEAN TWEED TREATMENT CENTRE (ETOBICOKE)', 'TC', '3470', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'BOARD OF HEALTH HURON CO HEALTH UNIT(THE', 'TC', '3471', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'STONEHENGE THERAPEUTIC COMMUNITY', 'TC', '3472', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'REG MUNICIP OF HAMILTON-WENTWORTH (THE)', 'TC', '3473', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'MAISON RENAISSANCE', 'TC', '3474', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'HORNBY', 'HALTON RECOVERY HOUSE', 'TC', '3475', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'NORTH COCHRANE ADDICTION SERVICES INC', 'TC', '3476', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'OPTIONS FOR CHANGE COMM.ADDICTIONS SERV', 'TC', '3477', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'HOUSE OF FRIENDSHIIP', 'TC', '3479', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'TIMMISKAMING SUBSTANCE ABUSE SERVICE', 'TC', '3480', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'AURORA', 'ADDICTION SERVICES FOR YORK REGION', 'TC', '3481', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'AMETHYST WOMEN''S ADDICTION CENTRE', 'TC', '3483', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'RIDEAUWOOD ADDICTION AND FAMILY SERV', 'TC', '3485', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'G & B HOUSE', 'TC', '3486', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE COMMUNITY HEALTH CORPORATION', 'TC', '3487', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'FOUR COUNTIES ADDICTION SERVICES TEAM', 'TC', '3488', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'BRETON HOUSE', 'TC', '3489', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'HALDIMAND-NORFOLK ADDICTION SERVICES', 'TC', '3490', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA ALCOHOL & DRUG ASSESS SERVICES', 'TC', '3491', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'ALCOHOL & DRUG TREATMENT CENTRE NIAGARA', 'TC', '3492', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'PERTH ADDICTION CENTRE INC', 'TC', '3493', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'N''SWAKAMOK NATIVE FRIENDSHIP CENTRE', 'TC', '3494', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SALVATION ARMY ADDICTION & REHAB CENTRE', 'TC', '3496', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'THOROLD', 'ARID (ALCOHOL RECOVERY IN DIGNITY)', 'TC', '3497', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'JUBILEE CENTRE INC', 'TC', '3498', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'RENASCENT CENTRES (THE)', 'TC', '3499', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'VANIER', 'MAISON FRATERNITE', 'TC', '3500', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'MARYHILL', 'TWIN OAKS OF MARYHILL', 'NH', '3506', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROYAL VICTORIA REGIONAL HEALTH CENTRE', 'GR', '3507', '606')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'THAMESVILLE', 'WESTOVER TREATMENT CENTRE', 'TC', '3509', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'SOUTH COCHRANE ADDICTIONS SERVICES INC', 'TC', '3510', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'OZANAM HOUSE', 'TC', '3511', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'VANIER', 'BILLY BUFFETS HOUSE OF WELCOME INC', 'TC', '3512', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRE FOR ADDIC AND MENTAL HLTH-DETOX', 'DT', '3513', '948')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SOUTH EAST OTTAWA COMM RESOURCES CTR', 'CO', '3517', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'COPERNICUS LODGE', 'NH', '3521', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'WOODBRIDGE', 'KRISTUS DARZS LATVIAN HOME', 'HF', '3523', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'WUNNUMMIN LAKE', 'WUNNUMMIN LAKE NURSING STATION', 'NS', '3525', '912')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'RIVERBEND PLACE', 'NH', '3526', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SHERBOURNE PLACE', 'NH', '3527', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA NURSING HOME (ELDCAP)', 'NH', '3528', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ATIKOKAN', 'ATIKOKAN GENERAL HOSPITAL', 'NH', '3529', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'GILMORE LODGE', 'HF', '3533', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA-ON-THE-LAKE', 'UPPER CANADA LODGE', 'HF', '3534', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'BRUYERE CONTINUING CARE INC', 'NH', '3536', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA CIVIC HOSP FAMILY MED CTR FHN', 'SO', '3542', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON COMMUNITY HEALTH CENTRE', 'CO', '3546', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PORTLAND', 'COUNTRY ROADS COMMUNITY HEALTH CTR', 'CO', '3547', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'COCHRANE DISTRICT DETOX CENTRE', 'DT', '3551', '809')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NIPISSING DETOX CENTRE', 'DT', '3552', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'REGENCY PARK LONG TERM CARE HOME', 'NH', '3554', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'SHALOM MANOR', 'HF', '3556', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'NORWOOD', 'PLEASANT MEADOW MANOR', 'NH', '3558', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'SHELBURNE', 'SHELBURME LONG TERM CARE HOME', 'NH', '3559', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'SMOOTH ROCK FALLS HOSPITAL', 'NH', '3560', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'GERALDTON', 'GERALDTON DISTRICT HOSPITAL', 'NH', '3561', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'RIDGETOWN', 'VILLAGE ON THE RIDGE', 'NH', '3581', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'SEVEN OAKS (SCARBOROUGH)', 'HF', '3582', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATHESON', 'ROSEDALE CTRE. EXT. CARE UNIT (THE)', 'NH', '3583', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'PALMERSTON', 'ROYAL TERRACE', 'NH', '3584', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'SMOOTH ROCK FALLS HOSPITAL', 'CR', '3586', '809')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'MARKHAM STOUFFVILLE HOSPITAL', 'AT', '3587', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'HOTEL DIEU HOSPITAL OF CORNWALL', 'CR', '3589', '644')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'FOYER RICHELIEU WELLAND', 'HF', '3591', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ACCESS ALLIANCE MULTICULTURAL C H C', 'CO', '3592', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ANISHNAWBE HEALTH TORONTO', 'CO', '3593', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'BARRIE COMMUNITY HEALTH CENTRE', 'CO', '3594', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'BLACK CREEK COMMUNITY HEALTH CENTRE', 'CO', '3595', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRE FRANCOPHONE DE TORONTO', 'CO', '3596', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'DAVENPORT-PERTH NEIGHBOURHOOD CENTRE', 'CO', '3597', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON INTERCOMMUNITY HEALTH CENTRE', 'CO', '3598', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'PINECREST-QUEENSWAY HLTH & COMM SERV SCT', 'CO', '3599', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'SANDWICH COMMUNITY HEALTH CENTRE', 'CO', '3600', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'OSHAWA COMMUNITY HEALTH CENTRE', 'CO', '3601', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'TEEN HEALTH CENTRE', 'CO', '3602', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'ST JACOBS', 'WOOLWICH COMMUNITY HEALTH CENTRE', 'CO', '3603', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'PINEGATE DETOX FOR WOMEN', 'DT', '3605', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'KESWICK', 'CEDARVALE LODGE', 'NH', '3606', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'CEDARWOOD VILLAGE', 'NH', '3607', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HANOVER', 'HANOVER CARE CENTRE', 'NH', '3608', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HORNEPAYNE', 'HORNEPAYNE COMMUNITY HOSPITAL (ELDCAP)', 'NH', '3610', '682')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'BAYFIELD MANOR NURSING HOME', 'NH', '3611', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL', 'GR', '3612', '813')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LAKESHORE LODGE (ETOBICOKE)', 'HF', '3613', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'WALLACEBURG CENTRAL AMBULANCE COMM.', 'AS', '3614', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'KINCARDINE', 'TRILLIUM COURT', 'NH', '3615', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH REGIONAL HEALTH CENTRE', 'GR', '3617', '771')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'SHALOM VILLAGE NURSING HOME', 'NH', '3619', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'CAMA WOODLANDS NURSING HOME', 'NH', '3620', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CSC DE L''ESTRIE', 'CO', '3621', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WOMEN''S HLTH IN WOMEN''S HANDS C H C', 'CO', '3622', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'EAST END COMMUNITY HEALTH CENTRE', 'CO', '3623', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'FOUR VILLAGES COMMUNITY HEALTH CENTRE', 'CO', '3624', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'IGNACE', 'MARY BERGLUND COMMUNITY HEALTH CENTRE', 'CO', '3625', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'NORWEST CHC - OGDEN SITE', 'CO', '3626', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TWEED', 'GATEWAY COMMUNITY HEALTH CTR', 'CO', '3627', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'BERNARD BETEL CENTRE FOR CREATIVE LIVING', 'CO', '3628', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ANNE JOHNSTON HEALTH STATION (THE)', 'CO', '3629', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PLANNED PARENTHOOD OF TORONTO', 'CO', '3630', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'HERITAGE GREEN NURSING HOME', 'NH', '3631', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'EDEN HOUSE NURSING HOME', 'NH', '3632', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'SANDFIELD PLACE', 'NH', '3633', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'MAUNO KAIHLA KOTI', 'NH', '3634', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'COLLINGWOOD NURSING HOME', 'NH', '3635', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PARIS', 'PARK LANE TERRACE', 'NH', '3636', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'SHEPHERD LODGE', 'NH', '3637', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'WINSTON PARK NURSING HOME', 'NH', '3638', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'LISLE', 'CAMP DUFFERIN YOUTH FACILITY', 'CC', '3640', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'WELLINGTON NURSING HOME (THE)', 'NH', '3642', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'WILLIAM A."BILL" GEORGE EXT. CARE FAC.', 'NH', '3643', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAGERSVILLE', 'ANSON PLACE CARE CENTRE', 'NH', '3645', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'WEST HILL COMMUNITY SERVICES', 'CO', '3651', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'STONEGATE COMMUNITY HEALTH CENTRE', 'CO', '3652', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CARLINGTON COMMUNITY RESOURCES CENTRE', 'CO', '3653', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'CROWN RIDGE PLACE', 'NH', '3654', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EMO', 'RIVERSIDE HEALTH CARE FAC-EMO SITE', 'CR', '3656', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'BRAEMAR RETIREMENT CENTRE', 'NH', '3657', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WOMEN''S OWN DETOX CENTRE', 'DT', '3658', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-SCARBOROU', 'NH', '3659', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'GUELPH COMMUNITY HEALTH CENTRE', 'CO', '3664', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SACHIGO LAKE', 'SACHIGO LAKE NURSING STATION', 'NS', '3665', '604')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT SEVERN', 'FORT SEVERN NURSING STATION', 'NS', '3666', '915')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'TRILLIUM CENTRE', 'NH', '3670', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'MORGENTALER CLINIC', 'AC', '3671', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHOICE IN HEALTH CLINIC', 'AC', '3672', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SCOTT CLINIC', 'AC', '3673', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CABBAGETOWN WOMEN''S CLINIC', 'AC', '3674', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WEST LORNE', 'WEST ELGIN COMMUNITY HEALTH CENTRE', 'CO', '3676', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'LANARK', 'LANARK HEALTH AND COMMUNITY SERVICES', 'CO', '3677', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'LONGLAC', 'NORWEST CHC - LONGLAC SITE', 'CO', '3678', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'C S C DE SUDBURY', 'CO', '3679', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUOMI-KOTI TORONTO NURSING HOME', 'NH', '3680', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'REXDALE COMMUNITY HEALTH CENTRE', 'CO', '3681', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'MISIWAY MILOPEMAHTESEWIN COMMUNITY HLTH', 'CO', '3682', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'HEADWATERS HEALTH CARE CENTRE-DUFFERIN', 'AT', '3684', '916')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'DOM LIPA NURSING HOME (ETOBICOKE)', 'NH', '3686', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'HOME CARE - ACQUIRED BRAIN INJURY PROJ', 'DM', '3688', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NORTHBROOK', 'PINE MEADOW NURSING HOME', 'NH', '3689', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'GEORGE JEFFERY CHILREN''S TREATMENT CTR', 'CM', '3691', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NIPIGON', 'NIPIGON DISTRICT MEMORIAL HOSPITAL', 'NH', '3694', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'NORTH SHORE HLTH NTWRK-ELDCAP', 'NH', '3695', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PLANTAGENET', 'PINECREST NURSING HOME', 'NH', '3698', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HELLENIC CARE FOR SENIORS (TORONTO) INC', 'NH', '3699', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SUMMER BEAVER', 'SUMMER BEAVER NURSING STATION', 'NS', '3703', '929')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'UNICARE CHO', 'HO', '3704', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WAWA', 'NORTH ALGOMA HEALTH ORGANIZATION', 'HO', '3705', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'VIRGIL', 'HERITAGE PLACE', 'NH', '3708', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'TSIIONKWANONHSOTE', 'NH', '3709', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'YEE HONG CENTRE FOR GERIATRIC CARE', 'NH', '3711', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'WILDWOOD CARE CENTRE INC.', 'NH', '3712', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'MORGENTALER CLINIC', 'AC', '3713', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'SOUTHEASTERN ONT ACADEMIC MED ORG(SEAMO)', 'AL', '3714', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'DORSET', 'LIONS DIALYSIS CAMP,  DORSET', 'IF', '3715', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WARKWORTH', 'COMMUNITY NURSING HOME', 'NH', '3718', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'CSC DU NIAGARA', 'CO', '3725', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'FOREST', 'NORTH LAMBTON COMMUNITY HEALTH CENTRE', 'CO', '3726', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'WEST PARRY SOUND HEALTH CENTRE', 'AT', '3729', '931')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'EHATARE NURSING HOME (SCARBOROUGH)', 'NH', '3731', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'PERTH & SMITHS FALLS DIST-PERTH SITE', 'AT', '3732', '928')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-WATERLOO SITE', 'AT', '3734', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-FREEPORT SITE', 'CR', '3735', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'HALIBURTON HIGHLANDS HLTH SERV CORP-HALI', 'AT', '3737', '938')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'GREENWOOD COURT', 'HF', '3738', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'BRUSSELS', 'HURONLEA HOME FOR THE AGED', 'HF', '3739', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'DEEP RIVER', 'NORTH RENFREW LONG-TERM CARE CENTRE', 'HF', '3741', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'COCHENOUR', 'NORTHWOOD LODGE', 'HF', '3742', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'PIONEER RIDGE', 'HF', '3743', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KINGFISHER LAKE', 'KINGFISHER LAKE NURSING STATION', 'NS', '3761', '934')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'JOSEPH BRANT HOSPITAL', 'GR', '3778', '718')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'NORTHERN REGIONAL RECOVERY CONTINUUM(THE', 'TC', '3779', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'WOODBRIDGE', 'CHARTWELL PINE GROVE LONG TERM CARE RESI', 'NH', '3780', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'BRUYERE CONTINUING CARE INC.', 'CR', '3781', '932')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'BRUYERE CONTINUING CARE INC.', 'GR', '3782', '932')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HSC PAED. CONSULTANTS NORTHERN CLINICS', 'AL', '3783', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'DR. S. B. HEDDLE', 'IF', '3785', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ROSEDALE PLASTIC & COSMETIC SURGICAL CTR', 'IF', '3786', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'PLASTIC SURGERY CLINIC (THE)', 'IF', '3787', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'DR. H. A. MCLEAN', 'IF', '3788', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON PLASTIC SURGERY CENTRE (THE)', 'IF', '3789', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'K - W PLASTIC SURGERY CLINIC', 'IF', '3790', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'C S C DU TEMISKAMING', 'CO', '3791', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON URBAN CORE COMM HLTH CTR', 'CO', '3792', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'LANG''S FARM COMM HEALTH CENTRE', 'CO', '3793', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'LAPINSKY PARTNERSHIP', 'SO', '3795', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'VICTORIA HEALTH CENTRE', 'SO', '3800', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'DR.S.E.MACALUSO', 'SO', '3803', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SPADINA HEALTH CENTRE', 'SO', '3807', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'PARK MAIN HEALTH SERVICE', 'SO', '3810', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ANCASTER', 'ANCASTER PHYSICIAN GROUP', 'SO', '3812', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'BURLINGTON MEDICAL ASSOCIATES', 'SO', '3817', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'KING-UNION MED. ARTS HSO', 'SO', '3818', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON DOWNTOWN MEDICAL CTR.', 'SO', '3819', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'ALBION ASSOCIATES', 'SO', '3821', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEDICAL ASSOC.', 'SO', '3822', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'JAMES SOUTH MEDICAL GROUP PCN', 'SO', '3823', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'BURLINGTON HEALTH SERVICE', 'SO', '3825', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'SOUTH WEST FAMILY HEALTH CTR. PCN', 'SO', '3826', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'SANDHILLS HSO', 'SO', '3829', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'BIF HEALTH SERVICE ORGANIZATION', 'SO', '3830', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'KHERA-LEGGETT FAM. PHYS. PCN', 'SO', '3831', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'HICKS-KHAN HSO', 'SO', '3832', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'WEST PARK HSO', 'SO', '3833', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'H T S HEALTH SERVICE ORG.', 'SO', '3834', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', '200 KING STREET MEDICAL', 'SO', '3835', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HARBOURFRONT MEDICAL GROUP', 'SO', '3840', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DOWNSVIEW MEDICAL CENTRE (NORTH YORK)', 'SO', '3841', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ANGLING LAKE', 'ANGLING LAKE (WAPAKEKA) CLINIC', 'NS', '3843', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CENTRE JULES - LEGER', 'SS', '3848', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'UKRAINIAN CANADIAN CARE CENTRE (NY)', 'NH', '3849', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON HLTH SCIENCES CTR-UNIVERSITY HOSP', 'AT', '3850', '936')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY REGIONAL HLTH SCIENCES CTR', 'AT', '3853', '935')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOLLAND BLOORVIEW KIDS REHAB HOSPITAL', 'CR', '3855', '939')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOLLAND BLOORVIEW KIDS REHAB HOSPITAL', 'SR', '3856', '939')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MANITOUWADGE', 'MANITOUWADGE GENERAL HOSPITAL', 'NH', '3857', '719')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MACKENZIE HEALTH', 'GR', '3858', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'PERLEY & RIDEAU VETERANS'' HEALTH CTR(THE', 'HF', '3859', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'NORTHUMBERLAND HILLS HOSPITAL', 'AT', '3860', '940')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'YOUTH CENTRE (THE)', 'CO', '3862', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'PARK BARTON MEDICAL CLINIC', 'SO', '3864', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'STONECHURCH FAMILY HEALTH CTR MOUNTAIN S', 'SO', '3866', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'DILICO OJIBWAY C & FS', 'CA', '3867', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MISSANABIE', 'MISSANABIE HEALTH CENTRE', 'NS', '3868', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'FAUQUIER', 'FAUQUIER NURSING STATION', 'NS', '3869', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MACTIER', 'MACTIER HEALTH CENTRE', 'NS', '3870', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTICE', 'MATTICE NURSING STATION', 'NS', '3871', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MINAKI STATION', 'MINAKI HEALTH CENTRE', 'NS', '3872', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'POINTE AU BARIL', 'POINTE AU BARIL NURSING STATION', 'NS', '3873', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX NARROWS', 'SIOUX NARROWS NURSING STATION', 'NS', '3874', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'THORNE', 'THORNE NURSING STATION', 'NS', '3875', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'UPSALA', 'UPSALA NURSING STATION', 'NS', '3876', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ARMSTRONG', 'ARMSTRONG MEDICAL CLINIC', 'NS', '3877', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-JURAVINSKI', 'GR', '3880', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'GLEBE CENTRE', 'NH', '3882', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'GR', '3884', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MOUNT HOPE CENTRE FOR LONG TERM CARE', 'HF', '3885', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE OF THE WOODS ADDICTION SERVICES', 'TC', '3886', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'KEN BROWN RECOVERY HOME', 'TC', '3887', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'PINEGATE ADDICTION SERVICES PROGRAM', 'TC', '3888', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'ST. JOSEPH''S CARE GROUP', 'CR', '3890', '781')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'ST. JOSEPH''S CARE GROUP', 'SR', '3891', '781')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'ST. JOSEPH''S CARE GROUP', 'GR', '3892', '781')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CITY OF TORONTO HEALTH UNIT', 'HU', '3895', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'WINGHAM AND DISTRICT HOSPITAL', 'GR', '3897', '889')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'DOUGLAS H. RAPELJE LODGE', 'HF', '3902', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MAPLE', 'YORK REGION MAPLE HEALTH CENTRE', 'HF', '3904', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO YOUTH ASSESSMENT CENTRE (ETOB)', 'CC', '3906', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'KINCARDINE', 'SOUTH BRUCE GREY HEALTH CTR-KINCARDINE', 'AT', '3907', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK', 'AT', '3910', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'ST JOSEPH''S HEALTH CENTRE,GUELPH', 'GR', '3912', '666')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'CR', '3915', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'SR', '3916', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'NORTH SHORE HLTH NTWRK-BLIND RIVER SITE', 'AM', '3920', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON HEALTHCARE SERVICES CORP-OAKVILLE', 'AT', '3926', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON HEALTHCARE SERVICES CORP-OAKVILLE', 'CR', '3927', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WILLIAM OSLER HEALTH SYSTEM-ETOBICOKE', 'AT', '3929', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WILLIAM OSLER HEALTH SYSTEM-ETOBICOKE', 'CR', '3930', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'LAKERIDGE HEALTH -OSHAWA SITE', 'AT', '3932', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'LAKERIDGE HEALTH -OSHAWA SITE', 'CR', '3933', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'LAKERIDGE HEALTH -OSHAWA SITE', 'GR', '3934', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'AT', '3936', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'CR', '3937', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'CR', '3939', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH SERVICES-OWEN SOUND', 'AT', '3944', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH SERVICES-OWEN SOUND', 'GR', '3946', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'COCHRANE', 'VILLA MINTO', 'NH', '3952', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WEST BAY', 'WELLNESS CLINIC,MANITOULIN SECONDARY SCH', 'AL', '3953', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK GENERAL HOSPITAL', 'LT', '3958', '632')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOSPITAL FOR SICK CHILDREN  (THE)', 'AM', '3969', '837')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'QUEENSWAY-CARLETON HOSPITAL', 'AM', '3970', '777')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSPITAL-SAULT STE MARIE', 'AM', '3972', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA HEALTH SYSTEM-WELLAND COUNTY', 'AM', '3978', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'NIAGARA HEALTH SYSTEM-GREATER NIAGARA', 'AM', '3982', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'RELIG HOSP OF ST.JOSEPH OF HOTEL DIEU', 'AM', '3983', '790')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST MICHAEL''S HOSPITAL', 'AM', '3985', '852')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROYAL VICTORIA REGIONAL HEALTH CENTRE', 'AM', '3987', '606')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'QUINTE HEALTHCARE CORPORATION-BELLEVILLE', 'AT', '3988', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'QUINTE HEALTHCARE CORPORATION-BELLEVILLE', 'GR', '3990', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BANCROFT', 'QUINTE HEALTHCARE CORPORATION-BANCROFT', 'AT', '3991', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'QUINTE HEALTHCARE CORPORATION-PICTON', 'AT', '3992', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'QUINTE HEALTHCARE CORPORATION-TRENTON', 'AT', '3994', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'QUINTE HEALTHCARE CORPORATION-TRENTON', 'CR', '3995', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'GEORGETOWN', 'BENNETT HEALTH CARE CENTRE', 'NH', '3997', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE REGIONAL HEALTH CENTRE', 'AM', '4001', '736')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCUGOG', 'LAKERIDGE HEALTH -PORT PERRY', 'AT', '4005', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CLARINGTON', 'LAKERIDGE HEALTH -BOWMANVILLE', 'AT', '4008', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CLARINGTON', 'LAKERIDGE HEALTH -BOWMANVILLE', 'CR', '4009', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'HALTON HEALTHCARE SERVICES CORP-MILTON', 'AT', '4022', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'HALTON HEALTHCARE SERVICES CORP-MILTON', 'CR', '4023', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MARKDALE', 'GREY BRUCE HEALTH SERVICES-MARKDALE SITE', 'AT', '4025', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MEAFORD', 'GREY BRUCE HEALTH SERVICES-MEAFORD SITE', 'AT', '4027', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SOUTHAMPTON', 'GREY BRUCE HEALTH SERVICES-SOUTHAMPTON', 'AT', '4030', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WIARTON', 'GREY BRUCE HEALTH SERVICES-WIARTON SITE', 'AT', '4033', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DURHAM', 'SOUTH BRUCE GREY HEALTH CENTRE-DURHAM', 'AT', '4036', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'SOUTH BRUCE GREY HEALTH CENTRE-WALKERTON', 'AT', '4039', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CHESLEY', 'SOUTH BRUCE GREY HEALTH CENTRE-CHESLEY', 'AT', '4042', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'GUELPH GENERAL HOSPITAL', 'AM', '4044', '665')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA HEALTH SYSTEM-ST CATHARINES GEN', 'AM', '4045', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-CIVIC SITE', 'AT', '4046', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-GENERAL SITE', 'AT', '4048', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA GENERAL HOSPITAL', 'AM', '4053', '654')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILTON', 'AM', '4054', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S COMMUNITY HEALTH CENTRE', 'AM', '4055', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST JOSEPH''S HEALTH CENTRE', 'AM', '4056', '898')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK GENERAL HOSPITAL TRUST', 'AM', '4057', '890')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'INGERSOLL', 'ALEXANDRA HOSPITAL', 'AM', '4058', '684')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HEALTH SCIENCES NORTH-LAURENTIAN', 'AT', '4059', '959')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HEALTH SCIENCES NORTH-LAURENTIAN', 'SR', '4061', '959')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HEALTH SCIENCES NORTH-LAURENTIAN', 'AM', '4063', '959')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'HALDIMAND WAR MEMORIAL HOSPITAL', 'AM', '4070', '648')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE REGIONAL HOSPITAL INC.', 'AM', '4071', '763')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH REGIONAL HEALTH CENTRE', 'AM', '4073', '771')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CLINTON', 'CLINTON PUBLIC HOSPITAL', 'AM', '4074', '633')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH COMMUNITY HOSPITAL', 'AM', '4075', '801')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSPITAL', 'AM', '4076', '793')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CAMPBELLFORD', 'CAMPBELLFORD MEMORIAL HOSPITAL', 'AM', '4077', '624')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'EXETER', 'SOUTH HURON HOSPITAL', 'AM', '4078', '655')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-CIVIC SITE', 'AM', '4079', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-RIVERSIDE SITE', 'AM', '4080', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'DURHAM', 'SOUTH BRUCE GREY HEALTH CENTRE-DURHAM', 'AM', '4081', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'ALEXANDRA MARINE AND GENERAL HOSPITAL', 'AM', '4082', '663')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-GENERAL SITE', 'AM', '4085', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HALDIMAND', 'WEST HALDIMAND GENERAL HOSPITAL', 'AM', '4088', '734')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER HOSPITAL -YORK-FINCH', 'AM', '4089', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CHILDREN''S HOSPITAL OF EASTERN ONTARIO', 'AM', '4091', '751')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'LENNOX AND ADDINGTON COUNTY GEN HOSPITAL', 'AM', '4092', '592')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'TILLSONBURG DISTRICT MEMORIAL HOSPITAL', 'AM', '4093', '824')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'KINCARDINE', 'SOUTH BRUCE GREY HEALTH CTR-KINCARDINE', 'AM', '4094', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WALKERTON', 'SOUTH BRUCE GREY HEALTH CENTRE-WALKERTON', 'AM', '4095', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'CHESLEY', 'SOUTH BRUCE GREY HEALTH CENTRE-CHESLEY', 'AM', '4096', '946')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'QUINTE HEALTHCARE CORPORATION-BELLEVILLE', 'AM', '4097', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BANCROFT', 'QUINTE HEALTHCARE CORPORATION-BANCROFT', 'AM', '4098', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TRENTON', 'QUINTE HEALTHCARE CORPORATION-TRENTON', 'AM', '4099', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PICTON', 'QUINTE HEALTHCARE CORPORATION-PICTON', 'AM', '4100', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'ATIKOKAN', 'ATIKOKAN GENERAL HOSPITAL', 'AM', '4101', '600')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST MARYS', 'ST MARYS MEMORIAL HOSPITAL', 'AM', '4102', '792')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEMORIAL HOSPITAL', 'AM', '4103', '661')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'ERIE SHORES HEALTHCARE', 'AM', '4104', '704')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-WATERLOO SITE', 'AM', '4107', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA SOLDIERS'' MEMORIAL HOSPITAL', 'AM', '4108', '745')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'BLUEWATER HEALTH-SARNIA GENERAL SITE', 'AM', '4109', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'VILLA MARCONI', 'NH', '4111', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'GROVES MEMORIAL COMMUNITY HOSPITAL', 'AM', '4112', '656')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WINGHAM', 'WINGHAM AND DISTRICT HOSPITAL', 'AM', '4114', '889')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LISTOWEL', 'LISTOWEL MEMORIAL HOSPITAL', 'AM', '4115', '709')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RAINY RIVER', 'RIVERSIDE HEALTH CARE-RAINY RIVER ELDCAP', 'NH', '4116', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'KIRKLAND AND DISTRICT HOSPITAL', 'AM', '4117', '696')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'GRAVENHURST', 'LEISUREWORLD CAREGIVING CENTRE-MUSKOKA', 'NH', '4120', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS & DISTRICT GENERAL HOSPITAL', 'AM', '4123', '907')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'RIVERSIDE HEALTH CARE FAC-LAVERENDRYE', 'AM', '4124', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EMO', 'RIVERSIDE HEALTH CARE FAC-EMO SITE', 'AM', '4125', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RAINY RIVER', 'RIVERSIDE HEALTH CARE FAC-RAINY RIVER', 'AM', '4126', '900')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'NEWBURY', 'FOUR COUNTIES HEALTH SERVICES CORP', 'AM', '4127', '593')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'HOPITAL MONTFORT', 'AM', '4130', '753')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH SERVICES-OWEN SOUND', 'AM', '4131', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MARKDALE', 'GREY BRUCE HEALTH SERVICES-MARKDALE SITE', 'AM', '4132', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'MEAFORD', 'GREY BRUCE HEALTH SERVICES-MEAFORD SITE', 'AM', '4133', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SOUTHAMPTON', 'GREY BRUCE HEALTH SERVICES-SOUTHAMPTON', 'AM', '4134', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WIARTON', 'GREY BRUCE HEALTH SERVICES-WIARTON SITE', 'AM', '4135', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON HEALTHCARE SERVICES CORP-OAKVILLE', 'GR', '4136', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'SIOUX LOOKOUT MENO-YA-WIN HLTH CTR-DISTR', 'AM', '4137', '964')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MACKENZIE HEALTH', 'AM', '4138', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'NORFOLK GENERAL HOSPITAL', 'AM', '4141', '804')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'JOSEPH BRANT HOSPITAL', 'AM', '4144', '718')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'WOODS PARK CARE CENTRE', 'NH', '4145', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KAPUSKASING', 'SENSENBRENNER HOSPITAL (THE)', 'AM', '4147', '687')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATHROY', 'STRATHROY MIDDLESEX GENERAL HOSPITAL', 'AM', '4160', '814')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'HEADWATERS HEALTH CARE CENTRE-DUFFERIN', 'AM', '4161', '916')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSPITAL', 'GR', '4162', '793')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'ALMONTE GENERAL HOSPITAL', 'AM', '4163', '597')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'UNIVERSITY OF OTTAWA HEART INSTITUTE', 'AT', '4164', '961')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MANITOUWADGE', 'MANITOUWADGE GENERAL HOSPITAL', 'AM', '4166', '719')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'WEST NIPISSING GENERAL HOSPITAL', 'AM', '4167', '881')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL', 'AM', '4168', '813')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'HOPITAL NOTRE DAME HOSPITAL (HEARST)', 'AM', '4169', '681')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'CLARINGTON', 'LAKERIDGE HEALTH -BOWMANVILLE', 'AM', '4170', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'LAKERIDGE HEALTH -OSHAWA SITE', 'AM', '4171', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCUGOG', 'LAKERIDGE HEALTH -PORT PERRY', 'AM', '4172', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BARRY''S BAY', 'ST FRANCIS MEMORIAL HOSPITAL', 'AM', '4175', '768')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'ROSS MEMORIAL HOSPITAL', 'AM', '4177', '707')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ENGLEHART', 'ENGLEHART AND DISTRICT HOSPITAL', 'AM', '4178', '653')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'SIOUX LOOKOUT MENO-YA-WIN HLTH CTR-ZONE', 'AM', '4179', '964')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'ST MARY''S GENERAL HOSPITAL', 'AM', '4180', '699')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'DEEP RIVER', 'DEEP RIVER AND DISTRICT HOSPITAL', 'AM', '4181', '646')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'NIPIGON', 'NIPIGON DISTRICT MEMORIAL HOSPITAL', 'AM', '4182', '739')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT COLBORNE', 'NIAGARA HEALTH SYSTEM-PORT COLBORNE SITE', 'AM', '4183', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'RENFREW', 'RENFREW VICTORIA HOSPITAL', 'AM', '4184', '788')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'COCHRANE', 'LADY MINTO HOSPITAL (THE)', 'AM', '4185', '638')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE GENERAL HOSP-CHARLES ST SITE', 'AM', '4186', '619')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATTAWA', 'MATTAWA GENERAL HOSPITAL', 'AM', '4187', '724')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CARLETON PLACE', 'CARLETON PLACE AND DISTRICT MEM HOSPITAL', 'AM', '4188', '626')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'HANOVER', 'HANOVER AND DISTRICT HOSPITAL', 'AM', '4189', '676')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HORNEPAYNE', 'HORNEPAYNE COMMUNITY HOSPITAL', 'AM', '4190', '682')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'MINDEN', 'HALIBURTON HIGHLANDS HLTH SERV CORP-MIND', 'AM', '4191', '938')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON HEALTHCARE SERVICES CORP-OAKVILLE', 'AM', '4192', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'HALTON HEALTHCARE SERVICES CORP-MILTON', 'AM', '4193', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'KEMPTVILLE DISTRICT HOSPITAL', 'AM', '4194', '732')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SMOOTH ROCK FALLS', 'SMOOTH ROCK FALLS HOSPITAL', 'AM', '4195', '809')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'RED LAKE', 'RED LAKE MARG COCHENOUR MEM HOSP (THE)', 'AM', '4196', '896')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'COLLINGWOOD', 'COLLINGWOOD GENERAL AND MARINE HOSPITAL', 'AM', '4197', '640')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ARNPRIOR', 'ARNPRIOR REGIONAL HEALTH', 'AM', '4198', '599')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE-OF-THE-WOODS DISTRICT HOSPITAL', 'AM', '4200', '826')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'LITTLE CURRENT', 'MANITOULIN HEALTH CENTRE-LITTLE CURRENT', 'AM', '4201', '784')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MINDEMOYA', 'MANITOULIN HEALTH CENTRE-MINDEMOYA UNIT', 'AM', '4202', '784')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHAPLEAU', 'SERVICES DE SANTE DE CHAPLEAU HLTH SERV', 'AM', '4203', '627')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'ERIE SHORES HEALTHCARE', 'GR', '4204', '704')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'AM', '4205', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MATHESON', 'BINGHAM MEMORIAL HOSPITAL', 'AM', '4206', '723')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'MOUNT FOREST', 'NORTH WELLINGTON HLTH CARE-MOUNT FOREST', 'AM', '4207', '963')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'PALMERSTON', 'NORTH WELLINGTON HLTH CARE-PALMERSTON', 'AM', '4208', '963')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TOR. EAST HLTH NTWRK-MICHAEL GARRON HOSP', 'AM', '4209', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'NIAGARA HEALTH SYSTEM-FORT ERIE DOUGLAS', 'AT', '4210', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'NIAGARA HEALTH SYSTEM-FORT ERIE DOUGLAS', 'CR', '4211', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'NIAGARA HEALTH SYSTEM-GREATER NIAGARA', 'AT', '4213', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'NIAGARA HEALTH SYSTEM-GREATER NIAGARA', 'CR', '4214', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT COLBORNE', 'NIAGARA HEALTH SYSTEM-PORT COLBORNE SITE', 'CR', '4220', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA HEALTH SYSTEM-ST CATHARINES GEN', 'AT', '4224', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA HEALTH SYSTEM-WELLAND COUNTY', 'AT', '4227', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'NIAGARA HEALTH SYSTEM-WELLAND COUNTY', 'CR', '4228', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-GENERAL', 'AM', '4231', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'NIAGARA HEALTH SYSTEM-FORT ERIE DOUGLAS', 'AM', '4232', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK GENERAL HOSPITAL', 'AM', '4233', '632')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK GENERAL HOSPITAL-BRANSON SITE', 'AM', '4234', '632')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'MARKHAM STOUFFVILLE HOSPITAL', 'AM', '4235', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'WEST PARRY SOUND HEALTH CENTRE', 'AM', '4236', '931')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'NORTHUMBERLAND HILLS HOSPITAL', 'AM', '4237', '940')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'PUBLIC GENERAL HOSP SOCIETY OF CHATHAM', 'AM', '4238', '628')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'SYDENHAM DISTRICT HOSPITAL', 'AM', '4239', '870')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ST JOSEPH''S GENERAL HOSPITAL', 'AM', '4240', '650')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'GEORGIAN BAY GENERAL HOSP-MIDLAND SITE', 'AM', '4241', '726')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRE FOR ADDICTION&MENTAL HLTH', 'AM', '4242', '948')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'GLENGARRY MEMORIAL HOSPITAL', 'AM', '4243', '802')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WILLIAM OSLER HEALTH SYSTEM-ETOBICOKE', 'AM', '4245', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON HLTH SCIENCES CTR-VICTORIA HOSP', 'AM', '4247', '936')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'DRYDEN REGIONAL HEALTH CENTRE', 'AM', '4248', '647')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEW TECUMSETH', 'STEVENSON MEMORIAL HOSPITAL ALLISTON', 'AM', '4249', '596')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WAWA', 'LADY DUNN HEALTH CENTRE', 'AM', '4250', '686')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'PERTH', 'PERTH & SMITHS FALLS DIST-PERTH SITE', 'AM', '4251', '928')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'YORK CENTRAL HOSP/EXTENDICARE LONG-TERM', 'NH', '4252', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WALLACEBURG', 'FAIRFIELD PARK', 'NH', '4253', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON', 'AM', '4255', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'BLUEWATER HEALTH-PETROLIA SITE', 'AM', '4256', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'GERALDTON', 'GERALDTON DISTRICT HOSPITAL', 'AM', '4257', '662')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'COBDEN', 'CARESSANT CARE COBDEN', 'NH', '4259', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER REGIONAL HOSP-HUMBER MEM', 'AM', '4260', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'DRYDEN', 'DRYDEN LONG TERM CARE FACILITY', 'HF', '4261', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'HILLCREST VILLAGE CARE CENTRE', 'NH', '4262', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NEW LISKEARD', 'TEMISKAMING HOSPITAL', 'AM', '4264', '888')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-GENERAL SITE', 'AM', '4265', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-WESTERN SITE', 'AM', '4266', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'WINCHESTER', 'WINCHESTER DISTRICT MEMORIAL HOSPITAL', 'AM', '4267', '882')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'HAWKESBURY', 'HAWKESBURY AND DISTRICT GENERAL HOSPITAL', 'AM', '4268', '800')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'IROQUOIS FALLS', 'ANSON GENERAL HOSPITAL', 'AM', '4270', '685')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'FINLANDIA HOIVAKOTI NURSING HOME', 'NH', '4271', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'HALIBURTON HIGHLANDS HEALTH SERVICES', 'HF', '4272', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE-ORTHOP', 'GR', '4274', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WILLIAM OSLER HEALTH SYSTEM-ETOBICOKE', 'GR', '4277', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'ELMIRA', 'LEISUREWORLD CAREGIVING CENTRE-ELMIRA', 'NH', '4278', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TOR. EAST HLTH NTWRK-MICHAEL GARRON HOSP', 'GR', '4279', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-JURAVINSKI', 'AM', '4285', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-MCMASTER', 'AM', '4286', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'GRAND BEND', 'GRAND BEND AREA COMMUNITY HEALTH CENTRE', 'CO', '4287', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'KITCHENER DOWNTOWN COMMUNITY HEALTH CTR', 'CO', '4288', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'SUDBURY EAST NURSING STATION', 'NS', '4291', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'LEACOCK CARE CENTRE', 'NH', '4294', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LEISUREWORLD O''CONNOR COURT', 'NH', '4295', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'EMO', 'EMO HEALTH CENTRE  ( ELDCAP UNIT)', 'NH', '4296', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE REGIONAL HOSPITAL INC.', 'GR', '4299', '763')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'CHARTWELL WENLEIGH LONG TERM CARE RES', 'NH', '4300', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KANATA', 'FOREST HILL', 'NH', '4301', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'UNIVERSITY OF OTTAWA HEART INSTITUTE', 'AM', '4303', '961')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LEISUREWORLD CAREGIVING CTR-O''CONNOR GAT', 'NH', '4304', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'PETER D CLARKE CENTRE', 'HF', '4306', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'MARKHAM STOUFFVILLE HOSPITAL', 'GR', '4307', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-ETOBICOKE', 'NH', '4308', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON HLTH SCIENCES CTR-UNIVERSITY HOSP', 'AM', '4310', '936')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROBERTA PLACE', 'NH', '4312', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'HUNTSVILLE', 'MUSKOKA LANDING', 'NH', '4313', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'VILLAGE OF WENTWORTH HEIGHTS (THE)', 'NH', '4314', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY REGIONAL HLTH SCIENCES CTR', 'AM', '4315', '935')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'SMITHS FALLS', 'PERTH & SMITHS FALLS DIST-SMITHS FALLS', 'AM', '4316', '928')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'HAMPTON TERRACE CARE CENTRE', 'NH', '4317', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'EXTENDICARE KAWARTHA LAKES', 'NH', '4318', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'EXTENDICARE SOUTHWOOD LAKES', 'NH', '4319', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ANCASTER', 'MEADOWS LONG TERM CARE CENTRE (THE)', 'NH', '4321', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'LONGFIELDS MANOR', 'NH', '4322', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'MOUNT FOREST', 'NORTH WELLINGTON HLTH CARE-MOUNT FOREST', 'AT', '4323', '963')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'PALMERSTON', 'NORTH WELLINGTON HLTH CARE-PALMERSTON', 'AT', '4326', '963')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'STONEY CREEK', 'RIDGEVIEW LONG TERM CARE CENTRE', 'NH', '4330', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'BURLOAK LONG TERM CARE CENTRE', 'NH', '4331', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'FENELON FALLS', 'FENELON COURT LONG TERM CARE CENTRE', 'NH', '4332', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LAKEFIELD', 'EXTENDICARE LAKEFIELD', 'NH', '4333', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO CENTRAL AMBULANCE COMMUNI CENTRE', 'AS', '4334', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'KENSINGTON GARDENS', 'NH', '4336', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WEST PARK LONG TERM CARE CENTRE', 'NH', '4337', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'EXTENDICARE BRAMPTON', 'NH', '4338', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'CENTRAL NORTH CORRECTIONAL CENTRE', 'CC', '4340', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TOR. EAST HLTH NTWRK-MICHAEL GARRON HOSP', 'CR', '4341', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'EXTENDICARE COBOURG', 'NH', '4344', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'COLUMBIA FOREST LONG TERM CARE CENTRE', 'NH', '4345', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'ELGINWOOD LONG TERM CARE CENTRE', 'NH', '4346', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'NORTHRIDGE LONG TERM CARE CENTRE', 'NH', '4347', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'LABDARA LITHUANIAN NURSING HOME', 'NH', '4348', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'VILLAGE OF TANSLEY WOODS (THE)', 'NH', '4349', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'VILLAGE OF SANDALWOOD PARK (THE)', 'NH', '4350', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'STURGEON FALLS', 'WEST NIPISSING GENERAL HOSPITAL', 'LT', '4351', '881')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'SIOUX LOOKOUT MENO-YA-WIN HLTH CTR-DISTR', 'AT', '4353', '964')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'SIOUX LOOKOUT', 'SIOUX LOOKOUT MENO-YA-WIN HLTH CTR-DISTR', 'CR', '4354', '964')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'QUEEN''S GARDEN', 'NH', '4358', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON HLTH SCIENCES CTR-VICTORIA HOSP', 'AT', '4359', '936')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'ST.JOSEPH''S HLTH SERV ASSOC OF CHATHAM', 'GR', '4361', '629')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'VILLA FORUM', 'NH', '4362', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'EXTENDICARE HAMILTON', 'NH', '4365', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'HALIBURTON', 'HALIBURTON HIGHLANDS HLTH SERV CORP-HALI', 'AM', '4367', '938')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'WINBOURNE PARK', 'NH', '4370', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'STIRLING HEIGHTS', 'NH', '4371', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'AFTON PARK PLACE LONG TERM CARE COMMUNIT', 'NH', '4372', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'WEST OAK VILLAGE LONG TERM CARE CENTRE', 'NH', '4373', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ELLIOT LAKE', 'ST JOSEPH''S MANOR', 'NH', '4374', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ALEXANDER PLACE', 'NH', '4375', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'VAL CARON', 'ELIZABETH CENTRE', 'NH', '4376', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LIONS HEAD', 'GREY BRUCE HEALTH SERVICES-LIONS HEAD', 'AM', '4377', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'MANOIR MAROCHEL', 'NH', '4378', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-LAWRENCE', 'NH', '4380', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'WAWA', 'LADY DUNN HEALTH CENTRE', 'NH', '4381', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'WESTMOUNT GARDENS LONG TERM CARE HOME', 'NH', '4382', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'ROSEVIEW MANOR', 'NH', '4383', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SALVATION ARMY OTTAWA GRACE MANOR', 'NH', '4384', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHAPLEAU', 'BIGNUCOLO RESIDENCE (THE)', 'NH', '4386', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'CHARTWELL WESTMOUNT LONG TERM CARE RES', 'NH', '4387', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'SPECIALTY CARE GRANITE RIDGE', 'NH', '4388', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'YEE HONG CENTRE-MARKHAM', 'NH', '4389', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'CENTRAL EAST CORRECTIONAL CENTRE', 'CC', '4390', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'VILLAGE OF ERIN MEADOWS (THE)', 'NH', '4391', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ISABEL & ARTHUR MEIGHEN MANOR', 'HF', '4392', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KANATA', 'GARDEN TERRACE', 'NH', '4393', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'EXTENDICARE MISSISSAUGA', 'NH', '4394', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'EXTENDICARE ROUGE VALLEY', 'NH', '4395', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PICKERING', 'BAY RIDGES LONG-TERM CARE CENTRE', 'NH', '4396', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MAPLE', 'SHERWOOD COURT LONG-TERM CARE CENTRE', 'NH', '4397', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FORT ERIE', 'MAPLE PARK LODGE', 'NH', '4398', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'LEISUREWORLD CAREGIVING CTR-BRAMPTON WOO', 'NH', '4399', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'CHARTWELL WYNFIELD LONG TERM CARE RES', 'NH', '4400', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'CHARTWELL WOODHAVEN LONG TERM CARE RES', 'NH', '4401', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'TWIN LAKES TERRACE', 'NH', '4402', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'BELLA SENIOR CARE RESIDENCE', 'NH', '4403', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CENTRE DE SOINS DE LONGUE DUREE MONTFORT', 'NH', '4404', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MILTON', 'VANIER CENTRE FOR WOMEN', 'CC', '4405', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-PRINCESS MARG', 'AM', '4406', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSPITAL-SAULT STE MARIE', 'AT', '4407', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSPITAL-SAULT STE MARIE', 'CR', '4408', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSPITAL-SAULT STE MARIE', 'GR', '4409', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'HALTON HILLS', 'EXTENDICARE HALTON HILLS', 'NH', '4410', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'CHARTWELL TRILOGY LONG TERM CARE RES', 'NH', '4411', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MON SHEONG RICHMOND HILL LTC CENTRE', 'NH', '4412', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSPITAL-METROPOLITAN', 'AM', '4414', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'BLUEWATER HEALTH-SARNIA GENERAL SITE', 'AT', '4415', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'BLUEWATER HEALTH-SARNIA GENERAL SITE', 'CR', '4416', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'BLUEWATER HEALTH-SARNIA GENERAL SITE', 'GR', '4417', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'BLUEWATER HEALTH-PETROLIA SITE', 'AT', '4418', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'PETROLIA', 'BLUEWATER HEALTH-PETROLIA SITE', 'CR', '4419', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'DEEP RIVER', 'FOUR SEASONS LODGE', 'NH', '4420', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PORT CARLING', 'MEDAVIE EMS ONTARIO (MEMSO)', 'AS', '4421', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'GRAVENHURST', 'MEDAVIE EMS ONTARIO (MEMSO)', 'AS', '4422', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'BLIND RIVER', 'NORTH SHORE HLTH NTWRK-LTC UNIT', 'NH', '4423', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HERON TERRACE LONG TERM CARE COMMUNITY', 'NH', '4424', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'VILLAGE OF TAUNTON MILLS (THE)', 'NH', '4425', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'MILLBROOK', 'CENTENNIAL PLACE', 'NH', '4426', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'VICTORIA VILLAGE MANOR', 'NH', '4427', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'ST JOSEPH''S VILLA, SUDBURY', 'NH', '4428', '971')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-THE REHAB CENTRE', 'SR', '4429', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'LANARK HEIGHTS', 'NH', '4431', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'HENLEY HOUSE LIMITED (THE)', 'NH', '4432', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'BELMONT LONG TERM CARE FACILITY', 'NH', '4434', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'BRADFORD', 'BRADFORD VALLEY', 'NH', '4435', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'TECUMSEH', 'EXTENDICARE TECUMSEH', 'NH', '4436', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'LEISUREWORLD ELLESMERE', 'NH', '4437', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'LEISUREWORLD RICHMOND HILL', 'NH', '4438', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'TALL PINES LONG TERM CARE CENTRE', 'HF', '4439', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'MISSISSAUGA', 'MALTON VILLAGE LONG TERM CARE CENTRE', 'HF', '4440', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'CHARTWELL BRANT LONG TERM CARE RESIDEN', 'NH', '4441', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PORT COLBORNE', 'NORTHLAND POINTE', 'HF', '4442', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'CHARTWELL WATERFORD LONG TERM CARE RES', 'NH', '4443', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'RIVERSIDE GLEN LONG TERM CARE FACILITY', 'NH', '4444', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'CAWTHRA GARDENS LONG TERM CARE COMMUNITY', 'NH', '4445', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'LEISUREWORLD CAREGIVING CTR-BRAM-MEADOWS', 'NH', '4446', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'CARESSANT CARE ON MCLAUGHLIN ROAD', 'NH', '4447', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'DON MILLS SURGICAL UNIT', 'AM', '4448', '680')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'WYNDHAM MANOR LONG TERM CARE CENTRE', 'NH', '4449', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'COBOURG', 'NORTHUMBERLAND HILLS HOSPITAL', 'GR', '4450', '940')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL COMMUNITY HOSPITAL', 'AT', '4451', '967')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL COMMUNITY HOSPITAL', 'AM', '4452', '967')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'WESBURN MANOR', 'HF', '4453', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'TILLSONBURG', 'WOODINGFORD LODGE-TILLSONBURG', 'HF', '4454', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'INGERSOLL', 'WOODINGFORD LODGE-INGERSOLL', 'HF', '4455', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'LEISUREWORLD CAREGIVING CENTRE-NORFINCH', 'NH', '4456', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ANCASTER', 'REGINA GARDENS', 'NH', '4457', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'YEE HONG CENTRE', 'NH', '4458', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'CHARTWELL LONDON LONG TERM CARE RESIDENCE', 'NH', '4459', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PORT HOPE', 'EXTENDICARE PORT HOPE', 'NH', '4460', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'HOPITAL MONTFORT', 'GR', '4461', '753')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'ST.LAWRENCE VALLEY CORRECTIONAL&TREAT CT', 'CC', '4462', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST.PETER''S RESIDENCE AT CHEDOKE', 'NH', '4463', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'CHARTWELL WILLOWGROVE LONG TERM CARE R', 'NH', '4464', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UXBRIDGE', 'MARKHAM STOUFFVILLE HOSP-UXBRIDGE SITE', 'AT', '4465', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UXBRIDGE', 'MARKHAM STOUFFVILLE HOSP-UXBRIDGE SITE', 'CR', '4466', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'UXBRIDGE', 'MARKHAM STOUFFVILLE HOSP-UXBRIDGE SITE', 'AM', '4467', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'ST. ANDREW''S TERRACE', 'NH', '4468', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL COMMUNITY HOSP-GENERAL SITE', 'GR', '4470', '967')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'HOGARTH RIVERVIEW MANOR', 'NH', '4472', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'YEE HONG CENTRE-SCARBOROUGH FINCH CENTRE', 'NH', '4473', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ARBOUR CREEK', 'NH', '4474', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'SPECIALTY CARE WOODHALL PARK', 'NH', '4475', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HEALTH SCIENCES NORTH-LAURENTIAN', 'TM', '4477', '959')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'ST. JOSEPH''S AT FLEMING', 'NH', '4479', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'MARKHAVEN', 'NH', '4480', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LAKESIDE LONG TERM CARE CENTRE', 'NH', '4481', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ROYAL OTTAWA PLACE LONG-TERM CARE CENTRE', 'NH', '4482', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'ROSS MEMORIAL HOSPITAL', 'GR', '4483', '707')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'MARSHALL GOWLAND MANOR', 'HF', '4484', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'KINGSVILLE', 'CHARTWELL ROYAL OAK LONG TERM CARE RES', 'NH', '4485', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ARRELL YOUTH CENTRE (K-CARE YOUTH SERV)', 'CC', '4486', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'FENWICK', 'PENINSULA YOUTH CENTRE', 'CC', '4487', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'BILLINGS COURT MANOR', 'NH', '4488', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'HELLENIC HOME FOR THE AGED (SCARBOROUGH)', 'NH', '4489', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ESPANOLA', 'ESPANOLA NURSING HOME', 'NH', '4490', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'POST INN VILLAGE', 'HF', '4491', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'GRACE MANOR', 'NH', '4492', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNDAS', 'MARTHA WING', 'HF', '4493', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'BURTON MANOR', 'NH', '4494', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'CHARTWELL WESTBURY LONG TERM CARE RES', 'NH', '4495', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'WOODLANDS OF SUNSET (THE)', 'HF', '4496', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'F.J. DAVEY HOME', 'NH', '4497', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'HEARST', 'FOYER DES PIONNIERS', 'NH', '4498', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'KIRKLAND LAKE', 'TECK PIONEER RESIDENCE', 'HF', '4499', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'TORONTO', 'MON SHEONG LONG TERM CARE CTR (SCARB)', 'NH', '4500', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA FALLS', 'MILLENIUM TRAIL MANOR', 'NH', '4501', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'WOODBRIDGE', 'LEISUREWORLD CAREGIVING CENTRE-VAUGHAN', 'NH', '4502', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'VALLEYVIEW RESIDENCE', 'NH', '4503', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'VAUGHAN', 'VILLA LEONARDO GAMBIN', 'NH', '4504', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATHROY', 'SPRUCEDALE CARE CENTRE', 'NH', '4505', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'WILLIAM E. HAY CENTRE', 'CC', '4506', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'ST. JOSEPH''S LIFECARE CENTRE', 'NH', '4507', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'SPECIALTY CARE-MISSISSAUGA', 'NH', '4508', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE RESIDENTIAL CARE VILLAGE', 'NH', '4509', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'MIRAMICHI LODGE', 'HF', '4510', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'VINELAND', 'UNITED MENNONITE NURSING HOME', 'NH', '4511', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'PARKWOOD MENNONITE NURSING HOME', 'NH', '4512', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'ROYAL VICTORIA REGIONAL HEALTH CENTRE', 'MH', '4513', '606')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BELLEVILLE', 'QUINTE HEALTHCARE CORPORATION-BELLEVILLE', 'MH', '4514', '957')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'TORONTO', 'WILLIAM OSLER HEALTH SYSTEM-ETOBICOKE', 'MH', '4515', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'JOSEPH BRANT HOSPITAL', 'MH', '4518', '718')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEMORIAL HOSPITAL', 'MH', '4519', '661')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'PUBLIC GENERAL HOSP SOCIETY OF CHATHAM', 'MH', '4520', '628')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'CORNWALL', 'CORNWALL COMMUNITY HOSP-GENERAL SITE', 'MH', '4521', '967')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'GODERICH', 'ALEXANDRA MARINE AND GENERAL HOSPITAL', 'MH', '4522', '663')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'HOMEWOOD HEALTH CENTRE INC', 'MH', '4523', '601')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILT MH', 'MH', '4525', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILTON', 'MH', '4526', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'KENORA', 'LAKE-OF-THE-WOODS DISTRICT HOSPITAL', 'MH', '4527', '826')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDENCE CARE HOSPITAL', 'MH', '4530', '695')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-WATERLOO SITE', 'MH', '4531', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'LONDON HLTH SCIENCES CTR-VICTORIA HOSP S', 'MH', '4532', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'MH', '4533', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST.JOSEPH''S HEALTH CARE,LONDON-ST THOMAS', 'MH', '4534', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'MARKHAM', 'MARKHAM STOUFFVILLE HOSPITAL', 'MH', '4535', '905')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'SOUTHLAKE REGIONAL HEALTH CENTRE', 'MH', '4538', '736')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'OAKVILLE', 'HALTON HEALTHCARE SERVICES CORP-OAKVILLE', 'MH', '4539', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA SOLDIERS'' MEMORIAL HOSPITAL', 'MH', '4540', '745')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'LAKERIDGE HEALTH -OSHAWA SITE', 'MH', '4541', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'HOPITAL MONTFORT', 'MH', '4542', '753')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'QUEENSWAY-CARLETON HOSPITAL', 'MH', '4543', '777')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'BROCKVILLE', 'ROYAL OTTAWA HLTH CARE GRP-BROCKVILLE MH', 'MH', '4544', '651')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ROYAL OTTAWA HLTH CARE GROUP-MENTAL HLTH', 'MH', '4545', '651')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-CIVIC SITE', 'MH', '4546', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-GENERAL SITE', 'MH', '4547', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'OWEN SOUND', 'GREY BRUCE HEALTH SERVICES-OWEN SOUND', 'MH', '4548', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'PEMBROKE', 'PEMBROKE REGIONAL HOSPITAL INC.', 'MH', '4549', '763')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'WAYPOINT CTR FOR MENTAL HLTH CARE-PROVIN', 'MH', '4550', '972')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'WAYPOINT CTR FOR MENTAL HLTH CARE-REGION', 'MH', '4551', '972')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PETERBOROUGH', 'PETERBOROUGH REGIONAL HEALTH CENTRE', 'MH', '4552', '771')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'RICHMOND HILL', 'MACKENZIE HEALTH', 'MH', '4553', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'SARNIA', 'BLUEWATER HEALTH-SARNIA GENERAL SITE', 'MH', '4554', '966')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'SAULT AREA HOSPITAL-SAULT STE MARIE', 'MH', '4555', '965')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'NIAGARA HEALTH SYSTEM-ST CATHARINES GEN', 'MH', '4558', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATFORD', 'STRATFORD GENERAL HOSPITAL', 'MH', '4559', '813')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'HOPITAL REGIONAL DE SUDBURY-LAURENTIAN', 'MH', '4560', '959')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'THUNDER BAY REGIONAL HLTH SCIENCES CTR', 'MH', '4562', '935')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'ST. JOSEPH''S CARE GROUP-LAKEHEAD SITE', 'MH', '4563', '781')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'TIMMINS', 'TIMMINS & DISTRICT GENERAL HOSPITAL', 'MH', '4564', '907')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'BAYCREST HOSPITAL (NORTH YORK)', 'MH', '4565', '827')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRE FOR ADDICTION & MENTAL HEALTH', 'MH', '4566', '948')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TOR. EAST HLTH NTWRK-MICHAEL GARRON HOSP', 'MH', '4567', '858')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'NORTH YORK GENERAL HOSPITAL', 'MH', '4570', '632')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST JOSEPH''S HEALTH CENTRE', 'MH', '4575', '898')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ST MICHAEL''S HOSPITAL', 'MH', '4576', '852')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HEALTH SCIENCES CENTRE', 'MH', '4577', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK', 'MH', '4578', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'ONTARIO SHORES CTR FOR MENTAL HLTH SCIEN', 'MH', '4579', '969')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK GENERAL HOSPITAL TRUST', 'MH', '4582', '890')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'QUEENSWAY-CARLETON HOSPITAL', 'GR', '4584', '777')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'LAKELAND LONG TERM CARE', 'NH', '4585', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WELLESLEY CENTRAL PLACE', 'NH', '4586', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'VILLAGE OF HUMBER HEIGHTS (THE)', 'NH', '4587', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'GARRY J.ARMSTRONG HOME', 'HF', '4588', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDENCE CARE HOSPITAL', 'AM', '4589', '695')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'LEAMINGTON', 'LEAMINGTON MENNONITE HOME LTC RESIDENCE', 'HF', '4590', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BURLINGTON', 'CREEKWAY VILLAGE', 'HF', '4591', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'WEST PARRY SOUND HEALTH CENTRE', 'GR', '4592', '931')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'LINDSAY', 'ROSS MEMORIAL HOSPITAL', 'MH', '4593', '707')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'RELIG HOSP OF ST.JOSEPH OF HOTEL DIEU', 'CR', '4594', '790')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'ST CATHARINES', 'RELIG HOSP OF ST.JOSEPH OF HOTEL DIEU', 'GR', '4595', '790')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'TOWNSEND', 'GARDENVIEW LONG TERM CARE HOME', 'NH', '4596', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'SIMCOE', 'NORVIEW LODGE', 'HF', '4597', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ROYAL OTTAWA HLTH CARE GROUP-MENTAL HLTH', 'AT', '4599', '651')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'AT', '4602', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSPITAL-MARYVALE SITE', 'AT', '4607', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'HUNTSVILLE', 'MUSKOKA ALGONQUIN HEALTHCARE-HUNTSVILLE', 'AT', '4616', '968')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'HUNTSVILLE', 'MUSKOKA ALGONQUIN HEALTHCARE-HUNTSVILLE', 'AM', '4618', '968')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'MUSKOKA ALGONQUIN HEALTHCARE-BRACEBRIDGE', 'AT', '4619', '968')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'MUSKOKA ALGONQUIN HEALTHCARE-BRACEBRIDGE', 'CR', '4620', '968')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BRACEBRIDGE', 'MUSKOKA ALGONQUIN HEALTHCARE-BRACEBRIDGE', 'AM', '4621', '968')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'HALTON HILLS', 'HALTON HEALTHCARE SERVICES CORP-GEORGETO', 'AT', '4622', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'HALTON HILLS', 'HALTON HEALTHCARE SERVICES CORP-GEORGETO', 'CR', '4623', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'HALTON HILLS', 'HALTON HEALTHCARE SERVICES CORP-GEORGETO', 'AM', '4624', '950')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'JOHN M. PARROTT CENTRE (THE)', 'HF', '4625', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'DUNNVILLE', 'EDGEWATER GARDENS LONG TERM CARE CENTRE', 'NH', '4626', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'KENSINGTON EYE INSTITUTE', 'AM', '4628', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MCCORMICK HOME', 'HF', '4629', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WOMEN''S COLLEGE HOSPITAL', 'AM', '4631', '862')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'PINEWOOD COURT', 'NH', '4632', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'BOB RUMBALL HOME FOR THE DEAF', 'NH', '4634', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'KEMPTVILLE', 'KEMPTVILLE DISTRICT HOSPITAL', 'LT', '4635', '732')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'RIVERVIEW GARDENS', 'HF', '4637', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'VALLEYVIEW HOME', 'HF', '4640', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'FERGUS', 'WELLINGTON TERRACE HOME', 'HF', '4641', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'MCGARRELL PLACE', 'NH', '4642', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'STRATHROY', 'STRATHMERE LODGE', 'HF', '4645', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE GENERAL HOSP-GARDEN ST SITE', 'CR', '4646', '619')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE GENERAL HOSP-GARDEN ST SITE', 'GR', '4647', '619')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'EXETER', 'SOUTH HURON HOSPITAL', 'GR', '4649', '655')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'VAUGHAN', 'VILLA COLOMBO DI POCE CENTRE', 'NH', '4650', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'SPENCER HOUSE INC', 'NH', '4651', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'STOUFFVILLE', 'PARKVIEW HOME', 'NH', '4652', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CHESTER VILLAGE', 'NH', '4653', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'GUELPH', 'HOMEWOOD HEALTH CENTRE INC', 'AM', '4654', '601')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'CHATHAM', 'ERIE ST.CLAIR CCAC', 'HC', '4655', '153')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'SOUTH WEST CCAC', 'HC', '4656', '154')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'WATERLOO WELLINGTON CCAC', 'HC', '4657', '155')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'HAMILTON NIAGARA HALDIMAND BRANT CCAC', 'HC', '4658', '156')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'CENTRAL WEST CCAC', 'HC', '4659', '157')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'MISSISSAUGA HALTON CCAC', 'HC', '4660', '158')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO CENTRAL CCAC', 'HC', '4661', '159')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'NEWMARKET', 'CENTRAL CCAC', 'HC', '4662', '160')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'CENTRAL EAST CCAC', 'HC', '4663', '161')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'SOUTH EAST CCAC', 'HC', '4664', '162')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'CHAMPLAIN CCAC', 'HC', '4665', '163')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'NORTH SIMCOE MUSKOKA CCAC', 'HC', '4666', '164')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'NORTH EAST CCAC', 'HC', '4667', '165')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'NORTH WEST CCAC', 'HC', '4668', '166')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'PARRY SOUND', 'LAKELAND LONG TERM CARE (ELDCAP)', 'NH', '4669', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HURON LODGE, MUNICIPAL LTC HOME', 'HF', '4670', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'OSHAWA', 'HILLSDALE TERRACES', 'HF', '4671', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'RIVERSIDE PLACE', 'NH', '4673', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODINGFORD LODGE - WOODSTOCK', 'HF', '4674', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COMMUNITY HEALTHCARE SYS-BRANTFORD', 'AT', '4675', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COMMUNITY HEALTHCARE SYS-BRANTFORD', 'MH', '4676', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COMMUNITY HEALTHCARE SYS-BRANTFORD', 'CR', '4677', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COMMUNITY HEALTHCARE SYS-BRANTFORD', 'GR', '4678', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'BRANTFORD', 'BRANT COMMUNITY HEALTHCARE SYS-BRANTFORD', 'AM', '4679', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'PARIS', 'BRANT COMMUNITY HEALTHCARE SYS-WILLET', 'AM', '4680', '970')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-CIVIC SITE', 'AT', '4681', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-CIVIC SITE', 'MH', '4682', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-CIVIC SITE', 'CR', '4683', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-CIVIC SITE', 'GR', '4684', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-CIVIC SITE', 'AM', '4685', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALMONTE', 'FAIRVIEW MANOR', 'NH', '4686', '597')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ORLEANS', 'MADONNA LONG-TERM CARE RESIDENCE', 'NH', '4687', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'ORILLIA', 'ORILLIA SOLDIERS'' MEMORIAL HOSPITAL', 'GR', '4688', '745')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'ST.JOSEPH''S CONTINUING CARE CTR OF SUDB', 'CR', '4690', '971')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'ROSE OF SHARON', 'NH', '4691', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MOOSONEE', 'WEENEEBAYKO AREA HLTH AUTHORITY-MOOSONEE', 'AM', '4692', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'FORT ALBANY', 'WEENEEBAYKO AREA HLTH AUTH-FORT ALBANY', 'AM', '4693', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ATTAWAPISKAT', 'WEENEEBAYKO AREA HLTH AUTH-ATTAWAPISKAT', 'AM', '4694', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-GENERAL SITE', 'GR', '4695', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'OTTAWA HOSPITAL ( THE )-THE REHAB CENTRE', 'AM', '4696', '958')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'DONALD DOUCET YOUTH CENTRE', 'CC', '4697', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MOOSE FACTORY', 'WEENEEBAYKO AREA HLTH AUTH-MOOSE FACTORY', 'AT', '4698', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'MOOSE FACTORY', 'WEENEEBAYKO AREA HLTH AUTH-MOOSE FACTORY', 'AM', '4699', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'FORT ALBANY', 'WEENEEBAYKO AREA HLTH AUTH-FORT ALBANY', 'AT', '4700', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'FORT ALBANY', 'WEENEEBAYKO AREA HLTH AUTH-FORT ALBANY', 'CR', '4701', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ATTAWAPISKAT', 'WEENEEBAYKO AREA HLTH AUTH-ATTAWAPISKAT', 'AT', '4702', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'ATTAWAPISKAT', 'WEENEEBAYKO AREA HLTH AUTH-ATTAWAPISKAT', 'CR', '4703', '973')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'GEORGIAN BAY GENERAL HOSP-PENETANG SITE', 'AM', '4706', '726')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'ROY MCMURTRY YOUTH CENTRE', 'CC', '4707', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HEALTH SCIENCES CORP-ST.PETER''S', 'CR', '4708', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'THUNDER BAY', 'JUSTICE RONALD LESTER YOUTH CENTRE', 'CC', '4709', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'TWEED', 'MOIRA PLACE LONG-TERM CARE HOME', 'NH', '4710', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HLTH SCIENCES CORP-GEN-REG REH', 'SR', '4711', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'FORT FRANCES', 'GE-DA-GI BINEZ YOUTH CENTRE', 'CC', '4712', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'VILLAGE OF GLENDALE CROSSING (THE)', 'NH', '4714', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'PEOPLE CARE OAKCROSSING LONDON', 'NH', '4715', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'BARRIE', 'MILL CREEK CARE CENTRE', 'NH', '4716', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'PERLEY & RIDEAU VETERANS''HLTH CTR-VETERA', 'HF', '4718', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'KITCHENER', 'GRAND RIVER HOSPITAL CORP-FREEPORT SITE', 'MH', '4719', '930')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'CAMBRIDGE', 'CAMBRIDGE MEMORIAL HOSPITAL', 'GR', '4720', '661')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'ALEXANDRIA', 'GLENGARRY MEMORIAL HOSPITAL', 'GR', '4722', '802')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'KENNEDY HOUSE YOUTH CENTRE', 'CC', '4723', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'ARBOUR HEIGHTS KINGSTON LTC RESIDENCE', 'NH', '4724', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'CHELMSFORD', 'ST.GABRIEL''S VILLA OF SUDBURY', 'NH', '4725', '971')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'VILLAGE OF ASPEN LAKE (THE)', 'NH', '4727', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'NORTH OF SUPERIOR HLTHCARE GR-LTC WING', 'NH', '4728', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'AT', '4730', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'MH', '4731', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'CR', '4732', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'GR', '4733', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'NORTH BAY', 'NORTH BAY REGIONAL HEALTH CENTRE', 'AM', '4734', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'NORTH BAY REGIONAL HEALTH CTR-KIRKWOOD P', 'MH', '4735', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SUDBURY', 'NORTH BAY REGIONAL HEALTH CTR-KIRKWOOD P', 'AT', '4736', '974')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'HAMILTON HELTH SCIENCES CORP-WEST END UC', 'AM', '4737', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'ST.JOSEPH''S HEALTH CARE,LONDON-PARKWOOD', 'AM', '4738', '714')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WOODSTOCK', 'WOODSTOCK GENERAL HOSPITAL TRUST', 'GR', '4740', '890')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-BICKLE CENTRE', 'CR', '4742', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-LYNDHURST SITE', 'SR', '4743', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-HILLCREST/UNIV', 'GR', '4744', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SOUTHWOLD', 'ONEIDA NATION OF THE THAMES LTC', 'NH', '4745', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'THESSALON', 'ALGOMA MANOR NURSING HOME', 'NH', '4746', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-CREDIT VALLEY', 'AT', '4747', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-CREDIT VALLEY', 'MH', '4748', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-CREDIT VALLEY', 'CR', '4749', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-CREDIT VALLEY', 'GR', '4750', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-CREDIT VALLEY', 'AM', '4751', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-MISSISSAUGA S', 'AT', '4752', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-MISSISSAUGA S', 'MH', '4753', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-MISSISSAUGA S', 'CR', '4754', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-MISSISSAUGA S', 'GR', '4755', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'MISSISSAUGA', 'TRILLIUM HEALTH PARTNERS-MISSISSAUGA S', 'AM', '4756', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'TRILLIUM HEALTH PARTNERS-QUEENSWAY HLTH', 'CR', '4757', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'TRILLIUM HEALTH PARTNERS-QUEENSWAY HLTH', 'AM', '4759', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'MCCALL CENTRE LTC INTERIM UNIT', 'LT', '4760', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CENTRE FOR ADDICTION & MENTAL HEALTH', 'AT', '4761', '948')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'BROCKVILLE', 'BROCKVILLE GENERAL HOSP-CHARLES ST SITE', 'MH', '4762', '619')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'ORANGEVILLE', 'HEADWATERS HEALTH CARE CENTRE-DUFFERIN', 'CR', '4763', '916')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'PENETANGUISHENE', 'WAYPOINT CTR FOR MENTAL HLTH CARE-PROVIN', 'AM', '4764', '972')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HLTH SCIENCES CTR-ST.JOHN''S', 'GR', '4765', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HLTH SCIENCES CTR-ST.JOHN''S', 'SR', '4766', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SUNNYBROOK HLTH SCIENCES CTR-ST.JOHN''S', 'AM', '4767', '953')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'RICHARDS LANDING', 'NORTH SHORE HLTH NTWRK-RICHARDS LAND', 'AM', '4768', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'THESSALON', 'NORTH SHORE HLTH NTWRK-THESSALON SITE', 'AM', '4769', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'THESSALON', 'NORTH SHORE HLTH NTWRK-THESSALON SITE', 'AT', '4770', '611')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'ST THOMAS', 'ST THOMAS-ELGIN GENERAL HOSPITAL', 'MH', '4771', '793')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE MARIE', 'EXTENDICARE MAPLE VIEW OF SAULT STE MARI', 'NH', '4772', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSP-OUELLETTE CAMPUS', 'AT', '4773', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSP-OUELLETTE CAMPUS', 'AM', '4774', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSP-OUELLETTE CAMPUS', 'GR', '4775', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'WINDSOR REGIONAL HOSP-OUELLETTE CAMPUS', 'MH', '4776', '933')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HOTEL-DIEU GRACE HEALTHCARE-DR.Y.EMARA', 'CR', '4777', '927')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HOTEL-DIEU GRACE HEALTHCARE-DR.F.TAYFOUR', 'SR', '4778', '927')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HOTEL-DIEU GRACE HEALTHCARE', 'AM', '4779', '927')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'HOTEL-DIEU GRACE HEALTHCARE-TNI', 'MH', '4780', '927')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'HAMILTON', 'ST JOSEPH''S HEALTH CARE SYSTEM-HAMILT MH', 'AM', '4782', '674')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'NAPANEE', 'LENNOX AND ADDINGTON COUNTY GEN.HOSP.', 'NH', '4783', '592')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'HENLEY PLACE', 'NH', '4785', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TORONTO SOUTH DETENTION CENTRE', 'CC', '4786', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'WIARTON', 'GREY BRUCE HEALTH SERVICES-WIARTON SITE', 'CR', '4787', '955')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'HAMILTON HLTH SCIENCES CORP-WEST LINCOLN', 'AT', '4788', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'HAMILTON HLTH SCIENCES CORP-WEST LINCOLN', 'CR', '4789', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'GRIMSBY', 'HAMILTON HLTH SCIENCES CORP-WEST LINCOLN', 'AM', '4790', '942')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'WINDSOR', 'VILLAGE AT ST. CLAIR  (THE)', 'NH', '4791', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'LONDON', 'EARLS COURT VILLAGE', 'NH', '4792', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('1', 'MAIDSTONE', 'SOUTH WEST DETENTION CENTRE', 'CC', '4793', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('13', 'SAULT STE. MARIE', 'AUTUMNWOOD AT GREAT NORTHERN', 'TM', '4794', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('2', 'SEAFORTH', 'SEAFORTH COMMUNITY HOSPITAL', 'GR', '4795', '801')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'ONTARIO SHORES CTR FOR MENTAL HLTH SCIEN', 'AT', '4796', '969')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'GEORGIAN BAY GENERAL HOSP-MIDLAND SITE', 'CR', '4797', '726')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('12', 'MIDLAND', 'GEORGIAN BAY GENERAL HOSP-MIDLAND SITE', 'GR', '4798', '726')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER HOSPITAL - WILSON SITE', 'AT', '4799', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER HOSPITAL - WILSON SITE', 'GR', '4800', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER HOSPITAL - WILSON SITE', 'MH', '4801', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'TORONTO', 'HUMBER RIVER HOSPITAL - WILSON SITE', 'AM', '4802', '941')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'WHITBY', 'ONTARIO SHORES CTR FOR MENTAL HLTH SCIEN', 'AM', '4803', '969')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-MOUNT SINAI SITE', 'AT', '4804', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-MOUNT SINAI SITE', 'AM', '4805', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-MOUNT SINAI SITE', 'MH', '4806', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-BRIDGEPOINT SITE', 'CR', '4807', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-BRIDGEPOINT SITE', 'GR', '4808', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('3', 'WATERLOO', 'VILLLAGE AT UNIVERSITY GATES (THE)', 'NH', '4809', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'NIAGARA-ON-THE-LAKE', 'NIAGARA HLTH SYSTEM-NIAGARA-ON-THE-LAKE', 'AM', '4810', '962')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'HOLLAND BLOORVIEW KIDS REHAB HOSPITAL', 'AM', '4811', '939')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'SINAI HEALTH SYSTEM-BRIDGEPOINT SITE', 'AM', '4812', '976')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'PROVIDENCE HEALTHCARE', 'AM', '4813', '773')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'UNIVERSITY HEALTH NETWORK-UNIVERSITY CTR', 'AM', '4814', '947')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'PRO PHYSIO & SPORT MEDICINE CENTRE', 'AM', '4815', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'PICKERING', 'PICKERING SPORTS MEDICINE & WILLNESS CTR', 'AM', '4816', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'WEST PARK HEALTHCARE CENTRE (YORK CITY)', 'AM', '4817', '613')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('8', 'VAUGHAN', 'MACKENZIE HEALTH - VAUGHAN SITE', 'AM', '4818', '701')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MARATHON', 'NORTH OF SUPERIOR HLTHCARE GR-WILSON MEM', 'AT', '4819', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MARATHON', 'NORTH OF SUPERIOR HLTHCARE GR-WILSON MEM', 'AM', '4820', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'MARATHON', 'NORTH OF SUPERIOR HLTHCARE GR-WILSON MEM', 'CR', '4821', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'NORTH OF SUPERIOR HLTHCARE GR-MCCAUSLAND', 'AT', '4822', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'NORTH OF SUPERIOR HLTHCARE GR-MCCAUSLAND', 'AM', '4823', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('14', 'TERRACE BAY', 'NORTH OF SUPERIOR HLTHCARE GR-MCCAUSLAND', 'CR', '4824', '977')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('11', 'OTTAWA', 'ROYAL OTTAWA HLTH CARE GROUP-MENTAL HLTH', 'AM', '4825', '651')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('4', 'WELLAND', 'ROYAL ROSE PLACE', 'NH', '4826', '6581')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('5', 'BRAMPTON', 'WILLIAM OSLER HEALTH SYSTEM-PEEL MEMORIA', 'AM', '4827', '951')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('6', 'TORONTO', 'TRILLIUM HEALTH PARTNERS-QNSWAY COURTYAR', 'CR', '4828', '975')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON HEALTH SCIENCES CENTRE -HOTEL DIEU', 'AM', '4829', '978')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON HEALTH SCIENCES CENTRE -HOTEL DIEU', 'AT', '4830', '978')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON HEALTH SCIENCES CENTRE -KINGSTON GENERAL', 'AT', '4831', '978')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON HEALTH SCIENCES CENTRE -KINGSTON GENERAL', 'AM', '4832', '978')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'KINGSTON HEALTH SCIENCES CENTRE -KINGSTON GENERAL', 'MH', '4833', '978')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-CENTENARY', 'CR', '4834', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-CENTENARY', 'GR', '4835', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-CENTENARY', 'AT', '4836', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-CENTENARY', 'AM', '4837', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-CENTENARY', 'MH', '4838', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL -SCAR.GEN.SITE', 'AM', '4839', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL -SCAR.GEN.SITE', 'AT', '4840', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL -BIRCHMOUNT ', 'AM', '4841', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL -BIRCHMOUNT ', 'AT', '4842', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'SCARBOROUGH', 'SCARBOROUGH AND ROUGE HOSPITAL-BIRCHMOUNT ', 'MH', '4843', '979')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'LAKERIDGE HEALTH-AJAX SITE', 'AT', '4844', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'LAKERIDGE HEALTH -AJAX SITE', 'AM', '4845', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'LAKERIDGE HEALTH -AJAX SITE', 'GR', '4846', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'LAKERIDGE HEALTH -AJAX SITE', 'CR', '4847', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('9', 'AJAX', 'LAKERIDGE HEALTH-AJAX SITE', 'MH', '4848', '952')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CANCER CARE ONTARIO - GENERIC #', 'IN', '5555', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'WORLD REMAINDER', 'ALL ACUTE HEALTH CARE FACILITIES', 'IN', '9947', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'CORRECTIONAL CENTRES - ONTARIO', 'CC', '9948', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'TELEHEALTH - ONTARIO', 'TH', '9949', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('7', 'TORONTO', 'LAW ENFORCEMENT - ONTARIO', 'LI', '9950', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MINNESOTA USA', 'ALL NON ACUTE HLTH CARE FAC-MINNESOTA', 'IN', '9951', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'PRINCE EDWARD ISLAND', 'ALL NON ACUTE HLTH CARE FAC-PRINCE ED', 'IN', '9952', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'PRINCE EDWARD ISLAND', 'ALL ACUTE HLTH CARE FAC-PRINCE EDWARD', 'IN', '9953', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'YUKON', 'ALL ACUTE HLTH CARE FAC-YUKON', 'IN', '9954', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'SASKATCHEWAN', 'ALL ACUTE HLTH CARE FAC-SASKATCHEWAN', 'IN', '9955', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NUNAVUT', 'ALL ACUTE HLTH CARE FAC-NUNAVUT', 'IN', '9956', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'CALIFORNIA USA', 'ALL NON ACUTE HLTH CARE FAC-CALIFORNIA', 'IN', '9957', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'FLORIDA USA', 'ALL NON ACUTE HLTH CARE FAC-FLORIDA', 'IN', '9958', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'ILLINOIS USA', 'ALL NON ACUTE HLTH CARE FAC-ILLINOIS', 'IN', '9959', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'YUKON', 'ALL NON ACUTE HLTH CARE FAC-YUKON', 'IN', '9960', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'SASKATCHEWAN', 'ALL NON ACUTE HLTH CARE FAC-SASKATCHEWAN', 'IN', '9961', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NUNAVUT', 'ALL NON ACUTE HLTH CARE FAC-NUNAVUT', 'IN', '9962', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NORTHWEST TERRITORIE', 'ALL NON ACUTE HLTH CARE FAC-NORTHWEST TE', 'IN', '9963', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NOVA SCOTIA', 'ALL NON ACUTE HLTH CARE FAC-NOVA SCOTIA', 'IN', '9964', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEWFOUNDLAND', 'ALL NON ACUTE HLTH CARE FAC-NEWFOUNDLAND', 'IN', '9965', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEW BRUNSWICK', 'ALL NON ACUTE HLTH CARE FAC-NEW BRUNSWIC', 'IN', '9966', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MANITOBA', 'ALL NON ACUTE HLTH CARE FAC-MANITOBA', 'IN', '9967', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'BRITISH COLUMBIA', 'ALL NON ACUTE HLTH CARE FAC-BRITISH COLU', 'IN', '9968', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'ALBERTA', 'ALL NON ACUTE HLTH CARE FAC-ALBERTA', 'IN', '9969', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('10', 'KINGSTON', 'PROVIDER SERV (OUT OF COUNTRY OBS)', 'PS', '9970', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'QUEBEC', 'ALL ACUTE HLTH CARE FAC-QUEBEC', 'IN', '9971', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'MEDICAL INCENTIVES GRANTS MOH', 'IN', '9972', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'MEDICAL CONTRACTS GUARANTEED INCOME MOH', 'IN', '9973', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'SPECIAL PAYMENT ARRANGEMENTS', 'IN', '9974', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MASSACHUSETTS USA', 'ALL NON ACUTE HLTH CARE FAC-MASSACHUSE', 'IN', '9975', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MICHIGAN USA', 'ALL NON ACUTE HLTH CARE FAC-MICHIGAN', 'IN', '9976', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'ALBERTA', 'ALL ACUTE HLTH CARE FAC-ALBERTA', 'IN', '9977', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'BRITISH COLUMBIA', 'ALL ACUTE HLTH CARE FAC-BRITISH COLUMBIA', 'IN', '9978', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEW BRUNSWICK', 'ALL ACUTE HLTH CARE FAC-NEW BRUNSWICK', 'IN', '9979', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'CALIFORNIA USA', 'ALL ACUTE HLTH CARE FAC-CALIFORNIA', 'IN', '9980', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'FLORIDA USA', 'ALL ACUTE HLTH CARE FAC-FLORIDA', 'IN', '9981', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'ILLINOIS USA', 'ALL ACUTE HLTH CARE FAC-ILLINOIS', 'IN', '9982', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MASSACHUSETTS USA', 'ALL ACUTE HLTH CARE FAC-MASSACHUSETTS', 'IN', '9983', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MICHIGAN USA', 'ALL ACUTE HLTH CARE FAC-MICHIGAN', 'IN', '9984', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MINNESOTA USA', 'ALL ACUTE HLTH CARE FAC-MINNESOTA', 'IN', '9985', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEW YORK STATE USA', 'ALL ACUTE HLTH CARE FAC-NEW YORK STATE', 'IN', '9986', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'USA REMAINDER', 'ALL ACUTE HLTH CARE FAC-USA REMAINDER', 'IN', '9987', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'QUEBEC', 'ALL NON ACUTE HLTH CARE FAC-QUEBEC', 'IN', '9988', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'MANITOBA', 'ALL ACUTE HLTH CARE FAC-MANITOBA', 'IN', '9989', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'CANADA REMAINDER', 'ALL ACUTE HLTH CARE FAC-CANADA REMAIND', 'IN', '9990', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'WORLD REMAINDER', 'ALL NON ACUTE HEALTH CARE FACILITIES', 'IN', '9991', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEWFOUNDLAND', 'ALL ACUTE HLTH CARE FAC-NEWFOUNDLAND', 'IN', '9992', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NORTHWEST TERRITORIE', 'ALL ACUTE HLTH CARE FAC-NORTHWEST TERRI', 'IN', '9993', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NOVA SCOTIA', 'ALL ACUTE HLTH CARE FAC-NOVA SCOTIA', 'IN', '9994', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'USA REMAINDER', 'ALL NON ACUTE HLTH CARE FAC-USA REMAIN', 'IN', '9995', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'CANADA REMAINDER', 'ALL NON ACUTE HLTH CARE FAC-CANADA REM', 'IN', '9996', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'TORONTO', 'ALL PRIVATE RADIOLOGY FACILITIES', 'PR', '9998', '')
GO
insert into zz2017Inst_ON(LHIN, LOCATION, [NAME], [TYPE], MASTERNUMBER, FACILITYNUMBER) values('', 'NEW YORK STATE USA', 'ALL NON ACUTE HLTH CARE FAC-NEW YORK', 'IN', '9999', '')
GO
update zz2017Inst_ON set MASTERNUMBER = 50000 + MASTERNUMBER
GO
alter table zz2017Inst_ON alter column MASTERNUMBER varchar(10)
GO
update lu_institution_10
set defaultdescription = z.[name]
--select z.*, a.*
from zz2017Inst_ON z
    inner join lu_institution_10 a on z.MASTERNUMBER = a.cihivalue
where z.[name] <> a.defaultdescription
GO
update lu_institution_10
set [HospitalType] = z.[type]
--select z.*, a.*
from zz2017Inst_ON z
    inner join lu_institution_10 a on z.MASTERNUMBER = a.cihivalue
where z.[type] <> isnull(a.[HospitalType], '') and z.MASTERNUMBER not like '5000_'
GO
update lu_institution_10 set IsAcute = 1 where [HospitalType] in ('AT', 'IN') and isnull(IsAcute, 0) <> 1 and CIHIvalue like '5%'
GO
if exists (select * from information_schema.tables where table_name = 'zz2017Inst_ON_New')
    drop table zz2017Inst_ON_New
GO
declare @Province varchar(10)
set @Province = (select top 1 p.CIHIValue from h_hospitalprofile h inner join lu_province p on h.provincenumber = p.code)
declare @MaxID int

if @Province = '5'
begin
    select code = identity(int, 1, 1), z.* into zz2017Inst_ON_New
    from zz2017Inst_ON z
        left join lu_institution_10 a on z.MASTERNUMBER = a.cihivalue
    where a.code is null


    update lu_institution_10
    set validto = '2099/03/31'
    ----select z.*, a.*
    from zz2017Inst_ON z
        inner join lu_institution_10 a on z.MASTERNUMBER = a.cihivalue
    where a.validto < '2099/03/31'

    update lu_institution_10
    set validto = '2017/03/31'
    --    select  a.*
    from zz2017Inst_ON z
        right join lu_institution_10 a on z.MASTERNUMBER = a.cihivalue
    where z.MASTERNUMBER is null and a.validto > '2017/04/01'
        and a.CIHIValue like '5%' and a.CIHIValue <> '5ZZZZ'

    set @MaxID = 91636
    if exists (select * from lu_institution_10 where code between @MaxID + 1 and @MaxID + 3000)
    begin
        set @MaxID = (select max(code) from lu_institution_10)
        if @MaxID < 500000 set @MaxID = 500000
    end

    Insert into [dbo].[LU_Institution_10](Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, InstCareType, HospitalType, IsAcute, HospitalID, LUText)
    select code + @MaxID, MASTERNUMBER, [Name], [Name], MASTERNUMBER, '2017/04/01', '2099/03/31', MASTERNUMBER,
        InstCareType = (case [Type] when 'AM' then 'B' when 'AT' then 'A' when 'IN' then 'A' when 'CR' then 'L' else left([Type], 1) end),  
        HospitalType = [Type], 
        IsAcute = (case when [Type] = 'AT' or [Type] = 'IN' then 1 else 0 end),
        0, ''
    from zz2017Inst_ON_New
end
GO
if exists (select * from information_schema.tables where table_name = 'zz2017Inst_ON')
    drop table zz2017Inst_ON
GO
if exists (select * from information_schema.tables where table_name = 'zz2017Inst_ON_New')
    drop table zz2017Inst_ON_New
GO
--New fields for 2018
--Weight Kg & Height
delete from [dbo].[U_Fields] where fieldid between 835 and 836
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(835, 'WeightKilo', 'WeightKilo', 'WeightKilo', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(836, 'Height', 'Height', 'Height', 0, 0)
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 200 and fieldid = 835)
    Update U_UsersFields
    set SortOrder = a.SortOrder + (case when a.fieldid = 663 then 1 else 2 end)
    from U_UsersFields a
        inner join (select * from u_Usersfields where AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 663) b 
        on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder >= b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 836)
begin
    insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
    select AppID, RoleID, UserID, FieldID = 836, 
        SortOrder = SortOrder - 1, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize = 7, 
		DataType = (case when AppID = 200 or AppID = 201 or AppID = 202 then 2 else 100000 end), 
        SubAppID, LookUpTable, CIHI_ID = '03-28', 
		Header_CIHI_English = 'Height', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Height', 
		FieldEnabled = (case when AppID = 200 or AppID = 201 or AppID = 202 then 1 else 2 end), 
        FieldVisible = (case when AppID = 200 or AppID = 201 or AppID = 202 then 1 else 2 end), 
        DefaultValue = null, 
		ParamProcID = 1, 
		ParamOrder = 176, 
		ParamName = 'pHeight', 
		ParamDataType = 200, ParamSize = 7, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 663

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 835, 
		SortOrder = SortOrder + 1, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize = 7, 
		DataType = (case when AppID = 200 or AppID = 201 or AppID = 202 then 2 else 100000 end), 
        SubAppID, LookUpTable, CIHI_ID = '03-29', 
		Header_CIHI_English = 'Weight (in kg)', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Weight (in kg)', 
		FieldEnabled = (case when AppID = 200 or AppID = 201 or AppID = 202 then 1 else 2 end), 
        FieldVisible = (case when AppID = 200 or AppID = 201 or AppID = 202 then 1 else 2 end), 
        DefaultValue = null, 
		ParamProcID = 1, 
		ParamOrder = 177, 
		ParamName = 'pWeightKg', 
		ParamDataType = 200, ParamSize = 7, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 663
end
GO
if not exists (select * from information_schema.columns where table_name = 'AB_Abstract' and column_name = 'Height')
begin
	alter table AB_Abstract add [Height] [varchar](10) null
	alter table AB_Abstract add [WeightKilo] [varchar](10) null
end
GO
--New Blood
--new Blood fields 2018
if not exists (select * from information_schema.columns where table_name = 'AB_Blood' and column_name = 'CryoprecipitatePlasma')
begin
	alter table AB_Blood add [CryoprecipitatePlasma] [int] null
	alter table AB_Blood add [CryosupernatantPlasma] [int] null
	alter table AB_Blood add [IVIG_SCIG] [int] null 
	alter table AB_Blood add [Fibrinogen] [int] null
	alter table AB_Blood add [PCC] [int] null 
	alter table AB_Blood add [FEIBA]  [int] 
	alter table AB_Blood add [AntithrombinIII] [int] null
	alter table AB_Blood add [C1Inhibitor] [int] null
	alter table AB_Blood add [ProteinC_OtherFactors] [int] null
end
GO
delete u_fields where [FieldID] between 1023 and 1031
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1023, 'Cryoprecipitate Plasma', 'CryoprecipitatePlasma', 'CryoprecipitatePlasma', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1024, 'Cryosupernatant Plasma', 'CryosupernatantPlasma', 'CryosupernatantPlasma', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1025, 'IVIG_SCIG', 'IVIG_SCIG', 'IVIG_SCIG', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1026, 'Fibrinogen', 'Fibrinogen', 'Fibrinogen', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1027, 'PCC', 'PCC', 'PCC', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1028, 'FEIBA', 'FEIBA', 'FEIBA', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1029, 'AntithrombinIII', 'AntithrombinIII', 'AntithrombinIII', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1030, 'C1Inhibitor', 'C1Inhibitor', 'C1Inhibitor', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1031, 'Protein C Other Factors', 'ProteinC_OtherFactors', 'ProteinC_OtherFactors', 0, 0)
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1023)
	Update U_UsersFields
	set SortOrder = a.SortOrder + 9
	from U_UsersFields a
		inner join (select * from u_Usersfields where AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022) b 
		on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder > b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1023)
begin
	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1023, 
		SortOrder = SortOrder + 1, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-08', 
		Header_CIHI_English = 'Cryoprecipitate Plasma', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Cryoprecipitate Plasma', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 23, 
		ParamName = 'pPlasma1', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1024, 
		SortOrder = SortOrder + 2, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-09', 
		Header_CIHI_English = 'Cryosupernatant Plasma', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Cryosupernatant Plasma', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 24, 
		ParamName = 'pPlasma2', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1025, 
		SortOrder = SortOrder + 3, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-10', 
		Header_CIHI_English = 'Intravenous / Subcutaneous Immune Globulin (IVIG/SCIG)', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Intravenous / Subcutaneous Immune Globulin (IVIG/SCIG)', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 25, 
		ParamName = 'pIVIG', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1026, 
		SortOrder = SortOrder + 4, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-11', 
		Header_CIHI_English = 'Fibrinogen', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Fibrinogen', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 26, 
		ParamName = 'pFibrinogen', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1027, 
		SortOrder = SortOrder + 5, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-12', 
		Header_CIHI_English = 'Prothrombin Complex Concentrate (PCC)', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Prothrombin Complex Concentrate (PCC)', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 27, 
		ParamName = 'pPCC', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1028, 
		SortOrder = SortOrder + 6, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-13', 
		Header_CIHI_English = 'Anti-Inhibitor Coagulant (FEIBA)', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Anti-Inhibitor Coagulant (FEIBA)', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 28, 
		ParamName = 'pFEIBA', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1029, 
		SortOrder = SortOrder + 7, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-14', 
		Header_CIHI_English = 'Antithrombin III', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Antithrombin III', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 29, 
		ParamName = 'pAntithrombin', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1030, 
		SortOrder = SortOrder + 8, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-15', 
		Header_CIHI_English = 'C1 Inhibitor', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'C1 Inhibitor', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 30, 
		ParamName = 'pC1Inhibitor', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1031, 
		SortOrder = SortOrder + 9, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable, CIHI_ID = '17-16', 
		Header_CIHI_English = 'Protein C/Other Factors', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Protein C/Other Factors', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 31, 
		ParamName = 'pProteinC', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1022
end
GO
--New Disposition Code
declare @MaxID int
declare @Disable int
set @Disable = 0
if exists (select * from LU_DispositionCode_I where code between 50 and 66)
begin
    if not exists (select * from LU_DispositionCode_I where code = 50 and cihivalue = '10' and defaultdescription = 'Transfer to reporting or another facility for inpatient care')
    begin
        set @MaxID = (select max(code) from LU_DispositionCode_I where code >= 100000)
        if isnull(@MaxID, 0) < 500000 set @MaxID = 500000
        Update LU_DispositionCode_I set code = code + @MaxID where code between 50 and 66
        Update AB_Abstract set DispositionCode = DispositionCode + @MaxID where DispositionCode between 50 and 66 and caretype in (1, 2)
        set @Disable = 1
    end
end
else
    set @Disable = 1

if @Disable = 1
    update LU_DispositionCode_I set Validto = '2018/03/31' where ValidTo > '2018/03/31' and code not between 50 and 66
GO
if not exists (select * from LU_DispositionCode_I where code between 50 and 66)
begin
    insert into [dbo].[LU_DispositionCode_I](Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    select code, CIHIValue, DefaultDescription, DefaultDescription, CIHIValue, '2018/04/01', '2099/03/31', CIHIValue, 0, ''
    from (
	select code = 50, DefaultDescription = 'Transfer to reporting or another facility for inpatient care', CIHIValue = '10' union
	select code = 51, DefaultDescription = 'Transfer to reporting or another emergency dept or ambulatory care', CIHIValue = '20' union
	select code = 52, DefaultDescription = 'Transfer to residential care', CIHIValue = '30' union
	select code = 53, DefaultDescription = 'Transfer to group / supportive living', CIHIValue = '40' union
	select code = 54, DefaultDescription = 'Transfer to correctional facility', CIHIValue = '90' union
	select code = 55, DefaultDescription = 'Discharge to private home, condo, apt with support', CIHIValue = '04' union
	select code = 56, DefaultDescription = 'Service/referral Discharge to private home, condo, apt without support service/referral', '05' union
	select code = 57, DefaultDescription = 'Absent without leave (AWOL)', CIHIValue = '61' union
	select code = 58, DefaultDescription = 'Left against medical advice (LAMA)', CIHIValue = '62' union
	select code = 59, DefaultDescription = 'Did not return from pass/leave', CIHIValue = '65' union
	select code = 60, DefaultDescription = 'Died While on Pass/Leave', CIHIValue = '66' union
	select code = 61, DefaultDescription = 'Suicide Out of Facility', CIHIValue = '67' union
	select code = 62, DefaultDescription = 'Died in Facility', CIHIValue = '72' union
	select code = 63, DefaultDescription = 'Medical Assistance in Dying (MAID)', CIHIValue = '73' union
	select code = 64, DefaultDescription = 'Suicide in Facility', CIHIValue = '74' union
	select code = 65, DefaultDescription = 'Cadaveric donor admitted for organ/tissue procurement', CIHIValue = '08' union
	select code = 66, DefaultDescription = 'Stillbirth', CIHIValue = '09'
	) a
end
GO
--Mental Health
if not exists (select * from information_schema.columns where table_name = 'AB_MentalHealth' and column_name = 'LegalStatusUponArrivaltoED')
begin
	alter table AB_MentalHealth add [LegalStatusUponArrivaltoED] [int] null
	alter table AB_MentalHealth add [LegalStatusAtAdmission] [int] null
	alter table AB_MentalHealth add [TypeOfRestraint01] [int] null
	alter table AB_MentalHealth add [FrequencyOfRestraint01] [int] null
	alter table AB_MentalHealth add [TypeOfRestraint02] [int] null
	alter table AB_MentalHealth add [FrequencyOfRestraint02] [int] null
	alter table AB_MentalHealth add [TypeOfRestraint03] [int] null
	alter table AB_MentalHealth add [FrequencyOfRestraint03] [int] null
	alter table AB_MentalHealth add [TypeOfRestraint04] [int] null
	alter table AB_MentalHealth add [FrequencyOfRestraint04] [int] null
end
go
delete u_fields where [FieldID] between 1263 and 1272
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1263, 'Legal Status Upon Arrival to ED', 'LegalStatusUponArrivaltoED', 'LegalStatusUponArrivaltoED', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1264, 'Legal Status at Admission', 'LegalStatusAtAdmission', 'LegalStatusAtAdmission', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1265, 'Type of Restraint (1517-01)', 'TypeOfRestraint01', 'TypeOfRestraint01', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1266, 'Frequency of Restraint (1518-01)', 'FrequencyOfRestraint01', 'FrequencyOfRestraint01', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1267, 'Type of Restraint (1517-02)', 'TypeOfRestraint02', 'TypeOfRestraint02', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1268, 'Frequency of Restraint (1518-02)', 'FrequencyOfRestraint02', 'FrequencyOfRestraint02', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1269, 'Type of Restraint (1517-03)', 'TypeOfRestraint03', 'TypeOfRestraint03', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1270, 'Frequency of Restraint (1518-03)', 'FrequencyOfRestraint03', 'FrequencyOfRestraint03', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1271, 'Type of Restraint (1517-04)', 'TypeOfRestraint04', 'TypeOfRestraint04', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1272, 'Frequency of Restraint (1518-04)', 'FrequencyOfRestraint04', 'FrequencyOfRestraint04', 0, 0)
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1263)
	Update U_UsersFields
	set SortOrder = a.SortOrder + 10
	from U_UsersFields a
		inner join (select * from u_Usersfields where AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262) b 
		on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder > b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1263)
begin
	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1263, 
		SortOrder = SortOrder + 1, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize = 2, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalLegalStatusUponArrivalED', CIHI_ID = '15-15', 
		Header_CIHI_English = 'Legal Status Upon Arrival to ED', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Legal Status Upon Arrival to ED', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 13, 
		ParamName = 'pStatusArrivaltoED', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1264, 
		SortOrder = SortOrder + 2, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize = 2, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalLegalStatusAdmission', CIHI_ID = '15-16', 
		Header_CIHI_English = 'Legal Status at Admission', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Legal Status at Admission', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 14, 
		ParamName = 'pStatusAdmission', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1265, 
		SortOrder = SortOrder + 3, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalTypeRestraint', CIHI_ID = '15-17-1', 
		Header_CIHI_English = 'Type of Restraint 1', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Type of Restraint 1', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 15, 
		ParamName = 'pRestraint1', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1266, 
		SortOrder = SortOrder + 4, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalFrequencyRestraintUse', CIHI_ID = '15-18-1', 
		Header_CIHI_English = 'Frequency of Restraint Use 1', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Frequency of Restraint Use 1', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 16, 
		ParamName = 'pRestraintUse1', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1267, 
		SortOrder = SortOrder + 5, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalTypeRestraint', CIHI_ID = '15-17-2', 
		Header_CIHI_English = 'Type of Restraint 2', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Type of Restraint 2', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 17, 
		ParamName = 'pRestraint2', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1268, 
		SortOrder = SortOrder + 6, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalFrequencyRestraintUse', CIHI_ID = '15-18-2', 
		Header_CIHI_English = 'Frequency of Restraint Use 2', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Frequency of Restraint Use 2', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 18, 
		ParamName = 'pRestraintUse2', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1269, 
		SortOrder = SortOrder + 7, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalTypeRestraint', CIHI_ID = '15-17-3', 
		Header_CIHI_English = 'Type of Restraint 3', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Type of Restraint 3', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 19, 
		ParamName = 'pRestraint3', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1270, 
		SortOrder = SortOrder + 8, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalFrequencyRestraintUse', CIHI_ID = '15-18-3', 
		Header_CIHI_English = 'Frequency of Restraint Use 3', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Frequency of Restraint Use 3', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 20, 
		ParamName = 'pRestraintUse3', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1271, 
		SortOrder = SortOrder + 9, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalTypeRestraint', CIHI_ID = '15-17-4', 
		Header_CIHI_English = 'Type of Restraint 4', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Type of Restraint 4', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 21, 
		ParamName = 'pRestraint4', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1272, 
		SortOrder = SortOrder + 10, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize =1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 100000 else DataType end),  
        SubAppID, LookUpTable = 'LU_MentalFrequencyRestraintUse', CIHI_ID = '15-18-4', 
		Header_CIHI_English = 'Frequency of Restraint Use 4', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Frequency of Restraint Use 4', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 22, 
		ParamName = 'pRestraintUse4', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1262
end
GO
--New Mental health field lookup table
if not exists (select * from information_schema.tables where table_name = 'LU_MentalLegalStatusUponArrivalED')
create table dbo.LU_MentalLegalStatusUponArrivalED(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_MentalLegalStatusUponArrivalED] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_MentalLegalStatusUponArrivalED)
begin
    insert into LU_MentalLegalStatusUponArrivalED(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    select code, CIHIValue, UserDescription, UserDescription, CIHIValue, '2018/04/01', '2099/03/31', CIHIValue,  0, ''
    from (
    select code = 1, CIHIValue = '10', UserDescription = 'Voluntary'
    union
    select code = 2, CIHIValue = '11', UserDescription = 'P/T locally assigned'
    union
    select code = 3, CIHIValue = '12', UserDescription = 'P/T locally assigned'
    union
    select code = 4, CIHIValue = '13', UserDescription = 'P/T locally assigned'
    union
    select code = 5, CIHIValue = '14', UserDescription = 'P/T locally assigned'
    union
    select code = 6, CIHIValue = '15', UserDescription = 'P/T locally assigned'
    union
    select code = 7, CIHIValue = '16', UserDescription = 'P/T locally assigned'
    union
    select code = 8, CIHIValue = '17', UserDescription = 'P/T locally assigned'
    union
    select code = 9, CIHIValue = '18', UserDescription = 'P/T locally assigned'
    union
    select code = 10, CIHIValue = '19', UserDescription = 'P/T locally assigned'
    union
    select code = 11, CIHIValue = '30', UserDescription = 'Orders for Assessment / Apprehension'
    union
    select code = 12, CIHIValue = '31', UserDescription = 'P/T locally assigned'
    union
    select code = 13, CIHIValue = '32', UserDescription = 'P/T locally assigned'
    union
    select code = 14, CIHIValue = '33', UserDescription = 'P/T locally assigned'
    union
    select code = 15, CIHIValue = '34', UserDescription = 'P/T locally assigned'
    union
    select code = 16, CIHIValue = '35', UserDescription = 'P/T locally assigned'
    union
    select code = 17, CIHIValue = '36', UserDescription = 'P/T locally assigned'
    union
    select code = 18, CIHIValue = '37', UserDescription = 'P/T locally assigned'
    union
    select code = 19, CIHIValue = '38', UserDescription = 'P/T locally assigned'
    union
    select code = 20, CIHIValue = '39', UserDescription = 'Community Treatment Order (CTO)'
    union
    select code = 21, CIHIValue = '40', UserDescription = 'Drug Treatment Court'
    union
    select code = 22, CIHIValue = '41', UserDescription = 'P/T locally assigned'
    union
    select code = 23, CIHIValue = '42', UserDescription = 'P/T locally assigned'
    union
    select code = 24, CIHIValue = '43', UserDescription = 'P/T locally assigned'
    union
    select code = 25, CIHIValue = '44', UserDescription = 'P/T locally assigned'
    union
    select code = 26, CIHIValue = '45', UserDescription = 'P/T locally assigned'
    union
    select code = 27, CIHIValue = '46', UserDescription = 'P/T locally assigned'
    union
    select code = 28, CIHIValue = '47', UserDescription = 'P/T locally assigned'
    union
    select code = 29, CIHIValue = '48', UserDescription = 'P/T locally assigned'
    union
    select code = 30, CIHIValue = '49', UserDescription = 'P/T locally assigned'
    union
    select code = 31, CIHIValue = '50', UserDescription = 'Forensic admission'
    union
    select code = 32, CIHIValue = '51', UserDescription = 'P/T locally assigned'
    union
    select code = 33, CIHIValue = '52', UserDescription = 'P/T locally assigned'
    union
    select code = 34, CIHIValue = '53', UserDescription = 'P/T locally assigned'
    union
    select code = 35, CIHIValue = '54', UserDescription = 'P/T locally assigned'
    union
    select code = 36, CIHIValue = '55', UserDescription = 'P/T locally assigned'
    union
    select code = 37, CIHIValue = '56', UserDescription = 'P/T locally assigned'
    union
    select code = 38, CIHIValue = '57', UserDescription = 'P/T locally assigned'
    union
    select code = 39, CIHIValue = '58', UserDescription = 'P/T locally assigned'
    union
    select code = 40, CIHIValue = '59', UserDescription = 'P/T locally assigned'
    union
    select code = 41, CIHIValue = '60', UserDescription = 'Consent to admission'
    union
    select code = 42, CIHIValue = '61', UserDescription = 'P/T locally assigned'
    union
    select code = 43, CIHIValue = '62', UserDescription = 'P/T locally assigned'
    union
    select code = 44, CIHIValue = '63', UserDescription = 'P/T locally assigned'
    union
    select code = 45, CIHIValue = '64', UserDescription = 'P/T locally assigned'
    union
    select code = 46, CIHIValue = '65', UserDescription = 'P/T locally assigned'
    union
    select code = 47, CIHIValue = '66', UserDescription = 'P/T locally assigned'
    union
    select code = 48, CIHIValue = '67', UserDescription = 'P/T locally assigned'
    union
    select code = 49, CIHIValue = '68', UserDescription = 'P/T locally assigned'
    union
    select code = 50, CIHIValue = '69', UserDescription = 'P/T locally assigned'
    union
    select code = 51, CIHIValue = '70', UserDescription = 'Inmates'
    union
    select code = 52, CIHIValue = '71', UserDescription = 'P/T locally assigned'
    union
    select code = 53, CIHIValue = '72', UserDescription = 'P/T locally assigned'
    union
    select code = 54, CIHIValue = '73', UserDescription = 'P/T locally assigned'
    union
    select code = 55, CIHIValue = '74', UserDescription = 'P/T locally assigned'
    union
    select code = 56, CIHIValue = '75', UserDescription = 'P/T locally assigned'
    union
    select code = 57, CIHIValue = '76', UserDescription = 'P/T locally assigned'
    union
    select code = 58, CIHIValue = '77', UserDescription = 'P/T locally assigned'
    union
    select code = 59, CIHIValue = '78', UserDescription = 'P/T locally assigned'
    union
    select code = 60, CIHIValue = '79', UserDescription = 'P/T locally assigned'
    union
    select code = 61, CIHIValue = '80', UserDescription = 'Other'
    union
    select code = 62, CIHIValue = '81', UserDescription = 'P/T locally assigned'
    union
    select code = 63, CIHIValue = '82', UserDescription = 'P/T locally assigned'
    union
    select code = 64, CIHIValue = '83', UserDescription = 'P/T locally assigned'
    union
    select code = 65, CIHIValue = '84', UserDescription = 'P/T locally assigned'
    union
    select code = 66, CIHIValue = '85', UserDescription = 'P/T locally assigned'
    union
    select code = 67, CIHIValue = '86', UserDescription = 'P/T locally assigned'
    union
    select code = 68, CIHIValue = '87', UserDescription = 'P/T locally assigned'
    union
    select code = 69, CIHIValue = '88', UserDescription = 'P/T locally assigned'
    union
    select code = 70, CIHIValue = '89', UserDescription = 'P/T locally assigned'
    union
    select code = 71, CIHIValue = '99', UserDescription = 'Unknown') a
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_MentalLegalStatusAdmission')
create table dbo.LU_MentalLegalStatusAdmission(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_MentalLegalStatusAdmission] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_MentalLegalStatusAdmission)
begin
    insert into LU_MentalLegalStatusAdmission(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    select code, CIHIValue, UserDescription, UserDescription, CIHIValue, '2018/04/01', '2099/03/31', CIHIValue,  0, ''
    from (
    select code = 1, CIHIValue = '10', UserDescription = 'Voluntary'
    union
    select code = 2, CIHIValue = '11', UserDescription = 'P/T locally assigned'
    union
    select code = 3, CIHIValue = '12', UserDescription = 'P/T locally assigned'
    union
    select code = 4, CIHIValue = '13', UserDescription = 'P/T locally assigned'
    union
    select code = 5, CIHIValue = '14', UserDescription = 'P/T locally assigned'
    union
    select code = 6, CIHIValue = '15', UserDescription = 'P/T locally assigned'
    union
    select code = 7, CIHIValue = '16', UserDescription = 'P/T locally assigned'
    union
    select code = 8, CIHIValue = '17', UserDescription = 'P/T locally assigned'
    union
    select code = 9, CIHIValue = '18', UserDescription = 'P/T locally assigned'
    union
    select code = 10, CIHIValue = '19', UserDescription = 'P/T locally assigned'
    union
    select code = 11, CIHIValue = '20', UserDescription = 'Involuntary Psychiatric Assessment'
    union
    select code = 12, CIHIValue = '21', UserDescription = 'P/T locally assigned'
    union
    select code = 13, CIHIValue = '22', UserDescription = 'P/T locally assigned'
    union
    select code = 14, CIHIValue = '23', UserDescription = 'P/T locally assigned'
    union
    select code = 15, CIHIValue = '24', UserDescription = 'P/T locally assigned'
    union
    select code = 16, CIHIValue = '25', UserDescription = 'P/T locally assigned'
    union
    select code = 17, CIHIValue = '26', UserDescription = 'P/T locally assigned'
    union
    select code = 18, CIHIValue = '27', UserDescription = 'P/T locally assigned'
    union
    select code = 19, CIHIValue = '28', UserDescription = 'P/T locally assigned'
    union
    select code = 20, CIHIValue = '29', UserDescription = 'P/T locally assigned'
    union
    select code = 21, CIHIValue = '40', UserDescription = 'Drug Treatment Court'
    union
    select code = 22, CIHIValue = '41', UserDescription = 'P/T locally assigned'
    union
    select code = 23, CIHIValue = '42', UserDescription = 'P/T locally assigned'
    union
    select code = 24, CIHIValue = '43', UserDescription = 'P/T locally assigned'
    union
    select code = 25, CIHIValue = '44', UserDescription = 'P/T locally assigned'
    union
    select code = 26, CIHIValue = '45', UserDescription = 'P/T locally assigned'
    union
    select code = 27, CIHIValue = '46', UserDescription = 'P/T locally assigned'
    union
    select code = 28, CIHIValue = '47', UserDescription = 'P/T locally assigned'
    union
    select code = 29, CIHIValue = '48', UserDescription = 'P/T locally assigned'
    union
    select code = 30, CIHIValue = '49', UserDescription = 'P/T locally assigned'
    union
    select code = 31, CIHIValue = '50', UserDescription = 'Forensic admission'
    union
    select code = 32, CIHIValue = '51', UserDescription = 'P/T locally assigned'
    union
    select code = 33, CIHIValue = '52', UserDescription = 'P/T locally assigned'
    union
    select code = 34, CIHIValue = '53', UserDescription = 'P/T locally assigned'
    union
    select code = 35, CIHIValue = '54', UserDescription = 'P/T locally assigned'
    union
    select code = 36, CIHIValue = '55', UserDescription = 'P/T locally assigned'
    union
    select code = 37, CIHIValue = '56', UserDescription = 'P/T locally assigned'
    union
    select code = 38, CIHIValue = '57', UserDescription = 'P/T locally assigned'
    union
    select code = 39, CIHIValue = '58', UserDescription = 'P/T locally assigned'
    union
    select code = 40, CIHIValue = '59', UserDescription = 'P/T locally assigned'
    union
    select code = 41, CIHIValue = '60', UserDescription = 'Consent to admission'
    union
    select code = 42, CIHIValue = '61', UserDescription = 'P/T locally assigned'
    union
    select code = 43, CIHIValue = '62', UserDescription = 'P/T locally assigned'
    union
    select code = 44, CIHIValue = '63', UserDescription = 'P/T locally assigned'
    union
    select code = 45, CIHIValue = '64', UserDescription = 'P/T locally assigned'
    union
    select code = 46, CIHIValue = '65', UserDescription = 'P/T locally assigned'
    union
    select code = 47, CIHIValue = '66', UserDescription = 'P/T locally assigned'
    union
    select code = 48, CIHIValue = '67', UserDescription = 'P/T locally assigned'
    union
    select code = 49, CIHIValue = '68', UserDescription = 'P/T locally assigned'
    union
    select code = 50, CIHIValue = '69', UserDescription = 'P/T locally assigned'
    union
    select code = 51, CIHIValue = '70', UserDescription = 'Inmates'
    union
    select code = 52, CIHIValue = '71', UserDescription = 'P/T locally assigned'
    union
    select code = 53, CIHIValue = '72', UserDescription = 'P/T locally assigned'
    union
    select code = 54, CIHIValue = '73', UserDescription = 'P/T locally assigned'
    union
    select code = 55, CIHIValue = '74', UserDescription = 'P/T locally assigned'
    union
    select code = 56, CIHIValue = '75', UserDescription = 'P/T locally assigned'
    union
    select code = 57, CIHIValue = '76', UserDescription = 'P/T locally assigned'
    union
    select code = 58, CIHIValue = '77', UserDescription = 'P/T locally assigned'
    union
    select code = 59, CIHIValue = '78', UserDescription = 'P/T locally assigned'
    union
    select code = 60, CIHIValue = '79', UserDescription = 'P/T locally assigned'
    union
    select code = 61, CIHIValue = '80', UserDescription = 'Other'
    union
    select code = 62, CIHIValue = '81', UserDescription = 'P/T locally assigned'
    union
    select code = 63, CIHIValue = '82', UserDescription = 'P/T locally assigned'
    union
    select code = 64, CIHIValue = '83', UserDescription = 'P/T locally assigned'
    union
    select code = 65, CIHIValue = '84', UserDescription = 'P/T locally assigned'
    union
    select code = 66, CIHIValue = '85', UserDescription = 'P/T locally assigned'
    union
    select code = 67, CIHIValue = '86', UserDescription = 'P/T locally assigned'
    union
    select code = 68, CIHIValue = '87', UserDescription = 'P/T locally assigned'
    union
    select code = 69, CIHIValue = '88', UserDescription = 'P/T locally assigned'
    union
    select code = 70, CIHIValue = '89', UserDescription = 'P/T locally assigned'
    union
    select code = 71, CIHIValue = '99', UserDescription = 'Unknown - not documented'
    ) a
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_MentalTypeRestraint')
create table dbo.LU_MentalTypeRestraint(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_MentalTypeRestraint] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_MentalTypeRestraint)
begin
    insert into LU_MentalTypeRestraint(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    select code, CIHIValue, UserDescription, UserDescription, CIHIValue, '2018/04/01', '2099/03/31', CIHIValue,  0, ''
    from (
    select code = 1, CIHIValue = 'M', UserDescription = 'Mechanical restraint'
    union
    select code = 2, CIHIValue = 'C', UserDescription = 'Chair'
    union
    select code = 3, CIHIValue = 'P', UserDescription = 'Physical or manual restraint by staff'
    union
    select code = 4, CIHIValue = 'S', UserDescription = 'Seclusion room'
    union
    select code = 5, CIHIValue = 'N', UserDescription = 'None'
    ) a
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_MentalFrequencyRestraintUse')
create table dbo.LU_MentalFrequencyRestraintUse(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_MentalFrequencyRestraintUse] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_MentalFrequencyRestraintUse)
begin
    insert into LU_MentalFrequencyRestraintUse(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    select code, CIHIValue, UserDescription, UserDescription, CIHIValue, '2018/04/01', '2099/03/31', CIHIValue,  0, ''
    from (
    select code = 1, CIHIValue = 'C', UserDescription = 'Constant'
    union
    select code = 2, CIHIValue = 'D', UserDescription = 'Day or Night only'
    union
    select code = 3, CIHIValue = 'I', UserDescription = 'Intermittent'
    union
    select code = 4, CIHIValue = 'U', UserDescription = 'Frequency of use unknown/not documented'
    union
    select code = 5, CIHIValue = 'N', UserDescription = 'None'
    ) a
end
GO
--CJRR in Intervention multiform
if not exists (select * from information_schema.columns where table_name = 'AB_Intervention' and column_name = 'IntervJointIdentifier')
begin
	alter table AB_Intervention add [IntervJointIdentifier] [int] null
	alter table AB_Intervention add [IntervRevisionReason] [int] null
end
go
delete u_fields where [FieldID] between 1230 and 1231
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1230, 'Intervention Joint Identifier', 'IntervJointIdentifier', 'IntervJointIdentifier', 0, 0)
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(1231, 'Revision Reason', 'IntervRevisionReason', 'IntervRevisionReason', 0, 0)
GO

if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1230)
	Update U_UsersFields
	set SortOrder = a.SortOrder + 2
	from U_UsersFields a
		inner join (select * from u_Usersfields where AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1207) b 
		on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder > b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 1230)
begin
	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1230, 
		SortOrder = SortOrder + 1, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize = 1, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 100000 else 0 end),  
        SubAppID, LookUpTable = '', CIHI_ID = '11-22', 
		Header_CIHI_English = 'Intervention Joint Identifier', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Intervention Joint Identifier', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 29, 
		ParamName = 'pJointIdentifier', 
		ParamDataType, ParamSize, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (100, 101, 102, 200, 201, 202, 301, 401) and fieldid = 1207

	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 1231, 
		SortOrder = SortOrder + 2, 
		GroupID, MultipleIndex, MandatoryStatus = 1000, Needed = 0, FieldSize = 3, 
		DataType = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 100000 else 50 end),  
        SubAppID, LookUpTable = 'LU_CJRR_RevisionReason', CIHI_ID = '11-23', 
		Header_CIHI_English = 'Revision Reason', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Revision Reason', 
		FieldEnabled = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 2 else 1 end), 
        FieldVisible = (case when AppID = 100 or AppID = 101 or AppID = 102 or AppID = 301 or AppID = 401 then 2 else 1 end), 
        DefaultValue = null, 
		ParamProcID, 
		ParamOrder = 30, 
		ParamName = 'pRevisionReason', 
		ParamDataType = 3, ParamSize = 0, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (200, 201, 202) and fieldid = 1207
end
GO
--CJRR Header
delete u_fields where [FieldID] = 103
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(103, 'Canadian Joint Replacement Registry (CJRR)', 'CJRRScreen', 'CJRRScreen', 0, 4)
GO
--delete from u_usersfields where AppID in (200, 201, 202) and fieldid = 103
--GO

if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 103)
	Update U_UsersFields
	set SortOrder = a.SortOrder + 1
	from U_UsersFields a
		inner join (select * from u_Usersfields where AppID in (200, 201, 202) and fieldid = 217) b 
		on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder >= b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 201 and fieldid = 103)
	insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
	select AppID, RoleID, UserID, FieldID = 103, 
		SortOrder = SortOrder - 1, 
		GroupID = 34, MultipleIndex = 0, MandatoryStatus = 1000, Needed = 0, FieldSize = 0, 
		DataType = 0,  SubAppID = 0, LookUpTable = '', CIHI_ID = '', 
		Header_CIHI_English = 'Canadian Joint Replacement Registry (CJRR)', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Canadian Joint Replacement Registry (CJRR)', 
		FieldEnabled = 1, 
        FieldVisible = 1, 
        DefaultValue = null, 
		ParamProcID = 0, 
		ParamOrder = -1, 
		ParamName = '', 
		ParamDataType = 0, ParamSize = 0, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID in (200, 201, 202) and fieldid = 217
GO
--Submit CJRR in (DAD/SDS)
if not exists (select * from information_schema.columns where table_name = 'H_InstitutionProfile' and column_name = 'SubmitCJRR')
	alter table H_InstitutionProfile add [SubmitCJRR] [int] null
GO
update H_InstitutionProfile set SubmitCJRR = 1 where CIHIValue like '6%' and len(CIHIValue) = 5
GO
delete from [dbo].[U_Fields] where fieldid = 45100
GO
Insert into [dbo].[U_Fields](FieldID, InHouseDesc, SystemName, PropertyName, FieldAccess, IsGroup)
values(45100, 'Submit CJRR in DAD/SDS Submission', 'SubmitCJRR', 'SubmitCJRR', 0, 0)
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 1001 and fieldid = 45100)
    Update U_UsersFields
    set SortOrder = a.SortOrder + 1
    from U_UsersFields a
        inner join (select * from u_Usersfields where AppID = 1001 and fieldid = 45251) b 
        on a.UserID = b.UserID and a.AppID = b.AppID and a.SortOrder >= b.SortOrder
GO
if not exists (select * from u_usersfields where userid = 1 and appid = 1001 and fieldid = 45100)
    insert into  [dbo].[U_UsersFields](AppID, RoleID, UserID, FieldID, SortOrder, GroupID, MultipleIndex, MandatoryStatus, Needed, FieldSize, DataType, SubAppID, LookUpTable, CIHI_ID, Header_CIHI_English, Header_CIHI_French, Header_CIHI_Spanish, Header_User, FieldEnabled, FieldVisible, DefaultValue, ParamProcID, ParamOrder, ParamName, ParamDataType, ParamSize, NeedForUserDef, MainDataType, UNoteCode)
    select AppID, RoleID, UserID, FieldID = 45100, 
        SortOrder = SortOrder + 1, 
		GroupID, MultipleIndex, MandatoryStatus = 0, Needed = 0, FieldSize = 1, 
		DataType =50, 
        SubAppID, LookUpTable = 'LU_YesNoAlpha', CIHI_ID = '', 
		Header_CIHI_English = 'Submit CJRR in DAD/SDS Submission', Header_CIHI_French = null, Header_CIHI_Spanish = null, 
		Header_User = 'Submit CJRR in DAD/SDS Submission', 
		FieldEnabled = 1, 
        FieldVisible = 1, 
        DefaultValue = null, 
		ParamProcID = 1, 
		ParamOrder = 92, 
		ParamName = 'pSubmitCJRR', 
		ParamDataType = 3, ParamSize = 0, NeedForUserDef = 0, 
		MainDataType = null, UNoteCode = null
	from [dbo].[U_UsersFields]
	where  AppID = 1001 and fieldid = 45251
GO
if not exists (select * from information_schema.tables where table_name = 'AB_CJRR')
create table dbo.AB_CJRR(
    AbstractID int not null,
    Occurrence int not null,        --Max 4 occurrence
    JointIdentifier int not null,   --2001 1 CHAR 1, 2 or blank 
    Side char(1),                   --2002 1 CHAR L, R or blank 
    Cement varchar(3),              --2003 3 CHAR 1 to 8, OTH or blank; right justified 
    CementOther varchar(45),        --2004 45 CHAR 0–9, A–Z, space ( ), hyphen (-), period (.), apostrophe (’), ampersand (&) or blank; Fiscal 2018/19 DAD right justified  
    CementProductNumber varchar(75),   --2005 75 CHAR 0–9, A–Z, underscore (_), space ( ), hyphen (-), period (.), apostrophe (’), percent sign (%), ampersand (&), plus sign (+), forward slash (/), dollar sign ($), right square bracket (]), cedilla (¸), grave (`), accent (é),trema (Â), blank 
    CementLotNumber varchar(75),    --2006 75 CHAR 0–9, A–Z, underscore (_), space ( ), hyphen (-), period (.), apostrophe (’), percent sign (%), ampersand (&), plus sign (+), forward slash (/), dollar sign ($), right square bracket (]), cedilla (¸), grave (`), accent (é),trema (Â), blank 
    Component1    varchar(2),       --2007 2 CHAR 1 to 5, blank, right justified 
    Component2    varchar(2),       --2007 2 CHAR 1 to 5, blank, right justified 
    Component3    varchar(2),       --2007 2 CHAR 1 to 5, blank, right justified 
	CONSTRAINT [PK_AB_CJRR] PRIMARY KEY  CLUSTERED (AbstractID, Occurrence)	
)
GO
if not exists (select * from information_schema.tables where table_name = 'AB_CJRR_Parts')
create table dbo.AB_CJRR_Parts(
    AbstractID int not null,
    Occurrence  int not null,   --Occurrence as (CJRROccurrence - 1) * 4 + (ComponentOccurrence - 1) * 7 + ManufacturerOccurrence,
    CJRROccurrence int not null,    --1 to 4
    ComponentOccurrence int not null,   --1, 2, 3
    PartOccurrence int not null, -- 1 to 7
    Manufacturer varchar(3),        --2008 3 CHAR 1 to 11, OTH, blank; right justified  
    ManufacturerOther varchar(45),  --2009 45 CHAR 0–9, A–Z, space ( ), hyphen (-), period (.), apostrophe (’), ampersand (&), blank; right justified 
    ProductNumber varchar(75),      --2010 75 CHAR 0–9, A–Z, underscore (_), space ( ), hyphen (-), period (.), apostrophe (’), percent sign (%), ampersand (&), plus sign (+), forward slash (/), dollar sign ($), right square bracket (]), cedilla (¸),  grave (`), accent (é), trema (Â), blank; right justified 
    LotNumber varchar(75),          --2011 75 CHAR 0–9, A–Z, underscore (_), space ( ), hyphen (-), period (.), apostrophe (’), percent sign (%), ampersand (&), plus sign (+), forward slash (/), dollar sign ($), right square bracket (]), cedilla (¸),  grave (`), accent (é), trema (Â), blank; right justified 
	CONSTRAINT [PK_AB_CJRR_Component] PRIMARY KEY  CLUSTERED (AbstractID, Occurrence)	
)
GO
if not exists (select * from information_schema.tables where table_name = 'LU_CJRR_Side')
create table dbo.LU_CJRR_Side(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_CJRR_Side] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_CJRR_Side)
begin
    insert into LU_CJRR_Side(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(1, 'L', 'Left side', 'Left side', 'L', '2018/04/01', '2099/03/31', 'L', 0, '')
    insert into LU_CJRR_Side(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(2, 'R', 'Right side', 'Right side', 'R', '2018/04/01', '2099/03/31', 'R', 0, '')
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_CJRR_Component')
create table dbo.LU_CJRR_Component(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_CJRR_Component] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_CJRR_Component)
begin
    insert into LU_CJRR_Component(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(1, '1', 'Hip - Femoral', 'Hip - Femoral', '1', '2018/04/01', '2099/03/31', '1', 0, '')
    insert into LU_CJRR_Component(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(2, '2', 'Hip - Acetabular', 'Hip - Acetabular', '2', '2018/04/01', '2099/03/31', '2', 0, '')
    insert into LU_CJRR_Component(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(3, '3', 'Knee - Femoral', 'Knee - Femoral', '3', '2018/04/01', '2099/03/31', '3', 0, '')
    insert into LU_CJRR_Component(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(4, '4', 'Knee - Tibial', 'Knee - Tibial', '4', '2018/04/01', '2099/03/31', '4', 0, '')
    insert into LU_CJRR_Component(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(5, '5', 'Knee - Patellar', 'Knee - Patellar', '5', '2018/04/01', '2099/03/31', '5', 0, '')
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_CJRR_Cement')
create table dbo.LU_CJRR_Cement(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_CJRR_Cement] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_CJRR_Cement)
begin
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(1, '1', 'Simplex', 'Simplex', '1', '2018/04/01', '2099/03/31', '1', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(2, '2', 'Palacos', 'Palacos', '2', '2018/04/01', '2099/03/31', '2', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(3, '3', 'CMW', 'CMW', '3', '2018/04/01', '2099/03/31', '3', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(4, '4', 'Cerafix', 'Cerafix', '4', '2018/04/01', '2099/03/31', '4', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(5, '5', 'SmartSet', 'SmartSet', '5', '2018/04/01', '2099/03/31', '5', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(6, '6', 'Refobacin', 'Refobacin', '6', '2018/04/01', '2099/03/31', '6', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(7, '7', 'Versabond', 'Versabond', '7', '2018/04/01', '2099/03/31', '7', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(8, '8', 'Osteobond', 'Osteobond', '8', '2018/04/01', '2099/03/31', '8', 0, '')
    insert into LU_CJRR_Cement(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(9, 'OTH', 'Mix/Other', 'Mix/Other', 'OTH', '2018/04/01', '2099/03/31', 'OTH', 0, '')
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_CJRR_Manufacturer')
create table dbo.LU_CJRR_Manufacturer(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_CJRR_Manufacturer] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_CJRR_Manufacturer)
begin
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(1, '1', 'Biomet', 'Biomet', '1', '2018/04/01', '2099/03/31', '1', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(2, '2', 'Ceraver', 'Ceraver', '2', '2018/04/01', '2099/03/31', '2', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(3, '3', 'DePuy/Finsbury/J&J', 'DePuy/Finsbury/J&J', '3', '2018/04/01', '2099/03/31', '3', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(4, '4', 'Zimmer/Sulzer/Centerpulse', 'Zimmer/Sulzer/Centerpulse', '4', '2018/04/01', '2099/03/31', '4', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(5, '5', 'MicroPort/Wright Medical', 'MicroPort/Wright Medical', '5', '2018/04/01', '2099/03/31', '5', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(6, '6', 'Smith & Nephew', 'Smith & Nephew', '6', '2018/04/01', '2099/03/31', '6', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(7, '7', 'Stryker/Osteonics/Howmedica', 'Stryker/Osteonics/Howmedica', '7', '2018/04/01', '2099/03/31', '7', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(8, '8', 'Medacta International', 'Medacta International', '8', '2018/04/01', '2099/03/31', '8', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(9, '9', 'Link', 'Link', '9', '2018/04/01', '2099/03/31', '9', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(10, '10', 'Corin', 'Corin', '10', '2018/04/01', '2099/03/31', '10', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(11, '11', 'Tecres Medical', 'Tecres Medical', '11', '2018/04/01', '2099/03/31', '11', 0, '')
    insert into LU_CJRR_Manufacturer(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(12, 'OTH', 'Other', 'Other', 'OTH', '2018/04/01', '2099/03/31', 'OTH', 0, '')
end
GO
if not exists (select * from information_schema.tables where table_name = 'LU_CJRR_RevisionReason')
create table dbo.LU_CJRR_RevisionReason(
    Code int not null ,
	DisplayCode varchar(50) NULL,
	UserDescription varchar(255) NULL,
	DefaultDescription varchar(255) NULL,
	CIHIValue varchar(50) NULL,
	ValidFrom datetime NULL,
	ValidTo datetime NULL,
	InterfaceIn varchar(50) NULL,
	HospitalID int NULL,
	LUText varchar(255) NULL,
    CONSTRAINT [PK_LU_CJRR_RevisionReason] PRIMARY KEY CLUSTERED (Code ASC)
)
GO
if not exists (select * from LU_CJRR_RevisionReason)
begin
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(1, '1', 'Aseptic loosening', 'Aseptic loosening', '1', '2018/04/01', '2099/03/31', '1', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(2, '2', 'Bearing wear (e.g. poly wear)', 'Bearing wear (e.g. poly wear)', '2', '2018/04/01', '2099/03/31', '2', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(3, '3', 'Osteolysis (including reaction to metal debris, pseudotumor)', 'Osteolysis (including reaction to metal debris, pseudotumor)', '3', '2018/04/01', '2099/03/31', '3', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(4, '4', 'Instability (e.g. dislocation, excludes patella)', 'Instability (e.g. dislocation, excludes patella)', '4', '2018/04/01', '2099/03/31', '4', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(5, '5', 'Infection - single-stage revision', 'Infection - single-stage revision', '5', '2018/04/01', '2099/03/31', '5', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(6, '6', 'Infection - stage 1 of 2-stage revision', 'Infection - stage 1 of 2-stage revision', '6', '2018/04/01', '2099/03/31', '6', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(7, '7', 'Infection - stage 2 of 2-stage revision', 'Infection - stage 2 of 2-stage revision', '7', '2018/04/01', '2099/03/31', '7', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(8, '8', 'Pain of unknown origin', 'Pain of unknown origin', '8', '2018/04/01', '2099/03/31', '8', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(9, '9', 'Patella maltracking or instability', 'Patella maltracking or instability', '9', '2018/04/01', '2099/03/31', '9', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(10, '10', 'Peri-prosthetic fracture (femur or tibia)', 'Peri-prosthetic fracture (femur or tibia)', '10', '2018/04/01', '2099/03/31', '10', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(11, '11', 'Implant fracture (any component)', 'Implant fracture (any component)', '11', '2018/04/01', '2099/03/31', '11', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(12, '12', 'Implant dissociation (e.g. stem from tibial tray, head from trunnion)', 'Implant dissociation (e.g. stem from tibial tray, head from trunnion)', '12', '2018/04/01', '2099/03/31', '12', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(13, '13', 'Arthritis in previously unresurfaced compartment (e.g. patellofemoral, medial or lateral compartment)', 'Arthritis in previously unresurfaced compartment (e.g. patellofemoral, medial or lateral compartment)', '13', '2018/04/01', '2099/03/31', '13', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(14, '14', 'Peri-prosthetic fracture, femur', 'Peri-prosthetic fracture, femur', '14', '2018/04/01', '2099/03/31', '14', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(15, '15', 'Peri-prosthetic fracture, acetabulum', 'Peri-prosthetic fracture, acetabulum', '15', '2018/04/01', '2099/03/31', '15', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(16, '16', 'Acetabular erosion (e.g. hemiarthroplasty)', 'Acetabular erosion (e.g. hemiarthroplasty)', '16', '2018/04/01', '2099/03/31', '16', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(17, '17', 'Leg length discrepancy', 'Leg length discrepancy', '17', '2018/04/01', '2099/03/31', '17', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(18, '18', 'Stiffness', 'Stiffness', '18', '2018/04/01', '2099/03/31', '18', 0, '')
    insert into LU_CJRR_RevisionReason(Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, HospitalID, LUText)
    values(19, 'OTH', 'Other', 'Other', 'OTH', '2018/04/01', '2099/03/31', 'OTH', 0, '')
end
GO
--End build 1
if not exists (select * from information_schema.columns where table_name = 'AB_Intervention_Replicate' and column_name = 'IntervJointIdentifier')
begin
	alter table AB_Intervention_Replicate add [IntervJointIdentifier] [int] null
	alter table AB_Intervention_Replicate add [IntervRevisionReason] [int] null
end
GO
--End build 2
if exists (select * from dbo.sysindexes where name = N'IX_LU_CJRR_Manufacturer_CIHIValue' and id = object_id(N'[dbo].[LU_CJRR_Manufacturer]'))
    drop index [dbo].[LU_CJRR_Manufacturer].[IX_LU_CJRR_Manufacturer_CIHIValue]
GO
CREATE NONCLUSTERED INDEX [IX_LU_CJRR_Manufacturer_CIHIValue] ON [dbo].[LU_CJRR_Manufacturer] ( CIHIValue)
GO
if exists (select * from dbo.sysindexes where name = N'IX_LU_CJRR_Side_CIHIValue' and id = object_id(N'[dbo].[LU_CJRR_Side]'))
    drop index [dbo].[LU_CJRR_Side].[IX_LU_CJRR_Side_CIHIValue]
GO
CREATE NONCLUSTERED INDEX [IX_LU_CJRR_Side_CIHIValue] ON [dbo].[LU_CJRR_Side] ( CIHIValue)
GO
if exists (select * from dbo.sysindexes where name = N'IX_LU_CJRR_Component_CIHIValue' and id = object_id(N'[dbo].[LU_CJRR_Component]'))
    drop index [dbo].[LU_CJRR_Component].[IX_LU_CJRR_Component_CIHIValue]
GO
CREATE NONCLUSTERED INDEX [IX_LU_CJRR_Component_CIHIValue] ON [dbo].[LU_CJRR_Component] ( CIHIValue)
GO
if exists (select * from dbo.sysindexes where name = N'IX_LU_CJRR_Cement_CIHIValue' and id = object_id(N'[dbo].[LU_CJRR_Cement]'))
    drop index [dbo].[LU_CJRR_Cement].[IX_LU_CJRR_Cement_CIHIValue]
GO
CREATE NONCLUSTERED INDEX [IX_LU_CJRR_Cement_CIHIValue] ON [dbo].[LU_CJRR_Cement] ( CIHIValue)
GO
--end build 3
update lu_institution_10
set IsAcute = 2
where cihivalue like '5%' and hospitaltype = 'IN'
GO
update lu_institution_10
set IsAcute = 1
where (cihivalue like '5%' and hospitaltype = 'IN' and defaultdescription like '%all acute%') or cihivalue = '50001'
GO
if exists (select * from information_schema.tables where table_name = 'zzNewInst')
	drop table zzNewInst
GO
create table zzNewInst(
	code int,
	userdescription varchar(100),
	HospitalType varchar(10),
	CIHIValue varchar(10)
)
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(1, 'HUMBER RIVER HOSPITAL - RCC', 'AT', '54850')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(2, 'NORTH YORK GENERAL HOSPITAL', 'AT', '54851')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(3, 'MARKHAM STOUFFVILLE HOSPITAL-RCC', 'AT', '54852')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(4, 'SOUTHLAKE REGIONAL HEALTH CENTRE-RCC', 'AT', '54853')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(5, 'MACKENZIE HEALTH - RCC', 'AT', '54854')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(6, 'MACKENZIE HEALTH - RCC', 'CR', '54855')
GO
Insert into zzNewInst(code, userdescription, HospitalType, CIHIValue) values(7, 'MACKENZIE HEALTH - RCC', 'GR', '54856')
GO
declare @MaxID int
declare @Province varchar(10)
set @Province = (select top 1 p.CIHIValue from h_hospitalprofile h inner join lu_province p on h.provincenumber = p.code)
if @Province = '5'
begin
	set @MaxID = 91638
	if exists (select * from lu_institution_10 where code = @MaxID + 1)
	begin
		set @MaxID = (select max(code) from lu_institution_10) 
		if isnull(@MaxID, 0) < 500000 set @MaxID = 500000
	end
	update lu_institution_10 
	set InstCareType = (case z.HospitalType when 'AM' then 'B' when 'AT' then 'A' when 'IN' then 'A' when 'CR' then 'L' else left(z.HospitalType, 1) end),  
		HospitalType = z.HospitalType,
		IsAcute = (case when z.HospitalType  = 'AT' then 1 else 2 end)
	from lu_institution_10 a
		inner join zzNewInst z on a.cihivalue = z.cihivalue

	Insert into [dbo].[LU_Institution_10](Code, DisplayCode, UserDescription, DefaultDescription, CIHIValue, ValidFrom, ValidTo, InterfaceIn, InstCareType, HospitalType, IsAcute, HospitalID, LUText)
    select z.code + @MaxID, z.CIHIValue, z.userdescription, z.userdescription, z.CIHIValue, '2017/12/01', '2099/03/31', z.CIHIValue,
        InstCareType = (case z.HospitalType when 'AM' then 'B' when 'AT' then 'A' when 'IN' then 'A' when 'CR' then 'L' else left(z.HospitalType, 1) end),  
        HospitalType = z.HospitalType, 
        IsAcute = (case when z.HospitalType = 'AT' then 1 else 0 end),
        0, ''
    from lu_institution_10 a
		right join zzNewInst z on a.cihivalue = z.cihivalue
	where a.cihivalue is null
end
GO
if exists (select * from information_schema.tables where table_name = 'zzNewInst')
	drop table zzNewInst
GO

--end build 4