-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path01 Temp Reporting and Reference Tables.sql
2660 lines (2604 loc) · 197 KB
/
01 Temp Reporting and Reference Tables.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
LSA FY2024 Sample Code
Name: 01 Temp Reporting and Reference Tables.sql
FY2024 Changes
-Extend ref_Calendar through 9/30/2025
-Add ch_Include_exit, ch_Exclude_exit, ch_Episodes_exit, and sys_TimePadded_exit
(Detailed revision history maintained at https://github.com/HMIS/LSASampleCode)
It is not necessary to execute this code every time the LSA is run -- only
if/when there are changes to it. It drops (if tables exist) and creates
the following temp reporting tables:
tlsa_CohortDates - based on ReportStart and ReportEnd, all cohorts and dates used in the LSA
tlsa_HHID - 'master' table of HMIS HouseholdIDs active in continuum ES/SH/TH/RRH/PSH projects
between LookbackDate (ReportStart - 7 years) and ReportEnd. Used to store adjusted move-in
and exit dates, household types, and other frequently-referenced data
tlsa_Enrollment - a 'master' table of enrollments associated with the HouseholdIDs in tlsa_HHID
with enrollment ages and other frequently-referenced data
tlsa_Person - a person-level pre-cursor to LSAPerson / people active in report period
ch_Exclude - dates in TH or housed in RRH/PSH; used for LSAPerson chronic homelessness determination
ch_Include - dates in ES/SH or on the street; used for LSAPerson chronic homelessness determination
ch_Episodes - episodes of ES/SH/Street time constructed from ch_Include for chronic homelessness determination
tlsa_Household - a household-level precursor to LSAHousehold / households active in report period
sys_TimePadded - used to identify households' last inactive date for SystemPath
sys_Time - used to count dates in ES/SH, TH, RRH/PSH but not housed, housed in RRH/PSH, and ES/SH/StreetDates
tlsa_Exit - household-level precursor to LSAExit / households with system exits in exit cohort periods
ch_Exclude_exit - dates in TH or housed in RRH/PSH; used for LSAExit chronic homelessness determination
ch_Include_exit - dates in ES/SH or on the street; used for LSAExit chronic homelessness determination
ch_Episodes_exit - episodes of ES/SH/Street time constructed from ch_Include_exit for LSAExit chronic homelessness determination
sys_TimePadded_exit - used to identify households' last inactive date for SystemPath
tlsa_ExitHoHAdult - used as the basis for determining chronic homelessness for LSAExit
tlsa_AveragePops - used to identify households in various populations for average # of days in section 8
based on LSAHousehold and LSAExit.
tlsa_CountPops - used to identify people/households in various populations for AHAR counts in section 9.
This script also drops (if tables exist), creates, and populates the following
reference tables used in the sample code:
ref_Calendar - table of dates between 10/1/2012 and 9/30/2025
ref_RowValues - required combinations of Cohort, Universe, and SystemPath values for each ReportRow in LSACalculated
ref_RowPopulations - the populations required for each ReportRow in LSACalculated
ref_PopHHTypes - the household types associated with each population
*/
if object_id ('tlsa_CohortDates') is not null drop table tlsa_CohortDates
create table tlsa_CohortDates (
Cohort int
, CohortStart date
, CohortEnd date
, LookbackDate date
, ReportID int
, constraint pk_tlsa_CohortDates primary key clustered (Cohort)
)
;
if object_id ('tlsa_HHID') is not NULL drop table tlsa_HHID
create table tlsa_HHID (
HouseholdID nvarchar(32)
, HoHID nvarchar(32)
, EnrollmentID nvarchar(32)
, ProjectID nvarchar(32)
, LSAProjectType int
, EntryDate date
, MoveInDate date
, ExitDate date
, LastBednight date
, EntryHHType int
, ActiveHHType int
, Exit1HHType int
, Exit2HHType int
, ExitDest int
, Active bit default 0
, AHAR bit default 0
, PITOctober bit default 0
, PITJanuary bit default 0
, PITApril bit default 0
, PITJuly bit default 0
, ExitCohort int
, HHChronic int default 0
, HHVet int default 0
, HHDisability int default 0
, HHFleeingDV int default 0
, HHAdultAge int default 0
, HHParent int default 0
, AC3Plus int default 0
, Step nvarchar(10) not NULL
, constraint pk_tlsa_HHID primary key clustered (HouseholdID)
)
;
create index ix__tlsa_HHID_Active_HHAdultAge on tlsa_HHID (Active, HHAdultAge) INCLUDE (HoHID, ActiveHHType)
create index ix_tlsa_HHID_HoHID_ActiveHHType on tlsa_HHID (HoHID, ActiveHHType) include (EntryDate, EnrollmentID)
create index ix_tlsa_HHID_ActiveHHType_AHAR_HHAdultAge on tlsa_HHID (ActiveHHType, AHAR, HHAdultAge)
if object_id ('tlsa_Enrollment') is not NULL drop table tlsa_Enrollment
create table tlsa_Enrollment (
EnrollmentID nvarchar(32)
, PersonalID nvarchar(32)
, HouseholdID nvarchar(32)
, RelationshipToHoH int
, ProjectID nvarchar(32)
, LSAProjectType int
, EntryDate date
, MoveInDate date
, ExitDate date
, LastBednight date
, EntryAge int
, ActiveAge int
, Exit1Age int
, Exit2Age int
, DisabilityStatus int
, DVStatus int
, Active bit default 0
, AHAR bit default 0
, PITOctober bit default 0
, PITJanuary bit default 0
, PITApril bit default 0
, PITJuly bit default 0
, CH bit default 0
, HIV bit default 0
, SMI bit default 0
, SUD bit default 0
, Step nvarchar(10) not NULL
, constraint pk_tlsa_Enrollment primary key clustered (EnrollmentID)
)
create index ix_tlsa_Enrollment_AHAR on tlsa_Enrollment (AHAR) include (PersonalID)
--create index ix_tlsa_Enrollment_PersonalID_AHAR on tlsa_Enrollment (PersonalID, AHAR)
--create index ix_tlsa_Enrollment_Active on tlsa_Enrollment (Active) include (RelationshipToHoH, ProjectID, EntryDate, ActiveAge)
if object_id ('tlsa_Person') is not NULL drop table tlsa_Person
create table tlsa_Person (
-- client-level precursor to aggregate lsa_Person (LSAPerson.csv)
PersonalID nvarchar(32) not NULL,
HoHAdult int,
CHStart date,
LastActive date,
Gender int,
RaceEthnicity int,
VetStatus int,
DisabilityStatus int,
CHTime int,
CHTimeStatus int,
DVStatus int,
ESTAgeMin int default -1,
ESTAgeMax int default -1,
HHTypeEST int default -1,
HoHEST int default -1,
AdultEST int default -1,
AHARAdultEST int default -1,
HHChronicEST int default -1,
HHVetEST int default -1,
HHDisabilityEST int default -1,
HHFleeingDVEST int default -1,
HHAdultAgeAOEST int default -1,
HHAdultAgeACEST int default -1,
HHParentEST int default -1,
AC3PlusEST int default -1,
AHAREST int default -1,
AHARHoHEST int default -1,
RRHAgeMin int default -1,
RRHAgeMax int default -1,
HHTypeRRH int default -1,
HoHRRH int default -1,
AdultRRH int default -1,
AHARAdultRRH int default -1,
HHChronicRRH int default -1,
HHVetRRH int default -1,
HHDisabilityRRH int default -1,
HHFleeingDVRRH int default -1,
HHAdultAgeAORRH int default -1,
HHAdultAgeACRRH int default -1,
HHParentRRH int default -1,
AC3PlusRRH int default -1,
AHARRRH int default -1,
AHARHoHRRH int default -1,
PSHAgeMin int default -1,
PSHAgeMax int default -1,
HHTypePSH int default -1,
HoHPSH int default -1,
AdultPSH int default -1,
AHARAdultPSH int default -1,
HHChronicPSH int default -1,
HHVetPSH int default -1,
HHDisabilityPSH int default -1,
HHFleeingDVPSH int default -1,
HHAdultAgeAOPSH int default -1,
HHAdultAgeACPSH int default -1,
HHParentPSH int default -1,
AC3PlusPSH int default -1,
AHARPSH int default -1,
AHARHoHPSH int default -1,
RRHSOAgeMin int default -1,
RRHSOAgeMax int default -1,
HHTypeRRHSONoMI int default -1,
HHTypeRRHSOMI int default -1,
HHTypeES int default -1,
HHTypeSH int default -1,
HHTypeTH int default -1,
HIV int default -1,
SMI int default -1,
SUD int default -1,
SSNValid int,
ReportID int,
Step nvarchar(10) not NULL,
constraint pk_tlsa_Person primary key clustered (PersonalID)
)
;
if object_id ('ch_Exclude') is not NULL drop table ch_Exclude
create table ch_Exclude(
PersonalID nvarchar(32) not NULL,
excludeDate date not NULL,
Step nvarchar(10) not NULL,
constraint pk_ch_Exclude primary key clustered (PersonalID, excludeDate)
)
;
if object_id ('ch_Include') is not NULL drop table ch_Include
create table ch_Include(
PersonalID nvarchar(32) not NULL,
ESSHStreetDate date not NULL,
Step nvarchar(10) not NULL,
constraint pk_ch_Include primary key clustered (PersonalID, ESSHStreetDate)
)
;
if object_id ('ch_Episodes') is not NULL drop table ch_Episodes
create table ch_Episodes(
PersonalID nvarchar(32),
episodeStart date,
episodeEnd date,
episodeDays int null,
Step nvarchar(10) not NULL,
constraint pk_ch_Episodes primary key clustered (PersonalID, episodeStart)
)
;
if object_id ('tlsa_Household') is not NULL drop table tlsa_Household
create table tlsa_Household(
HoHID nvarchar(32) not NULL,
HHType int not null,
FirstEntry date,
LastInactive date,
Stat int,
StatEnrollmentID nvarchar(32),
ReturnTime int,
HHChronic int,
HHVet int,
HHDisability int,
HHFleeingDV int,
HoHRaceEthnicity int,
HHAdult int,
HHChild int,
HHNoDOB int,
HHAdultAge int,
HHParent int,
ESTStatus int,
ESTGeography int,
ESTLivingSit int,
ESTDestination int,
ESTChronic int,
ESTVet int,
ESTDisability int,
ESTFleeingDV int,
ESTAC3Plus int,
ESTAdultAge int,
ESTParent int,
RRHStatus int,
RRHMoveIn int,
RRHGeography int,
RRHLivingSit int,
RRHDestination int,
RRHPreMoveInDays int,
RRHChronic int,
RRHVet int,
RRHDisability int,
RRHFleeingDV int,
RRHAC3Plus int,
RRHAdultAge int,
RRHParent int,
PSHStatus int,
PSHMoveIn int,
PSHGeography int,
PSHLivingSit int,
PSHDestination int,
PSHHousedDays int,
PSHChronic int,
PSHVet int,
PSHDisability int,
PSHFleeingDV int,
PSHAC3Plus int,
PSHAdultAge int,
PSHParent int,
ESDays int,
THDays int,
ESTDays int,
RRHPSHPreMoveInDays int,
RRHHousedDays int,
SystemDaysNotPSHHoused int,
SystemHomelessDays int,
Other3917Days int,
TotalHomelessDays int,
SystemPath int,
ESTAHAR int,
RRHAHAR int,
PSHAHAR int,
RRHSOStatus int,
RRHSOMoveIn int,
ReportID int,
Step nvarchar(10) not NULL,
constraint pk_tlsa_Household primary key clustered (HoHID, HHType)
)
;
if object_id ('sys_TimePadded') is not null drop table sys_TimePadded
create table sys_TimePadded (
HoHID nvarchar(32) not null
, HHType int not null
, Cohort int not null
, StartDate date
, EndDate date
, Step nvarchar(10) not NULL
)
;
if object_id ('sys_Time') is not null drop table sys_Time
create table sys_Time (
HoHID nvarchar(32)
, HHType int
, sysDate date
, sysStatus int
, Step nvarchar(10) not NULL
, constraint pk_sys_Time primary key clustered (HoHID, HHType, sysDate)
)
;
if object_id ('tlsa_Exit') is not NULL drop table tlsa_Exit
create table tlsa_Exit(
HoHID nvarchar(32) not null,
HHType int not null,
QualifyingExitHHID nvarchar(32),
LastInactive date,
Cohort int not NULL,
Stat int,
ExitFrom int,
ExitTo int,
ReturnTime int,
HHVet int,
HHChronic int,
HHDisability int,
HHFleeingDV int,
HoHRaceEthnicity int,
HHAdultAge int,
HHParent int,
AC3Plus int,
SystemPath int,
ReportID int not NULL,
Step nvarchar(10) not NULL,
constraint pk_tlsa_Exit primary key (Cohort, HoHID, HHType)
)
;
if object_id ('ch_Exclude_exit') is not NULL drop table ch_Exclude_exit
create table ch_Exclude_exit (
PersonalID nvarchar(32) not NULL,
excludeDate date not NULL,
Step nvarchar(10) not NULL,
constraint pk_ch_Exclude_exit primary key clustered (PersonalID, excludeDate)
)
;
if object_id ('ch_Include_exit') is not NULL drop table ch_Include_exit
create table ch_Include_exit (
PersonalID nvarchar(32) not NULL,
ESSHStreetDate date not NULL,
Step nvarchar(10) not NULL,
constraint pk_ch_Include_exit primary key clustered (PersonalID, ESSHStreetDate)
)
;
if object_id ('ch_Episodes_exit') is not NULL drop table ch_Episodes_exit
create table ch_Episodes_exit (
PersonalID nvarchar(32),
episodeStart date,
episodeEnd date,
episodeDays int null,
Step nvarchar(10) not NULL,
constraint pk_ch_Episodes_exit primary key clustered (PersonalID, episodeStart)
)
;
if object_id ('sys_TimePadded_exit') is not null drop table sys_TimePadded_exit
create table sys_TimePadded_exit (
HoHID nvarchar(32) not null
, HHType int not null
, Cohort int not null
, StartDate date
, EndDate date
, Step nvarchar(10) not NULL
)
;
if object_id ('tlsa_ExitHoHAdult') is not NULL drop table tlsa_ExitHoHAdult;
create table tlsa_ExitHoHAdult(
PersonalID nvarchar(32) not null,
QualifyingExitHHID nvarchar(32),
Cohort int not NULL,
DisabilityStatus int,
CHStart date,
LastActive date,
CHTime int,
CHTimeStatus int,
Step nvarchar(10) not NULL,
constraint pk_tlsa_ExitHoHAdult primary key (PersonalID, QualifyingExitHHID, Cohort)
)
;
if object_id ('tlsa_AveragePops') is not null drop table tlsa_AveragePops;
create table tlsa_AveragePops (
PopID int
, Cohort int
, HoHID nvarchar(32)
, HHType int
, Step nvarchar(10) not null)
;
--create index tlsa_AveragePops_PopID_Cohort on tlsa_AveragePops (PopID, Cohort) include (HoHID, HHType)
if object_id ('tlsa_CountPops') is not null drop table tlsa_CountPops;
create table tlsa_CountPops (
PopID int
, PersonalID nvarchar(32)
, HouseholdID nvarchar(32)
, Step nvarchar(10) not null)
;
if object_id ('ref_Calendar') is not null drop table ref_Calendar
create table ref_Calendar (
theDate date not null
, yyyy smallint
, mm tinyint
, dd tinyint
, month_name nvarchar(10)
, day_name nvarchar(10)
, fy smallint
, constraint pk_ref_Calendar primary key clustered (theDate)
)
;
--Populate ref_Calendar
declare @start date = '2012-10-01'
declare @end date = '2025-09-30'
declare @i int = 0
declare @total_days int = DATEDIFF(d, @start, @end)
while @i <= @total_days
begin
insert into ref_Calendar (theDate)
select cast(dateadd(d, @i, @start) as date)
set @i = @i + 1
end
update ref_Calendar
set month_name = datename(month, theDate),
day_name = datename(weekday, theDate),
yyyy = datepart(yyyy, theDate),
mm = datepart(mm, theDate),
dd = datepart(dd, theDate),
fy = case when datepart(mm, theDate) between 10 and 12 then datepart(yyyy, theDate) + 1
else datepart(yyyy, theDate) end
if object_id ('ref_RowValues') is not null drop table ref_RowValues
create table ref_RowValues (
RowID int not null
, Cohort int
, Universe int
, SystemPath int
, constraint pk_ref_RowValues primary key clustered (RowID, Cohort, Universe, SystemPath)
)
;
if object_id ('ref_RowPopulations') is not null drop table ref_RowPopulations
create table ref_RowPopulations (
RowMin int
, RowMax int
, ByPath int
, ByProject int
, PopID int
, Pop1 int
, Pop2 int
)
;
if object_id ('ref_PopHHTypes') is not null drop table ref_PopHHTypes
create table ref_PopHHTypes (
PopID int not null
, HHType int not null
, constraint pk_ref_PopHHTypes primary key clustered (PopID, HHType)
)
;
insert into ref_PopHHTypes (PopID, HHType) values (0, 0);
insert into ref_PopHHTypes (PopID, HHType) values (0, 1);
insert into ref_PopHHTypes (PopID, HHType) values (0, 2);
insert into ref_PopHHTypes (PopID, HHType) values (0, 3);
insert into ref_PopHHTypes (PopID, HHType) values (0, 99);
insert into ref_PopHHTypes (PopID, HHType) values (10, 1);
insert into ref_PopHHTypes (PopID, HHType) values (11, 1);
insert into ref_PopHHTypes (PopID, HHType) values (12, 2);
insert into ref_PopHHTypes (PopID, HHType) values (13, 0);
insert into ref_PopHHTypes (PopID, HHType) values (13, 1);
insert into ref_PopHHTypes (PopID, HHType) values (13, 2);
insert into ref_PopHHTypes (PopID, HHType) values (13, 99);
insert into ref_PopHHTypes (PopID, HHType) values (14, 1);
insert into ref_PopHHTypes (PopID, HHType) values (15, 0);
insert into ref_PopHHTypes (PopID, HHType) values (15, 1);
insert into ref_PopHHTypes (PopID, HHType) values (15, 2);
insert into ref_PopHHTypes (PopID, HHType) values (15, 3);
insert into ref_PopHHTypes (PopID, HHType) values (15, 99);
insert into ref_PopHHTypes (PopID, HHType) values (16, 0);
insert into ref_PopHHTypes (PopID, HHType) values (16, 1);
insert into ref_PopHHTypes (PopID, HHType) values (16, 2);
insert into ref_PopHHTypes (PopID, HHType) values (16, 3);
insert into ref_PopHHTypes (PopID, HHType) values (16, 99);
insert into ref_PopHHTypes (PopID, HHType) values (17, 0);
insert into ref_PopHHTypes (PopID, HHType) values (17, 1);
insert into ref_PopHHTypes (PopID, HHType) values (17, 2);
insert into ref_PopHHTypes (PopID, HHType) values (17, 3);
insert into ref_PopHHTypes (PopID, HHType) values (17, 99);
insert into ref_PopHHTypes (PopID, HHType) values (18, 0);
insert into ref_PopHHTypes (PopID, HHType) values (18, 1);
insert into ref_PopHHTypes (PopID, HHType) values (18, 2);
insert into ref_PopHHTypes (PopID, HHType) values (18, 3);
insert into ref_PopHHTypes (PopID, HHType) values (18, 99);
insert into ref_PopHHTypes (PopID, HHType) values (19, 0);
insert into ref_PopHHTypes (PopID, HHType) values (19, 1);
insert into ref_PopHHTypes (PopID, HHType) values (19, 2);
insert into ref_PopHHTypes (PopID, HHType) values (19, 3);
insert into ref_PopHHTypes (PopID, HHType) values (19, 99);
insert into ref_PopHHTypes (PopID, HHType) values (20, 0);
insert into ref_PopHHTypes (PopID, HHType) values (20, 1);
insert into ref_PopHHTypes (PopID, HHType) values (20, 2);
insert into ref_PopHHTypes (PopID, HHType) values (20, 3);
insert into ref_PopHHTypes (PopID, HHType) values (20, 99);
insert into ref_PopHHTypes (PopID, HHType) values (21, 0);
insert into ref_PopHHTypes (PopID, HHType) values (21, 1);
insert into ref_PopHHTypes (PopID, HHType) values (21, 2);
insert into ref_PopHHTypes (PopID, HHType) values (21, 3);
insert into ref_PopHHTypes (PopID, HHType) values (21, 99);
insert into ref_PopHHTypes (PopID, HHType) values (22, 0);
insert into ref_PopHHTypes (PopID, HHType) values (22, 1);
insert into ref_PopHHTypes (PopID, HHType) values (22, 2);
insert into ref_PopHHTypes (PopID, HHType) values (22, 3);
insert into ref_PopHHTypes (PopID, HHType) values (22, 99);
insert into ref_PopHHTypes (PopID, HHType) values (23, 0);
insert into ref_PopHHTypes (PopID, HHType) values (23, 1);
insert into ref_PopHHTypes (PopID, HHType) values (23, 2);
insert into ref_PopHHTypes (PopID, HHType) values (23, 3);
insert into ref_PopHHTypes (PopID, HHType) values (23, 99);
insert into ref_PopHHTypes (PopID, HHType) values (24, 0);
insert into ref_PopHHTypes (PopID, HHType) values (24, 1);
insert into ref_PopHHTypes (PopID, HHType) values (24, 2);
insert into ref_PopHHTypes (PopID, HHType) values (24, 3);
insert into ref_PopHHTypes (PopID, HHType) values (24, 99);
insert into ref_PopHHTypes (PopID, HHType) values (25, 0);
insert into ref_PopHHTypes (PopID, HHType) values (25, 1);
insert into ref_PopHHTypes (PopID, HHType) values (25, 2);
insert into ref_PopHHTypes (PopID, HHType) values (25, 3);
insert into ref_PopHHTypes (PopID, HHType) values (25, 99);
insert into ref_PopHHTypes (PopID, HHType) values (26, 0);
insert into ref_PopHHTypes (PopID, HHType) values (26, 1);
insert into ref_PopHHTypes (PopID, HHType) values (26, 2);
insert into ref_PopHHTypes (PopID, HHType) values (26, 3);
insert into ref_PopHHTypes (PopID, HHType) values (26, 99);
insert into ref_PopHHTypes (PopID, HHType) values (27, 0);
insert into ref_PopHHTypes (PopID, HHType) values (27, 1);
insert into ref_PopHHTypes (PopID, HHType) values (27, 2);
insert into ref_PopHHTypes (PopID, HHType) values (27, 3);
insert into ref_PopHHTypes (PopID, HHType) values (27, 99);
insert into ref_PopHHTypes (PopID, HHType) values (28, 0);
insert into ref_PopHHTypes (PopID, HHType) values (28, 1);
insert into ref_PopHHTypes (PopID, HHType) values (28, 2);
insert into ref_PopHHTypes (PopID, HHType) values (28, 3);
insert into ref_PopHHTypes (PopID, HHType) values (28, 99);
insert into ref_PopHHTypes (PopID, HHType) values (29, 0);
insert into ref_PopHHTypes (PopID, HHType) values (29, 1);
insert into ref_PopHHTypes (PopID, HHType) values (29, 2);
insert into ref_PopHHTypes (PopID, HHType) values (29, 3);
insert into ref_PopHHTypes (PopID, HHType) values (29, 99);
insert into ref_PopHHTypes (PopID, HHType) values (30, 0);
insert into ref_PopHHTypes (PopID, HHType) values (30, 1);
insert into ref_PopHHTypes (PopID, HHType) values (30, 2);
insert into ref_PopHHTypes (PopID, HHType) values (30, 3);
insert into ref_PopHHTypes (PopID, HHType) values (30, 99);
insert into ref_PopHHTypes (PopID, HHType) values (31, 0);
insert into ref_PopHHTypes (PopID, HHType) values (31, 1);
insert into ref_PopHHTypes (PopID, HHType) values (31, 2);
insert into ref_PopHHTypes (PopID, HHType) values (31, 3);
insert into ref_PopHHTypes (PopID, HHType) values (31, 99);
insert into ref_PopHHTypes (PopID, HHType) values (32, 0);
insert into ref_PopHHTypes (PopID, HHType) values (32, 1);
insert into ref_PopHHTypes (PopID, HHType) values (32, 2);
insert into ref_PopHHTypes (PopID, HHType) values (32, 3);
insert into ref_PopHHTypes (PopID, HHType) values (32, 99);
insert into ref_PopHHTypes (PopID, HHType) values (33, 0);
insert into ref_PopHHTypes (PopID, HHType) values (33, 1);
insert into ref_PopHHTypes (PopID, HHType) values (33, 2);
insert into ref_PopHHTypes (PopID, HHType) values (33, 3);
insert into ref_PopHHTypes (PopID, HHType) values (33, 99);
insert into ref_PopHHTypes (PopID, HHType) values (34, 0);
insert into ref_PopHHTypes (PopID, HHType) values (34, 1);
insert into ref_PopHHTypes (PopID, HHType) values (34, 2);
insert into ref_PopHHTypes (PopID, HHType) values (34, 3);
insert into ref_PopHHTypes (PopID, HHType) values (34, 99);
insert into ref_PopHHTypes (PopID, HHType) values (35, 0);
insert into ref_PopHHTypes (PopID, HHType) values (35, 1);
insert into ref_PopHHTypes (PopID, HHType) values (35, 2);
insert into ref_PopHHTypes (PopID, HHType) values (35, 3);
insert into ref_PopHHTypes (PopID, HHType) values (35, 99);
insert into ref_PopHHTypes (PopID, HHType) values (36, 0);
insert into ref_PopHHTypes (PopID, HHType) values (36, 1);
insert into ref_PopHHTypes (PopID, HHType) values (36, 2);
insert into ref_PopHHTypes (PopID, HHType) values (36, 3);
insert into ref_PopHHTypes (PopID, HHType) values (36, 99);
insert into ref_PopHHTypes (PopID, HHType) values (37, 0);
insert into ref_PopHHTypes (PopID, HHType) values (37, 1);
insert into ref_PopHHTypes (PopID, HHType) values (37, 2);
insert into ref_PopHHTypes (PopID, HHType) values (37, 3);
insert into ref_PopHHTypes (PopID, HHType) values (37, 99);
insert into ref_PopHHTypes (PopID, HHType) values (38, 0);
insert into ref_PopHHTypes (PopID, HHType) values (38, 1);
insert into ref_PopHHTypes (PopID, HHType) values (38, 2);
insert into ref_PopHHTypes (PopID, HHType) values (38, 3);
insert into ref_PopHHTypes (PopID, HHType) values (38, 99);
insert into ref_PopHHTypes (PopID, HHType) values (39, 0);
insert into ref_PopHHTypes (PopID, HHType) values (39, 1);
insert into ref_PopHHTypes (PopID, HHType) values (39, 2);
insert into ref_PopHHTypes (PopID, HHType) values (39, 3);
insert into ref_PopHHTypes (PopID, HHType) values (39, 99);
insert into ref_PopHHTypes (PopID, HHType) values (40, 0);
insert into ref_PopHHTypes (PopID, HHType) values (40, 1);
insert into ref_PopHHTypes (PopID, HHType) values (40, 2);
insert into ref_PopHHTypes (PopID, HHType) values (40, 3);
insert into ref_PopHHTypes (PopID, HHType) values (40, 99);
insert into ref_PopHHTypes (PopID, HHType) values (41, 0);
insert into ref_PopHHTypes (PopID, HHType) values (41, 1);
insert into ref_PopHHTypes (PopID, HHType) values (41, 2);
insert into ref_PopHHTypes (PopID, HHType) values (41, 3);
insert into ref_PopHHTypes (PopID, HHType) values (41, 99);
insert into ref_PopHHTypes (PopID, HHType) values (42, 0);
insert into ref_PopHHTypes (PopID, HHType) values (42, 1);
insert into ref_PopHHTypes (PopID, HHType) values (42, 2);
insert into ref_PopHHTypes (PopID, HHType) values (42, 3);
insert into ref_PopHHTypes (PopID, HHType) values (42, 99);
insert into ref_PopHHTypes (PopID, HHType) values (43, 0);
insert into ref_PopHHTypes (PopID, HHType) values (43, 1);
insert into ref_PopHHTypes (PopID, HHType) values (43, 2);
insert into ref_PopHHTypes (PopID, HHType) values (43, 3);
insert into ref_PopHHTypes (PopID, HHType) values (43, 99);
insert into ref_PopHHTypes (PopID, HHType) values (44, 0);
insert into ref_PopHHTypes (PopID, HHType) values (44, 1);
insert into ref_PopHHTypes (PopID, HHType) values (44, 2);
insert into ref_PopHHTypes (PopID, HHType) values (44, 3);
insert into ref_PopHHTypes (PopID, HHType) values (44, 99);
insert into ref_PopHHTypes (PopID, HHType) values (45, 1);
insert into ref_PopHHTypes (PopID, HHType) values (46, 3);
insert into ref_PopHHTypes (PopID, HHType) values (47, 2);
insert into ref_PopHHTypes (PopID, HHType) values (48, 0);
insert into ref_PopHHTypes (PopID, HHType) values (48, 1);
insert into ref_PopHHTypes (PopID, HHType) values (48, 2);
insert into ref_PopHHTypes (PopID, HHType) values (48, 3);
insert into ref_PopHHTypes (PopID, HHType) values (48, 99);
insert into ref_PopHHTypes (PopID, HHType) values (50, 0);
insert into ref_PopHHTypes (PopID, HHType) values (50, 1);
insert into ref_PopHHTypes (PopID, HHType) values (50, 2);
insert into ref_PopHHTypes (PopID, HHType) values (50, 99);
insert into ref_PopHHTypes (PopID, HHType) values (51, 2);
insert into ref_PopHHTypes (PopID, HHType) values (52, 3);
insert into ref_PopHHTypes (PopID, HHType) values (53, 0);
insert into ref_PopHHTypes (PopID, HHType) values (53, 1);
insert into ref_PopHHTypes (PopID, HHType) values (53, 2);
insert into ref_PopHHTypes (PopID, HHType) values (53, 3);
insert into ref_PopHHTypes (PopID, HHType) values (53, 99);
insert into ref_PopHHTypes (PopID, HHType) values (54, 0);
insert into ref_PopHHTypes (PopID, HHType) values (54, 1);
insert into ref_PopHHTypes (PopID, HHType) values (54, 2);
insert into ref_PopHHTypes (PopID, HHType) values (54, 3);
insert into ref_PopHHTypes (PopID, HHType) values (54, 99);
insert into ref_PopHHTypes (PopID, HHType) values (55, 0);
insert into ref_PopHHTypes (PopID, HHType) values (55, 1);
insert into ref_PopHHTypes (PopID, HHType) values (55, 2);
insert into ref_PopHHTypes (PopID, HHType) values (55, 3);
insert into ref_PopHHTypes (PopID, HHType) values (55, 99);
insert into ref_PopHHTypes (PopID, HHType) values (56, 0);
insert into ref_PopHHTypes (PopID, HHType) values (56, 1);
insert into ref_PopHHTypes (PopID, HHType) values (56, 2);
insert into ref_PopHHTypes (PopID, HHType) values (56, 3);
insert into ref_PopHHTypes (PopID, HHType) values (56, 99);
insert into ref_PopHHTypes (PopID, HHType) values (57, 0);
insert into ref_PopHHTypes (PopID, HHType) values (57, 1);
insert into ref_PopHHTypes (PopID, HHType) values (57, 2);
insert into ref_PopHHTypes (PopID, HHType) values (57, 3);
insert into ref_PopHHTypes (PopID, HHType) values (57, 99);
insert into ref_PopHHTypes (PopID, HHType) values (58, 0);
insert into ref_PopHHTypes (PopID, HHType) values (58, 1);
insert into ref_PopHHTypes (PopID, HHType) values (58, 2);
insert into ref_PopHHTypes (PopID, HHType) values (58, 3);
insert into ref_PopHHTypes (PopID, HHType) values (58, 99);
insert into ref_PopHHTypes (PopID, HHType) values (59, 0);
insert into ref_PopHHTypes (PopID, HHType) values (59, 1);
insert into ref_PopHHTypes (PopID, HHType) values (59, 2);
insert into ref_PopHHTypes (PopID, HHType) values (59, 3);
insert into ref_PopHHTypes (PopID, HHType) values (59, 99);
insert into ref_PopHHTypes (PopID, HHType) values (60, 0);
insert into ref_PopHHTypes (PopID, HHType) values (60, 1);
insert into ref_PopHHTypes (PopID, HHType) values (60, 2);
insert into ref_PopHHTypes (PopID, HHType) values (60, 3);
insert into ref_PopHHTypes (PopID, HHType) values (60, 99);
insert into ref_PopHHTypes (PopID, HHType) values (61, 0);
insert into ref_PopHHTypes (PopID, HHType) values (61, 1);
insert into ref_PopHHTypes (PopID, HHType) values (61, 2);
insert into ref_PopHHTypes (PopID, HHType) values (61, 3);
insert into ref_PopHHTypes (PopID, HHType) values (61, 99);
insert into ref_PopHHTypes (PopID, HHType) values (62, 0);
insert into ref_PopHHTypes (PopID, HHType) values (62, 1);
insert into ref_PopHHTypes (PopID, HHType) values (62, 2);
insert into ref_PopHHTypes (PopID, HHType) values (62, 3);
insert into ref_PopHHTypes (PopID, HHType) values (62, 99);
insert into ref_PopHHTypes (PopID, HHType) values (63, 0);
insert into ref_PopHHTypes (PopID, HHType) values (63, 1);
insert into ref_PopHHTypes (PopID, HHType) values (63, 2);
insert into ref_PopHHTypes (PopID, HHType) values (63, 3);
insert into ref_PopHHTypes (PopID, HHType) values (63, 99);
insert into ref_PopHHTypes (PopID, HHType) values (64, 0);
insert into ref_PopHHTypes (PopID, HHType) values (64, 1);
insert into ref_PopHHTypes (PopID, HHType) values (64, 2);
insert into ref_PopHHTypes (PopID, HHType) values (64, 3);
insert into ref_PopHHTypes (PopID, HHType) values (64, 99);
insert into ref_PopHHTypes (PopID, HHType) values (65, 0);
insert into ref_PopHHTypes (PopID, HHType) values (65, 1);
insert into ref_PopHHTypes (PopID, HHType) values (65, 2);
insert into ref_PopHHTypes (PopID, HHType) values (65, 3);
insert into ref_PopHHTypes (PopID, HHType) values (65, 99);
insert into ref_PopHHTypes (PopID, HHType) values (66, 0);
insert into ref_PopHHTypes (PopID, HHType) values (66, 1);
insert into ref_PopHHTypes (PopID, HHType) values (66, 2);
insert into ref_PopHHTypes (PopID, HHType) values (66, 3);
insert into ref_PopHHTypes (PopID, HHType) values (66, 99);
insert into ref_PopHHTypes (PopID, HHType) values (67, 0);
insert into ref_PopHHTypes (PopID, HHType) values (67, 1);
insert into ref_PopHHTypes (PopID, HHType) values (67, 2);
insert into ref_PopHHTypes (PopID, HHType) values (67, 3);
insert into ref_PopHHTypes (PopID, HHType) values (67, 99);
insert into ref_PopHHTypes (PopID, HHType) values (68, 0);
insert into ref_PopHHTypes (PopID, HHType) values (68, 1);
insert into ref_PopHHTypes (PopID, HHType) values (68, 2);
insert into ref_PopHHTypes (PopID, HHType) values (68, 3);
insert into ref_PopHHTypes (PopID, HHType) values (68, 99);
insert into ref_PopHHTypes (PopID, HHType) values (69, 0);
insert into ref_PopHHTypes (PopID, HHType) values (69, 1);
insert into ref_PopHHTypes (PopID, HHType) values (69, 2);
insert into ref_PopHHTypes (PopID, HHType) values (69, 3);
insert into ref_PopHHTypes (PopID, HHType) values (69, 99);
insert into ref_PopHHTypes (PopID, HHType) values (70, 0);
insert into ref_PopHHTypes (PopID, HHType) values (70, 1);
insert into ref_PopHHTypes (PopID, HHType) values (70, 2);
insert into ref_PopHHTypes (PopID, HHType) values (70, 3);
insert into ref_PopHHTypes (PopID, HHType) values (70, 99);
insert into ref_PopHHTypes (PopID, HHType) values (71, 0);
insert into ref_PopHHTypes (PopID, HHType) values (71, 1);
insert into ref_PopHHTypes (PopID, HHType) values (71, 2);
insert into ref_PopHHTypes (PopID, HHType) values (71, 3);
insert into ref_PopHHTypes (PopID, HHType) values (71, 99);
insert into ref_PopHHTypes (PopID, HHType) values (72, 0);
insert into ref_PopHHTypes (PopID, HHType) values (72, 1);
insert into ref_PopHHTypes (PopID, HHType) values (72, 2);
insert into ref_PopHHTypes (PopID, HHType) values (72, 3);
insert into ref_PopHHTypes (PopID, HHType) values (72, 99);
insert into ref_PopHHTypes (PopID, HHType) values (73, 0);
insert into ref_PopHHTypes (PopID, HHType) values (73, 1);
insert into ref_PopHHTypes (PopID, HHType) values (73, 2);
insert into ref_PopHHTypes (PopID, HHType) values (73, 3);
insert into ref_PopHHTypes (PopID, HHType) values (73, 99);
insert into ref_PopHHTypes (PopID, HHType) values (74, 0);
insert into ref_PopHHTypes (PopID, HHType) values (74, 1);
insert into ref_PopHHTypes (PopID, HHType) values (74, 2);
insert into ref_PopHHTypes (PopID, HHType) values (74, 3);
insert into ref_PopHHTypes (PopID, HHType) values (74, 99);
insert into ref_PopHHTypes (PopID, HHType) values (75, 0);
insert into ref_PopHHTypes (PopID, HHType) values (75, 1);
insert into ref_PopHHTypes (PopID, HHType) values (75, 2);
insert into ref_PopHHTypes (PopID, HHType) values (75, 3);
insert into ref_PopHHTypes (PopID, HHType) values (75, 99);
insert into ref_PopHHTypes (PopID, HHType) values (76, 0);
insert into ref_PopHHTypes (PopID, HHType) values (76, 1);
insert into ref_PopHHTypes (PopID, HHType) values (76, 2);
insert into ref_PopHHTypes (PopID, HHType) values (76, 3);
insert into ref_PopHHTypes (PopID, HHType) values (76, 99);
insert into ref_PopHHTypes (PopID, HHType) values (77, 0);
insert into ref_PopHHTypes (PopID, HHType) values (77, 1);
insert into ref_PopHHTypes (PopID, HHType) values (77, 2);
insert into ref_PopHHTypes (PopID, HHType) values (77, 3);
insert into ref_PopHHTypes (PopID, HHType) values (77, 99);
insert into ref_PopHHTypes (PopID, HHType) values (78, 0);
insert into ref_PopHHTypes (PopID, HHType) values (78, 1);
insert into ref_PopHHTypes (PopID, HHType) values (78, 2);
insert into ref_PopHHTypes (PopID, HHType) values (78, 3);
insert into ref_PopHHTypes (PopID, HHType) values (78, 99);
insert into ref_PopHHTypes (PopID, HHType) values (79, 0);
insert into ref_PopHHTypes (PopID, HHType) values (79, 1);
insert into ref_PopHHTypes (PopID, HHType) values (79, 2);
insert into ref_PopHHTypes (PopID, HHType) values (79, 3);
insert into ref_PopHHTypes (PopID, HHType) values (79, 99);
insert into ref_PopHHTypes (PopID, HHType) values (80, 0);
insert into ref_PopHHTypes (PopID, HHType) values (80, 1);
insert into ref_PopHHTypes (PopID, HHType) values (80, 2);
insert into ref_PopHHTypes (PopID, HHType) values (80, 3);
insert into ref_PopHHTypes (PopID, HHType) values (80, 99);
insert into ref_PopHHTypes (PopID, HHType) values (81, 0);
insert into ref_PopHHTypes (PopID, HHType) values (81, 1);
insert into ref_PopHHTypes (PopID, HHType) values (81, 2);
insert into ref_PopHHTypes (PopID, HHType) values (81, 3);
insert into ref_PopHHTypes (PopID, HHType) values (81, 99);
insert into ref_PopHHTypes (PopID, HHType) values (82, 0);
insert into ref_PopHHTypes (PopID, HHType) values (82, 1);
insert into ref_PopHHTypes (PopID, HHType) values (82, 2);
insert into ref_PopHHTypes (PopID, HHType) values (82, 3);
insert into ref_PopHHTypes (PopID, HHType) values (82, 99);
insert into ref_PopHHTypes (PopID, HHType) values (83, 0);
insert into ref_PopHHTypes (PopID, HHType) values (83, 1);
insert into ref_PopHHTypes (PopID, HHType) values (83, 2);
insert into ref_PopHHTypes (PopID, HHType) values (83, 3);
insert into ref_PopHHTypes (PopID, HHType) values (83, 99);
insert into ref_PopHHTypes (PopID, HHType) values (84, 0);
insert into ref_PopHHTypes (PopID, HHType) values (84, 1);
insert into ref_PopHHTypes (PopID, HHType) values (84, 2);
insert into ref_PopHHTypes (PopID, HHType) values (84, 3);
insert into ref_PopHHTypes (PopID, HHType) values (84, 99);
insert into ref_PopHHTypes (PopID, HHType) values (85, 0);
insert into ref_PopHHTypes (PopID, HHType) values (85, 1);
insert into ref_PopHHTypes (PopID, HHType) values (85, 2);
insert into ref_PopHHTypes (PopID, HHType) values (85, 3);
insert into ref_PopHHTypes (PopID, HHType) values (85, 99);
insert into ref_PopHHTypes (PopID, HHType) values (86, 0);
insert into ref_PopHHTypes (PopID, HHType) values (86, 2);
insert into ref_PopHHTypes (PopID, HHType) values (86, 3);
insert into ref_PopHHTypes (PopID, HHType) values (86, 99);
insert into ref_PopHHTypes (PopID, HHType) values (87, 0);
insert into ref_PopHHTypes (PopID, HHType) values (87, 2);
insert into ref_PopHHTypes (PopID, HHType) values (87, 3);
insert into ref_PopHHTypes (PopID, HHType) values (87, 99);
insert into ref_PopHHTypes (PopID, HHType) values (88, 0);
insert into ref_PopHHTypes (PopID, HHType) values (88, 2);
insert into ref_PopHHTypes (PopID, HHType) values (88, 3);
insert into ref_PopHHTypes (PopID, HHType) values (88, 99);
insert into ref_PopHHTypes (PopID, HHType) values (89, 0);
insert into ref_PopHHTypes (PopID, HHType) values (89, 2);
insert into ref_PopHHTypes (PopID, HHType) values (89, 3);
insert into ref_PopHHTypes (PopID, HHType) values (89, 99);
insert into ref_PopHHTypes (PopID, HHType) values (90, 0);
insert into ref_PopHHTypes (PopID, HHType) values (90, 1);
insert into ref_PopHHTypes (PopID, HHType) values (90, 2);
insert into ref_PopHHTypes (PopID, HHType) values (90, 99);
insert into ref_PopHHTypes (PopID, HHType) values (91, 0);
insert into ref_PopHHTypes (PopID, HHType) values (91, 1);
insert into ref_PopHHTypes (PopID, HHType) values (91, 2);
insert into ref_PopHHTypes (PopID, HHType) values (91, 99);
insert into ref_PopHHTypes (PopID, HHType) values (92, 0);
insert into ref_PopHHTypes (PopID, HHType) values (92, 1);
insert into ref_PopHHTypes (PopID, HHType) values (92, 2);
insert into ref_PopHHTypes (PopID, HHType) values (92, 99);
insert into ref_PopHHTypes (PopID, HHType) values (93, 0);
insert into ref_PopHHTypes (PopID, HHType) values (93, 1);
insert into ref_PopHHTypes (PopID, HHType) values (93, 2);
insert into ref_PopHHTypes (PopID, HHType) values (93, 99);
insert into ref_PopHHTypes (PopID, HHType) values (94, 0);
insert into ref_PopHHTypes (PopID, HHType) values (94, 1);
insert into ref_PopHHTypes (PopID, HHType) values (94, 2);
insert into ref_PopHHTypes (PopID, HHType) values (94, 99);
insert into ref_PopHHTypes (PopID, HHType) values (95, 0);
insert into ref_PopHHTypes (PopID, HHType) values (95, 1);
insert into ref_PopHHTypes (PopID, HHType) values (95, 2);
insert into ref_PopHHTypes (PopID, HHType) values (95, 99);
insert into ref_PopHHTypes (PopID, HHType) values (96, 0);
insert into ref_PopHHTypes (PopID, HHType) values (96, 1);
insert into ref_PopHHTypes (PopID, HHType) values (96, 2);
insert into ref_PopHHTypes (PopID, HHType) values (96, 99);
insert into ref_PopHHTypes (PopID, HHType) values (97, 0);
insert into ref_PopHHTypes (PopID, HHType) values (97, 1);
insert into ref_PopHHTypes (PopID, HHType) values (97, 2);
insert into ref_PopHHTypes (PopID, HHType) values (97, 3);
insert into ref_PopHHTypes (PopID, HHType) values (97, 99);
insert into ref_PopHHTypes (PopID, HHType) values (1015, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1018, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1019, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1020, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1021, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1022, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1023, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1024, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1025, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1026, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1027, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1028, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1029, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1030, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1031, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1032, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1033, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1034, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1035, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1036, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1037, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1038, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1039, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1040, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1041, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1042, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1043, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1044, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1048, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1115, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1118, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1119, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1120, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1121, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1122, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1123, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1124, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1125, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1126, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1127, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1128, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1129, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1130, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1131, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1132, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1133, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1134, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1135, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1136, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1137, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1138, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1139, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1140, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1141, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1142, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1143, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1144, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1148, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1190, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1191, 1);
insert into ref_PopHHTypes (PopID, HHType) values (1215, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1218, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1219, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1220, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1221, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1222, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1223, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1224, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1225, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1226, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1227, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1228, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1229, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1230, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1231, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1232, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1233, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1234, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1235, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1236, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1237, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1238, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1239, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1240, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1241, 2);
insert into ref_PopHHTypes (PopID, HHType) values (1242, 2);