-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·218 lines (199 loc) · 14.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/select2.min.css">
<link rel="stylesheet" href="css/colorbrewer.css">
<link rel="stylesheet" href="css/style.css?_=11111">
<title>Check4MMPS</title>
<meta charset="UTF-8">
<meta name="description" content="Test a zip file containing DICOM files for compatibility with the MMPS pipeline.">
<meta name="keywords" content="DICOM, MMPS">
<meta name="author" content="Hauke Bartsch">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<header>
<div class="collapse bg-dark" id="navbarHeader">
<div class="container">
<div class="row">
<div class="col-sm-8 col-md-7 py-4">
<h4 class="text-white">About</h4>
<p class="text-muted">This page accepts zip folders and tests the contained DICOM files for compatibility with MMPS processing. If no errors are found the assessments should all report with a green checkmark. Open the corresponding section to see a detailed list of erroneous entries. Please be aware that MMPS is under continued development, additional tags might be required in the future. Please report such issues to the authors so they can be added to this application.</p>
<p class="text-muted">Multi-Modal Processing Stream (MMPS, (doi)[https://doi.org/10.1016%2Fj.neuroimage.2019.116091]) is a software package developed and maintained in-house at the Center for Multimodal Imaging and Genetics (CMIG) at the University of California, San Diego (UCSD).</p>
<p class="text-muted">General instructions for pseudonymization/anonymization of DICOM data: Use your PACS or a tool like (MIRC Anonymizer)[http://mirc.rsna.org/download/Anonymizer-installer.jar] for data anonymization. Replace both PatientID and PatientName with the study identifier for the participant. Do not remove private tags.</p>
</div>
<div class="col-sm-4 offset-md-1 py-4">
<h4 class="text-white">Contact</h4>
<ul class="list-unstyled">
<li><a href="mailto:[email protected]" class="text-white">Hauke Bartsch</a></li>
<li><a href="mailto:[email protected]" class="text-white">Zhanbolat Satybaldinov</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="navbar navbar-dark bg-dark shadow-sm" id="top-of-page">
<div class="container">
<a href="#" class="navbar-brand d-flex align-items-center">
<strong>Check4MMPS</strong>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
</header>
<div class="container">
<div class="row" style="margin-top: 10px;">
<h5>GEMRIC Validator for MMPS</h5>
<p>This page only accepts zip folders and parses them for DICOM files. It is safe to use this application on sensitive data as no part of your data will leave your machine. The assessments are performed in your web-browser and at your site.</p>
<!-- <input type="file" id="file" name="file" multiple /><br /> -->
<div class="col-lg-6 col-sm-12 col-12">
<div class="input-group">
<label class="input-group-btn">
<span class="btn btn-primary">
Browse File <input type="file" id="file" style="display: none;" multiple>
</span>
</label>
<input type="text" class="form-control" readonly>
<small class="w-100" id="done"></small>
</div>
</div>
<div style="margin-top: 30px;">
<div>
<span id="stat">
Number of files: <span id='loadingCounter'>0</span> (<span id='errorCounter'>0</span> non-DICOM files ignored), Number of series: <span id='number-series'>0</span>
</span>
</div>
</div>
</div>
<div class="row" style="margin-top: 20px;">
<h4>Assessments</h4>
<div id="assessments" class="accordion" style="margin-bottom: 20px;">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
<span id="icon-study-date">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg>
</span>
StudyDate
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>Test if StudyDate is present.</strong> The "StudyDate" DICOM tag (0008,0020) should be present and in the correct format, e.g. 20060306 (sixths of march 2006).
<div class="failed_list"></div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
<span id="icon-unique-identifiers"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg></span>
Unique identifiers
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>Test if Study-, Series- and SOPInstanceUID tags are in each DICOM file.</strong> The three identifiers do not contain any patient relevant information. They are needed to identify images that belong together (images in a volume, series in a study).
<div class="failed_list"></div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
<span id="icon-csa"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg></span>
Private tags (SIEMENS only)
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>Private tags CSAImageHeaderInfo and CSASeriesHeaderInfo.</strong> If SIEMENS is the manufacturer we expect the CSA header entries (private tags) to have a value. MMPS will use the values to decide if gradient distortion corrections need to be performed.<br>
<div class="failed_list"></div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingFour">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
<span id="icon-manufacturer"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg></span>
Manufacturer information
</button>
</h2>
<div id="collapseFour" class="accordion-collapse collapse" aria-labelledby="headingFour" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>Manufacturer information.</strong> MMPS will use the <i>Manufacturer</i> and <i>ManufacturerModelName</i> tags to decide how to read other tags.<br>
<div class="failed_list"></div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingFive">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFive" aria-expanded="false" aria-controls="collapseFive">
<span id="icon-patientid-patientname"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg></span>
PatientID and PatientName
</button>
</h2>
<div id="collapseFive" class="accordion-collapse collapse" aria-labelledby="headingFive" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>PatientID and PatientName.</strong> Both tags should be anonymized but present.<br>
<div class="failed_list"></div>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingSix">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseSix" aria-expanded="false" aria-controls="collapseSix">
<span id="icon-series-description"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="gray" class="bi bi-question" viewBox="0 0 16 16">
<path d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"/>
</svg></span>
SeriesDescription
</button>
</h2>
<div id="collapseSix" class="accordion-collapse collapse" aria-labelledby="headingSix" data-bs-parent="#accordionExample">
<div class="accordion-body">
<strong>SeriesDescription.</strong> Processing with MMPS will fail without a SeriesDescription tag.<br>
<div class="failed_list"></div>
</div>
</div>
</div>
</div>
</div>
<div>List of detected series</div>
<div id="series-results" class="row" style="margin-left: 0px; margin-right: 0px;"></div>
<h5 style="margin-top: 20px;">Details</h5>
<button class="btn btn-primary btn-sm" id="toggle-details" style="margin-bottom: 5px;">Show details</button>
<div id="results" style="display: none;">Load a zip-file first...</div>
<div style="margin-bottom: 20px;"> </div>
</div>
<a id="go-up-arrow" href="#top-of-page" style="position: fixed; bottom: 100px; right: 100px; display: none">
<img src="up-arrow.png" alt="Up arrow">
</a>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.6.1.min.js"></script>
<!-- <script src="js/popper.min.js"></script> -->
<script src="js/bootstrap.min.js"></script>
<script src="js/moment-with-locales.min.js" type="text/javascript"></script>
<script src="js/select2.min.js"></script>
<script src="js/jszip.min.js"></script>
<script src="js/dicomParser.min.js"></script>
<script src="js/all.js?_=sdfsdfg" type="text/javascript"></script>
</body>
</html>