This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
forked from bzg/covid19-algorithme-orientation-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.json
289 lines (289 loc) · 8.09 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
{
"description" : "Spécification des données issues des questionnaires d'orientation Covid-19",
"homepage" : "https://github.com/Delegation-numerique-en-sante/covid19-algorithme-orientation-check",
"updated" : "2020-06-09",
"fields" : [ {
"name" : "algo_version",
"description" : "Le numéro de version de l'algorithme d'orientation Covid-19",
"example" : "2020-04-17",
"type" : "date",
"constraints" : {
"required" : true
}
}, {
"name" : "form_version",
"description" : "Le numéro de version du formulaire de saisie",
"example" : "2020-04-17",
"type" : "date",
"constraints" : {
"required" : true
}
}, {
"name" : "date",
"description" : "La date de saisie du questionnaire",
"example" : "2020-04-02T05:24:57Z",
"type" : "datetime",
"constraints" : {
"required" : true
}
}, {
"name" : "duration",
"description" : "La durée de la saisie du questionnaire",
"example" : 126,
"type" : "integer",
"constraints" : {
"required" : true,
"minimum" : 0
}
}, {
"name" : "postal_code",
"description" : "Le code postal du lieu de résidence actuel",
"example" : "75019",
"type" : "string",
"constraints" : {
"pattern" : "^\\d.{4}|\\d.{1}$",
"required" : false
}
}, {
"name" : "orientation",
"description" : "L'identifiant du message d'orientation envoyé au répondant",
"example" : "orientation_SAMU",
"type" : "string",
"constraints" : {
"enum" : [ "SAMU", "consultation_surveillance_1", "consultation_surveillance_2", "consultation_surveillance_3", "consultation_surveillance_4", "less_15", "surveillance" ],
"required" : true
}
}, {
"name" : "age_range",
"description" : "La tranche d'âge dans laquelle se situe le répondant",
"example" : "from_15_to_49",
"type" : "string",
"constraints" : {
"enum" : [ "inf_15", "from_15_to_49", "from_50_to_64", "sup_65" ],
"required" : true
}
}, {
"name" : "imc",
"description" : "Indice de masse corporelle",
"example" : "29.2",
"type" : "number",
"constraints" : {
"required" : true,
"minimum" : 10,
"maximum" : 70
}
}, {
"name" : "feeding_day",
"description" : "Difficulté à boire ou se nourrir dans les dernières 24 heures",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "breathlessness",
"description" : "Apparition d'un manque de souffle inhabituel",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "temperature_cat",
"description" : "Température la plus élevée ces dernières 48 heures",
"example" : "35.5-37.7",
"type" : "string",
"constraints" : {
"enum" : [ "inf_35.5", "35.5-37.7", "37.8-38.9", "sup_39", "NSP" ],
"required" : true
}
}, {
"name" : "fever_algo",
"description" : "Calcul du facteur fièvre",
"example" : false,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "tiredness",
"description" : "Fatigue",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "tiredness_details",
"description" : "Fatigue obligeant à rester alité plus de la moitié de la journée",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : false
}
}, {
"name" : "cough",
"description" : "Toux",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "agueusia_anosmia",
"description" : "Perte de goût ou d'odorat",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "sore_throat_aches",
"description" : "Apparition de maux de gorge, douleurs musculaires ou courbatures inhabituelles",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "diarrhea",
"description" : "Diarrhée",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "diabetes",
"description" : "Diabète",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "cancer",
"description" : "Cancer en cours ou il y a moins de trois ans",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "breathing_disease",
"description" : "Maladie respiratoire ou suivi pneumologique",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "kidney_disease",
"description" : "Insuffisance rénale chronique dialysée",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "liver_disease",
"description" : "Maladie chronique du foie",
"example" : true,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "pregnant",
"description" : "La personne est-elle enceinte",
"example" : "888",
"type" : "string",
"constraints" : {
"enum" : [ "0", "false", "1", "true", "888" ],
"required" : true
}
}, {
"name" : "heart_disease",
"description" : "Maladie cardiaque",
"example" : "999",
"type" : "string",
"constraints" : {
"enum" : [ "0", "false", "1", "true", "999" ],
"required" : true
}
}, {
"name" : "heart_disease_algo",
"description" : "Maladie cardiaque",
"example" : false,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "immunosuppressant_disease",
"description" : "Maladie défenses immunitaires",
"example" : "999",
"type" : "string",
"constraints" : {
"enum" : [ "0", "false", "1", "true", "999" ],
"required" : true
}
}, {
"name" : "immunosuppressant_disease_algo",
"description" : "Maladie défenses immunitaires",
"example" : false,
"type" : "boolean",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
}, {
"name" : "sickle_cell",
"description" : "Drépanocytose homozygote",
"type" : "boolean",
"example" : "0",
"trueValues" : [ "1", "true" ],
"falseValues" : [ "0", "false" ],
"constraints" : {
"required" : true
}
} ],
"created" : "2020-04-19",
"title" : "Spécification des données issues des questionnaires d'orientation Covid-19",
"author" : "Délégation numérique en santé - ministère des Solidarités et de la Santé",
"contributor" : "Direction interministérielle du numérique",
"example" : "https://github.com/Delegation-numerique-en-sante/covid19-algorithme-orientation-check/blob/master/example.csv",
"version" : "2020-06-09",
"contact" : "mobilisation-covid@sante.gouv.fr"
}