forked from Nova-Scotia-Digital-Service/medfit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
medfit-processing-correspondence-usability.html
1127 lines (995 loc) · 73.1 KB
/
medfit-processing-correspondence-usability.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
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
<!doctype html>
<html lang="en" class="js no-touchevents details no-touchevents details">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Create correspondence - Processing - MedFit - Government of Nova Scotia</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous"><!-- Include in all head tags -->
<link rel="stylesheet" media="all" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"><!-- Include in all head tags -->
<link rel="stylesheet" media="all" href="css/saltire.css"><!-- Include in all head tags -->
<link rel="stylesheet" media="all" href="css/supplimentary-page-styles.css"><!-- Include only if forms are used-->
<link rel="stylesheet" media="all" href="css/phase-banner.css"><!-- Include only if forms are used-->
<link rel="stylesheet" media="all" href="css/global-form-styles.css"><!-- Include only if forms are used-->
<link rel="stylesheet" media="all" href="css/radio-button.css"><!-- Include only if radios are used-->
<link rel="stylesheet" media="all" href="css/checkboxes.css"><!-- Include only if checkboxes are used-->
<link rel="stylesheet" media="all" href="css/input-field-group.css"><!-- Include only if inputs are used-->
<link rel="stylesheet" media="all" href="css/select.css"><!-- Include only if selects are used-->
<link rel="stylesheet" media="all" href="css/buttons.css"><!-- Include only if buttons are used-->
<link rel="stylesheet" media="all" href="css/date-picker.css"><!-- Include this only if needed -->
<link rel="stylesheet" media="all" href="css/data-list.css"><!-- Include this only if needed -->
<link rel="stylesheet" media="all" href="css/service-specific.css"><!-- Include the the end of all stylesheets -->
<link rel="stylesheet" media="all" href="https://beta.novascotia.ca/themes/ignition/css/aria.accordion.css">
<link href="styles/multiselect.css" rel="stylesheet"/>
<script src="multiselect.min.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
</head>
<body id="site" class="Site">
<nav id="navBar-main" title="main navigation" class="medFit-navbar-main navbar navbar-expand-lg navbar-dark">
<nav class="skip-links" aria-label="Skip to main content">
<a href="#mainContent" class="skip-to-link">Skip to main content</a>
</nav>
<!-- start brand -->
<a id="navbarBrand" class="medFit-navbar-brand navbar-brand col-sm-2 mr-0" href="#"><span class="sr-only">MedFit</span><img src="img/medfit-logo.svg" aria-hidden="true" class="pr-2" width="140" height="40" alt="MedFit Logo"></a>
<!-- end brand -->
<!-- start mobile icon -->
<button id="navbarToggler" class="medFit-navbar-toggler navbar-toggler my-2 mx-3 " type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span id="navbarToggler-icon" class="medFit-navbar-toggler-icon navbar-toggler-icon"></span>
</button>
<div id="navbarCollapse" class="medfit-navbar-collapse collapse navbar-collapse px-3" >
<!-- start main navigation -->
<ul id="navbarNav" class="navbar-nav mt-0">
<li class="nav-item medFit-nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarScrollingDropdown" role="button" data-toggle="dropdown" aria-expanded="false">
Assigments
</a>
<ul class="dropdown-menu" aria-labelledby="navbarScrollingDropdown">
<li><a class="dropdown-item" href="#">Intake</a></li>
<li><a class="dropdown-item" href="#">Assigments</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">Search</a></li>
</ul>
</li>
</ul>
<div class="v-line-right mx-2 d-sm-none d-md-none d-md-block"></div>
<ul id="navbarNav-process" class="navbar-nav mr-auto mt-0">
<li id="navbarItem-intake" class="medFit-nav-item nav-item">
<a id="navbarLink-intake" class="nav-link px-3" href="#">Investigate</a>
</li>
<li id="navbarItem-assignments" class="medFit-nav-item nav-item">
<a id="navbarLink-assignments" class="nav-link px-3" href="#">Decision</a>
</li>
<li id="navbarItem-assignments" class="medFit-nav-item nav-item active">
<a id="navbarLink-assignments" class="nav-link px-3" href="#">Processing <span class="sr-only">(current)</span></a>
</li>
</ul>
<!-- end main namvigation-->
<!-- start toolbar nav-->
<ul id="navbarNav-tools" class="navbar-nav-tools navbar-nav ml-auto mt-0">
<!-- start profile nav-item -->
<li class="nav-item dropdown dropdown-profile">
<a class="nav-link" href="#" id="navbarDropdown-profile" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="color:white;">
<i class="far fa-user-circle"><span class="ns-visually-hidden">Profile</span></i>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown-profile">
<a class="dropdown-item" href="#">Logout</a>
</div>
</li>
<!-- end profile nav-item -->
<li class="nav-item dropdown dropdown-profile">
<a class="nav-link" href="#" id="navbarDropdown-feedback" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" style="color:white;">
<i class="fas fa-comments"><span class="ns-visually-hidden">Send feedback</span></i>
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown-profile">
<p class="ns-phase-banner__content mx-2" >
<strong class="ns-tag ns-phase-banner__content__tag">
Alpha
</strong>
<span class="ns-phase-banner__text">
This is a new service that we're still developing. Try the service and <a href="#">send us your comments and suggestions</a>. Your feedback will help make the service easier to use for everyone.
</span>
</p>
</div>
</li>
<!-- end feedback nav-item -->
</ul>
<!-- end toolbar nav-->
</div> <!-- end navbarCollapse -->
</nav>
<!-- start main content -->
<main id="main" class="medFit-main pb-0">
<div id="siteContent" class="medFit-site-copntent container-fluid Site-content">
<div id="mainContent" class="medFit-main-content main-content row">
<!-- start left column -->
<div id="columnScrollleft" class="col-md-2 px-0 column-scroll">
<!-- start left col header -->
<header id="columnHeader-left" class="medfit-column-header d-flex align-items-center px-3">
<a href="medfit-assignment-queue-usability.html" class="ns-back-link pr-2">Back to queue</a>
</header>
<!-- end left col header -->
<div id="stickyWrapper-left" class="medFit-sticky-wrapper sticky-wrapper sticky-wrapper-left">
<div id="columnContent-left" class="medFit-column-content column-content column-content-left">
<!-- start left column content -->
<div class="px-3">
<!-- end priority section -->
<section class="medfit-grey-box__wrapper mt-3">
<header id="driverInfoHeader">
<div class="ns-form-group mb-0">
<h2 id="driverInfoTitle" class="d-inline-block h3 ns-label-wrapper mb-4">
John Q Public
</h2>
<div id="driverInfoTitleEditButtonWrapper" class="d-inline-block driverInfoTitleEditButtonWrapper">
<button id="driverInfoTitleEditButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon">
<i class="fas fa-pen ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Edit notes about the driver</span>
</button> <!-- edit saveButton -->
</div> <!-- end EditButtonWrapper -->
<div id="driverInfoTitleSaveButtonWrapper" class="driverInfoTitleSaveButtonWrapper" style="display:inline-block">
<button id="driverInfoTitleSaveButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon" style="display:none">
<i class="fas fa-save ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Save notes about the driver</span>
</button> <!-- end saveButton -->
<button id="driverInfoTitleCancelButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon text-danger" style="display:none">
<i class="fas fa-window-close ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Cancel edits on notes about the driver</span>
</button> <!-- end cancelButton -->
</div> <!-- end SaveButtonWrapper -->
</div> <!-- form group -->
</header>
<form id="medfitLicenceInfoForm">
<div class="ns-form-group mb-3">
<label class="ns-label" for="masterNumberEdit">
Master Number
</label>
<input class="ns-input fw-20" id="masterNumberEdit" name="master-number" type="text" value="ABCDE 123456 123" style="display:none;">
<span id="masterNumberSaved">PUBLI16121267005</span>
</div>
<div class="ns-form-group mb-2">
<label class="ns-label" for="licenceInformationEdit">
License Information
</label>
<textarea class="ns-input fw-20" id="licenceInformationEdit" name="licence-information" style="display:none;" rows="4" oninput="auto_grow(this)">Class: 5<br>Expiry: 2026<br>Age: 53</textarea>
<span id="licenceInformationSaved">Class: 5<br>Expiry: 2026<br>Age: 53</span>
</div>
</form>
</section>
<!-- end licence info section -->
<section class="medfit-comments__wrapper">
<div class="comment-wrapper">
<div class="panel panel-info">
<div class="panel-body">
<form>
<div class="ns-form-group mb-2">
<h3 class="ns-label-wrapper h4">
<label class="ns-label" for="commentsWrite">
Comments
</label>
</h3>
<button id="commentsEditButton" role="button" draggable="false" class="medFit-btn btn-sm ns-btn-2nd">
<i class="fas fa-comment ns-btn__icon-left mr-2" aria-hidden="true"></i>Add a comment
</button>
<textarea id="commentsWrite" class="ns-input fw-20" placeholder="write a comment..." style="display:none;" oninput="auto_grow(this)"></textarea>
</div>
<button id="commentsPost" type="button" class="btn btn-default" style="display:none;">Post comment</button>
</form>
<hr>
<ul class="media-list">
<li class="media">
<div class="media-body">
<span class="text-muted pull-right">
<small class="text-muted">7 Nov 2021</small>
</span>
<strong class="">@turners</strong>
<p>
Let driver know as soon as this is done.
</p>
</div>
</li>
<li class="media">
<div class="media-body">
<span class="text-muted pull-right">
<small class="text-muted">7 Nov 2021</small>
</span>
<strong class="">@tgallant</strong>
<p>
Driver called and was very concerened, they want to know when they won't be able to driver anymore.
</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- end comments section -->
<section class="medfit-grey-box__wrapper">
<header id="workflowHeader">
<div class="ns-form-group mb-0">
<h2 id="workflowTitle" class="d-inline-block h3 ns-label-wrapper mb-4">
Workflow
</h2>
<div id="workflowTitleEditButtonWrapper" class="d-inline-block workflowTitleEditButtonWrapper">
<button id="workflowTitleEditButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon">
<i class="fas fa-pen ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Edit workflow</span>
</button> <!-- edit saveButton -->
</div> <!-- end EditButtonWrapper -->
<div id="workflowTitleSaveButtonWrapper" class="workflowTitleSaveButtonWrapper" style="display:inline-block">
<button style="display:none" id="workflowTitleSaveButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon">
<i class="fas fa-save ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Save workflow</span>
</button> <!-- end saveButton -->
<button style="display:none" id="workflowTitleCancelButton" role="button" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon text-danger">
<i class="fas fa-window-close ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Cancel edits on workflow</span>
</button> <!-- end cancelButton -->
</div> <!-- end SaveButtonWrapper -->
</div> <!-- form group -->
</header>
<form id="WorkflowForm">
<div class="ns-form-group mb-3">
<label class="ns-label" for="assigneeEditSelect">
Assignee
</label>
<div style="display:none;" id="assigneeEdit" class="select fw-20">
<select id="assigneeEditSelect" name="select1">
<option selected>connorsc</option>
<option>turners</option>
</select>
</div>
<span id="assigneeSaved">connorsc</span>
</div>
<div class="ns-form-group mb-3">
<label class="ns-label" for="stageEditSelect">
Stage
</label>
<div style="display:none;" id="stageEdit" class="select fw-20">
<select id="stageEditSelect" name="select1">
<option>Intake</option>
<option>Investigate</option>
<option>Decision</option>
<option>Wait for currier</option>
<option selected>Processing</option>
<option>Missing information</option>
<option>Failed to comply</option>
<option>MAC Review</option>
<option>Complete</option>
</select>
</div>
<span id="stageSaved">Intake</span>
</div>
<div class="ns-form-group mb-2">
<label class="ns-label" for="priorityEditSelect">
Status
</label>
<div style="display:none;" id="priorityEdit" class="select fw-20">
<select id="priorityEditSelect" name="priority-edit-select">
<option>Priority</option>
<option selected>Regular</option>
</select>
</div>
<span id="prioritySaved">Regular</span>
</div>
</form>
</section>
<!-- end workflow section -->
</div>
<!-- end left column content -->
</div> <!-- columnContent-left -->
</div> <!-- stickyWrapper-left -->
</div> <!-- columnScrollleft -->
<!-- end left column -->
<!-- start main column -->
<div id="columnScrollMain" class="col-md column-scroll px-0">
<!-- start main col header -->
<header id="columnHeader-main" class="medfit-column-header d-flex align-items-center justify-content-between px-3">
<h1 id="h1-intake" class="medfit-ns-h2 ns-h2 h2 h1-intake-queue my-0">Processing</h1>
<button type="button" class="medFit-btn btn-sm btn-default my-0 mr-0">Save and continue</button>
</header>
<!-- end main col header -->
<div id="stickyWrapper-main" class="medFit-sticky-wrapper sticky-wrapper sticky-wrapper-main">
<div id="columnContent-main" class="medFit-column-content column-content column-content-main">
<div class="px-3 mt-3">
<section class="medfit-step-navigation">
<nav class="medfit-step-navigation-nav">
<ol class="step-list medfit-step-navigation-list">
<li class="medfit-step-navigation-list-item">
<h2 id="createCorrespondence" class="h3 medfit-step-navigation-title active">Create correspondence <span class="sr-only">(current)</span></h2>
<form method="get" action="medfit-processing-update-rmv-usability.html">
<fieldset class="ns-fieldset">
<legend class="ns-visually-hidden ns-fieldset__legend noBorder">
<h3 class="ns-fieldset__heading">
Is communication with the driver needed?
</h3>
</legend>
<div class="ns-checkboxes ns-checkboxes--small" data-module="ns-checkboxes">
<div class="ns-checkboxes__item">
<input class="ns-checkboxes__input" id="sendLetter" name="actions" type="checkbox" value="decision" data-aria-controls="decision-options" checked>
<label class="ns-label ns-checkboxes__label h4 noBold" for="decision">
Send the driver a letter
</label>
</div>
</div>
</fieldset>
<div style="display: block;" id="createLetter">
<a id="generateLetterPreviewButton" class="medFit-btn btn-sm ns-btn-2nd mt-0" data-toggle="tab" role="tab" href="#tabPane-preview" type="button" aria-controls="nav-home" aria-selected="true">Generate letter preview</a>
<div id="accordion" class="accordion-wrapper">
<div class="accordion otherways-accordion">
<div class="accordion__heading" id="headingOne">
<button class="accordion__trigger d-inline mr-2 collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Opening paragraph
</button>
<span class="badge badge-pill badge-secondary h6 text-white">Suspend</span>
</div>
<div id="collapseOne" class=" collapse" aria-labelledby="headingOne" data-parent="#accordion">
<div class="ns-form-group">
<label class="ns-label" for="selectParagraph">
Select an opening paragraph for the letter
</label>
<div class="select fw-20">
<select id="selectParagraph" name="selectParagraph">
<option>Follow-up reminder - Normal</option>
<option>Follow-up reminder - Commercial</option>
<option selected>Suspend</option>
<option>Remain suspended</option>
<option>Rescind suspension</option>
<option>Restore license</option>
<option>Upgrade license class</option>
<option>Downgrade license class</option>
<option>School bus drivers over 65</option>
<option>Commercial drivers turning 65</option>
<option>No further action</option>
<option>Pending</option>
</select>
</div>
</div>
<div id="openingParagraphText" class="card mb-4 clickable-text" tabindex="0">
<div class="card-body">
<p>Dear John Q Public,<br>
The Medical Section of our Department has received information from a medical professional which indicates concerns for your ability to safely operate a motor vehicle at this time. We have carefully reviewed the information and it is necessary to suspend your driver's licence due to medical concerns.
</p>
</div>
</div>
<div id="openingParagraphEdit" style="display:none;" class="ns-form-group">
<label class="ns-label sr-only" for="event-name">
Edit opening paragraph text
</label>
<textarea class="ns-input fw-50" name="event-name" type="text" rows="6" oninput="auto_grow(this)">Dear John Q Public,
The Medical Section of our Department has received information from a medical professional which indicates concerns for your ability to safely operate a motor vehicle at this time. We have carefully reviewed the information and it is necessary to suspend your driver's licence due to medical concerns.</textarea>
<section id="openingParagraphDecisionSection" class="row ns-form-group">
<div class="col-auto">
<button id="openingParagraphSave" type="button" class="medFit-btn btn-sm btn-default my-0">Save</button>
</div>
<div class="col-auto">
<button id="openingParagraphCancel" class="medFit-btn btn-sm btn-default my-0" type="button">Cancel</button>
</div>
</section>
</div>
</div>
</div>
<div class="accordion otherways-accordion">
<div class="accordion__heading" id="headingTwo">
<button class="accordion__trigger d-inline mr-2 collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
Body of the letter
</button>
<span class="badge badge-pill badge-secondary h6 text-white">Suspend</span>
</div>
<div id="collapseTwo" class=" collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="ns-form-group fw-20">
<label class="ns-label" for="testSelect1">
Select paragraphs for the letter body
</label>
<div class="select multiselect">
<select id='testSelect1' name="asignee" multiple>
<option>Medical exam needed</option>
<option>Eye exam needed</option>
<option>Re-exam needed</option>
<option>Re-exam possible</option>
<option>Specialists report</option>
<option>Cardio ICD</option>
<option>Sleep Study</option>
<option>CPAP</option>
<option>Rehab</option>
<option>Collision</option>
<option>Add Cond 01</option>
<option>Add Cond 09</option>
<option>Add Cond 29</option>
<option>Add Code W</option>
<option>Remove Cond 01</option>
<option>Remove Cond 09</option>
<option>Remove Code W</option>
<option selected>Suspend</option>
<option>Suspend - Vision</option>
<option>Fail to Supply</option>
<option>Follow-up</option>
<option>No follow-up</option>
<option>Meet standards Class 5</option>
<option>Meet Standards Class 1</option>
<option>Info Rec'd</option>
<option>Do Lessons</option>
<option>Suspended In Error</option>
<option>Downgrade</option>
<option>Downgrade warning</option>
<option>Proceed with Upgrade</option>
<option>Tempaorary driver licence issued</option>
<option>Reprint</option>
<option>Voluntary surender</option>
<option>Extention for demand</option>
<option>Diabetes</option>
</select>
</div>
</div>
<script>
document.multiselect('#testSelect1')
.setCheckBoxClick("checkboxAll", function(target, args) {
console.log("Checkbox 'Select All' was clicked and got value ", args.checked);
})
.setCheckBoxClick("1", function(target, args) {
console.log("Checkbox for item with value '1' was clicked and got value ", args.checked);
});
function enable() {
document.multiselect('#testSelect1').setIsEnabled(true);
}
function disable() {
document.multiselect('#testSelect1').setIsEnabled(false);
}
</script>
<!-- start add letter components -->
<div id="bodyOfLetterText" class="card mb-4 clickable-text" tabindex="0">
<div class="card-body">
<p>Effective as of 9 Nov 2021:</p>
<p><strong>YOUR DRIVER'S LICENCE HAS BEEN SUSPENDED</strong><br>Under Section 278C(1)(b) of the Motor Vehicle Act</p>
<h3>What this means</h3>
<p>Your driver's licence must be returned in the enclosed envelope.</p>
<p>We understand that the suspension may cause serious concerns for you, however, this action has been taken to ensure highway safety.</p>
</div>
</div>
<div id="bodyOfLetterEdit" style="display:none;" class="ns-form-group">
<label class="ns-label sr-only" for="event-name">
Edit opening paragraph text
</label>
<textarea class="ns-input fw-50" name="event-name" type="text" rows="9" oninput="auto_grow(this)">Effective as of 9 Nov 2021:
YOUR DRIVER'S LICENCE HAS BEEN SUSPENDED
Under Section 278C(1)(b) of the Motor Vehicle Act
What this means
Your driver's licence must be returned in the enclosed envelope.
We understand that the suspension may cause serious concerns for you, however, this action has been taken to ensure highway safety.</textarea>
<section id="bodyOfLetterDecisionSection" class="row ns-form-group">
<div class="col-auto">
<button id="bodyOfLetterSave" type="button" class="medFit-btn btn-sm btn-default my-0">Save</button>
</div>
<div class="col-auto">
<button id="bodyOfLetterCancel" class="medFit-btn btn-sm btn-default my-0" type="button">Cancel</button>
</div>
</section>
</div>
<!-- end letter components -->
</div>
</div>
<div class="accordion otherways-accordion">
<div class="accordion__heading" id="headingThree">
<button class="accordion__trigger d-inline mr-2 collapsed" type="button" data-toggle="collapse" data-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
Closing paragraph
</button>
<span class="badge badge-pill badge-secondary h6 text-white">Pending medical</span>
<span class="badge badge-pill badge-secondary h6 text-white">Possible re-exam</span>
</div>
<div id="collapseThree" class=" collapse" aria-labelledby="headingThree" data-parent="#accordion">
<!-- Start letter closer -->
<div class="ns-form-group">
<label class="ns-label" for="select1">
Select a closing paragraph for the letter
</label>
<div class="select fw-20">
<select id="select1" name="select1">
<option selected>Pending medical</option>
<option>Remain suspended</option>
<option>Rescind suspension</option>
<option>Restore license</option>
<option>Upgrade license class</option>
<option>Downgrade license class</option>
<option>Pending</option>
</select>
</div>
</div>
<div id="closingParagraphText" class="card mb-4 clickable-text" tabindex="0">
<div class="card-body">
<h3>What's next?</h3>
<p>You may contact your doctor to have up-to-date medical information provided to us in support of your medical fitness to drive.</p>
<p>Upon receipt of new medical information:<br>
• your case will be reviewed and a decision will be made<br>
• you may also be required to participate in a driver’s re-examination
</p>
<p>If an expert medical recommendation is required your case will be forwarded to the Medical Advisory Committee. The Committee meets monthly, generally on the third Wednesday.</span></p>
</div>
</div>
<div id="closingParagraphEdit" style="display:none;" class="ns-form-group">
<label class="ns-label sr-only" for="event-name">
Edit opening paragraph text
</label>
<textarea class="ns-input fw-50" name="event-name" type="text" rows="13" oninput="auto_grow(this)">What's next?
You may contact your doctor to have up-to-date medical information provided to us in support of your medical fitness to drive.
Upon receipt of new medical information:
• your case will be reviewed and a decision will be made
• you may also be required to participate in a driver’s re-examination
If an expert medical recommendation is required, your case will be forwarded to the Medical Advisory Committee. The Committee meets monthly, generally on the third Wednesday.
If you have questions or concerns, please do not hesitate to contact one of our Medical Representatives in the Medical Section at (902) 424-5732.</textarea>
<section id="closingParagraphDecisionSection" class="row ns-form-group">
<div class="col-auto">
<button id="closingParagraphSave" type="button" class="medFit-btn btn-sm btn-default my-0">Save</button>
</div>
<div class="col-auto">
<button id="closingParagraphCancel" class="medFit-btn btn-sm btn-default my-0" type="button">Cancel</button>
</div>
</section>
</div>
<!-- end letter cloer -->
</div>
</div>
<div class="accordion otherways-accordion">
<div class="accordion__heading" id="headingFour">
<h3 class="my-0 d-inline">
<button class="accordion__trigger d-inline mr-2 collapsed" type="button" data-toggle="collapse" data-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
Signature
</button>
</h3>
<span class="badge badge-pill badge-secondary h6 text-white">Deputy Registrar</span>
</div>
<div id="collapseFour" class=" collapse" aria-labelledby="headingFour" data-parent="#accordion">
<!-- Start dignature -->
<fieldset class="ns-fieldset">
<legend class="ns-fieldset__legend label noBorder">
<h3 class="ns-fieldset__heading ">
Select the signature to be added to the letter
</h3>
</legend>
<div class="ns-radios ns-radios--small">
<div class="ns-radios__item inline">
<input class="ns-radios__input" id="inline-radios" name="inline-radios" type="radio" value="inline radio 1" checked="">
<label class="ns-label ns-radios__label" for="inline-radios">
<span class="ns-label-span">Deputy Registrar</span>
</label>
</div>
<div class="ns-radios__item inline">
<input class="ns-radios__input" id="inline-radios-2" name="inline-radios" type="radio" value="inline radio 2">
<label class="ns-label ns-radios__label" for="inline-radios-2">
<span class="ns-label-span">Medical Fitness</span>
</label>
</div>
</div>
</fieldset>
<div id="signatureText" class="card mb-4 clickable-text" tabindex="0">
<div class="card-body">
<p>Yours Truly,<br>
Stepanie Turner<br>
Deputy Registrar of Motor Vehicles
</p>
</div>
</div>
<div id="signatureEdit" style="display:none;" class="ns-form-group">
<label class="ns-label sr-only" for="event-name">
Edit opening paragraph text
</label>
<textarea class="ns-input fw-50" name="event-name" type="text" rows="4" oninput="auto_grow(this)">Yours Truly,
Stepanie Turner
Deputy Registrar of Motor Vehicles</textarea>
<section id="signatureDecisionSection" class="row ns-form-group">
<div class="col-auto">
<button id="signatureSave" type="button" class="medFit-btn btn-sm btn-default my-0">Save</button>
</div>
<div class="col-auto">
<button id="signatureCancel" class="medFit-btn btn-sm btn-default my-0" type="button">Cancel</button>
</div>
</section>
</div>
<!-- end signature -->
</div>
</div>
</div> <!-- end conditional checkbox for send the driver a letter -->
</div>
<section id="decisionSection" class="row ns-form-group">
<div class="col-auto">
<button type="submit" value="submit" id="submitButton" onclick="submit(this,options=[moreInfoNeeded,enoughInfo])" class="medFit-btn btn-sm btn-default my-0">Save and continue</button>
</div>
</section>
</form>
</li>
<li class="medfit-step-list-step">
<h2 id="updatesToRmv" class="h3 medfit-step-navigation-title">Updates to <abbr title="Registry of Motor Vehicles">RMV</abbr></h2>
</li>
<li class="medfit-step-list-step">
<h2 id="completeAndPrint" class="h3 medfit-step-navigation-title">Complete processing and Print</h2>
</li>
</ol>
</nav>
</section>
</div>
</div> <!-- columnContent-main -->
</div> <!-- stickyWrapper-main -->
</div> <!-- columnScrollMain -->
<!-- end main column -->
<!-- start right column -->
<div id="columnCollapse-right" class="col-md px-0 column-scroll column-collapse column-collapse-right">
<!-- start Document header -->
<header id="columnHeader-Document" class="medfit-column-header d-flex align-items-stretch px-3">
<!-- start Document nav -->
<a id="previewPaneBack1" style="display:none;" data-toggle="tab" class="ns-back-link pr-2" role="tab" href="#tabPane-driver" aria-controls="tabPane-driver" aria-selected="false">Back</a>
<a id="previewPaneBack2" style="display:none;" data-toggle="tab" class="ns-back-link pr-2" role="tab" href="#tabPane-driver" aria-controls="tabPane-driver" aria-selected="false" >Back</a>
<nav id="navbar-Document" aria-label="Intake details" class="navbar navbar-light pb-0 navbar-Document align-self-end">
<ul id="columnHeader-navTabs" class="medFit-column-header-nav-tabs nav nav-tabs column-header-nav-tabs mt-0">
<li id="navItem-details" class="medFit-nav-item nav-item nav-item-details">
<a id="nav-link-decision" data-toggle="tab" class="medFit-nav-link nav-link nav-link-details active" href="#tabPane-decision">Decision</a>
</li>
<li id="navItem-Letter" class="medFit-nav-item nav-item nav-item-Document">
<a id="nav-link-letter" data-toggle="tab" class="medFit-nav-link nav-link nav-link-Document" href="#tabPane-preview">Letter Preview</a>
</li>
<li id="navItem-driver" class="medFit-nav-item nav-item nav-item-details">
<a id="nav-link-driver" data-toggle="tab" class="medFit-nav-link nav-link nav-link-details" href="#tabPane-driver"><span class="ns-visually-hidden">Information about the</span> Driver</a>
</li>
<li id="navItem-Document" style="display:none;" class="medFit-nav-item nav-item nav-item-Document">
<a id="nav-link-Document" data-toggle="tab" class="medFit-nav-link nav-link nav-link-Document active" role="tab" href="#tabPane-attachements" aria-controls="tabPane-attachements" aria-selected="false"> <span class="ns-visually-hidden">Preivew the </span>Document</a>
</li>
<li id="navItem-decision" style="display:none;" class="medFit-nav-item nav-item nav-item-details">
<a id="nav-link-decision" data-toggle="tab" class="medFit-nav-link nav-link nav-link-details active" role="tab" href="#tabPane-decision" aria-controls="tabPane-decisio" aria-selected="false">Decision</a>
</li>
</ul>
</nav>
<!-- end Document nav -->
</header>
<!-- end Document header -->
<div id="stickyWrapper-right" class="medFit-sticky-wrapper sticky-wrapper sticky-wrapper-right">
<div id="columnContent-right" class="medFit-column-content column-content column-content-right">
<!-- start all tabs content -->
<div id="tabContent-Document" class="medFit-tab-content tab-content tab-content-Document">
<!-- start preview tab content -->
<div id="tabPane-preview" class="medFit-tab-pane tab-pane tab-pane-attachements fade in">
<section class="row mx-0">
<!-- start preview -->
<article class="col-sm-12 px-3" id="examplePreview">
<h2 id="PreviewnTitle" class="h3">Preview</h2>
<div class="mt-3">
<div class="card">
<div class="card-body">
<header class="d-flex align-items-end">
<img alt="Province of Nova Scotia" style="width:150px;" class="d-inline-block mr-3 mb-1" src="img/NS-Gov-Logo-2016-English-Black-crop.jpg">
<div>
<h1 class="h4 my-1">Transportation and Infrastructure Renewal</h1>
<h2 class="h5 my-0">Motor Vehicle Administration</h2>
</div>
</header>
<hr>
<div class="d-flex">
<div id="address" class="mr-auto">
<strong>Driver Licensing Section</strong><br>
PO Box 1652<br>
Halifax, Nova Scotia B3J 2Z3<br>
Canada
</div>
<div id="contact" class="ml-auto text-right">
Phone (902) 424-5732<br>
Fax (902) 424-0772<br>
</div>
</div>
<p class="mt-4"><strong>CONFIDENTIAL</strong></p>
<p>9 November 2021</p>
<p>Driver License - PUBLI16121267005</p>
<p>Dear John Q Public,<br>
The Medical Section of our Department has received information from a medical professional which indicates concerns for your ability to safely operate a motor vehicle at this time. We have carefully reviewed the information and it is necessary to suspend your driver's licence due to medical concerns.
</p>
<p>Effective as of 9 November 2021:</p>
<p><strong>YOUR DRIVER'S LICENCE HAS BEEN SUSPENDED</strong><br>Under Section 278C(1)(b) of the Motor Vehicle Act</p>
<h3>What this means</h3>
<p>Your driver's licence must be returned in the enclosed envelope.</p>
<p>We understand that the suspension may cause serious concerns for you, however, this action has been taken to ensure highway safety.</p>
<h3>What's next?</h3>
<p>You may contact your doctor to have up-to-date medical information provided to us in support of your medical fitness to drive.</p>
<p>Upon receipt of new medical information:
<ul>
<li>your case will be reviewed and a decision will be made</li>
<li>you may also be required to participate in a driver’s re-examination</li>
</ul>
</p>
<p>If an expert medical recommendation is required, your case will be forwarded to the Medical Advisory Committee. The Committee meets monthly, generally on the third Wednesday.</p>
<p>Yours Truly,<br>
Stephanie Turner<br>
Deputy Registrar of Motor Vevhiles
</p>
</div>
</div>
</div>
</article>
<!-- end preview -->
</section>
</div>
<!-- end preview tab content -->
<!-- start decision tab content -->
<div id="tabPane-decision" class="medFit-tab-pane tab-pane tab-pane-attachements fade in active show">
<section class="row mx-0">
<!-- start decision -->
<article class="col-sm-12 px-3" id="exampleDecision">
<h2 id="decisionTitle" class="h3">Decision</h2>
<div class="mt-3">
<!-- start suspention section -->
<section id="stageAndStateSection">
<h3 class="h4">Suspentions</h3>
<dl class="ns-summary-list">
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__key">
Suspend
</dt>
<dd class="ns-summary-list__value">
<span>278C(1)(b)</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__key">
Pending
</dt>
<dd class="ns-summary-list__value">
<span>Pending medical & Possible re-exam</span>
</dd>
</div>
<!-- end row -->
</dl>
</section>
<!-- end suspention section -->
</div>
</article>
<!-- end decision -->
</section>
</div>
<!-- end decision tab content -->
<!-- start driver info tab -->
<div id="tabPane-driver" aria-labelledby="navItem-driver" role="tabpanel" class="medFit-tab-pane tab-pane-driver tab-pane fade">
<article class="col-sm px-3">
<section id="driverDetails">
<header id="driverDetailsHeader" >
<h2 id="documentDetailsTitleJohnBlake" class="h3">John Q Public</h2>
</header> <!-- end contactAddressHeader -->
<h3 id="driverDetailsTitleNotesOnDriver" class="h4 d-inline-block mt-3">Notes on driver</h3>
<button id="driverDetailsNotesOnDriverEditButton" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon">
<i class="fas fa-pen ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Edit Notes on driver</span>
</button> <!-- edit saveButton -->
<div id="notesOnDriverSaveButtonWrapper" style="display:inline-block">
<button id="notesOnDriverSaveButton" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon" style="display:none">
<i class="fas fa-save ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Save notes on license</span>
</button> <!-- end saveButton -->
<button id="notesOnDriverCancelButton" draggable="false" class="btn-lg ns-btn-2nd medfit-btn-inline-icon text-danger" style="display:none">
<i class="fas fa-window-close ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Cancel edits on notes on license</span>
</button> <!-- end cancelButton -->
</div> <!-- end SaveButtonWrapper -->
<div class="ns-summary-list">
<!-- start row -->
<div id="notesOnDriverRow" class="ns-summary-list__row">
<div class="ns-summary-list__value">
<span id="notesOnDriverText">Not previously reviewed by medical</span>
<textarea area-labelledby="driverDetailsTitleNotesOnDriver" id="notesOnDriverTextarea" name="name" class="ns-input" style="display:none;" oninput="auto_grow(this)" placeholder="Any notes that have been previously recorded will appear here. They will need to be validated against what's in RMV">Not previously reviewed by medical</textarea>
</div>
</div>
<!-- end row -->
</div>
<section id="documents">
<h2 id="documentsTitle" class="d-inline-block h3">Documents</h2>
<dl id="dLDocumtents" class="ns-summary-list table">
<div class="ns-summary-list__row">
<dt scope="row" class="ns-summary-list__value py-0">
Unsolisited doctors letter
</dt>
<dd class="ns-summary-list__value py-0">
Recieved: 1 Nov 2021
</dd>
<dd id="dLDocumtents1" class="ns-summary-list__actions py-0">
<a role="tab" draggable="false" class="btn-lg ns-btn-2nd d-inline-block medfit-btn-inline-icon ns-link-button" data-toggle="tab" href="#tabPane-attachements">
<i class="fas fa-eye ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Preview Unsolisited doctors letter</span>
</a>
</dd>
</div>
</dl>
</section>
<section id="decisions">
<h2 id="decisionsTitle" class="d-inline-block h3">Decisions</h2>
<dl id="dLDecisions" class="ns-summary-list table">
<div class="ns-summary-list__row">
<dt scope="row" class="ns-summary-list__value py-0">
Suspention
</dt>
<dd class="ns-summary-list__value py-0">
Decided: 7 Nov 2021
</dd>
<dd id="dLDecisions1" class="ns-summary-list__actions py-0">
<a id="previewDecision1" data-toggle="tab" href="#tabPane-decision" role="tab" draggable="false" class="btn-lg ns-btn-2nd d-inline-block medfit-btn-inline-icon ns-link-button ">
<i class="fas fa-eye ns-btn__icon-left" aria-hidden="true"></i><span class="ns-visually-hidden">Preview decision</span>
</a>
</dd>
</div>
</dl>
</section>
<!-- start recent activity section -->
<section id="recentActrivitySection">
<h2 class="d-inline-block h3">Recent activity</h2>
<div class="table-wrapper">
<dl class="ns-summary-list">
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Processing: Ready to be processed
</dt>
<dd class="ns-summary-list__value">
Asignee: unassigned
</dd>
<dd class="ns-summary-list__actions">
<span>7 Nov 2021</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Deputy Sign-off
</dt>
<dd class="ns-summary-list__value">
Asignee: sturner
</dd>
<dd class="ns-summary-list__actions">
<span>7 Nov 2021</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Decicion: In-progress
</dt>
<dd class="ns-summary-list__value">
Asignee: tgallant
</dd>
<dd class="ns-summary-list__actions">
<span>6 Nov 2021</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Decicion: Ready for decision
</dt>
<dd class="ns-summary-list__value">
Asignee: tgallant
</dd>
<dd class="ns-summary-list__actions">
<span>6 Nov 2021</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Investigation: In-progress
</dt>
<dd class="ns-summary-list__value">
Asignee: tgallant
</dd>
<dd class="ns-summary-list__actions">
<span>6 Nov 2021</span>
</dd>
</div>
<!-- end row -->
<!-- start row -->
<div class="ns-summary-list__row">
<dt class="ns-summary-list__value">
Investigation: Ready for investigation
</dt>
<dd class="ns-summary-list__value">
Asignee: unassigned
</dd>
<dd class="ns-summary-list__actions">
<span>6 Nov 2021</span>
</dd>