-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
235 lines (211 loc) · 14 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<title>Prototype</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/css/bootstrap-datepicker.min.css" />
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.16/js/dataTables.bootstrap.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.flash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.36/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.5.2/js/buttons.print.min.js"></script>
<script type='text/javascript' src='apikeys.js'></script>
<script src="scripts.js"></script>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {
scrollFunction()
};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("myBtn").style.display = "block";
} else {
document.getElementById("myBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0; // For Safari
document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera
}
</script>
<link rel="stylesheet" href="style.css">
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="50">
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Prototype</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul id="result-nav" class="nav navbar-nav">
<li id="show-term-maps-btn"><a href="#section1">MeSH - ICD10 Mappings</a></li>
<li class="dropdown" id="show-pmid-per-inst"><a class="dropdown-toggle" data-toggle="dropdown" href="#">PMIDs per Institution <span class="caret"></span></a></a>
<ul class="dropdown-menu" id="dd-pmids">
</ul>
</li>
<li id="show-pub-scores"><a href="#section3">Publication Scores</a></li>
<li id="show-alldata"><a href="#section4">Complete Data</a></li>
<li><a href="#">Section 4</a></li>
</ul>
</div>
</div>
</nav>
<div class="file-uploader" style="margin-top:50px">
<h1>Upload mesh-icd10 mapping file</h1>
<p>Please, upload the file that contains the MeSH - ICD10 mappings. </p>
<input type="file" id="file" name="file" check />
<output id="list"></output>
</div>
<div class="container-fluid prototype-ui" style="margin-top:50px">
<div class="row content">
<div class="col-sm-3 sidenav" id="side">
<div class="panel panel-primary" id="panel-main">
<div class="panel-heading" id="panel-title">Search Options</div>
<div class="panel-body">
<form action="">
<div class="form-group">
<h2>Hospital Institutions</h2>
<label>Choose Institutions:</label>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='((((amc[Affiliation] AND amsterdam[ad] and nl[Affiliation]) OR (("academic medical center"[Affiliation] OR "academic medical centre"[Affiliation] OR "academical medical center"[Affiliation] OR "academical medical centre"[Affiliation] OR "academisch medisch centrum"[Affiliation] OR "amc"[Affiliation] OR meibergdreef_9[affiliation] OR 1105AZ[Affiliation] OR 1105_AZ[Affiliation]) AND "amsterdam"[Affiliation]))))'>Academic Medical Center (AMC)</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='("Antonius"[ad] and nieuwegein[ad])'>Antonius Nieuwegein</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='(((Erasmus_Medical_Center[ad]) OR Sophia_Childrens_Hosp[ad]) OR Erasmus_Univ[ad] OR Thoraxcenter[ad] OR 3000_CA[ad] OR 3015_CN[ad] OR Daniel_Den_Hoed[ad] OR 3075_EA[ad] OR 3015_CE[ad] or 3015_CA[ad] or Wytemaweg_80[ad] or Groene_Hilledijk_301[ad] or ’s-Gravendijkwal_230[ad] AND (rotterdam[ad] or Netherlands[ad]) OR Erasmus_mc[ad] or ErasmusMC[ad])'>Erasmus Medical Center</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='((neuro_imaging_cent*[ad] OR beatrix[ad] OR cognitive_neuroscience[ad] OR medical_cent*[ad] OR univ_hosp_groningen[ad] OR 9713_AV[ad] or A._deusinglaan_1[ad] or ant._deusinglaan_1[ad] OR groningen_univ[ad] or groningen_state_univ[ad] or R.U.G[ad] or rug[ad] or university_groningen[ad] or university_of_groningen[ad] OR UMCG[ad]) AND groningen[ad])'>Groningen</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='((((((Leiden_Univ_Med*[ad]) OR (leiden[ad]) AND Albinusdreef_2[ad])) OR (LUMC[ad]) NOT (loyola[ad] OR Chicago[ad] OR maywood[ad]))) OR ((leiden[ad]) AND (university_medical_cent*[ad] or academic_hospital[ad] or mc[ad])) OR ((leiden[ad]) AND 2333_ZA[ad]))'>Leiden</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='(((FHML[ad] OR Faculty_of_Health_Medicine*[ad] OR AZM[ad] OR Academisch_Ziekenhuis_Maastricht[ad] OR Acad_Hosp_Maastricht[ad] OR MUMC[ad] OR MUMC+[ad] OR Maastricht_UMC[ad] OR P._Debyelaan_25[ad] OR 6229_HX[ad] OR Maastricht_University_Medical_Centre[ad]) OR (Maastricht_Univ[ad] AND Medical[ad]) OR (Fac_Med_Maastricht[ad] or Maastricht_Univ_FHML[ad] or Univ_Hosp_Maastricht[ad] or Med_Ctr_Maastricht[ad] or Med_Centrum_Maastricht[ad]) OR (CAPHRI[ad] or Care_and_Public_Health_Research_Institute[ad] or MHeNs_Maastricht[ad] or School_for_Mental_Health_and_Neuroscience[ad] or GROW[ad] or School_for_Oncology_and_Developmental_Biology[ad] or CARIM[ad]) OR (School_for_Cardiovascular_Diseases[ad] or SHE[ad] or School_of_Health_Professions_Education[ad] or NUTRIM[ad] or School_of_Nutrition_and_Translational_Research_in_Metabolism[ad] or M4I[ad] or Maastricht_MultiModal_Molecular_Imaging_Institute[ad] or MERLN[ad] or Institute_for_Technology-Inspired_Regenerative_Medicine[ad]) OR (Adelante[ad] or Ciro_Horn[ad] or Maastro[ad] or Mondriaan[ad] or Kempenhaeghe[ad])) AND (maastricht[ad] or Netherlands[ad]))'>Maastricht UMC</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='(Nijmegen_University_Hospital[ad] OR Nijmegen_University_Medical[ad] OR Radboud_Hospital[ad] OR Radboud_Medical_Center[ad] OR Radboud_Medical_Centre[ad] OR Radboud_University_Medical_Center[ad] OR Radboud_University_Medical_Centre[ad] OR Radboud_UMC[ad] OR Radboud_University_Hospital[ad] OR Radboudumc[ad] OR StRadboud[ad] OR St-Radboud[ad] OR UMC_Nijmegen[ad] OR UMCN[ad] OR University_Hospital_Nijmegen[ad] OR University_Medical_Center_Nijmegen[ad] OR University_Medical_Centre_Nijmegen[ad])'>Radboud University Nijmegen</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='(university_medical_center_utrecht[ad] or university_medical_centre_utrecht[ad] or umc_utrecht[ad] or academisch_ziekenhuis_utrecht[ad] or academic_medical_centre_utrecht[ad] or academic_medical_center_utrecht[ad] or julius_center[ad] or julius_centre[ad] or medical_center_utrecht[ad] or medical_centre_utrecht[ad] OR UMCUtrecht[ad] OR Rudolf_Magnus_Institute[ad] OR Wilhelmina_Childr*[ad] OR Heidelberglaan_100[ad] or 3584_CX[ad])'>Utrecht Medical Center</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='institution' value='(((VUMC[ad] or VUmc_Med*[ad] or VU_Med_C*[ad] or De_Boelelaan_11*[ad] or 1081_HZ[ad] OR Vrije_uni*[ad] or Free_univ*[ad]) and (amsterdam[ad] or Netherlands[ad])) OR (amsterdam_umc[ad] or vrije_universiteit_amsterdam[ad]))'>Vrije Universiteit MC</label>
</div>
</div>
<div class="form-group">
<h2>MESH Categories</h2>
<label>Filter by MESH categories:</label>
<div class="checkbox">
<label><input type="checkbox" name='meshcat' value='"Diseases Category"[Mesh]' checked>Diseases</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='meshcat' value='"Health Care Category"[Mesh]' checked>Health Care</label>
</div>
<div class="checkbox">
<label><input type="checkbox" name='meshcat' value='"Psychiatry and Psychology Category"[Mesh]' checked>Psychiatry and Psychology</label>
</div>
</div>
<div class="form-group">
<h2>Publication Date Range</h2>
<label>Choose a date-range, or specify a specific date in start date:</label>
<div class="input-group input-daterange" data-provide="datepicker">
<span class="input-group-addon">From</span>
<input type="text" name="start" class="form-control" value="" placeholder="yyyy/mm/dd">
<span class="input-group-addon">to</span>
<input type="text" name="finish" class="form-control" value="" placeholder="yyyy/mm/dd">
</div>
</div>
<!-- <div class="form-group">
<div class="checkbox">
<label><input type="checkbox" name='first-author' value="">Filter by first author</label>
</div>
</div> -->
<button type='submit' class="btn btn-primary btn-block" id="submit-button">Submit</button>
</form>
</div>
</div>
</div>
<div class="col-sm-9">
<div class="row" id="progr">
<h4><small>PROGRESS</small></h4>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width:0%">
0%
</div>
</div>
</div>
<div class="row" id="msgbox">
<label class="switch"><input type="checkbox" id="togBtn"><div class="slider round"><!--ADDED HTML --><span class="on">ON</span><span class="off">OFF</span><!--END--></div></label>
<span id='label-msg'>Show progress messages</span>
</div>
<div class="row" id="progr-msg">
<ul class="list-group" id="msg-log">
</ul>
</div>
<hr>
<div id="section1" class="container-fluid">
<h1>Current MeSH and ICD10 Mappings</h1>
<p>The following table shows the mappings retrieved by various methods:</p>
<table id="table-maps" class="table table-striped table-responsive table-bordered" style="width:100%">
<thead class="thead-dark">
<tr>
<th>MeSH Code</th>
<th>MeSH Name</th>
<th>ICD10 Code</th>
<th>ICD10 Name</th>
</tr>
</thead>
<tbody id="table-maps-body">
</tbody>
</table>
</div>
<hr>
<div id="section2" class="container-fluid">
<h1>PMIDs per Institution</h1>
</div>
<div id="section3" class="container-fluid">
<h1>Publication Scores</h1>
</div>
<div id="section4" class="container-fluid">
<h1>Complete data</h1>
</div>
<div id="section41" class="container-fluid">
<h1>Section 4 Submenu 1</h1>
<p>Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!</p>
<p>Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!</p>
</div>
<div id="section42" class="container-fluid">
<h1>Section 4 Submenu 2</h1>
<p>Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!</p>
<p>Try to scroll this section and look at the navigation bar while scrolling! Try to scroll this section and look at the navigation bar while scrolling!</p>
</div>
</div>
</div>
<button onclick="topFunction()" id="myBtn" title="Go to top">Top</button>
</div>
<footer class="container-fluid prototype-ui">
<p>Footer Text</p>
</footer>
</body>
</html>