PageSourceSearch

https://hpvcentre.net/js/dataquery.js

js hpvcentre.net collected 2026-10-02 03:09:58 UTC 11,127 bytes, 90 lines download raw bytes

1
2
3//dataquery.js
4function populate_module_array() {
5var indicator = new Array();
6var category = new Array();
7var category_array = new Array();
8var iCategory = 0;
9var iBlocCategory = 0;
10
11	 // MODULE 1
12	 category[iCategory++] = new Category(1, 'Invasive cervical cancer', 0, new Array(new Indicator('M1_Cervical cancer by histology_HPV type distribution', 'HPV type distribution', 0, ''),new Indicator('M1_Cervical cancer by histology_HPV type distribution Top', 'Top 10 HPV oncogenic types', 0, '')));
13	 category[iCategory++] = new Category(2, 'Cervical precancerous lesions (High grade)', 0, new Array(new Indicator('M1_Precancerous cervical lesions High grade_HPV type distribution', 'HPV type distribution', 0, ''),new Indicator('M1_Precancerous cervical lesions High grade_HPV type distribution top 10', 'Top 10 HPV oncogenic types', 0, '')));
14	 category[iCategory++] = new Category(3, 'Cervical precancerous lesions (Low grade)', 0, new Array(new Indicator('M1_Precancerous cervical lesions Low grade_HPV type distribution', 'HPV type distribution', 0, ''),new Indicator('M1_Precancerous cervical lesions Low grade_HPV type distribution top 10', 'Top 10 HPV oncogenic types', 0, '')));
15	 category[iCategory++] = new Category(4, 'Women with normal cervical cytology', 0, new Array(new Indicator('M1_Women with normal cervical cytology_HPV type distribution', 'HPV type distribution', 0, ''),new Indicator('M1_Women with normal cervical cytology_HPV type distribution Top', 'Top 10 HPV oncogenic types', 0, '')));
16	 category[iCategory++] = new Category(5, 'Anogenital HPV infection in men', 0, new Array(new Indicator('M1_Men_HPV prevalence', 'HPV prevalence (Studies)', 0, '')));
17	 category[iCategory++] = new Category(6, 'Anal cancer', 0, new Array(new Indicator('M1_Anal cancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Anal cancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
18	 category[iCategory++] = new Category(7, 'Anal precancerous lesions (AIN 2/3)', 0, new Array(new Indicator('M1_Anal precancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Anal precancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
19	 category[iCategory++] = new Category(8, 'Penile cancer', 0, new Array(new Indicator('M1_Penile cancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Penile cancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
20	 category[iCategory++] = new Category(9, 'Penile precancerous lesions (PeIN 2/3)', 0, new Array(new Indicator('M1_Penile precancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Penile precancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
21	 category[iCategory++] = new Category(10, 'Vulvar cancer', 0, new Array(new Indicator('M1_Vulvar cancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Vulva cancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
22	 category[iCategory++] = new Category(11, 'Vulvar precancerous lesions (VIN 2/3)', 0, new Array(new Indicator('M1_Vulva precancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Vulva precancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
23	 category[iCategory++] = new Category(12, 'Vaginal cancer', 0, new Array(new Indicator('M1_Vagina cancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Vaginal cancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
24	 category[iCategory++] = new Category(13, 'Vaginal precancerous lesions (VaIN 2/3)', 0, new Array(new Indicator('M1_Vagina precancer_HPV prevalence', 'HPV prevalence', 0, ''),new Indicator('M1_Vaginal precancer_HPV distribution', 'HPV type distribution (Continents/World)', 0, 'XWX,XEX,XSX,XMX,XOX,XFX')));
25	 category[iCategory++] = new Category(14, 'Oral HPV infection', 0, new Array(new Indicator('M1_Oral cavity_HPV infection', 'HPV prevalence', 0, '')));
26	 category[iCategory++] = new Category(15, 'Oral cavity cancer', 0, new Array(new Indicator('M1_Oral cavity cancer_HPV prevalence', 'HPV prevalence', 0, '')));
27	 category[iCategory++] = new Category(16, 'Oropharyngeal cancer', 0, new Array(new Indicator('M1_Oropharynx_HPV prevalence', 'HPV prevalence', 0, '')));
28	 category[iCategory++] = new Category(17, 'Laryngeal cancer', 0, new Array(new Indicator('M1_Hypopharynx_HPV prevalence', 'HPV prevalence', 0, '')));
29
30	 for (i = iBlocCategory; i < iCategory; i++) category_array.push(category[i]);
31	 module_array[0] = new Module(0, category_array);
32	 category_array = null;
33	 category_array = new Array();
34	 iBlocCategory = iCategory;
35
36
37	 // MODULE 2
38	 category[iCategory++] = new Category(1, 'Cervical cancer', 0, new Array(new Indicator('M2_Cervical Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Cervical Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Cervical Cancer_Number of Deaths', 'Number of deaths', 0, ''),new Indicator('M2_Cervical Cancer_Mortality Rates', 'Mortality rates', 0, '')));
39	 category[iCategory++] = new Category(2, 'Anal cancer', 0, new Array(new Indicator('M2_Anal Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Anal Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Anal Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Anal Cancer_Mortality rates', 'Mortality rates', 0, '')));
40	 category[iCategory++] = new Category(3, 'Vulvar cancer', 0, new Array(new Indicator('M2_Vulvar Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Vulvar Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Vulvar Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Vulvar Cancer_Mortality rates', 'Mortality rates', 0, '')));
41	 category[iCategory++] = new Category(4, 'Vaginal cancer', 0, new Array(new Indicator('M2_Vaginal Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Vaginal Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Vaginal Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Vaginal Cancer_Mortality rates', 'Mortality rates', 0, '')));
42	 category[iCategory++] = new Category(5, 'Penile cancer', 0, new Array(new Indicator('M2_Penile Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Penile Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Penile Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Penile Cancer_Mortality rates', 'Mortality rates', 0, '')));
43	 category[iCategory++] = new Category(6, 'Oropharyngeal cancer', 0, new Array(new Indicator('M2_Pharynx excluding nasopharynx_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Pharynx excluding nasopharynx_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Pharynx excluding nasopharynx_Number of Deaths', 'Number of deaths', 0, ''),new Indicator('M2_Pharynx excluding nasopharynx_Mortality rates', 'Mortality rates', 0, '')));
44	 category[iCategory++] = new Category(7, 'Oral cavity cancer', 0, new Array(new Indicator('M2_Oral Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Oral Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Oral Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Oral Cancer_Mortality rates', 'Mortality rates', 0, '')));
45	 category[iCategory++] = new Category(8, 'Laryngeal cancer', 0, new Array(new Indicator('M2_Laryngeal Cancer_Incidence cases', 'Incidence cases', 0, ''),new Indicator('M2_Laryngeal Cancer_Incidence rates', 'Incidence rates', 0, ''),new Indicator('M2_Laryngeal Cancer_Mortality cases', 'Mortality cases', 0, ''),new Indicator('M2_Laryngeal Cancer_Mortality rates', 'Mortality rates', 0, '')));
46
47	 for (i = iBlocCategory; i < iCategory; i++) category_array.push(category[i]);
48	 module_array[1] = new Module(1, category_array);
49	 category_array = null;
50	 category_array = new Array();
51	 iBlocCategory = iCategory;
52
53
54	 // MODULE 3
55	 category[iCategory++] = new Category(1, 'Tobacco use', 0, new Array(new Indicator('M3_Tobacco use_Smoking Prevalence', 'Smoking Prevalence', 0, '')));
56	 category[iCategory++] = new Category(2, 'Parity', 0, new Array(new Indicator('M3_Parity_Fertility rates', 'Fertility rates', 0, '')));
57	 category[iCategory++] = new Category(3, 'Hormonal contraceptive', 0, new Array(new Indicator('M3_Oral contraceptive use_Hormonal contraception', 'Hormonal contraception use', 0, '')));
58	 category[iCategory++] = new Category(4, 'HIV infection', 0, new Array(new Indicator('M3_HIV Infection_HIV prevalence in adults 15-49 yrs and young adults 15-24 yrs', 'HIV prevalence in adults (15-49) yrs', 0, '')));
59	 category[iCategory++] = new Category(5, 'Sexual behaviour', 0, new Array(new Indicator('M3_Sexual behaviour_Median age at first sex', 'Median age at first sex', 0, ''),new Indicator('M3_Sexual behaviour_15-year-olds who have had sexual intercourse', '15-year-olds who have had sexual intercourse', 0, ''),new Indicator('M3_Reproductive health_Marriage paterns', 'Marriage patterns', 0, ''),new Indicator('M3_Number partners', 'Average number of sexual partners', 0, ''),new Indicator('M3_Receptive _anal_intercourse', 'Lifetime prevalence of anal intercourse', 0, '')));
60
61	 for (i = iBlocCategory; i < iCategory; i++) category_array.push(category[i]);
62	 module_array[2] = new Module(2, category_array);
63	 category_array = null;
64	 category_array = new Array();
65	 iBlocCategory = iCategory;
66
67
68	 // MODULE 4
69	 category[iCategory++] = new Category(1, 'Cervical screening', 0, new Array(new Indicator('M4_Cervical screening_Programme', 'Screening programme', 0, ''),new Indicator('M4_Cervical screening_Overall screening coverage', 'Overall screening coverage', 
690, '')));
70	 category[iCategory++] = new Category(2, 'HPV vaccination', 0, new Array(new Indicator('M4_HPV vaccination_HPV vaccine introduction', 'HPV vaccine introduction', 0, '')));
71	 category[iCategory++] = new Category(3, 'Male circumcision and condom use', 0, new Array(new Indicator('M4_Male circumcision and condom use_Male circumcision', 'Male circumcision', 0, ''),new Indicator('M4_Male circumcision and condom use_Condom use', 'Condom use', 0, '')));
72
73	 for (i = iBlocCategory; i < iCategory; i++) category_array.push(category[i]);
74	 module_array[3] = new Module(3, category_array);
75	 category_array = null;
76	 category_array = new Array();
77	 iBlocCategory = iCategory;
78
79
80	 // MODULE 5
81	 category[iCategory++] = new Category(1, 'Population estimates', 0, new Array(new Indicator('M5_Population estimates_Total population', 'Total population', 0, ''),new Indicator('M5_Population estimates_Population pyramid', 'Population pyramid', 0, '')));
82	
83	 for (i = iBlocCategory; i < iCategory; i++) category_array.push(category[i]);
84	 module_array[4] = new Module(4, category_array);
85	 category_array = null;
86	 category_array = new Array();
87	 iBlocCategory = iCategory;
88
89
90}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.