-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·266 lines (194 loc) · 8.73 KB
/
index.php
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<?php
require_once('settings.php');
$link = mysql_connect($db_server,$db_username,$db_password);
if (! mysql_select_db($db_database)) {
die(mysql_error());
}
?>
<html>
<head>
<style type="text/css" title="currentStyle" media="screen">
@import "official_blue.css";
</style>
<title>Software Quality Assurance</title>
</head>
<body>
<div class="sqamenu"><span class="sqamenusel">Welcome</span> <span class="sqamenu"><a href="checked_out.php">Participate</a></span> <span class="sqamenu"><a href="admin_audits.php">Administrate</a></span></div>
<h1 class="sqa">Software Quality Assurance</h1>
<div class="sqah1"> </div>
<h2 class="sqa">Introduction</h2>
<div class="sqap">
It is important that clinical software is evaluated to ensure both its accuracy and reproducibility. Software audits are used for benchmarking against National standards, internal validation of new software releases and training of operators within a site
</div>
<div class="sqap">
The ANZSNM software quality assurance site allows users to:
<ul>
<li>participate in an existing software audit
<li>setup and administrate their own audit or
<li>test their results against a training dataset
</ul>
</div>
<div class="sqap">
Each audit is identified by its scope, institution and dataset. In some cases the scope may be restricted. For example, to Countries, States, regions, hospitals etc.. You may participate in any audit, regardless of the scope. However, the person running the audit has the authority to either include or exclude your results.
</div>
<h2 class="sqa">
Datasets :
<?php
$query = 'SELECT title, description, info_url FROM module WHERE visible=1';
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
while ($row = mysql_fetch_assoc($result)) {
if ( $row['info_url'] != '') {
echo '<a href="' . $row['info_url'] . '">' . $row['title'] . '</a>';
} else {
echo '' . $row['title'] . '';
}
echo ' | ';
// echo '<td class="list">' . $row['description'] . '</td>';
}
mysql_free_result($result);
?>
</h2>
<div class="sqap">You will need to download one of the datasets before you can participate</div>
<table class="list" width="400">
<tr>
<th class="list">Dataset</th>
<th class="list">Description</th>
</tr>
<?php
$query = 'SELECT title, description, info_url FROM module WHERE visible=1';
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
while ($row = mysql_fetch_assoc($result)) {
echo '<tr>';
if ( $row['info_url'] != '') {
echo '<td class="list"><a href="' . $row['info_url'] . '">' . $row['title'] . '</a></td>';
} else {
echo '<td class="list">' . $row['title'] . '</td>';
}
echo '<td class="list">' . $row['description'] . '</td>';
echo '</tr>';
}
mysql_free_result($result);
?>
</table>
<div style="width: 47%; float: left; padding-right: 1em; border-right: thin solid rgb(200,200,255);">
<h2 class="sqa">Participate</h2>
<div class="sqap">
To participate in an audit/training session, firstly download the required dataset and process it using your clinical workstation software.
Before entering the results online, register with the appropriate audit. You will receive a unique operator code which can be used across multiple audits.
</div>
<div class="sqap">
<dl class="sqap">
<dt class="sqap">Official Audits</dt>
<dd class="sqap">
To participate in an official audit contact the person running the audit and give them your operator code so that your results are validated and included (this can be done before or after data entry).
</dd>
<dt class="sqap">Training</dt>
<dd class="sqap">
For the training datasets, participants are provided with instant reports comparing their data with the results in the (previous audit) database.
</dd>
</div>
</div>
<div style="width: 47%; float: right;">
<h2 class="sqa">Administrate</h2>
<div class="sqap">
You can initiate a new software audit (using the available online datasets) by lodging an online request. You define the scope of the collection and invite people to participate.
<dl class="sqap">
<dt class="sqap">NOTE:</dt>
<dd class="sqap">
<ol>
<li>Avoid requesting new audits which have the same scope as existing audits.
<li>Individual results in audit mode are not publicly available on this site and the dissemination of results remains the responsibility of the administrator of the audit.
</ol>
</dd>
</dl>
</div>
</div>
<br clear="both">
<!--
<h2 class="sqa">Welcome</h2>
<div class="sqap">Welcome to the ANZSNM software quality assurance site. This site allows you to participate in an existing, or administrate a new web based software audits. Each audit requires participants to download a dataset and process it using their workstation software.</div>
<h2 class="sqa">Participate</h2>
<div class="sqap">You participate by registering with a software audit, when you will receive a unique <em>operator code</em>. You can use this code across multiple audits. The audits can be used for (1) official audits or (2) training.
</div>
<dl class="sqap">
<dt class="sqap">Official Audits</dt>
<dd class="sqap">To participate in an official software audit you need to contact the person running the audit and give them your operator code so that your results are validated and included (this can be done before or after data entry).</dd>
<dt class="sqap">Training</dt>
<dd class="sqap">
You can use the training datasets to compare your results to the mean value stored in the database for each patient study (obtained from a previous audit).</dd>
</dl>
<div class="sqap">Each audit is identified by its <em>scope, institution and dataset</em>. In some cases the scope may be restricted to certain countries, regions, states or even individual hospitals. You may participate in any audit, regardless of the scope. However, the person running the audit has the authority to either include or exclude your results.</div>
<h2 class="sqa">Administrate</h2>
<div class="sqap">You can initiate a completely new software audit by lodging a request for a new audit. You will need to choose from a list datasets below.</div>
<table class="list" width="400">
<tr>
<th class="list">Dataset</th>
<th class="list">Description</th>
</tr>
<?php
$query = 'SELECT title, description, info_url FROM module WHERE visible=1';
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
while ($row = mysql_fetch_assoc($result)) {
echo '<tr>';
if ( $row['info_url'] != '') {
echo '<td class="list"><a href="' . $row['info_url'] . '">' . $row['title'] . '</a></td>';
} else {
echo '<td class="list">' . $row['title'] . '</td>';
}
echo '<td class="list">' . $row['description'] . '</td>';
echo '</tr>';
}
mysql_free_result($result);
?>
</table>
<div class="sqap">You can choose the scope of your collection and then invite other people to participate. You may need to demonstrate that you will handle the audit data responsibly.</div>
<div class="sqap">Please avoid requesting new audits which have the same scope as existing audits. Here is a list of existing web based software audits. </div>
<table class="list" width="80%">
<tr>
<th class="list">Scope</th>
<th class="list">Institution</th>
<th class="list">Dataset</th>
<th class="list">Start Date</th>
<th class="list">End Date</th>
</tr>
<?php
$query = 'SELECT collection.collection_id, collection.scope, DATE_FORMAT(collection.start_date,"%e/%c/%Y") AS start_date, DATE_FORMAT(collection.end_date,"%e/%c/%Y") AS end_date, institution.title AS institution, institution.department AS department, module.title AS module FROM collection, institution, module WHERE collection.module_id = module.module_id AND collection.institution_id = institution.institution_id AND collection.visible=1';
$result = mysql_query($query);
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
while ($row = mysql_fetch_assoc($result)) {
echo '<tr>';
echo '<td class="list">' . $row['scope'] . '</td>';
echo '<td class="list">' . $row['institution'] . '</td>';
echo '<td class="list">' . $row['module'] . '</td>';
echo '<td class="list">' . $row['start_date'] . '</td>';
echo '<td class="list">' . $row['end_date'] . '</td>';
echo '</tr>';
}
mysql_free_result($result);
?>
</table>
<div class="sqap">Individual results are not publicly available on this site and the dissemination of results remains the responsibility of the administrator of the audit.</div>
-->
</body>
</html>