blis-cloud-cli 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- blis_cli/__init__.py +0 -0
- blis_cli/blis.py +67 -0
- blis_cli/commands/__init__.py +0 -0
- blis_cli/commands/docker.py +139 -0
- blis_cli/commands/domain.py +144 -0
- blis_cli/commands/install.py +92 -0
- blis_cli/commands/logs.py +73 -0
- blis_cli/commands/start.py +13 -0
- blis_cli/commands/status.py +78 -0
- blis_cli/commands/stop.py +18 -0
- blis_cli/commands/swap.py +50 -0
- blis_cli/commands/update.py +37 -0
- blis_cli/extra/docker-compose.yml +57 -0
- blis_cli/extra/dump-blis_12-202202091919.sql +1539 -0
- blis_cli/extra/dump-blis_127-202202091919.sql +1604 -0
- blis_cli/extra/dump-blis_revamp-20220704.sql +1644 -0
- blis_cli/extra/templates/Caddyfile.j2 +22 -0
- blis_cli/util/__init__.py +1 -0
- blis_cli/util/bash.py +25 -0
- blis_cli/util/caddy.py +63 -0
- blis_cli/util/config.py +159 -0
- blis_cli/util/docker_util.py +118 -0
- blis_cli/util/environment.py +35 -0
- blis_cli/util/packages.py +26 -0
- blis_cloud_cli-0.1.1.dist-info/LICENSE +21 -0
- blis_cloud_cli-0.1.1.dist-info/METADATA +31 -0
- blis_cloud_cli-0.1.1.dist-info/RECORD +29 -0
- blis_cloud_cli-0.1.1.dist-info/WHEEL +4 -0
- blis_cloud_cli-0.1.1.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,1539 @@
|
|
|
1
|
+
-- MySQL dump 10.13 Distrib 5.5.62, for Win64 (AMD64)
|
|
2
|
+
--
|
|
3
|
+
-- Host: 127.0.0.1 Database: blis_12
|
|
4
|
+
-- ------------------------------------------------------
|
|
5
|
+
-- Server version 5.0.41-community-nt
|
|
6
|
+
|
|
7
|
+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
8
|
+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
9
|
+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
10
|
+
/*!40101 SET NAMES utf8 */;
|
|
11
|
+
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
12
|
+
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
13
|
+
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
14
|
+
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
15
|
+
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
16
|
+
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
17
|
+
|
|
18
|
+
--
|
|
19
|
+
-- Not dumping tablespaces as no INFORMATION_SCHEMA.FILES table on this server
|
|
20
|
+
--
|
|
21
|
+
|
|
22
|
+
CREATE DATABASE IF NOT EXISTS blis_12;
|
|
23
|
+
USE blis_12;
|
|
24
|
+
|
|
25
|
+
--
|
|
26
|
+
-- Table structure for table `bills`
|
|
27
|
+
--
|
|
28
|
+
|
|
29
|
+
DROP TABLE IF EXISTS `bills`;
|
|
30
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
31
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
32
|
+
CREATE TABLE `bills` (
|
|
33
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
34
|
+
`patient_id` int(11) unsigned NOT NULL,
|
|
35
|
+
`paid_in_full` bit(1) NOT NULL default '\0',
|
|
36
|
+
PRIMARY KEY (`id`),
|
|
37
|
+
UNIQUE KEY `id_UNIQUE` (`id`)
|
|
38
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
39
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
40
|
+
|
|
41
|
+
--
|
|
42
|
+
-- Dumping data for table `bills`
|
|
43
|
+
--
|
|
44
|
+
|
|
45
|
+
LOCK TABLES `bills` WRITE;
|
|
46
|
+
/*!40000 ALTER TABLE `bills` DISABLE KEYS */;
|
|
47
|
+
/*!40000 ALTER TABLE `bills` ENABLE KEYS */;
|
|
48
|
+
UNLOCK TABLES;
|
|
49
|
+
|
|
50
|
+
--
|
|
51
|
+
-- Table structure for table `bills_test_association`
|
|
52
|
+
--
|
|
53
|
+
|
|
54
|
+
DROP TABLE IF EXISTS `bills_test_association`;
|
|
55
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
56
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
57
|
+
CREATE TABLE `bills_test_association` (
|
|
58
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
59
|
+
`bill_id` int(11) unsigned NOT NULL,
|
|
60
|
+
`test_id` int(11) unsigned NOT NULL,
|
|
61
|
+
`discount_type` int(4) unsigned NOT NULL default '1000',
|
|
62
|
+
`discount_amount` decimal(10,2) unsigned NOT NULL default '0.00',
|
|
63
|
+
PRIMARY KEY (`id`),
|
|
64
|
+
UNIQUE KEY `id_UNIQUE` (`id`)
|
|
65
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
66
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
67
|
+
|
|
68
|
+
--
|
|
69
|
+
-- Dumping data for table `bills_test_association`
|
|
70
|
+
--
|
|
71
|
+
|
|
72
|
+
LOCK TABLES `bills_test_association` WRITE;
|
|
73
|
+
/*!40000 ALTER TABLE `bills_test_association` DISABLE KEYS */;
|
|
74
|
+
/*!40000 ALTER TABLE `bills_test_association` ENABLE KEYS */;
|
|
75
|
+
UNLOCK TABLES;
|
|
76
|
+
|
|
77
|
+
--
|
|
78
|
+
-- Table structure for table `comment`
|
|
79
|
+
--
|
|
80
|
+
|
|
81
|
+
DROP TABLE IF EXISTS `comment`;
|
|
82
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
83
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
84
|
+
CREATE TABLE `comment` (
|
|
85
|
+
`id` int(10) unsigned NOT NULL auto_increment,
|
|
86
|
+
`username` varchar(45) NOT NULL default '',
|
|
87
|
+
`page` varchar(45) NOT NULL default '',
|
|
88
|
+
`comment` varchar(150) NOT NULL default '',
|
|
89
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
90
|
+
PRIMARY KEY (`id`)
|
|
91
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
92
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
93
|
+
|
|
94
|
+
--
|
|
95
|
+
-- Dumping data for table `comment`
|
|
96
|
+
--
|
|
97
|
+
|
|
98
|
+
LOCK TABLES `comment` WRITE;
|
|
99
|
+
/*!40000 ALTER TABLE `comment` DISABLE KEYS */;
|
|
100
|
+
/*!40000 ALTER TABLE `comment` ENABLE KEYS */;
|
|
101
|
+
UNLOCK TABLES;
|
|
102
|
+
|
|
103
|
+
--
|
|
104
|
+
-- Table structure for table `currency_conversion`
|
|
105
|
+
--
|
|
106
|
+
|
|
107
|
+
DROP TABLE IF EXISTS `currency_conversion`;
|
|
108
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
109
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
110
|
+
CREATE TABLE `currency_conversion` (
|
|
111
|
+
`currencya` varchar(200) NOT NULL,
|
|
112
|
+
`currencyb` varchar(200) NOT NULL,
|
|
113
|
+
`exchangerate` float(5,2) default NULL,
|
|
114
|
+
`updatedts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
115
|
+
`flag1` int(11) default NULL,
|
|
116
|
+
`flag2` int(11) default NULL,
|
|
117
|
+
`setting1` varchar(200) default NULL,
|
|
118
|
+
`setting2` varchar(200) default NULL,
|
|
119
|
+
PRIMARY KEY (`currencya`,`currencyb`)
|
|
120
|
+
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
|
121
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
122
|
+
|
|
123
|
+
--
|
|
124
|
+
-- Dumping data for table `currency_conversion`
|
|
125
|
+
--
|
|
126
|
+
|
|
127
|
+
LOCK TABLES `currency_conversion` WRITE;
|
|
128
|
+
/*!40000 ALTER TABLE `currency_conversion` DISABLE KEYS */;
|
|
129
|
+
INSERT INTO `currency_conversion` VALUES ('F.CFA','F.CFA',1.00,'2021-08-09 09:53:41',1,NULL,NULL,NULL);
|
|
130
|
+
/*!40000 ALTER TABLE `currency_conversion` ENABLE KEYS */;
|
|
131
|
+
UNLOCK TABLES;
|
|
132
|
+
|
|
133
|
+
--
|
|
134
|
+
-- Table structure for table `custom_field_type`
|
|
135
|
+
--
|
|
136
|
+
|
|
137
|
+
DROP TABLE IF EXISTS `custom_field_type`;
|
|
138
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
139
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
140
|
+
CREATE TABLE `custom_field_type` (
|
|
141
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
142
|
+
`field_type` varchar(45) default NULL,
|
|
143
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
144
|
+
PRIMARY KEY (`id`)
|
|
145
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
146
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
147
|
+
|
|
148
|
+
--
|
|
149
|
+
-- Dumping data for table `custom_field_type`
|
|
150
|
+
--
|
|
151
|
+
|
|
152
|
+
LOCK TABLES `custom_field_type` WRITE;
|
|
153
|
+
/*!40000 ALTER TABLE `custom_field_type` DISABLE KEYS */;
|
|
154
|
+
/*!40000 ALTER TABLE `custom_field_type` ENABLE KEYS */;
|
|
155
|
+
UNLOCK TABLES;
|
|
156
|
+
|
|
157
|
+
--
|
|
158
|
+
-- Table structure for table `delay_measures`
|
|
159
|
+
--
|
|
160
|
+
|
|
161
|
+
DROP TABLE IF EXISTS `delay_measures`;
|
|
162
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
163
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
164
|
+
CREATE TABLE `delay_measures` (
|
|
165
|
+
`User_Id` varchar(50) NOT NULL default '',
|
|
166
|
+
`IP_Address` varchar(16) NOT NULL default '',
|
|
167
|
+
`Latency` int(11) NOT NULL default '0',
|
|
168
|
+
`Recorded_At` datetime NOT NULL default '0000-00-00 00:00:00',
|
|
169
|
+
`Page_Name` varchar(45) default NULL,
|
|
170
|
+
`Request_URI` varchar(100) default NULL
|
|
171
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
172
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
173
|
+
|
|
174
|
+
--
|
|
175
|
+
-- Dumping data for table `delay_measures`
|
|
176
|
+
--
|
|
177
|
+
|
|
178
|
+
LOCK TABLES `delay_measures` WRITE;
|
|
179
|
+
/*!40000 ALTER TABLE `delay_measures` DISABLE KEYS */;
|
|
180
|
+
/*!40000 ALTER TABLE `delay_measures` ENABLE KEYS */;
|
|
181
|
+
UNLOCK TABLES;
|
|
182
|
+
|
|
183
|
+
--
|
|
184
|
+
-- Table structure for table `field_order`
|
|
185
|
+
--
|
|
186
|
+
|
|
187
|
+
DROP TABLE IF EXISTS `field_order`;
|
|
188
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
189
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
190
|
+
CREATE TABLE `field_order` (
|
|
191
|
+
`id` int(11) NOT NULL auto_increment,
|
|
192
|
+
`lab_config_id` int(11) unsigned default NULL,
|
|
193
|
+
`form_id` int(11) default NULL,
|
|
194
|
+
`field_order` varchar(2000) default NULL,
|
|
195
|
+
PRIMARY KEY (`id`)
|
|
196
|
+
) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=latin1;
|
|
197
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
198
|
+
|
|
199
|
+
--
|
|
200
|
+
-- Dumping data for table `field_order`
|
|
201
|
+
--
|
|
202
|
+
|
|
203
|
+
LOCK TABLES `field_order` WRITE;
|
|
204
|
+
/*!40000 ALTER TABLE `field_order` DISABLE KEYS */;
|
|
205
|
+
INSERT INTO `field_order` VALUES (61,12,1,'Patient ID,Patient Addl ID,Daily Number,Patient Name,Sex,Age,Date of Birth,Enceinte,Si oui, numbre de semaines d amenorrhee,Allaitante,Si oui, depuis combien de semaines,Date diagnostic VIH,Date initiation TARV,Ligne de traitement,Region'),(62,12,2,'Specimen ID,Lab Reciept Date,Referred Out,Physician,Date d envoi a Pette,Conformite de l echantillon,Nom et contact du preleveur,Echantillon,Date prelevement,Protocol ARV,Motif Examen');
|
|
206
|
+
/*!40000 ALTER TABLE `field_order` ENABLE KEYS */;
|
|
207
|
+
UNLOCK TABLES;
|
|
208
|
+
|
|
209
|
+
--
|
|
210
|
+
-- Table structure for table `inv_reagent`
|
|
211
|
+
--
|
|
212
|
+
|
|
213
|
+
DROP TABLE IF EXISTS `inv_reagent`;
|
|
214
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
215
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
216
|
+
CREATE TABLE `inv_reagent` (
|
|
217
|
+
`id` int(11) NOT NULL auto_increment,
|
|
218
|
+
`name` varchar(100) collate latin1_general_ci NOT NULL,
|
|
219
|
+
`unit` varchar(45) collate latin1_general_ci NOT NULL default 'units',
|
|
220
|
+
`remarks` varchar(245) collate latin1_general_ci default NULL,
|
|
221
|
+
`created_by` varchar(10) collate latin1_general_ci NOT NULL default '0',
|
|
222
|
+
`assocation` varchar(10) collate latin1_general_ci default '0',
|
|
223
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
224
|
+
PRIMARY KEY (`id`)
|
|
225
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
226
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
227
|
+
|
|
228
|
+
--
|
|
229
|
+
-- Dumping data for table `inv_reagent`
|
|
230
|
+
--
|
|
231
|
+
|
|
232
|
+
LOCK TABLES `inv_reagent` WRITE;
|
|
233
|
+
/*!40000 ALTER TABLE `inv_reagent` DISABLE KEYS */;
|
|
234
|
+
/*!40000 ALTER TABLE `inv_reagent` ENABLE KEYS */;
|
|
235
|
+
UNLOCK TABLES;
|
|
236
|
+
|
|
237
|
+
--
|
|
238
|
+
-- Table structure for table `inv_supply`
|
|
239
|
+
--
|
|
240
|
+
|
|
241
|
+
DROP TABLE IF EXISTS `inv_supply`;
|
|
242
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
243
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
244
|
+
CREATE TABLE `inv_supply` (
|
|
245
|
+
`id` int(11) NOT NULL auto_increment,
|
|
246
|
+
`reagent_id` int(11) NOT NULL,
|
|
247
|
+
`lot` varchar(100) collate latin1_general_ci NOT NULL,
|
|
248
|
+
`expiry_date` date default NULL,
|
|
249
|
+
`manufacturer` varchar(100) collate latin1_general_ci default NULL,
|
|
250
|
+
`supplier` varchar(100) collate latin1_general_ci default NULL,
|
|
251
|
+
`quantity_ordered` int(11) NOT NULL default '0',
|
|
252
|
+
`quantity_supplied` int(11) NOT NULL default '0',
|
|
253
|
+
`cost_per_unit` decimal(10,0) default NULL,
|
|
254
|
+
`user_id` int(11) NOT NULL default '0',
|
|
255
|
+
`date_of_order` date default NULL,
|
|
256
|
+
`date_of_supply` date default NULL,
|
|
257
|
+
`date_of_reception` date default NULL,
|
|
258
|
+
`remarks` varchar(250) collate latin1_general_ci default NULL,
|
|
259
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
260
|
+
PRIMARY KEY (`id`),
|
|
261
|
+
KEY `reagent_id` (`reagent_id`),
|
|
262
|
+
CONSTRAINT `reagent_id` FOREIGN KEY (`reagent_id`) REFERENCES `inv_reagent` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
263
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
264
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
265
|
+
|
|
266
|
+
--
|
|
267
|
+
-- Dumping data for table `inv_supply`
|
|
268
|
+
--
|
|
269
|
+
|
|
270
|
+
LOCK TABLES `inv_supply` WRITE;
|
|
271
|
+
/*!40000 ALTER TABLE `inv_supply` DISABLE KEYS */;
|
|
272
|
+
/*!40000 ALTER TABLE `inv_supply` ENABLE KEYS */;
|
|
273
|
+
UNLOCK TABLES;
|
|
274
|
+
|
|
275
|
+
--
|
|
276
|
+
-- Table structure for table `inv_usage`
|
|
277
|
+
--
|
|
278
|
+
|
|
279
|
+
DROP TABLE IF EXISTS `inv_usage`;
|
|
280
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
281
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
282
|
+
CREATE TABLE `inv_usage` (
|
|
283
|
+
`id` int(11) NOT NULL auto_increment,
|
|
284
|
+
`reagent_id` int(11) NOT NULL,
|
|
285
|
+
`lot` varchar(100) collate latin1_general_ci NOT NULL,
|
|
286
|
+
`quantity_used` int(11) NOT NULL default '0',
|
|
287
|
+
`date_of_use` date NOT NULL,
|
|
288
|
+
`user_id` int(11) NOT NULL,
|
|
289
|
+
`remarks` varchar(250) collate latin1_general_ci default NULL,
|
|
290
|
+
`ts` timestamp NULL default CURRENT_TIMESTAMP,
|
|
291
|
+
PRIMARY KEY (`id`),
|
|
292
|
+
KEY `reagent_id` (`reagent_id`),
|
|
293
|
+
KEY `reagent_id2` (`reagent_id`),
|
|
294
|
+
CONSTRAINT `reagent_id2` FOREIGN KEY (`reagent_id`) REFERENCES `inv_reagent` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION
|
|
295
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
296
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
297
|
+
|
|
298
|
+
--
|
|
299
|
+
-- Dumping data for table `inv_usage`
|
|
300
|
+
--
|
|
301
|
+
|
|
302
|
+
LOCK TABLES `inv_usage` WRITE;
|
|
303
|
+
/*!40000 ALTER TABLE `inv_usage` DISABLE KEYS */;
|
|
304
|
+
/*!40000 ALTER TABLE `inv_usage` ENABLE KEYS */;
|
|
305
|
+
UNLOCK TABLES;
|
|
306
|
+
|
|
307
|
+
--
|
|
308
|
+
-- Table structure for table `lab_config`
|
|
309
|
+
--
|
|
310
|
+
|
|
311
|
+
DROP TABLE IF EXISTS `lab_config`;
|
|
312
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
313
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
314
|
+
CREATE TABLE `lab_config` (
|
|
315
|
+
`lab_config_id` int(10) unsigned NOT NULL auto_increment,
|
|
316
|
+
`name` char(45) NOT NULL default '',
|
|
317
|
+
`location` char(45) NOT NULL default '',
|
|
318
|
+
`admin_user_id` int(10) unsigned NOT NULL default '0',
|
|
319
|
+
`db_name` char(45) NOT NULL default '',
|
|
320
|
+
`id_mode` int(10) unsigned NOT NULL default '2',
|
|
321
|
+
`p_addl` int(10) unsigned NOT NULL default '0',
|
|
322
|
+
`s_addl` int(10) unsigned NOT NULL default '0',
|
|
323
|
+
`daily_num` int(10) unsigned NOT NULL default '1',
|
|
324
|
+
`pid` int(10) unsigned NOT NULL default '2',
|
|
325
|
+
`pname` int(10) unsigned NOT NULL default '1',
|
|
326
|
+
`sex` int(10) unsigned NOT NULL default '2',
|
|
327
|
+
`age` int(10) unsigned NOT NULL default '1',
|
|
328
|
+
`dob` int(10) unsigned NOT NULL default '1',
|
|
329
|
+
`sid` int(10) unsigned NOT NULL default '2',
|
|
330
|
+
`refout` int(10) unsigned NOT NULL default '1',
|
|
331
|
+
`rdate` int(10) unsigned NOT NULL default '2',
|
|
332
|
+
`comm` int(10) unsigned NOT NULL default '1',
|
|
333
|
+
`dformat` varchar(45) NOT NULL default 'd-m-Y',
|
|
334
|
+
`dnum_reset` int(10) unsigned NOT NULL default '1',
|
|
335
|
+
`doctor` int(10) unsigned NOT NULL default '1',
|
|
336
|
+
PRIMARY KEY (`lab_config_id`)
|
|
337
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
|
|
338
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
339
|
+
|
|
340
|
+
--
|
|
341
|
+
-- Dumping data for table `lab_config`
|
|
342
|
+
--
|
|
343
|
+
|
|
344
|
+
LOCK TABLES `lab_config` WRITE;
|
|
345
|
+
/*!40000 ALTER TABLE `lab_config` DISABLE KEYS */;
|
|
346
|
+
/*!40000 ALTER TABLE `lab_config` ENABLE KEYS */;
|
|
347
|
+
UNLOCK TABLES;
|
|
348
|
+
|
|
349
|
+
--
|
|
350
|
+
-- Table structure for table `lab_config_access`
|
|
351
|
+
--
|
|
352
|
+
|
|
353
|
+
DROP TABLE IF EXISTS `lab_config_access`;
|
|
354
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
355
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
356
|
+
CREATE TABLE `lab_config_access` (
|
|
357
|
+
`user_id` int(10) unsigned NOT NULL default '0',
|
|
358
|
+
`lab_config_id` int(10) unsigned NOT NULL default '0',
|
|
359
|
+
PRIMARY KEY (`user_id`,`lab_config_id`),
|
|
360
|
+
KEY `lab_config_id` (`lab_config_id`)
|
|
361
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
362
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
363
|
+
|
|
364
|
+
--
|
|
365
|
+
-- Dumping data for table `lab_config_access`
|
|
366
|
+
--
|
|
367
|
+
|
|
368
|
+
LOCK TABLES `lab_config_access` WRITE;
|
|
369
|
+
/*!40000 ALTER TABLE `lab_config_access` DISABLE KEYS */;
|
|
370
|
+
/*!40000 ALTER TABLE `lab_config_access` ENABLE KEYS */;
|
|
371
|
+
UNLOCK TABLES;
|
|
372
|
+
|
|
373
|
+
--
|
|
374
|
+
-- Table structure for table `lab_config_settings`
|
|
375
|
+
--
|
|
376
|
+
|
|
377
|
+
DROP TABLE IF EXISTS `lab_config_settings`;
|
|
378
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
379
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
380
|
+
CREATE TABLE `lab_config_settings` (
|
|
381
|
+
`id` int(11) NOT NULL,
|
|
382
|
+
`flag1` int(11) default NULL,
|
|
383
|
+
`flag2` int(11) default NULL,
|
|
384
|
+
`flag3` int(11) default NULL,
|
|
385
|
+
`flag4` int(11) default NULL,
|
|
386
|
+
`setting1` varchar(200) collate latin1_general_ci default NULL,
|
|
387
|
+
`setting2` varchar(200) collate latin1_general_ci default NULL,
|
|
388
|
+
`setting3` varchar(200) collate latin1_general_ci default NULL,
|
|
389
|
+
`setting4` varchar(200) collate latin1_general_ci default NULL,
|
|
390
|
+
`misc` varchar(500) collate latin1_general_ci default NULL,
|
|
391
|
+
`remarks` varchar(500) collate latin1_general_ci default NULL,
|
|
392
|
+
`ts` timestamp NULL default CURRENT_TIMESTAMP,
|
|
393
|
+
PRIMARY KEY (`id`)
|
|
394
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
395
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
396
|
+
|
|
397
|
+
--
|
|
398
|
+
-- Dumping data for table `lab_config_settings`
|
|
399
|
+
--
|
|
400
|
+
|
|
401
|
+
LOCK TABLES `lab_config_settings` WRITE;
|
|
402
|
+
/*!40000 ALTER TABLE `lab_config_settings` DISABLE KEYS */;
|
|
403
|
+
INSERT INTO `lab_config_settings` VALUES (1,1,2,30,11,'code39',NULL,NULL,NULL,NULL,'Barcode Settings','2021-08-09 05:27:22'),(2,20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Search Settings','2021-08-09 05:27:22'),(3,1,NULL,NULL,NULL,'F.CFA','.',NULL,NULL,NULL,'Billing Settings','2021-08-09 05:27:22');
|
|
404
|
+
/*!40000 ALTER TABLE `lab_config_settings` ENABLE KEYS */;
|
|
405
|
+
UNLOCK TABLES;
|
|
406
|
+
|
|
407
|
+
--
|
|
408
|
+
-- Table structure for table `lab_config_specimen_type`
|
|
409
|
+
--
|
|
410
|
+
|
|
411
|
+
DROP TABLE IF EXISTS `lab_config_specimen_type`;
|
|
412
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
413
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
414
|
+
CREATE TABLE `lab_config_specimen_type` (
|
|
415
|
+
`lab_config_id` int(10) unsigned NOT NULL default '0',
|
|
416
|
+
`specimen_type_id` int(10) unsigned NOT NULL default '0',
|
|
417
|
+
KEY `lab_config_id` (`lab_config_id`),
|
|
418
|
+
KEY `specimen_type_id` (`specimen_type_id`)
|
|
419
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
420
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
421
|
+
|
|
422
|
+
--
|
|
423
|
+
-- Dumping data for table `lab_config_specimen_type`
|
|
424
|
+
--
|
|
425
|
+
|
|
426
|
+
LOCK TABLES `lab_config_specimen_type` WRITE;
|
|
427
|
+
/*!40000 ALTER TABLE `lab_config_specimen_type` DISABLE KEYS */;
|
|
428
|
+
INSERT INTO `lab_config_specimen_type` VALUES (12,1),(12,3),(12,2),(12,4),(12,7),(12,8),(12,10),(12,9),(12,6),(12,11),(12,5),(12,13);
|
|
429
|
+
/*!40000 ALTER TABLE `lab_config_specimen_type` ENABLE KEYS */;
|
|
430
|
+
UNLOCK TABLES;
|
|
431
|
+
|
|
432
|
+
--
|
|
433
|
+
-- Table structure for table `lab_config_test_type`
|
|
434
|
+
--
|
|
435
|
+
|
|
436
|
+
DROP TABLE IF EXISTS `lab_config_test_type`;
|
|
437
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
438
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
439
|
+
CREATE TABLE `lab_config_test_type` (
|
|
440
|
+
`lab_config_id` int(10) unsigned NOT NULL default '0',
|
|
441
|
+
`test_type_id` int(10) unsigned NOT NULL default '0',
|
|
442
|
+
KEY `lab_config_id` (`lab_config_id`),
|
|
443
|
+
KEY `test_type_id` (`test_type_id`)
|
|
444
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
445
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
446
|
+
|
|
447
|
+
--
|
|
448
|
+
-- Dumping data for table `lab_config_test_type`
|
|
449
|
+
--
|
|
450
|
+
|
|
451
|
+
LOCK TABLES `lab_config_test_type` WRITE;
|
|
452
|
+
/*!40000 ALTER TABLE `lab_config_test_type` DISABLE KEYS */;
|
|
453
|
+
INSERT INTO `lab_config_test_type` VALUES (12,1),(12,2),(12,3),(12,4),(12,5),(12,6),(12,7),(12,8),(12,9),(12,10),(12,11),(12,12),(12,13),(12,14),(12,15),(12,16),(12,17),(12,18),(12,19),(12,20),(12,21),(12,22),(12,23),(12,24),(12,25),(12,26),(12,27),(12,28),(12,29),(12,30),(12,31),(12,32),(12,33),(12,34),(12,35),(12,36),(12,37),(12,38),(12,39),(12,40),(12,41),(12,42),(12,43),(12,44),(12,45),(12,46);
|
|
454
|
+
/*!40000 ALTER TABLE `lab_config_test_type` ENABLE KEYS */;
|
|
455
|
+
UNLOCK TABLES;
|
|
456
|
+
|
|
457
|
+
--
|
|
458
|
+
-- Table structure for table `labtitle_custom_field`
|
|
459
|
+
--
|
|
460
|
+
|
|
461
|
+
DROP TABLE IF EXISTS `labtitle_custom_field`;
|
|
462
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
463
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
464
|
+
CREATE TABLE `labtitle_custom_field` (
|
|
465
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
466
|
+
`field_name` varchar(45) NOT NULL,
|
|
467
|
+
`field_options` varchar(200) NOT NULL,
|
|
468
|
+
`field_type_id` int(11) unsigned NOT NULL default '0',
|
|
469
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
470
|
+
PRIMARY KEY (`id`),
|
|
471
|
+
KEY `field_type_id` (`field_type_id`)
|
|
472
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
473
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
474
|
+
|
|
475
|
+
--
|
|
476
|
+
-- Dumping data for table `labtitle_custom_field`
|
|
477
|
+
--
|
|
478
|
+
|
|
479
|
+
LOCK TABLES `labtitle_custom_field` WRITE;
|
|
480
|
+
/*!40000 ALTER TABLE `labtitle_custom_field` DISABLE KEYS */;
|
|
481
|
+
/*!40000 ALTER TABLE `labtitle_custom_field` ENABLE KEYS */;
|
|
482
|
+
UNLOCK TABLES;
|
|
483
|
+
|
|
484
|
+
--
|
|
485
|
+
-- Table structure for table `measure`
|
|
486
|
+
--
|
|
487
|
+
|
|
488
|
+
DROP TABLE IF EXISTS `measure`;
|
|
489
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
490
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
491
|
+
CREATE TABLE `measure` (
|
|
492
|
+
`measure_id` int(11) unsigned NOT NULL auto_increment,
|
|
493
|
+
`name` varchar(45) NOT NULL default '',
|
|
494
|
+
`unit_id` int(10) unsigned default NULL,
|
|
495
|
+
`range` varchar(500) default NULL,
|
|
496
|
+
`description` varchar(500) default NULL,
|
|
497
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
498
|
+
`unit` varchar(30) default NULL,
|
|
499
|
+
PRIMARY KEY (`measure_id`),
|
|
500
|
+
KEY `unit_id` (`unit_id`)
|
|
501
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
502
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
503
|
+
|
|
504
|
+
--
|
|
505
|
+
-- Dumping data for table `measure`
|
|
506
|
+
--
|
|
507
|
+
|
|
508
|
+
LOCK TABLES `measure` WRITE;
|
|
509
|
+
/*!40000 ALTER TABLE `measure` DISABLE KEYS */;
|
|
510
|
+
INSERT INTO `measure` VALUES (1,'Charge Virale',NULL,':',NULL,'2021-08-09 08:26:21','copies/ml'),(2,'Ac. urique',NULL,':',NULL,'2021-08-09 09:50:41','mg/dl'),(3,'AgHBs',NULL,'Negatif/Positif',NULL,'2021-08-09 09:56:18','Negatif'),(4,'Amylase',NULL,':',NULL,'2021-08-09 09:57:46','mg/dl'),(5,'bK Controle',NULL,'Negatif/Rares/1+/2+/3+/4+',NULL,'2021-08-09 10:05:23',''),(6,'bK Nouveau',NULL,'Negatif/Rares/1+/2+/3+/4+',NULL,'2021-08-09 10:06:55',''),(7,'CD4',NULL,':',NULL,'2021-08-09 10:08:57','Cellules/mm3'),(8,'Chlamydia',NULL,'Negatif/Positif',NULL,'2021-08-09 10:11:34',''),(9,'Creatinine',NULL,':',NULL,'2021-08-09 10:13:12','mg/dl'),(10,'Cross Match',NULL,'Negatif/Positif',NULL,'2021-08-09 10:16:12',''),(11,'HCG',NULL,'Negatif/Positif',NULL,'2021-08-09 10:19:15',''),(12,'ECG',NULL,'$freetext$$',NULL,'2021-08-09 10:21:22',''),(13,'Fluoresceine',NULL,'$freetext$$',NULL,'2021-08-09 10:24:29',''),(14,'Fond de l oeil',NULL,'$freetext$$',NULL,'2021-08-09 10:26:04',''),(15,'Gamma GT',NULL,'$freetext$$',NULL,'2021-08-09 10:27:16','mg/dl'),(16,'Glycemie',NULL,':',NULL,'2021-08-09 10:30:06','mg/dl'),(17,'GPT',NULL,':',NULL,'2021-08-09 10:31:36','UI/L'),(18,'GS/Rh',NULL,'A/AB/B/O',NULL,'2021-08-09 10:36:08',''),(19,'$sub*18/$Rhesus',NULL,'Negatif/Poditif',NULL,'2021-08-09 10:36:08',''),(20,'HCV',NULL,'Negatif/Positif',NULL,'2021-08-09 10:37:28',''),(21,'Image Echo abdomino pelvienne',NULL,'$freetext$$',NULL,'2021-08-09 10:40:24',''),(22,'Echo CPN',NULL,'$freetext$$',NULL,'2021-08-09 10:42:21',''),(23,'Echo generale',NULL,'$freetext$$',NULL,'2021-08-09 10:43:48',''),(24,'Imagerie Medicale: Rx',NULL,'$freetext$$',NULL,'2021-08-09 10:45:03',''),(25,'Rx (face-profil)',NULL,'$freetext$$',NULL,'2021-08-09 10:46:39',''),(26,'Lame Luttes',NULL,'$freetext$$',NULL,'2021-08-09 10:48:21',''),(27,'LCR',NULL,'$freetext$$',NULL,'2021-08-09 10:49:23',''),(28,'Leucos manuel',NULL,'$freetext$$',NULL,'2021-08-09 10:51:17',''),(29,'NFS',NULL,'$freetext$$',NULL,'2021-08-09 10:53:36',''),(30,'NFS (FEC)',NULL,'$freetext$$',NULL,'2021-08-09 10:55:41',''),(31,'Oraquick/Bispot',NULL,'Negatif/Positif',NULL,'2021-08-09 10:58:03',''),(32,'TDR Palu',NULL,'Negatif/Positif',NULL,'2021-08-09 11:01:13',''),(33,'PIO',NULL,'$freetext$$',NULL,'2021-08-09 11:03:27',''),(34,'Poche de sang',NULL,'$freetext$$',NULL,'2021-08-09 11:04:46',''),(35,'Poche de sang',NULL,'$freetext$$',NULL,'2021-08-09 11:06:15',''),(36,'PSA',NULL,'Negatif/Positif',NULL,'2021-08-09 11:08:22',''),(37,'log 10',NULL,'$freetext$$',NULL,'2021-08-09 11:14:15','log 10 copies/ml'),(38,'Refractometre',NULL,'$freetext$$',NULL,'2021-08-09 11:17:01',''),(39,'Facteur Rhumatoid',NULL,'Non reactif/Reactif',NULL,'2021-08-09 11:18:26',''),(40,'RPR',NULL,'$freetext$$',NULL,'2021-08-09 11:20:00',''),(41,'CORPROLOGIE',NULL,'-/-',NULL,'2021-08-09 11:22:09',''),(42,'$sub*41/$Couleur',NULL,'$freetext$$',NULL,'2021-08-09 11:22:09',''),(43,'$sub*41/$Aspect',NULL,'$freetext$$',NULL,'2021-08-09 11:22:09',''),(44,'$sub*41/$Microscopie',NULL,'$freetext$$',NULL,'2021-08-09 11:22:09',''),(45,'H pylori',NULL,'$freetext$$',NULL,'2021-08-09 11:24:14',''),(46,'VIH',NULL,'Non reactif/Reactif/Non realiser',NULL,'2021-08-09 11:25:46',''),(47,'VIH',NULL,'Non reactif/Reactif/Non realiser',NULL,'2021-08-09 11:27:03',''),(48,'VIH',NULL,'Non reactif/Non reactif/Non realiser',NULL,'2021-08-09 11:28:07',''),(49,'VIH',NULL,'Non reactif/Reactif/Non realiser',NULL,'2021-08-09 11:29:16',''),(50,'Urine',NULL,'-/-',NULL,'2021-08-09 12:34:57',''),(51,'$sub*50/$Leucocytes',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','Leu/µL'),(52,'$sub*50/$Nitrite',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57',''),(53,'$sub*50/$Albumine/Proteines',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','mg/gL'),(54,'$sub*50/$PH',NULL,':',NULL,'2021-08-09 12:34:57',''),(55,'$sub*50/$Sang',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','Ery/µL'),(56,'$sub*50/$Densite',NULL,':',NULL,'2021-08-09 12:34:57',''),(57,'$sub*50/$Corps cetoniques',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','mg/mL'),(58,'$sub*50/$Bilirubin',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','mg/mL'),(59,'$sub*50/$Glucose',NULL,'$freetext$$',NULL,'2021-08-09 12:34:57','mg/mL'),(60,'TO',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(61,'TH',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(62,'AO',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(63,'AH',NULL,'Nagatif/Positif',NULL,'2021-08-09 12:40:45',''),(64,'BO',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(65,'BH',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(66,'CO',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(67,'CH',NULL,'Negatif/Positif',NULL,'2021-08-09 12:40:45',''),(68,'CONCLUSION',NULL,'Serologie WIDAL NEGATIVE_Serologie WIDAL POSITIVE',NULL,'2021-08-09 12:40:45','');
|
|
511
|
+
/*!40000 ALTER TABLE `measure` ENABLE KEYS */;
|
|
512
|
+
UNLOCK TABLES;
|
|
513
|
+
|
|
514
|
+
--
|
|
515
|
+
-- Table structure for table `misc`
|
|
516
|
+
--
|
|
517
|
+
|
|
518
|
+
DROP TABLE IF EXISTS `misc`;
|
|
519
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
520
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
521
|
+
CREATE TABLE `misc` (
|
|
522
|
+
`id` int(11) NOT NULL auto_increment,
|
|
523
|
+
`r_id` int(11) NOT NULL default '0',
|
|
524
|
+
`vr_id` varchar(45) collate latin1_general_ci NOT NULL default '0',
|
|
525
|
+
`i1` int(11) NOT NULL default '0',
|
|
526
|
+
`i2` int(11) NOT NULL default '0',
|
|
527
|
+
`i3` int(11) NOT NULL default '0',
|
|
528
|
+
`i4` int(11) NOT NULL default '0',
|
|
529
|
+
`i5` int(11) NOT NULL default '0',
|
|
530
|
+
`v1` varchar(500) collate latin1_general_ci NOT NULL default '0',
|
|
531
|
+
`v2` varchar(500) collate latin1_general_ci NOT NULL default '0',
|
|
532
|
+
`v3` varchar(500) collate latin1_general_ci NOT NULL default '0',
|
|
533
|
+
`v4` varchar(500) collate latin1_general_ci NOT NULL default '0',
|
|
534
|
+
`v5` varchar(500) collate latin1_general_ci NOT NULL default '0',
|
|
535
|
+
`dt1` datetime default NULL,
|
|
536
|
+
`dt2` datetime default NULL,
|
|
537
|
+
`dt3` datetime default NULL,
|
|
538
|
+
`d1` date default NULL,
|
|
539
|
+
`d2` date default NULL,
|
|
540
|
+
`d3` date default NULL,
|
|
541
|
+
`ts` timestamp NULL default CURRENT_TIMESTAMP,
|
|
542
|
+
PRIMARY KEY (`id`)
|
|
543
|
+
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
544
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
545
|
+
|
|
546
|
+
--
|
|
547
|
+
-- Dumping data for table `misc`
|
|
548
|
+
--
|
|
549
|
+
|
|
550
|
+
LOCK TABLES `misc` WRITE;
|
|
551
|
+
/*!40000 ALTER TABLE `misc` DISABLE KEYS */;
|
|
552
|
+
/*!40000 ALTER TABLE `misc` ENABLE KEYS */;
|
|
553
|
+
UNLOCK TABLES;
|
|
554
|
+
|
|
555
|
+
--
|
|
556
|
+
-- Table structure for table `numeric_interpretation`
|
|
557
|
+
--
|
|
558
|
+
|
|
559
|
+
DROP TABLE IF EXISTS `numeric_interpretation`;
|
|
560
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
561
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
562
|
+
CREATE TABLE `numeric_interpretation` (
|
|
563
|
+
`range_u` int(10) default NULL,
|
|
564
|
+
`range_l` int(10) default NULL,
|
|
565
|
+
`age_u` int(10) default NULL,
|
|
566
|
+
`age_l` int(10) default NULL,
|
|
567
|
+
`gender` varchar(40) default NULL,
|
|
568
|
+
`description` varchar(40) default NULL,
|
|
569
|
+
`measure_id` int(10) unsigned NOT NULL,
|
|
570
|
+
`id` int(10) NOT NULL auto_increment,
|
|
571
|
+
PRIMARY KEY (`id`)
|
|
572
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
573
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
574
|
+
|
|
575
|
+
--
|
|
576
|
+
-- Dumping data for table `numeric_interpretation`
|
|
577
|
+
--
|
|
578
|
+
|
|
579
|
+
LOCK TABLES `numeric_interpretation` WRITE;
|
|
580
|
+
/*!40000 ALTER TABLE `numeric_interpretation` DISABLE KEYS */;
|
|
581
|
+
INSERT INTO `numeric_interpretation` VALUES (0,0,100,0,'B','TARGET NON DETECTABLE',1,1),(39,1,100,0,'B','SUPPRIMER, RETESTER APRES 6 OU 12M',1,2),(999,41,100,0,'B','SUPPRIMER, RETESTER APRES 6M',1,3),(10000000,1000,100,0,'B','NON SUPPRIMER:(DO EAC) RETESTER APRES 3M',1,4);
|
|
582
|
+
/*!40000 ALTER TABLE `numeric_interpretation` ENABLE KEYS */;
|
|
583
|
+
UNLOCK TABLES;
|
|
584
|
+
|
|
585
|
+
--
|
|
586
|
+
-- Table structure for table `patient`
|
|
587
|
+
--
|
|
588
|
+
|
|
589
|
+
DROP TABLE IF EXISTS `patient`;
|
|
590
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
591
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
592
|
+
CREATE TABLE `patient` (
|
|
593
|
+
`patient_id` int(11) unsigned NOT NULL default '0',
|
|
594
|
+
`addl_id` varchar(40) default NULL,
|
|
595
|
+
`name` varchar(45) default NULL,
|
|
596
|
+
`sex` char(1) NOT NULL default '',
|
|
597
|
+
`age` decimal(10,0) default NULL,
|
|
598
|
+
`dob` date default NULL,
|
|
599
|
+
`created_by` int(11) unsigned default NULL,
|
|
600
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
601
|
+
`partial_dob` varchar(45) default NULL,
|
|
602
|
+
`surr_id` varchar(45) default NULL,
|
|
603
|
+
`hash_value` varchar(100) default NULL,
|
|
604
|
+
PRIMARY KEY (`patient_id`),
|
|
605
|
+
KEY `created_by` (`created_by`)
|
|
606
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
607
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
608
|
+
|
|
609
|
+
--
|
|
610
|
+
-- Dumping data for table `patient`
|
|
611
|
+
--
|
|
612
|
+
|
|
613
|
+
LOCK TABLES `patient` WRITE;
|
|
614
|
+
/*!40000 ALTER TABLE `patient` DISABLE KEYS */;
|
|
615
|
+
INSERT INTO `patient` VALUES (1,'Pette','Philippe Ryi','M',0,NULL,504,'2021-08-08 23:00:00','1965-08-09','HGOI765','602b3e834789d1b531ae2fe2527a05b2066a5322');
|
|
616
|
+
/*!40000 ALTER TABLE `patient` ENABLE KEYS */;
|
|
617
|
+
UNLOCK TABLES;
|
|
618
|
+
|
|
619
|
+
--
|
|
620
|
+
-- Table structure for table `patient_custom_data`
|
|
621
|
+
--
|
|
622
|
+
|
|
623
|
+
DROP TABLE IF EXISTS `patient_custom_data`;
|
|
624
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
625
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
626
|
+
CREATE TABLE `patient_custom_data` (
|
|
627
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
628
|
+
`field_id` int(11) unsigned NOT NULL default '0',
|
|
629
|
+
`patient_id` int(11) unsigned NOT NULL default '0',
|
|
630
|
+
`field_value` varchar(45) NOT NULL default '',
|
|
631
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
632
|
+
PRIMARY KEY (`id`),
|
|
633
|
+
KEY `field_id` (`field_id`),
|
|
634
|
+
KEY `patient_id` (`patient_id`)
|
|
635
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
636
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
637
|
+
|
|
638
|
+
--
|
|
639
|
+
-- Dumping data for table `patient_custom_data`
|
|
640
|
+
--
|
|
641
|
+
|
|
642
|
+
LOCK TABLES `patient_custom_data` WRITE;
|
|
643
|
+
/*!40000 ALTER TABLE `patient_custom_data` DISABLE KEYS */;
|
|
644
|
+
INSERT INTO `patient_custom_data` VALUES (1,1,1,'NA','2021-08-09 15:03:04'),(2,2,1,'','2021-08-09 15:03:04'),(3,3,1,'NA','2021-08-09 15:03:04'),(4,4,1,'','2021-08-09 15:03:04'),(5,5,1,'--','2021-08-09 15:03:04'),(6,6,1,'--','2021-08-09 15:03:04'),(7,7,1,'1 ere','2021-08-09 15:03:04'),(8,8,1,'TELE','2021-08-09 15:03:04'),(9,9,1,'Test de routine','2021-08-09 15:03:04');
|
|
645
|
+
/*!40000 ALTER TABLE `patient_custom_data` ENABLE KEYS */;
|
|
646
|
+
UNLOCK TABLES;
|
|
647
|
+
|
|
648
|
+
--
|
|
649
|
+
-- Table structure for table `patient_custom_field`
|
|
650
|
+
--
|
|
651
|
+
|
|
652
|
+
DROP TABLE IF EXISTS `patient_custom_field`;
|
|
653
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
654
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
655
|
+
CREATE TABLE `patient_custom_field` (
|
|
656
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
657
|
+
`field_name` varchar(45) NOT NULL default '',
|
|
658
|
+
`field_options` varchar(65474) NOT NULL default '',
|
|
659
|
+
`field_type_id` int(11) unsigned NOT NULL default '0',
|
|
660
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
661
|
+
PRIMARY KEY (`id`),
|
|
662
|
+
KEY `field_type_id` (`field_type_id`)
|
|
663
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
664
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
665
|
+
|
|
666
|
+
--
|
|
667
|
+
-- Dumping data for table `patient_custom_field`
|
|
668
|
+
--
|
|
669
|
+
|
|
670
|
+
LOCK TABLES `patient_custom_field` WRITE;
|
|
671
|
+
/*!40000 ALTER TABLE `patient_custom_field` DISABLE KEYS */;
|
|
672
|
+
INSERT INTO `patient_custom_field` VALUES (1,'Enceinte','Non/Oui/NA',3,'2021-08-09 07:43:23'),(2,'Si oui, numbre de semaines d amenorrhee','',1,'2021-08-09 07:46:04'),(3,'Allaitante','Non/Oui/NA',3,'2021-08-09 07:48:06'),(4,'Si oui, depuis combien de semaines','',1,'2021-08-09 07:48:44'),(5,'Date diagnostic VIH','',2,'2021-08-09 07:51:34'),(6,'Date initiation TARV','',2,'2021-08-09 07:52:50'),(7,'Ligne de traitement','1 ere/2 eme/3 eme/Ne sait pas /NA',3,'2021-08-09 07:55:40'),(10,'Region','Nord/Adamaoua/Extreame Nord/Nord Ouest/Littoral/Centre/Ouest/Est/Sud/Sud Ouest',3,'2021-08-10 08:25:10');
|
|
673
|
+
/*!40000 ALTER TABLE `patient_custom_field` ENABLE KEYS */;
|
|
674
|
+
UNLOCK TABLES;
|
|
675
|
+
|
|
676
|
+
--
|
|
677
|
+
-- Table structure for table `patient_daily`
|
|
678
|
+
--
|
|
679
|
+
|
|
680
|
+
DROP TABLE IF EXISTS `patient_daily`;
|
|
681
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
682
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
683
|
+
CREATE TABLE `patient_daily` (
|
|
684
|
+
`datestring` varchar(45) NOT NULL,
|
|
685
|
+
`count` int(10) unsigned NOT NULL
|
|
686
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
687
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
688
|
+
|
|
689
|
+
--
|
|
690
|
+
-- Dumping data for table `patient_daily`
|
|
691
|
+
--
|
|
692
|
+
|
|
693
|
+
LOCK TABLES `patient_daily` WRITE;
|
|
694
|
+
/*!40000 ALTER TABLE `patient_daily` DISABLE KEYS */;
|
|
695
|
+
INSERT INTO `patient_daily` VALUES ('20210809',1);
|
|
696
|
+
/*!40000 ALTER TABLE `patient_daily` ENABLE KEYS */;
|
|
697
|
+
UNLOCK TABLES;
|
|
698
|
+
|
|
699
|
+
--
|
|
700
|
+
-- Table structure for table `payments`
|
|
701
|
+
--
|
|
702
|
+
|
|
703
|
+
DROP TABLE IF EXISTS `payments`;
|
|
704
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
705
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
706
|
+
CREATE TABLE `payments` (
|
|
707
|
+
`id` int(11) NOT NULL auto_increment,
|
|
708
|
+
`amount` decimal(10,2) NOT NULL default '0.00',
|
|
709
|
+
`bill_id` int(11) unsigned NOT NULL,
|
|
710
|
+
PRIMARY KEY (`id`)
|
|
711
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
712
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
713
|
+
|
|
714
|
+
--
|
|
715
|
+
-- Dumping data for table `payments`
|
|
716
|
+
--
|
|
717
|
+
|
|
718
|
+
LOCK TABLES `payments` WRITE;
|
|
719
|
+
/*!40000 ALTER TABLE `payments` DISABLE KEYS */;
|
|
720
|
+
/*!40000 ALTER TABLE `payments` ENABLE KEYS */;
|
|
721
|
+
UNLOCK TABLES;
|
|
722
|
+
|
|
723
|
+
--
|
|
724
|
+
-- Table structure for table `reference_range`
|
|
725
|
+
--
|
|
726
|
+
|
|
727
|
+
DROP TABLE IF EXISTS `reference_range`;
|
|
728
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
729
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
730
|
+
CREATE TABLE `reference_range` (
|
|
731
|
+
`id` int(10) unsigned NOT NULL auto_increment,
|
|
732
|
+
`measure_id` int(10) unsigned NOT NULL,
|
|
733
|
+
`age_min` varchar(45) default NULL,
|
|
734
|
+
`age_max` varchar(45) default NULL,
|
|
735
|
+
`sex` varchar(10) default NULL,
|
|
736
|
+
`range_lower` varchar(45) NOT NULL,
|
|
737
|
+
`range_upper` varchar(45) NOT NULL,
|
|
738
|
+
PRIMARY KEY (`id`),
|
|
739
|
+
KEY `measure_id` (`measure_id`)
|
|
740
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
741
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
742
|
+
|
|
743
|
+
--
|
|
744
|
+
-- Dumping data for table `reference_range`
|
|
745
|
+
--
|
|
746
|
+
|
|
747
|
+
LOCK TABLES `reference_range` WRITE;
|
|
748
|
+
/*!40000 ALTER TABLE `reference_range` DISABLE KEYS */;
|
|
749
|
+
INSERT INTO `reference_range` VALUES (2,2,'0','100','B','3.0','7.0'),(3,4,'0','100','B','28','100'),(4,7,'0','100','B','500','1200'),(5,9,'0','100','B','0.6','1.4'),(6,16,'0','100','B','70','110'),(7,17,'0','100','B','0','50'),(10,54,'0','100','B','6','7.5'),(11,56,'0','100','B','1.010','1.025'),(12,1,'0','100','B','0','999');
|
|
750
|
+
/*!40000 ALTER TABLE `reference_range` ENABLE KEYS */;
|
|
751
|
+
UNLOCK TABLES;
|
|
752
|
+
|
|
753
|
+
--
|
|
754
|
+
-- Table structure for table `removal_record`
|
|
755
|
+
--
|
|
756
|
+
|
|
757
|
+
DROP TABLE IF EXISTS `removal_record`;
|
|
758
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
759
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
760
|
+
CREATE TABLE `removal_record` (
|
|
761
|
+
`id` int(11) NOT NULL auto_increment,
|
|
762
|
+
`r_id` int(11) NOT NULL default '0',
|
|
763
|
+
`vr_id` varchar(45) collate latin1_general_ci NOT NULL default '0',
|
|
764
|
+
`type` int(11) default NULL,
|
|
765
|
+
`user_id` int(11) default '0',
|
|
766
|
+
`remarks` varchar(500) collate latin1_general_ci default NULL,
|
|
767
|
+
`status` int(11) NOT NULL default '1',
|
|
768
|
+
`ts` timestamp NULL default CURRENT_TIMESTAMP,
|
|
769
|
+
`category` varchar(20) collate latin1_general_ci default 'test',
|
|
770
|
+
PRIMARY KEY (`id`)
|
|
771
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
772
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
773
|
+
|
|
774
|
+
--
|
|
775
|
+
-- Dumping data for table `removal_record`
|
|
776
|
+
--
|
|
777
|
+
|
|
778
|
+
LOCK TABLES `removal_record` WRITE;
|
|
779
|
+
/*!40000 ALTER TABLE `removal_record` DISABLE KEYS */;
|
|
780
|
+
/*!40000 ALTER TABLE `removal_record` ENABLE KEYS */;
|
|
781
|
+
UNLOCK TABLES;
|
|
782
|
+
|
|
783
|
+
--
|
|
784
|
+
-- Table structure for table `report_config`
|
|
785
|
+
--
|
|
786
|
+
|
|
787
|
+
DROP TABLE IF EXISTS `report_config`;
|
|
788
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
789
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
790
|
+
CREATE TABLE `report_config` (
|
|
791
|
+
`report_id` int(10) unsigned NOT NULL auto_increment,
|
|
792
|
+
`header` varchar(500) NOT NULL default '',
|
|
793
|
+
`footer` varchar(500) NOT NULL default '-End-',
|
|
794
|
+
`margins` varchar(45) NOT NULL default '2,0,10,0',
|
|
795
|
+
`p_fields` varchar(45) NOT NULL default '1,1,1,1,1,1,1',
|
|
796
|
+
`s_fields` varchar(45) NOT NULL default '1,1,1,1,1,1',
|
|
797
|
+
`t_fields` varchar(45) NOT NULL default '1,0,1,1,1,0,1,1',
|
|
798
|
+
`p_custom_fields` varchar(45) NOT NULL default '',
|
|
799
|
+
`s_custom_fields` varchar(45) NOT NULL default '',
|
|
800
|
+
`test_type_id` varchar(45) NOT NULL default '0',
|
|
801
|
+
`title` varchar(500) NOT NULL default '',
|
|
802
|
+
`landscape` int(10) unsigned NOT NULL default '0',
|
|
803
|
+
`row_items` int(1) unsigned NOT NULL default '3',
|
|
804
|
+
`show_border` int(1) unsigned NOT NULL default '1',
|
|
805
|
+
`show_result_border` int(1) unsigned NOT NULL default '1',
|
|
806
|
+
`result_border_horizontal` int(1) unsigned NOT NULL default '0',
|
|
807
|
+
`result_border_vertical` int(1) unsigned NOT NULL default '0',
|
|
808
|
+
PRIMARY KEY (`report_id`)
|
|
809
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
810
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
811
|
+
|
|
812
|
+
--
|
|
813
|
+
-- Dumping data for table `report_config`
|
|
814
|
+
--
|
|
815
|
+
|
|
816
|
+
LOCK TABLES `report_config` WRITE;
|
|
817
|
+
/*!40000 ALTER TABLE `report_config` DISABLE KEYS */;
|
|
818
|
+
INSERT INTO `report_config` VALUES (1,'LABORATOIRE DE BIOLOGIE MOLECULAIRE??center','E-Mail : hopitalpette1@yahoo.fr _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Tel (mobile) : +237 679 52 93 49 #_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _','2,0,10,0','1,0,1,1,1,0,1,0,1,1,0,0,0','1,0,1,0,0,0,0','1,0,0,1,0,1,0,1,0,1,1,1','6,7,10','1,5,6,7','0','',0,0,0,1,1,1),(2,'Specimen Report','','2,0,10,0','1,1,1,1,1,1,1','1,1,1,1,1,1','1,0,1,1,1,0,1,1','','','0','',0,3,1,1,0,0),(3,'Test Records','','2,0,10,0','1,1,1,1,1,1,1','1,1,1,1,1,1','1,0,1,1,1,0,1,1','','','0','',0,3,1,1,0,0),(4,'FONDATION SOCIALE SUISSE - HÔPITAL DE PETTÉ ??left','#','2,0,10,0','1,1,0,1,1,0,1,0,1,0,0,0,0','1,1,1,1,1,1,0','1,0,0,1,0,0,1,0,0,0,0,0','1,5,6,7,8,10','','0','Rapport Journalier - Echantillons',0,0,0,1,0,0),(5,'Worksheet','','2,0,10,0','1,1,1,1,1,1,1','1,1,1,1,1,1','1,0,1,1,1,0,1,1','','','0','',0,3,1,1,0,0),(6,'FONDATION SOCIALE SUISSE - HÔPITAL DE PETTÉ ??left','LABORATOIRE DE BIOLOGIE MOLÉCULAIRE (+237) 679 52 93 49 (Direction), (+237) 699 98 06 45 (Laboratoire) (+237) 696 61 68 12 (Biologiste Resp.) (+237) 699 69 67 52 (Biologiste Adj.) B.P. 65 Maroua – Cameroun E-mail : hopitalpette1@yahoo.fr#Major Labo _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Medecin Biologist','2,0,10,0','1,1,1,1,1,1,1,0,0,0,0,0,0','1,1,1,1,1,1,0','1,0,1,1,1,0,1,1,0,0,0,0','10','','0','Rapport Jounalier - Patients',0,0,0,1,0,0),(7,'Grouped Test Count Report Configuration','0:4,4:9,9:14,14:19,19:24,24:29,29:34,34:39,39:44,44:49,49:54,54:59,59:64,64:+','0','1','1','1','1','0','9999009','0',9999009,3,1,1,0,0),(8,'Grouped Specimen Count Report Configuration','0:4,4:9,9:14,14:19,19:24,24:29,29:34,34:39,39:44,44:49,49:54,54:59,59:64,64:+','0','1','1','1','1','0','9999019','0',9999019,3,1,1,0,0),(9,'Worksheet - CHARGE VIRALE (CV) VIH','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','1','',0,3,1,1,0,0),(10,'Worksheet - Acide urique','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','2','',0,3,1,1,0,0),(11,'Worksheet - AgHBs','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','3','',0,3,1,1,0,0),(12,'Worksheet - Amylase','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','4','',0,3,1,1,0,0),(13,'Worksheet - bK Controle','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','5','',0,3,1,1,0,0),(14,'Worksheet - bK Nouveau','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','6','',0,3,1,1,0,0),(15,'Worksheet - CD4 - Externes','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','7','',0,3,1,1,0,0),(16,'Worksheet - Chlamydia','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','8','',0,3,1,1,0,0),(17,'Worksheet - Creatininemie','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','9','',0,3,1,1,0,0),(18,'Worksheet - Cross Match','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','10','',0,3,1,1,0,0),(19,'Worksheet - HCG (Test de Grosesse)','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','11','',0,3,1,1,0,0),(20,'Worksheet - ECG','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','12','',0,3,1,1,0,0),(21,'Worksheet - Fluoresceine','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','13','',0,3,1,1,0,0),(22,'Worksheet - Fond de l oeil','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','14','',0,3,1,1,0,0),(23,'Worksheet - Gamma GT','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','15','',0,3,1,1,0,0),(24,'Worksheet - Glycemie','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','16','',0,3,1,1,0,0),(25,'Worksheet - GPT','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','17','',0,3,1,1,0,0),(26,'Worksheet - Groupe Sanguin/Rhesus','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','18','',0,3,1,1,0,0),(27,'Worksheet - HCV','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','19','',0,3,1,1,0,0),(28,'Worksheet - Imagerie Medicale: Echo-abdomino-pelvienne','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','20','',0,3,1,1,0,0),(29,'Worksheet - Imagerie Medicale: Echo-CPN','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','21','',0,3,1,1,0,0),(30,'Worksheet - Imagerie Medicale: Echo generale','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','22','',0,3,1,1,0,0),(31,'Worksheet - Imagerie Medicale: Rx','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','23','',0,3,1,1,0,0),(32,'Worksheet - Imagerie Medicale: Rx (face-profil)','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','24','',0,3,1,1,0,0),(33,'Worksheet - Lame Luttes','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','25','',0,3,1,1,0,0),(34,'Worksheet - LCR','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','26','',0,3,1,1,0,0),(35,'Worksheet - Leucos manuel','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','27','',0,3,1,1,0,0),(36,'Worksheet - NFS','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','28','',0,3,1,1,0,0),(37,'Worksheet - NFS (FEC)','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','29','',0,3,1,1,0,0),(38,'Worksheet - Oraquick/Bispot','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','30','',0,3,1,1,0,0),(39,'Worksheet - Paracheck Palud','','5,0,5,0','0,1,0,1,1,0,0','0,0,1,1,0,0','1,0,1,0,0,0,0,1','','','31','',0,3,1,1,0,0);
|
|
819
|
+
/*!40000 ALTER TABLE `report_config` ENABLE KEYS */;
|
|
820
|
+
UNLOCK TABLES;
|
|
821
|
+
|
|
822
|
+
--
|
|
823
|
+
-- Table structure for table `report_disease`
|
|
824
|
+
--
|
|
825
|
+
|
|
826
|
+
DROP TABLE IF EXISTS `report_disease`;
|
|
827
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
828
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
829
|
+
CREATE TABLE `report_disease` (
|
|
830
|
+
`id` int(10) unsigned NOT NULL auto_increment,
|
|
831
|
+
`group_by_age` int(10) unsigned NOT NULL,
|
|
832
|
+
`group_by_gender` int(10) unsigned NOT NULL,
|
|
833
|
+
`age_groups` varchar(500) default NULL,
|
|
834
|
+
`measure_groups` varchar(500) default NULL,
|
|
835
|
+
`measure_id` int(10) unsigned NOT NULL,
|
|
836
|
+
`lab_config_id` int(10) unsigned NOT NULL,
|
|
837
|
+
`test_type_id` int(10) unsigned NOT NULL,
|
|
838
|
+
PRIMARY KEY USING BTREE (`id`),
|
|
839
|
+
KEY `measure_id` (`measure_id`)
|
|
840
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
841
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
842
|
+
|
|
843
|
+
--
|
|
844
|
+
-- Dumping data for table `report_disease`
|
|
845
|
+
--
|
|
846
|
+
|
|
847
|
+
LOCK TABLES `report_disease` WRITE;
|
|
848
|
+
/*!40000 ALTER TABLE `report_disease` DISABLE KEYS */;
|
|
849
|
+
INSERT INTO `report_disease` VALUES (1,0,1,'','',0,12,0),(2,0,1,'',':',1,12,1),(3,0,1,'',':',2,12,2),(4,0,1,'','Negatif/Positif',3,12,3),(5,0,1,'',':',4,12,4),(6,0,1,'','Negatif/Rares/1+/2+/3+/4+',5,12,5),(7,0,1,'','Negatif/Rares/1+/2+/3+/4+',6,12,6),(8,0,1,'',':',7,12,7),(9,0,1,'','Negatif/Positif',8,12,8),(10,0,1,'',':',9,12,9),(11,0,1,'','Negatif/Positif',10,12,10),(12,0,1,'','Negatif/Positif',11,12,11),(13,0,1,'','$freetext$$',12,12,12),(14,0,1,'','$freetext$$',13,12,13),(15,0,1,'','$freetext$$',14,12,14),(16,0,1,'','$freetext$$',15,12,15),(17,0,1,'',':',16,12,16),(18,0,1,'',':',17,12,17),(19,0,1,'','A/AB/B/O',18,12,18),(20,0,1,'','Negatif/Poditif',19,12,18),(21,0,1,'','Negatif/Positif',20,12,19),(22,0,1,'','$freetext$$',21,12,20),(23,0,1,'','$freetext$$',22,12,21),(24,0,1,'','$freetext$$',23,12,22),(25,0,1,'','$freetext$$',24,12,23),(26,0,1,'','$freetext$$',25,12,24),(27,0,1,'','$freetext$$',26,12,25),(28,0,1,'','$freetext$$',27,12,26),(29,0,1,'','$freetext$$',28,12,27),(30,0,1,'','$freetext$$',29,12,28),(31,0,1,'','$freetext$$',30,12,29),(32,0,1,'','Negatif/Positif',31,12,30),(33,0,1,'','Negatif/Positif',32,12,31);
|
|
850
|
+
/*!40000 ALTER TABLE `report_disease` ENABLE KEYS */;
|
|
851
|
+
UNLOCK TABLES;
|
|
852
|
+
|
|
853
|
+
--
|
|
854
|
+
-- Table structure for table `sites`
|
|
855
|
+
--
|
|
856
|
+
|
|
857
|
+
DROP TABLE IF EXISTS `sites`;
|
|
858
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
859
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
860
|
+
CREATE TABLE `sites` (
|
|
861
|
+
`id` int(11) NOT NULL auto_increment,
|
|
862
|
+
`name` varchar(255) collate latin1_general_ci default NULL,
|
|
863
|
+
`lab_id` int(11) default NULL,
|
|
864
|
+
`District` varchar(40) collate latin1_general_ci default NULL,
|
|
865
|
+
`Region` varchar(40) collate latin1_general_ci default NULL,
|
|
866
|
+
PRIMARY KEY (`id`)
|
|
867
|
+
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
868
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
869
|
+
|
|
870
|
+
--
|
|
871
|
+
-- Dumping data for table `sites`
|
|
872
|
+
--
|
|
873
|
+
|
|
874
|
+
LOCK TABLES `sites` WRITE;
|
|
875
|
+
/*!40000 ALTER TABLE `sites` DISABLE KEYS */;
|
|
876
|
+
INSERT INTO `sites` VALUES (1,'FONDATION SOCIALE SUISSE, HD PETTE',12,NULL,NULL);
|
|
877
|
+
/*!40000 ALTER TABLE `sites` ENABLE KEYS */;
|
|
878
|
+
UNLOCK TABLES;
|
|
879
|
+
|
|
880
|
+
--
|
|
881
|
+
-- Table structure for table `specimen`
|
|
882
|
+
--
|
|
883
|
+
|
|
884
|
+
DROP TABLE IF EXISTS `specimen`;
|
|
885
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
886
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
887
|
+
CREATE TABLE `specimen` (
|
|
888
|
+
`specimen_id` int(10) unsigned NOT NULL default '0',
|
|
889
|
+
`patient_id` int(11) unsigned NOT NULL default '0',
|
|
890
|
+
`specimen_type_id` int(11) unsigned NOT NULL default '0',
|
|
891
|
+
`user_id` int(11) unsigned default NULL,
|
|
892
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
893
|
+
`status_code_id` int(11) unsigned default NULL,
|
|
894
|
+
`referred_to` int(11) unsigned default NULL,
|
|
895
|
+
`comments` text,
|
|
896
|
+
`aux_id` varchar(45) default NULL,
|
|
897
|
+
`date_collected` date NOT NULL default '0000-00-00',
|
|
898
|
+
`date_recvd` date default NULL,
|
|
899
|
+
`session_num` varchar(45) default NULL,
|
|
900
|
+
`time_collected` varchar(45) default NULL,
|
|
901
|
+
`report_to` int(10) unsigned default NULL,
|
|
902
|
+
`doctor` varchar(45) default NULL,
|
|
903
|
+
`date_reported` datetime default NULL,
|
|
904
|
+
`referred_to_name` varchar(70) default NULL,
|
|
905
|
+
`daily_num` varchar(45) NOT NULL default '',
|
|
906
|
+
`referred_from_name` varchar(20) default NULL,
|
|
907
|
+
`site_id` int(11) default NULL,
|
|
908
|
+
PRIMARY KEY (`specimen_id`),
|
|
909
|
+
KEY `patient_id` (`patient_id`),
|
|
910
|
+
KEY `specimen_type_id` (`specimen_type_id`),
|
|
911
|
+
KEY `user_id` (`user_id`),
|
|
912
|
+
KEY `IDX_DATE` (`date_collected`)
|
|
913
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
914
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
915
|
+
|
|
916
|
+
--
|
|
917
|
+
-- Dumping data for table `specimen`
|
|
918
|
+
--
|
|
919
|
+
|
|
920
|
+
LOCK TABLES `specimen` WRITE;
|
|
921
|
+
/*!40000 ALTER TABLE `specimen` DISABLE KEYS */;
|
|
922
|
+
/*!40000 ALTER TABLE `specimen` ENABLE KEYS */;
|
|
923
|
+
UNLOCK TABLES;
|
|
924
|
+
|
|
925
|
+
--
|
|
926
|
+
-- Table structure for table `specimen_custom_data`
|
|
927
|
+
--
|
|
928
|
+
|
|
929
|
+
DROP TABLE IF EXISTS `specimen_custom_data`;
|
|
930
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
931
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
932
|
+
CREATE TABLE `specimen_custom_data` (
|
|
933
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
934
|
+
`field_id` int(11) unsigned NOT NULL default '0',
|
|
935
|
+
`specimen_id` int(10) unsigned NOT NULL default '0',
|
|
936
|
+
`field_value` varchar(45) NOT NULL default '',
|
|
937
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
938
|
+
PRIMARY KEY (`id`),
|
|
939
|
+
KEY `field_id` (`field_id`),
|
|
940
|
+
KEY `specimen_id` (`specimen_id`)
|
|
941
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
942
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
943
|
+
|
|
944
|
+
--
|
|
945
|
+
-- Dumping data for table `specimen_custom_data`
|
|
946
|
+
--
|
|
947
|
+
|
|
948
|
+
LOCK TABLES `specimen_custom_data` WRITE;
|
|
949
|
+
/*!40000 ALTER TABLE `specimen_custom_data` DISABLE KEYS */;
|
|
950
|
+
INSERT INTO `specimen_custom_data` VALUES (1,1,1,'2021-08-09','2021-08-09 15:05:42'),(2,2,1,'Oui','2021-08-09 15:05:42'),(3,3,1,'Denis','2021-08-09 15:05:42'),(4,4,1,'APPROUVE','2021-08-09 15:05:42'),(5,1,3,'2021-08-09','2021-08-09 15:05:42'),(6,2,3,'Oui','2021-08-09 15:05:42'),(7,3,3,'','2021-08-09 15:05:42'),(8,4,3,'APPROUVE','2021-08-09 15:05:42');
|
|
951
|
+
/*!40000 ALTER TABLE `specimen_custom_data` ENABLE KEYS */;
|
|
952
|
+
UNLOCK TABLES;
|
|
953
|
+
|
|
954
|
+
--
|
|
955
|
+
-- Table structure for table `specimen_custom_field`
|
|
956
|
+
--
|
|
957
|
+
|
|
958
|
+
DROP TABLE IF EXISTS `specimen_custom_field`;
|
|
959
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
960
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
961
|
+
CREATE TABLE `specimen_custom_field` (
|
|
962
|
+
`id` int(11) unsigned NOT NULL auto_increment,
|
|
963
|
+
`field_name` varchar(45) NOT NULL default '',
|
|
964
|
+
`field_options` varchar(65474) NOT NULL default '',
|
|
965
|
+
`field_type_id` int(11) unsigned NOT NULL default '0',
|
|
966
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
967
|
+
PRIMARY KEY (`id`),
|
|
968
|
+
KEY `field_type_id` (`field_type_id`)
|
|
969
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
970
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
971
|
+
|
|
972
|
+
--
|
|
973
|
+
-- Dumping data for table `specimen_custom_field`
|
|
974
|
+
--
|
|
975
|
+
|
|
976
|
+
LOCK TABLES `specimen_custom_field` WRITE;
|
|
977
|
+
/*!40000 ALTER TABLE `specimen_custom_field` DISABLE KEYS */;
|
|
978
|
+
INSERT INTO `specimen_custom_field` VALUES (1,'Date d envoi a Pette','',2,'2021-08-09 08:10:04'),(2,'Conformite de l echantillon','Oui/Non',3,'2021-08-09 08:12:25'),(3,'Nom et contact du preleveur','',1,'2021-08-09 08:14:23'),(4,'Echantillon','APPROUVE/REJETTE/NA',3,'2021-08-09 08:15:49'),(5,'Date prelevement','',2,'2021-08-12 11:12:02'),(6,'Protocol ARV','',1,'2021-08-12 11:27:27'),(7,'Motif Examen','',1,'2021-08-12 11:32:10');
|
|
979
|
+
/*!40000 ALTER TABLE `specimen_custom_field` ENABLE KEYS */;
|
|
980
|
+
UNLOCK TABLES;
|
|
981
|
+
|
|
982
|
+
--
|
|
983
|
+
-- Table structure for table `specimen_session`
|
|
984
|
+
--
|
|
985
|
+
|
|
986
|
+
DROP TABLE IF EXISTS `specimen_session`;
|
|
987
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
988
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
989
|
+
CREATE TABLE `specimen_session` (
|
|
990
|
+
`session_num` varchar(45) NOT NULL default '',
|
|
991
|
+
`count` int(10) unsigned NOT NULL default '0',
|
|
992
|
+
PRIMARY KEY (`session_num`)
|
|
993
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
994
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
995
|
+
|
|
996
|
+
--
|
|
997
|
+
-- Dumping data for table `specimen_session`
|
|
998
|
+
--
|
|
999
|
+
|
|
1000
|
+
LOCK TABLES `specimen_session` WRITE;
|
|
1001
|
+
/*!40000 ALTER TABLE `specimen_session` DISABLE KEYS */;
|
|
1002
|
+
INSERT INTO `specimen_session` VALUES ('20210809',5),('20210810',1);
|
|
1003
|
+
/*!40000 ALTER TABLE `specimen_session` ENABLE KEYS */;
|
|
1004
|
+
UNLOCK TABLES;
|
|
1005
|
+
|
|
1006
|
+
--
|
|
1007
|
+
-- Table structure for table `specimen_test`
|
|
1008
|
+
--
|
|
1009
|
+
|
|
1010
|
+
DROP TABLE IF EXISTS `specimen_test`;
|
|
1011
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1012
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1013
|
+
CREATE TABLE `specimen_test` (
|
|
1014
|
+
`test_type_id` int(11) unsigned NOT NULL default '0',
|
|
1015
|
+
`specimen_type_id` int(11) unsigned NOT NULL default '0',
|
|
1016
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1017
|
+
KEY `test_type_id` (`test_type_id`),
|
|
1018
|
+
KEY `specimen_type_id` (`specimen_type_id`)
|
|
1019
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Relates tests to the specimens that are compatible with thos';
|
|
1020
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1021
|
+
|
|
1022
|
+
--
|
|
1023
|
+
-- Dumping data for table `specimen_test`
|
|
1024
|
+
--
|
|
1025
|
+
|
|
1026
|
+
LOCK TABLES `specimen_test` WRITE;
|
|
1027
|
+
/*!40000 ALTER TABLE `specimen_test` DISABLE KEYS */;
|
|
1028
|
+
INSERT INTO `specimen_test` VALUES (1,1,'2021-08-09 08:26:21'),(2,2,'2021-08-09 09:50:42'),(3,2,'2021-08-09 09:56:18'),(4,2,'2021-08-09 09:57:46'),(5,4,'2021-08-09 10:05:24'),(6,4,'2021-08-09 10:06:55'),(7,3,'2021-08-09 10:08:57'),(8,2,'2021-08-09 10:11:34'),(9,2,'2021-08-09 10:13:12'),(10,3,'2021-08-09 10:16:12'),(11,2,'2021-08-09 10:19:15'),(11,5,'2021-08-09 10:19:15'),(12,12,'2021-08-09 10:22:09'),(13,1,'2021-08-09 10:24:30'),(13,2,'2021-08-09 10:24:30'),(14,12,'2021-08-09 10:26:04'),(15,1,'2021-08-09 10:27:16'),(15,2,'2021-08-09 10:27:16'),(16,2,'2021-08-09 10:30:06'),(17,2,'2021-08-09 10:31:36'),(18,3,'2021-08-09 10:36:08'),(19,2,'2021-08-09 10:37:28'),(20,12,'2021-08-09 10:40:24'),(21,12,'2021-08-09 10:42:22'),(22,12,'2021-08-09 10:43:48'),(23,12,'2021-08-09 10:45:03'),(24,12,'2021-08-09 10:46:39'),(25,12,'2021-08-09 10:48:21'),(26,7,'2021-08-09 10:49:23'),(27,3,'2021-08-09 10:51:17'),(28,3,'2021-08-09 10:53:36'),(29,3,'2021-08-09 10:55:42'),(30,2,'2021-08-09 10:58:04'),(30,13,'2021-08-09 10:58:32'),(31,3,'2021-08-09 11:01:13'),(32,12,'2021-08-09 11:03:27'),(33,3,'2021-08-09 11:04:47'),(34,3,'2021-08-09 11:06:15'),(35,2,'2021-08-09 11:08:22'),(36,12,'2021-08-09 11:17:01'),(37,2,'2021-08-09 11:18:26'),(38,2,'2021-08-09 11:20:00'),(39,6,'2021-08-09 11:22:09'),(40,2,'2021-08-09 11:24:14'),(41,12,'2021-08-09 11:25:46'),(41,2,'2021-08-09 11:25:46'),(42,1,'2021-08-09 11:27:03'),(42,2,'2021-08-09 11:27:03'),(43,1,'2021-08-09 11:28:07'),(43,2,'2021-08-09 11:28:07'),(44,1,'2021-08-09 11:29:17'),(44,2,'2021-08-09 11:29:17'),(45,5,'2021-08-09 12:34:57'),(46,2,'2021-08-09 12:40:45');
|
|
1029
|
+
/*!40000 ALTER TABLE `specimen_test` ENABLE KEYS */;
|
|
1030
|
+
UNLOCK TABLES;
|
|
1031
|
+
|
|
1032
|
+
--
|
|
1033
|
+
-- Table structure for table `specimen_type`
|
|
1034
|
+
--
|
|
1035
|
+
|
|
1036
|
+
DROP TABLE IF EXISTS `specimen_type`;
|
|
1037
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1038
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1039
|
+
CREATE TABLE `specimen_type` (
|
|
1040
|
+
`specimen_type_id` int(11) unsigned NOT NULL auto_increment,
|
|
1041
|
+
`name` varchar(45) NOT NULL default '',
|
|
1042
|
+
`description` varchar(100) default NULL,
|
|
1043
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1044
|
+
`disabled` int(10) unsigned NOT NULL default '0',
|
|
1045
|
+
PRIMARY KEY (`specimen_type_id`)
|
|
1046
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1047
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1048
|
+
|
|
1049
|
+
--
|
|
1050
|
+
-- Dumping data for table `specimen_type`
|
|
1051
|
+
--
|
|
1052
|
+
|
|
1053
|
+
LOCK TABLES `specimen_type` WRITE;
|
|
1054
|
+
/*!40000 ALTER TABLE `specimen_type` DISABLE KEYS */;
|
|
1055
|
+
INSERT INTO `specimen_type` VALUES (1,'PLASMA','','2021-08-09 08:17:32',0),(2,'SERUM','','2021-08-09 08:17:45',0),(3,'SANG TOTAL','','2021-08-09 08:18:02',0),(4,'CRACHAT','','2021-08-09 09:42:16',0),(5,'URINE','','2021-08-09 09:45:30',0),(6,'SELLES','','2021-08-09 09:46:26',0),(7,'LCR','','2021-08-09 09:46:52',0),(8,'PUS','','2021-08-09 09:47:03',0),(9,'SECRETIONS VAGINALES','','2021-08-09 09:47:35',0),(10,'SECRETIONS URETHRALES','','2021-08-09 09:47:55',0),(11,'SKIN SNIP','','2021-08-09 09:48:12',0),(12,'AUTRES','','2021-08-09 10:21:37',0),(13,'SALIVRE','','2021-08-09 10:58:32',0);
|
|
1056
|
+
/*!40000 ALTER TABLE `specimen_type` ENABLE KEYS */;
|
|
1057
|
+
UNLOCK TABLES;
|
|
1058
|
+
|
|
1059
|
+
--
|
|
1060
|
+
-- Table structure for table `stock_content`
|
|
1061
|
+
--
|
|
1062
|
+
|
|
1063
|
+
DROP TABLE IF EXISTS `stock_content`;
|
|
1064
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1065
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1066
|
+
CREATE TABLE `stock_content` (
|
|
1067
|
+
`name` varchar(40) default NULL,
|
|
1068
|
+
`current_quantity` int(11) default NULL,
|
|
1069
|
+
`date_of_use` date NOT NULL,
|
|
1070
|
+
`receiver` varchar(40) default NULL,
|
|
1071
|
+
`remarks` text,
|
|
1072
|
+
`lot_number` varchar(40) default NULL,
|
|
1073
|
+
`new_balance` int(11) default NULL,
|
|
1074
|
+
`user_name` varchar(40) default NULL
|
|
1075
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1076
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1077
|
+
|
|
1078
|
+
--
|
|
1079
|
+
-- Dumping data for table `stock_content`
|
|
1080
|
+
--
|
|
1081
|
+
|
|
1082
|
+
LOCK TABLES `stock_content` WRITE;
|
|
1083
|
+
/*!40000 ALTER TABLE `stock_content` DISABLE KEYS */;
|
|
1084
|
+
/*!40000 ALTER TABLE `stock_content` ENABLE KEYS */;
|
|
1085
|
+
UNLOCK TABLES;
|
|
1086
|
+
|
|
1087
|
+
--
|
|
1088
|
+
-- Table structure for table `stock_details`
|
|
1089
|
+
--
|
|
1090
|
+
|
|
1091
|
+
DROP TABLE IF EXISTS `stock_details`;
|
|
1092
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1093
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1094
|
+
CREATE TABLE `stock_details` (
|
|
1095
|
+
`name` varchar(40) default NULL,
|
|
1096
|
+
`lot_number` varchar(40) default NULL,
|
|
1097
|
+
`expiry_date` varchar(40) default NULL,
|
|
1098
|
+
`manufacturer` varchar(40) default NULL,
|
|
1099
|
+
`quantity_ordered` int(11) default NULL,
|
|
1100
|
+
`supplier` varchar(40) default NULL,
|
|
1101
|
+
`date_of_reception` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
1102
|
+
`current_quantity` int(11) default NULL,
|
|
1103
|
+
`date_of_supply` timestamp NOT NULL default '0000-00-00 00:00:00',
|
|
1104
|
+
`quantity_supplied` int(11) default NULL,
|
|
1105
|
+
`unit` varchar(10) default NULL,
|
|
1106
|
+
`entry_id` int(11) default NULL,
|
|
1107
|
+
`cost_per_unit` decimal(10,0) default '0',
|
|
1108
|
+
`quantity_used` int(10) default '0',
|
|
1109
|
+
UNIQUE KEY `entry_id` (`entry_id`)
|
|
1110
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1111
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1112
|
+
|
|
1113
|
+
--
|
|
1114
|
+
-- Dumping data for table `stock_details`
|
|
1115
|
+
--
|
|
1116
|
+
|
|
1117
|
+
LOCK TABLES `stock_details` WRITE;
|
|
1118
|
+
/*!40000 ALTER TABLE `stock_details` DISABLE KEYS */;
|
|
1119
|
+
/*!40000 ALTER TABLE `stock_details` ENABLE KEYS */;
|
|
1120
|
+
UNLOCK TABLES;
|
|
1121
|
+
|
|
1122
|
+
--
|
|
1123
|
+
-- Table structure for table `test`
|
|
1124
|
+
--
|
|
1125
|
+
|
|
1126
|
+
DROP TABLE IF EXISTS `test`;
|
|
1127
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1128
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1129
|
+
CREATE TABLE `test` (
|
|
1130
|
+
`test_id` int(10) unsigned NOT NULL auto_increment,
|
|
1131
|
+
`test_type_id` int(11) unsigned NOT NULL default '0',
|
|
1132
|
+
`result` varchar(5000) default NULL,
|
|
1133
|
+
`comments` varchar(200) default NULL,
|
|
1134
|
+
`user_id` int(11) unsigned default NULL,
|
|
1135
|
+
`verified_by` int(11) unsigned default NULL,
|
|
1136
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
1137
|
+
`specimen_id` int(11) unsigned default NULL,
|
|
1138
|
+
`date_verified` datetime default NULL,
|
|
1139
|
+
PRIMARY KEY (`test_id`),
|
|
1140
|
+
KEY `test_type_id` (`test_type_id`),
|
|
1141
|
+
KEY `user_id` (`user_id`),
|
|
1142
|
+
KEY `specimen_id` (`specimen_id`)
|
|
1143
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1144
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1145
|
+
|
|
1146
|
+
--
|
|
1147
|
+
-- Dumping data for table `test`
|
|
1148
|
+
--
|
|
1149
|
+
|
|
1150
|
+
LOCK TABLES `test` WRITE;
|
|
1151
|
+
/*!40000 ALTER TABLE `test` DISABLE KEYS */;
|
|
1152
|
+
/*!40000 ALTER TABLE `test` ENABLE KEYS */;
|
|
1153
|
+
UNLOCK TABLES;
|
|
1154
|
+
|
|
1155
|
+
--
|
|
1156
|
+
-- Table structure for table `test_agg_report_config`
|
|
1157
|
+
--
|
|
1158
|
+
|
|
1159
|
+
DROP TABLE IF EXISTS `test_agg_report_config`;
|
|
1160
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1161
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1162
|
+
CREATE TABLE `test_agg_report_config` (
|
|
1163
|
+
`id` int(11) NOT NULL auto_increment,
|
|
1164
|
+
`test_type_id` int(11) default NULL,
|
|
1165
|
+
`title` varchar(255) collate latin1_general_ci default NULL,
|
|
1166
|
+
`landscape` tinyint(1) default '1',
|
|
1167
|
+
`group_by_age` tinyint(1) default '1',
|
|
1168
|
+
`age_unit` int(11) default '1',
|
|
1169
|
+
`age_groups` varchar(255) collate latin1_general_ci default NULL,
|
|
1170
|
+
`report_type` int(11) default NULL,
|
|
1171
|
+
PRIMARY KEY (`id`)
|
|
1172
|
+
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
1173
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1174
|
+
|
|
1175
|
+
--
|
|
1176
|
+
-- Dumping data for table `test_agg_report_config`
|
|
1177
|
+
--
|
|
1178
|
+
|
|
1179
|
+
LOCK TABLES `test_agg_report_config` WRITE;
|
|
1180
|
+
/*!40000 ALTER TABLE `test_agg_report_config` DISABLE KEYS */;
|
|
1181
|
+
/*!40000 ALTER TABLE `test_agg_report_config` ENABLE KEYS */;
|
|
1182
|
+
UNLOCK TABLES;
|
|
1183
|
+
|
|
1184
|
+
--
|
|
1185
|
+
-- Table structure for table `test_category`
|
|
1186
|
+
--
|
|
1187
|
+
|
|
1188
|
+
DROP TABLE IF EXISTS `test_category`;
|
|
1189
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1190
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1191
|
+
CREATE TABLE `test_category` (
|
|
1192
|
+
`test_category_id` int(11) unsigned NOT NULL auto_increment,
|
|
1193
|
+
`name` varchar(45) NOT NULL default '',
|
|
1194
|
+
`description` varchar(100) default NULL,
|
|
1195
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1196
|
+
PRIMARY KEY (`test_category_id`)
|
|
1197
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1198
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1199
|
+
|
|
1200
|
+
--
|
|
1201
|
+
-- Dumping data for table `test_category`
|
|
1202
|
+
--
|
|
1203
|
+
|
|
1204
|
+
LOCK TABLES `test_category` WRITE;
|
|
1205
|
+
/*!40000 ALTER TABLE `test_category` DISABLE KEYS */;
|
|
1206
|
+
INSERT INTO `test_category` VALUES (1,'HIV',NULL,'2021-08-09 05:24:24'),(2,'BIOCHIMIE','','2021-08-09 09:50:41'),(3,'BACTERIOLOGIE','','2021-08-09 10:05:23'),(4,'HEMATOLOGIE','','2021-08-09 10:08:57'),(5,'SEROLOGIE','','2021-08-09 10:11:34'),(6,'AUTRES','','2021-08-09 10:21:22'),(7,'IMAGERIE','','2021-08-09 10:40:24'),(8,'PARASITOLOGIE','','2021-08-09 11:01:13');
|
|
1207
|
+
/*!40000 ALTER TABLE `test_category` ENABLE KEYS */;
|
|
1208
|
+
UNLOCK TABLES;
|
|
1209
|
+
|
|
1210
|
+
--
|
|
1211
|
+
-- Table structure for table `test_type`
|
|
1212
|
+
--
|
|
1213
|
+
|
|
1214
|
+
DROP TABLE IF EXISTS `test_type`;
|
|
1215
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1216
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1217
|
+
CREATE TABLE `test_type` (
|
|
1218
|
+
`test_type_id` int(11) unsigned NOT NULL auto_increment,
|
|
1219
|
+
`name` varchar(45) NOT NULL default '',
|
|
1220
|
+
`description` varchar(100) default NULL,
|
|
1221
|
+
`test_category_id` int(11) unsigned NOT NULL default '0',
|
|
1222
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1223
|
+
`is_panel` int(10) unsigned default NULL,
|
|
1224
|
+
`disabled` int(10) unsigned NOT NULL default '0',
|
|
1225
|
+
`clinical_data` longtext,
|
|
1226
|
+
`hide_patient_name` int(1) default NULL,
|
|
1227
|
+
`prevalence_threshold` int(3) default '70',
|
|
1228
|
+
`target_tat` int(3) default '24',
|
|
1229
|
+
`is_reporting_enabled` tinyint(1) default '0',
|
|
1230
|
+
PRIMARY KEY (`test_type_id`),
|
|
1231
|
+
KEY `test_category_id` (`test_category_id`)
|
|
1232
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1233
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1234
|
+
|
|
1235
|
+
--
|
|
1236
|
+
-- Dumping data for table `test_type`
|
|
1237
|
+
--
|
|
1238
|
+
|
|
1239
|
+
LOCK TABLES `test_type` WRITE;
|
|
1240
|
+
/*!40000 ALTER TABLE `test_type` DISABLE KEYS */;
|
|
1241
|
+
INSERT INTO `test_type` VALUES (1,'CHARGE VIRALE VIH','',1,'2021-08-12 11:34:49',0,0,'NB : Pour qu’une variation de la charge virale soit significative, il faut que la différence entre deux mesures soit d’au moins 0,5 Log10 soit une réduction ou une augmentation d’un facteur 3 du nombre de copies/ml\n(*) Limite de détection (LDD): <40 copies/mL (1,60 Log 10 copies/mL). Limites de quantifcation (LDQ) Comprise entre 40 et 10 000 000 copies/mL (1,60 et 7,0 Log 10 copies/mL)\n',0,50,250,0),(2,'Acide urique','',2,'2021-08-09 09:50:42',0,0,NULL,0,70,24,0),(3,'AgHBs','',2,'2021-08-09 09:56:18',0,0,NULL,0,70,24,0),(4,'Amylase','',2,'2021-08-09 09:57:46',0,0,NULL,0,70,24,0),(5,'bK Controle','',3,'2021-08-09 10:05:24',0,0,NULL,0,70,24,0),(6,'bK Nouveau','',3,'2021-08-09 10:06:55',0,0,NULL,0,70,24,0),(7,'CD4 - Externes','',4,'2021-08-09 10:08:57',0,0,NULL,0,70,24,0),(8,'Chlamydia','',5,'2021-08-09 10:11:34',0,0,NULL,0,70,24,0),(9,'Creatininemie','',2,'2021-08-09 10:13:12',0,0,NULL,0,70,24,0),(10,'Cross Match','',4,'2021-08-09 10:16:12',0,0,NULL,0,70,24,0),(11,'HCG (Test de Grosesse)','',5,'2021-08-09 10:19:15',0,0,NULL,0,70,24,0),(12,'ECG','',6,'2021-08-09 10:22:09',0,0,'',0,70,24,0),(13,'Fluoresceine','',2,'2021-08-09 10:24:30',0,0,NULL,0,70,24,0),(14,'Fond de l oeil','',6,'2021-08-09 10:26:04',0,0,NULL,0,70,24,0),(15,'Gamma GT','',2,'2021-08-09 10:27:16',0,0,NULL,0,70,24,0),(16,'Glycemie','',2,'2021-08-09 10:30:06',0,0,NULL,0,70,24,0),(17,'GPT','',2,'2021-08-09 10:31:36',0,0,NULL,0,70,24,0),(18,'Groupe Sanguin/Rhesus','',4,'2021-08-09 10:36:08',0,0,NULL,0,70,24,0),(19,'HCV','',2,'2021-08-09 10:37:28',0,0,NULL,0,70,24,0),(20,'Imagerie Medicale: Echo-abdomino-pelvienne','',7,'2021-08-09 10:40:24',0,0,NULL,0,70,24,0),(21,'Imagerie Medicale: Echo-CPN','',7,'2021-08-09 10:42:22',0,0,NULL,0,70,24,0),(22,'Imagerie Medicale: Echo generale','',7,'2021-08-09 10:43:48',0,0,NULL,0,70,24,0),(23,'Imagerie Medicale: Rx','',7,'2021-08-09 10:45:03',0,0,NULL,0,70,24,0),(24,'Imagerie Medicale: Rx (face-profil)','',7,'2021-08-09 10:46:39',0,0,NULL,0,70,24,0),(25,'Lame Luttes','',6,'2021-08-09 10:48:21',0,0,NULL,0,70,24,0),(26,'LCR','',3,'2021-08-09 10:49:23',0,0,NULL,0,70,24,0),(27,'Leucos manuel','',4,'2021-08-09 10:51:17',0,0,NULL,0,70,24,0),(28,'NFS','',4,'2021-08-09 10:53:36',0,0,NULL,0,70,24,0),(29,'NFS (FEC)','',4,'2021-08-09 10:55:42',0,0,NULL,0,70,24,0),(30,'Oraquick/Bispot','',5,'2021-08-09 10:58:04',0,0,NULL,0,70,24,0),(31,'Paracheck Palud','',8,'2021-08-09 11:01:13',0,0,NULL,0,70,24,0),(32,'PIO','',6,'2021-08-09 11:03:27',0,0,NULL,0,70,24,0),(33,'Poche de sang avec donner','',4,'2021-08-09 11:04:47',0,0,NULL,0,70,24,0),(34,'Poche de sang sans donner','',4,'2021-08-09 11:06:15',0,0,NULL,0,70,24,0),(35,'PSA (test rapide)','',2,'2021-08-09 11:08:22',0,0,NULL,0,70,24,0),(36,'Refractometre','',6,'2021-08-09 11:17:01',0,0,NULL,0,70,24,0),(37,'Rhumatisme','',5,'2021-08-09 11:18:26',0,0,NULL,0,70,24,0),(38,'RPR','',5,'2021-08-09 11:20:00',0,0,NULL,0,70,24,0),(39,'SELLES','',8,'2021-08-09 11:22:09',0,0,NULL,0,70,24,0),(40,'H. Pylori','',5,'2021-08-09 11:24:14',0,0,NULL,0,70,24,0),(41,'Determine HIV','',1,'2021-08-09 11:25:46',0,0,NULL,0,70,24,0),(42,'Determine HIV <15ans','',1,'2021-08-09 11:27:03',0,0,NULL,0,70,24,0),(43,'Determine HIV CPN','',1,'2021-08-09 11:28:07',0,0,NULL,0,70,24,0),(44,'Determine HIV Tbc','',1,'2021-08-09 11:29:17',0,0,NULL,0,70,24,0),(45,'Analyse des Urine','',3,'2021-08-09 12:34:57',0,0,NULL,0,70,24,0),(46,'WIDAL','',5,'2021-08-09 12:40:45',0,0,NULL,0,70,24,0);
|
|
1242
|
+
/*!40000 ALTER TABLE `test_type` ENABLE KEYS */;
|
|
1243
|
+
UNLOCK TABLES;
|
|
1244
|
+
|
|
1245
|
+
--
|
|
1246
|
+
-- Table structure for table `test_type_costs`
|
|
1247
|
+
--
|
|
1248
|
+
|
|
1249
|
+
DROP TABLE IF EXISTS `test_type_costs`;
|
|
1250
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1251
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1252
|
+
CREATE TABLE `test_type_costs` (
|
|
1253
|
+
`earliest_date_valid` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1254
|
+
`test_type_id` int(11) NOT NULL,
|
|
1255
|
+
`amount` decimal(10,2) NOT NULL default '0.00'
|
|
1256
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
1257
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1258
|
+
|
|
1259
|
+
--
|
|
1260
|
+
-- Dumping data for table `test_type_costs`
|
|
1261
|
+
--
|
|
1262
|
+
|
|
1263
|
+
LOCK TABLES `test_type_costs` WRITE;
|
|
1264
|
+
/*!40000 ALTER TABLE `test_type_costs` DISABLE KEYS */;
|
|
1265
|
+
INSERT INTO `test_type_costs` VALUES ('2021-08-09 08:26:22',1,0.00),('2021-08-09 09:50:42',2,3000.00),('2021-08-09 09:56:18',3,1000.00),('2021-08-09 09:57:46',4,3000.00),('2021-08-09 10:05:24',5,0.00),('2021-08-09 10:06:56',6,0.00),('2021-08-09 10:08:57',7,8000.00),('2021-08-09 10:11:34',8,1000.00),('2021-08-09 10:13:12',9,3000.00),('2021-08-09 10:16:12',10,0.00),('2021-08-09 10:19:15',11,1000.00),('2021-08-09 10:21:22',12,5000.00),('2021-08-09 10:24:30',13,1000.00),('2021-08-09 10:26:04',14,1500.00),('2021-08-09 10:27:16',15,3000.00),('2021-08-09 10:30:06',16,2000.00),('2021-08-09 10:31:36',17,3000.00),('2021-08-09 10:36:08',18,1500.00),('2021-08-09 10:37:28',19,1500.00),('2021-08-09 10:40:24',20,5000.00),('2021-08-09 10:42:22',21,2000.00),('2021-08-09 10:43:48',22,3000.00),('2021-08-09 10:45:03',23,5000.00),('2021-08-09 10:46:39',24,7000.00),('2021-08-09 10:48:21',25,1000.00),('2021-08-09 10:49:23',26,3000.00),('2021-08-09 10:51:17',27,1000.00),('2021-08-09 10:53:36',28,3000.00),('2021-08-09 10:55:42',29,3000.00),('2021-08-09 10:58:04',30,1000.00),('2021-08-09 11:01:13',31,2500.00),('2021-08-09 11:03:27',32,1500.00),('2021-08-09 11:04:47',33,10000.00),('2021-08-09 11:06:15',34,40000.00),('2021-08-09 11:08:22',35,5000.00),('2021-08-09 11:17:02',36,2000.00),('2021-08-09 11:18:26',37,1500.00),('2021-08-09 11:20:00',38,2000.00),('2021-08-09 11:22:09',39,500.00),('2021-08-09 11:24:14',40,3000.00),('2021-08-09 11:25:46',41,0.00),('2021-08-09 11:27:03',42,0.00),('2021-08-09 11:28:08',43,0.00),('2021-08-09 11:29:17',44,0.00),('2021-08-09 12:34:57',45,1000.00),('2021-08-09 12:40:45',46,1500.00);
|
|
1266
|
+
/*!40000 ALTER TABLE `test_type_costs` ENABLE KEYS */;
|
|
1267
|
+
UNLOCK TABLES;
|
|
1268
|
+
|
|
1269
|
+
--
|
|
1270
|
+
-- Table structure for table `test_type_measure`
|
|
1271
|
+
--
|
|
1272
|
+
|
|
1273
|
+
DROP TABLE IF EXISTS `test_type_measure`;
|
|
1274
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1275
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1276
|
+
CREATE TABLE `test_type_measure` (
|
|
1277
|
+
`test_type_id` int(11) unsigned NOT NULL default '0',
|
|
1278
|
+
`measure_id` int(11) unsigned NOT NULL default '0',
|
|
1279
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1280
|
+
KEY `test_type_id` (`test_type_id`),
|
|
1281
|
+
KEY `measure_id` (`measure_id`)
|
|
1282
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1283
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1284
|
+
|
|
1285
|
+
--
|
|
1286
|
+
-- Dumping data for table `test_type_measure`
|
|
1287
|
+
--
|
|
1288
|
+
|
|
1289
|
+
LOCK TABLES `test_type_measure` WRITE;
|
|
1290
|
+
/*!40000 ALTER TABLE `test_type_measure` DISABLE KEYS */;
|
|
1291
|
+
INSERT INTO `test_type_measure` VALUES (1,1,'2021-08-09 08:26:21'),(2,2,'2021-08-09 09:50:42'),(3,3,'2021-08-09 09:56:18'),(4,4,'2021-08-09 09:57:46'),(5,5,'2021-08-09 10:05:24'),(6,6,'2021-08-09 10:06:56'),(7,7,'2021-08-09 10:08:57'),(8,8,'2021-08-09 10:11:34'),(9,9,'2021-08-09 10:13:12'),(10,10,'2021-08-09 10:16:12'),(11,11,'2021-08-09 10:19:15'),(12,12,'2021-08-09 10:21:22'),(13,13,'2021-08-09 10:24:30'),(14,14,'2021-08-09 10:26:04'),(15,15,'2021-08-09 10:27:16'),(16,16,'2021-08-09 10:30:06'),(17,17,'2021-08-09 10:31:36'),(18,18,'2021-08-09 10:36:08'),(18,19,'2021-08-09 10:36:08'),(19,20,'2021-08-09 10:37:28'),(20,21,'2021-08-09 10:40:25'),(21,22,'2021-08-09 10:42:22'),(22,23,'2021-08-09 10:43:48'),(23,24,'2021-08-09 10:45:03'),(24,25,'2021-08-09 10:46:39'),(25,26,'2021-08-09 10:48:21'),(26,27,'2021-08-09 10:49:23'),(27,28,'2021-08-09 10:51:17'),(28,29,'2021-08-09 10:53:36'),(29,30,'2021-08-09 10:55:42'),(30,31,'2021-08-09 10:58:04'),(31,32,'2021-08-09 11:01:13'),(32,33,'2021-08-09 11:03:27'),(33,34,'2021-08-09 11:04:47'),(34,35,'2021-08-09 11:06:15'),(35,36,'2021-08-09 11:08:22'),(1,37,'2021-08-09 11:13:19'),(36,38,'2021-08-09 11:17:02'),(37,39,'2021-08-09 11:18:26'),(38,40,'2021-08-09 11:20:00'),(39,41,'2021-08-09 11:22:09'),(39,42,'2021-08-09 11:22:09'),(39,43,'2021-08-09 11:22:09'),(39,44,'2021-08-09 11:22:09'),(40,45,'2021-08-09 11:24:14'),(41,46,'2021-08-09 11:25:46'),(42,47,'2021-08-09 11:27:03'),(43,48,'2021-08-09 11:28:07'),(44,49,'2021-08-09 11:29:17'),(45,50,'2021-08-09 12:34:57'),(45,51,'2021-08-09 12:34:57'),(45,52,'2021-08-09 12:34:57'),(45,53,'2021-08-09 12:34:57'),(45,54,'2021-08-09 12:34:57'),(45,55,'2021-08-09 12:34:57'),(45,56,'2021-08-09 12:34:57'),(45,57,'2021-08-09 12:34:57'),(45,58,'2021-08-09 12:34:57'),(45,59,'2021-08-09 12:34:57'),(46,60,'2021-08-09 12:40:45'),(46,61,'2021-08-09 12:40:45'),(46,62,'2021-08-09 12:40:45'),(46,63,'2021-08-09 12:40:45'),(46,64,'2021-08-09 12:40:45'),(46,65,'2021-08-09 12:40:45'),(46,66,'2021-08-09 12:40:45'),(46,67,'2021-08-09 12:40:45'),(46,68,'2021-08-09 12:40:45');
|
|
1292
|
+
/*!40000 ALTER TABLE `test_type_measure` ENABLE KEYS */;
|
|
1293
|
+
UNLOCK TABLES;
|
|
1294
|
+
|
|
1295
|
+
--
|
|
1296
|
+
-- Table structure for table `unit`
|
|
1297
|
+
--
|
|
1298
|
+
|
|
1299
|
+
DROP TABLE IF EXISTS `unit`;
|
|
1300
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1301
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1302
|
+
CREATE TABLE `unit` (
|
|
1303
|
+
`unit_id` int(11) unsigned NOT NULL auto_increment,
|
|
1304
|
+
`unit` varchar(45) NOT NULL default '',
|
|
1305
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1306
|
+
PRIMARY KEY (`unit_id`)
|
|
1307
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1308
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1309
|
+
|
|
1310
|
+
--
|
|
1311
|
+
-- Dumping data for table `unit`
|
|
1312
|
+
--
|
|
1313
|
+
|
|
1314
|
+
LOCK TABLES `unit` WRITE;
|
|
1315
|
+
/*!40000 ALTER TABLE `unit` DISABLE KEYS */;
|
|
1316
|
+
/*!40000 ALTER TABLE `unit` ENABLE KEYS */;
|
|
1317
|
+
UNLOCK TABLES;
|
|
1318
|
+
|
|
1319
|
+
--
|
|
1320
|
+
-- Table structure for table `user`
|
|
1321
|
+
--
|
|
1322
|
+
|
|
1323
|
+
DROP TABLE IF EXISTS `user`;
|
|
1324
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1325
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1326
|
+
CREATE TABLE `user` (
|
|
1327
|
+
`user_id` int(11) unsigned NOT NULL auto_increment,
|
|
1328
|
+
`username` varchar(45) NOT NULL default '',
|
|
1329
|
+
`password` varchar(45) NOT NULL default '',
|
|
1330
|
+
`actualname` varchar(45) default NULL,
|
|
1331
|
+
`email` varchar(45) default NULL,
|
|
1332
|
+
`created_by` int(11) unsigned default NULL,
|
|
1333
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
|
|
1334
|
+
`lab_config_id` int(10) unsigned NOT NULL,
|
|
1335
|
+
`level` int(10) unsigned default NULL,
|
|
1336
|
+
`phone` varchar(45) default NULL,
|
|
1337
|
+
`lang_id` varchar(45) NOT NULL default 'default',
|
|
1338
|
+
PRIMARY KEY (`user_id`),
|
|
1339
|
+
KEY `user_id_index` USING BTREE (`lab_config_id`)
|
|
1340
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Users are anybody that works in the lab.';
|
|
1341
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1342
|
+
|
|
1343
|
+
--
|
|
1344
|
+
-- Dumping data for table `user`
|
|
1345
|
+
--
|
|
1346
|
+
|
|
1347
|
+
LOCK TABLES `user` WRITE;
|
|
1348
|
+
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
|
|
1349
|
+
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
|
|
1350
|
+
UNLOCK TABLES;
|
|
1351
|
+
|
|
1352
|
+
--
|
|
1353
|
+
-- Table structure for table `user_feedback`
|
|
1354
|
+
--
|
|
1355
|
+
|
|
1356
|
+
DROP TABLE IF EXISTS `user_feedback`;
|
|
1357
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1358
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1359
|
+
CREATE TABLE `user_feedback` (
|
|
1360
|
+
`id` int(11) NOT NULL auto_increment,
|
|
1361
|
+
`user_id` int(11) default NULL,
|
|
1362
|
+
`rating` int(3) default NULL,
|
|
1363
|
+
`comments` varchar(500) collate latin1_general_ci default NULL,
|
|
1364
|
+
`ts` timestamp NULL default CURRENT_TIMESTAMP,
|
|
1365
|
+
PRIMARY KEY (`id`)
|
|
1366
|
+
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
|
|
1367
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1368
|
+
|
|
1369
|
+
--
|
|
1370
|
+
-- Dumping data for table `user_feedback`
|
|
1371
|
+
--
|
|
1372
|
+
|
|
1373
|
+
LOCK TABLES `user_feedback` WRITE;
|
|
1374
|
+
/*!40000 ALTER TABLE `user_feedback` DISABLE KEYS */;
|
|
1375
|
+
INSERT INTO `user_feedback` VALUES (1,504,6,'','2021-08-09 08:38:33'),(2,504,6,'','2021-08-09 13:42:54'),(3,504,6,'','2021-08-10 08:29:37'),(4,504,6,'','2021-08-12 11:38:48'),(5,504,6,'','2021-08-12 11:42:46');
|
|
1376
|
+
/*!40000 ALTER TABLE `user_feedback` ENABLE KEYS */;
|
|
1377
|
+
UNLOCK TABLES;
|
|
1378
|
+
|
|
1379
|
+
--
|
|
1380
|
+
-- Table structure for table `user_props`
|
|
1381
|
+
--
|
|
1382
|
+
|
|
1383
|
+
DROP TABLE IF EXISTS `user_props`;
|
|
1384
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1385
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1386
|
+
CREATE TABLE `user_props` (
|
|
1387
|
+
`User_Id` varchar(50) NOT NULL default '',
|
|
1388
|
+
`AppCodeName` varchar(25) NOT NULL default '',
|
|
1389
|
+
`AppName` varchar(25) NOT NULL default '',
|
|
1390
|
+
`AppVersion` varchar(25) NOT NULL default '',
|
|
1391
|
+
`CookieEnabled` tinyint(1) NOT NULL default '0',
|
|
1392
|
+
`Platform` varchar(20) NOT NULL default '',
|
|
1393
|
+
`UserAgent` varchar(200) NOT NULL default '',
|
|
1394
|
+
`SystemLanguage` varchar(15) NOT NULL default '',
|
|
1395
|
+
`UserLanguage` varchar(15) NOT NULL default '',
|
|
1396
|
+
`Language` varchar(15) NOT NULL default '',
|
|
1397
|
+
`ScreenAvailHeight` int(11) NOT NULL default '0',
|
|
1398
|
+
`ScreenAvailWidth` int(11) NOT NULL default '0',
|
|
1399
|
+
`ScreenColorDepth` int(11) NOT NULL default '0',
|
|
1400
|
+
`ScreenHeight` int(11) NOT NULL default '0',
|
|
1401
|
+
`ScreenWidth` int(11) NOT NULL default '0',
|
|
1402
|
+
`Recorded_At` datetime NOT NULL default '0000-00-00 00:00:00'
|
|
1403
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1404
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1405
|
+
|
|
1406
|
+
--
|
|
1407
|
+
-- Dumping data for table `user_props`
|
|
1408
|
+
--
|
|
1409
|
+
|
|
1410
|
+
LOCK TABLES `user_props` WRITE;
|
|
1411
|
+
/*!40000 ALTER TABLE `user_props` DISABLE KEYS */;
|
|
1412
|
+
/*!40000 ALTER TABLE `user_props` ENABLE KEYS */;
|
|
1413
|
+
UNLOCK TABLES;
|
|
1414
|
+
|
|
1415
|
+
--
|
|
1416
|
+
-- Table structure for table `user_rating`
|
|
1417
|
+
--
|
|
1418
|
+
|
|
1419
|
+
DROP TABLE IF EXISTS `user_rating`;
|
|
1420
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1421
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1422
|
+
CREATE TABLE `user_rating` (
|
|
1423
|
+
`user_id` int(10) unsigned NOT NULL,
|
|
1424
|
+
`rating` int(10) unsigned NOT NULL,
|
|
1425
|
+
`ts` timestamp NOT NULL default CURRENT_TIMESTAMP,
|
|
1426
|
+
PRIMARY KEY (`user_id`,`ts`)
|
|
1427
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1428
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1429
|
+
|
|
1430
|
+
--
|
|
1431
|
+
-- Dumping data for table `user_rating`
|
|
1432
|
+
--
|
|
1433
|
+
|
|
1434
|
+
LOCK TABLES `user_rating` WRITE;
|
|
1435
|
+
/*!40000 ALTER TABLE `user_rating` DISABLE KEYS */;
|
|
1436
|
+
/*!40000 ALTER TABLE `user_rating` ENABLE KEYS */;
|
|
1437
|
+
UNLOCK TABLES;
|
|
1438
|
+
|
|
1439
|
+
--
|
|
1440
|
+
-- Table structure for table `worksheet_custom`
|
|
1441
|
+
--
|
|
1442
|
+
|
|
1443
|
+
DROP TABLE IF EXISTS `worksheet_custom`;
|
|
1444
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1445
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1446
|
+
CREATE TABLE `worksheet_custom` (
|
|
1447
|
+
`id` int(10) unsigned NOT NULL auto_increment,
|
|
1448
|
+
`name` varchar(100) NOT NULL,
|
|
1449
|
+
`header` varchar(500) NOT NULL,
|
|
1450
|
+
`footer` varchar(500) NOT NULL,
|
|
1451
|
+
`title` varchar(500) NOT NULL,
|
|
1452
|
+
`p_fields` varchar(100) NOT NULL,
|
|
1453
|
+
`s_fields` varchar(100) NOT NULL,
|
|
1454
|
+
`t_fields` varchar(100) NOT NULL,
|
|
1455
|
+
`p_custom` varchar(100) NOT NULL,
|
|
1456
|
+
`s_custom` varchar(100) NOT NULL,
|
|
1457
|
+
`margins` varchar(50) NOT NULL,
|
|
1458
|
+
`id_fields` varchar(45) NOT NULL default '0,0,0',
|
|
1459
|
+
`landscape` int(10) unsigned NOT NULL default '0',
|
|
1460
|
+
PRIMARY KEY (`id`)
|
|
1461
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1462
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1463
|
+
|
|
1464
|
+
--
|
|
1465
|
+
-- Dumping data for table `worksheet_custom`
|
|
1466
|
+
--
|
|
1467
|
+
|
|
1468
|
+
LOCK TABLES `worksheet_custom` WRITE;
|
|
1469
|
+
/*!40000 ALTER TABLE `worksheet_custom` DISABLE KEYS */;
|
|
1470
|
+
/*!40000 ALTER TABLE `worksheet_custom` ENABLE KEYS */;
|
|
1471
|
+
UNLOCK TABLES;
|
|
1472
|
+
|
|
1473
|
+
--
|
|
1474
|
+
-- Table structure for table `worksheet_custom_test`
|
|
1475
|
+
--
|
|
1476
|
+
|
|
1477
|
+
DROP TABLE IF EXISTS `worksheet_custom_test`;
|
|
1478
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1479
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1480
|
+
CREATE TABLE `worksheet_custom_test` (
|
|
1481
|
+
`worksheet_id` int(10) unsigned NOT NULL,
|
|
1482
|
+
`test_type_id` int(10) unsigned NOT NULL,
|
|
1483
|
+
`measure_id` int(10) unsigned NOT NULL,
|
|
1484
|
+
`width` varchar(45) NOT NULL,
|
|
1485
|
+
KEY `worksheet_id` (`worksheet_id`),
|
|
1486
|
+
KEY `test_type_id` (`test_type_id`),
|
|
1487
|
+
KEY `measure_id` (`measure_id`)
|
|
1488
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1489
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1490
|
+
|
|
1491
|
+
--
|
|
1492
|
+
-- Dumping data for table `worksheet_custom_test`
|
|
1493
|
+
--
|
|
1494
|
+
|
|
1495
|
+
LOCK TABLES `worksheet_custom_test` WRITE;
|
|
1496
|
+
/*!40000 ALTER TABLE `worksheet_custom_test` DISABLE KEYS */;
|
|
1497
|
+
/*!40000 ALTER TABLE `worksheet_custom_test` ENABLE KEYS */;
|
|
1498
|
+
UNLOCK TABLES;
|
|
1499
|
+
|
|
1500
|
+
--
|
|
1501
|
+
-- Table structure for table `worksheet_custom_userfield`
|
|
1502
|
+
--
|
|
1503
|
+
|
|
1504
|
+
DROP TABLE IF EXISTS `worksheet_custom_userfield`;
|
|
1505
|
+
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
1506
|
+
/*!40101 SET character_set_client = utf8 */;
|
|
1507
|
+
CREATE TABLE `worksheet_custom_userfield` (
|
|
1508
|
+
`worksheet_id` int(10) unsigned NOT NULL,
|
|
1509
|
+
`name` varchar(70) NOT NULL default '',
|
|
1510
|
+
`width` int(10) unsigned NOT NULL default '10',
|
|
1511
|
+
`field_id` int(10) unsigned NOT NULL auto_increment,
|
|
1512
|
+
KEY `Primary Key` (`field_id`),
|
|
1513
|
+
KEY `worksheet_id` (`worksheet_id`)
|
|
1514
|
+
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
1515
|
+
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
1516
|
+
|
|
1517
|
+
--
|
|
1518
|
+
-- Dumping data for table `worksheet_custom_userfield`
|
|
1519
|
+
--
|
|
1520
|
+
|
|
1521
|
+
LOCK TABLES `worksheet_custom_userfield` WRITE;
|
|
1522
|
+
/*!40000 ALTER TABLE `worksheet_custom_userfield` DISABLE KEYS */;
|
|
1523
|
+
/*!40000 ALTER TABLE `worksheet_custom_userfield` ENABLE KEYS */;
|
|
1524
|
+
UNLOCK TABLES;
|
|
1525
|
+
|
|
1526
|
+
--
|
|
1527
|
+
-- Dumping routines for database 'blis_12'
|
|
1528
|
+
--
|
|
1529
|
+
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
1530
|
+
|
|
1531
|
+
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
1532
|
+
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
1533
|
+
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
1534
|
+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
1535
|
+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
1536
|
+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
1537
|
+
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
1538
|
+
|
|
1539
|
+
-- Dump completed on 2022-02-09 19:19:04
|