-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreferrals.html
419 lines (376 loc) · 14.1 KB
/
referrals.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
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
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--
The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags
-->
<title>Referrals</title>
<meta name="author" content="David Caphane" />
<meta name="description" content="Referral Analysis" />
<!-- Place "favicon.ico" in the root directory -->
<!-- link rel="icon" href="../../favicon.ico" -->
<!--
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" integrity="sha256-HxaKz5E/eBbvhGMNwhWRPrAR9i/lG1JeT4mD6hCQ7s4="crossorigin="anonymous" />
-->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap-reboot.min.css"
integrity="sha256-pTFzHsh1e+rz97pjNUpygMbwPzZM3iI3jPd9k4PBTko="
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,900"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/0e64dfdf0b.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="css/layout.css" />
<link
rel="stylesheet"
type="text/css"
href="css/components/navbar_main.css"
/>
<link
rel="stylesheet"
type="text/css"
href="css/components/navbar_side.css"
/>
<link rel="stylesheet" type="text/css" href="css/components/loader.css" />
<link rel="stylesheet" type="text/css" href="css/components/toTop.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/dc/3.2.1/dc.min.css"
/>
<link rel="stylesheet" type="text/css" href="css/ecds.css" />
<!-- D3 latest release available here: src="https://d3js.org/d3.v5.min.js" -->
<script defer src="https://d3js.org/d3.v5.min.js"></script>
<!-- src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.14.2/d3.min.js" -->
<!-- Crossfilter -->
<script
defer
src="https://cdnjs.cloudflare.com/ajax/libs/crossfilter2/1.5.2/crossfilter.min.js"
></script>
<!-- dc.js -->
<script
defer
src="https://cdnjs.cloudflare.com/ajax/libs/dc/3.2.1/dc.min.js"
></script>
<script defer src="scripts/generic.js"></script>
<script defer src="scripts/dc/cht_defaults.js"></script>
<script defer src="scripts/referrals/referrals_ref_data.js"></script>
<script defer src="scripts/referrals/referrals_charts.js"></script>
<!-- Page Structure (Layout) -->
<script>
const pageName = "Referrals"; // This is the 'key' name in the function createSiteStructure (see navmain.js)
const elemActive = `nav ${pageName}`.split(" ").join("-");
</script>
<script defer src="scripts/components/navmain.js"></script>
<script defer src="scripts/components/navside.js"></script>
<script defer src="scripts/components/toTop.js"></script>
<style></style>
</head>
<body>
<div class="wrapper">
<section id="hero">
<a href="/" class="logo"> <h1>Referrals Demo</h1> </a>
</section>
<div class="wrapper-nav">
<nav id="nav-main">
<!-- nav bar main imported from components.js -->
</nav>
</div>
<nav id="article-left"></nav>
<article id="article-right">
<div class="column">
<section id="sec-intro" class="section anchor">
<h2>Introduction</h2>
<p>
Ut consequat commodo qui veniam id pariatur do consequat ullamco
in do pariatur cupidatat anim. Dolore et occaecat cillum ipsum
proident laborum incididunt consequat sit laboris ipsum. Id magna
reprehenderit sit aute laborum ullamco occaecat aute id proident
minim.
</p>
<p id="counter">
<!-- This is used to display total and filtered record count -->
Charts loading...
</p>
<div id="gppractice-drop">
<a
class="reset"
href="javascript:dropGPPractice.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<br />
</section>
<section id="sec-time" class="section anchor">
<h2>Time</h2>
<div id="bl-sectime" class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
<div id="sectime" class="tiles dcCharts">
<div class="tile wide content">
<h3>Monthly Series</h3>
<div id="period-trend-chart">
<span class="reset" style="visibility: hidden">
Current filter:
<span class="filter"></span>
</span>
<a
class="reset"
href="javascript:seriesPeriod.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile wide content">
<h3>Weekly Series</h3>
<div id="daily-trend-chart">
<span class="reset" style="visibility: hidden">
Current filter:
<span class="filter"></span>
</span>
<a
class="reset"
href="javascript:seriesDaily.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">
Based on referral made date, week commencing.
</footer>
</div>
</div>
</section>
<section id="sec-other" class="section anchor">
<h2>Other</h2>
<div id="bl-secother" class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
<div id="secother" class="tiles dcCharts">
<div class="tile content">
<h3>Speciality</h3>
<div id="speciality-chart">
<a
class="reset"
href="javascript:chtSpeciality.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile wide content">
<h3>Cancer Flag</h3>
<div id="cancer-chart">
<a
class="reset"
href="javascript:chtCancer.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Urgency</h3>
<div id="urgency-chart">
<a
class="reset"
href="javascript:chtUrgency.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Referral Source</h3>
<div id="refSource-chart">
<a
class="reset"
href="javascript:chtRefSource.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
</div>
</section>
<section id="sec-patient" class="section anchor">
<h2>Patient Demographic</h2>
<div id="bl-secpatient" class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
<div id="secpatient" class="tiles dcCharts">
<div class="tile wide content">
<h3>Map Testing</h3>
<div id="map-lsoa">
<a
class="reset"
href="javascript:mapLSOA.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Some descriptive text here.</footer>
</div>
<div class="tile wide content">
<h3>GP Practice</h3>
<div id="cht_PracticeBubble">
<a
class="reset"
href="javascript:chtGPPractice.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Filter: EDFD</h3>
<div id="EDFD-cbox">
<a
class="reset"
href="javascript:cBoxEDFD.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
</div>
</section>
<section id="sec-discharge" class="section anchor">
<h2>Discharge</h2>
<div id="bl-secdisch" class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
<div id="secdisch" class="tiles dcCharts">
<div class="tile content">
<h3>Destination</h3>
<div id="dischDest-chart">
<a
class="reset"
href="javascript:chtDischDest.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Status</h3>
<div id="dischStatus-chart">
<a
class="reset"
href="javascript:chtDischStatus.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile content">
<h3>Follow Up</h3>
<div id="dischFUP-chart">
<a
class="reset"
href="javascript:chtDischFUP.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
<div class="tile wide content">
<h3>Duration</h3>
<div id="duration-chart">
<span class="reset" style="visibility: hidden">
Current filter:
<span class="filter"></span>
</span>
<a
class="reset"
href="javascript:chtDuration.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Add Description Here</footer>
</div>
</div>
</section>
<section id="sec-test" class="section anchor">
<h2>Experimental</h2>
<div id="bl-sectest" class="bouncing-loader">
<div></div>
<div></div>
<div></div>
</div>
<div id="sectest" class="tiles dcCharts">
<div class="tile wide content">
<h3>Simple Map</h3>
<div id="map-simple">
<span class="reset" style="visibility: hidden"> </span>
<a
class="reset"
href="javascript:simpleMap.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Some descriptive text here.</footer>
</div>
<div class="tile wide content">
<h3>BoxPlot Testing</h3>
<div id="box-test">
<span class="reset" style="visibility: hidden">
Current filter:
<span class="filter"></span>
</span>
<a
class="reset"
href="javascript:boxPlotDuration.filterAll();dc.redrawAll();"
style="visibility: hidden"
>reset</a
>
</div>
<footer class="cta">Some descriptive text here.</footer>
</div>
</div>
</section>
</div>
<div class="footer"></div>
<!-- Test internal footer -->
</article>
<footer id="footer">
Built using <a href="https://dc-js.github.io/dc.js/">dc.js</a>,
<a href="https://github.com/crossfilter/crossfilter/wiki"
>crossfilter</a
>
and <a href="https://d3js.org/">d3.js</a>.
</footer>
</div>
</body>
</html>