-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfinding_model.schema.json
More file actions
509 lines (509 loc) · 14.4 KB
/
Copy pathfinding_model.schema.json
File metadata and controls
509 lines (509 loc) · 14.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
{
"$defs": {
"ChoiceAttributeIded": {
"description": "An attribute of a radiology finding where the radiologist would choose from a list of options. For example,\nthe severity of a finding (mild, moderate, or severe), or the shape of a finding (round, oval, or\nirregular). For attributes which can have multiple values from a series of choices, max_selected can be set to\"\na value greater than 1 or \"all\".",
"properties": {
"oifma_id": {
"description": "The ID of the attribute in the Open Imaging Data Model Finding Model registry",
"pattern": "^OIFMA_[A-Z]{3,4}_[0-9]{6}$",
"title": "Oifma Id",
"type": "string"
},
"name": {
"description": "Short, descriptive name of the attribute as an case-sensitive English phrase (preserving capitalization of acronyms).",
"maxLength": 100,
"minLength": 3,
"title": "Name",
"type": "string"
},
"description": {
"anyOf": [
{
"maxLength": 500,
"minLength": 5,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A one-to-two sentence description of the attribute that might be included in a medical textbook",
"title": "Description"
},
"type": {
"const": "choice",
"default": "choice",
"title": "Type",
"type": "string"
},
"values": {
"items": {
"$ref": "#/$defs/ChoiceValueIded"
},
"minItems": 2,
"title": "Values",
"type": "array"
},
"required": {
"default": false,
"description": "Whether the attribute is used every time a radiologist describes the finding",
"title": "Required",
"type": "boolean"
},
"max_selected": {
"default": 1,
"description": "The maximum number of values that can be selected for a choice attribute (defaults to 1).",
"minimum": 1,
"title": "Max Selected",
"type": "integer"
},
"index_codes": {
"anyOf": [
{
"default": null,
"description": "References to concepts in standad ontologies to facilitate interoperability between systems.",
"items": {
"$ref": "#/$defs/IndexCode"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Index Codes"
}
},
"required": [
"oifma_id",
"name",
"values"
],
"title": "ChoiceAttributeIded",
"type": "object"
},
"ChoiceValueIded": {
"description": "A value that a radiologist might choose for a choice attribute. For example, the severity of a finding might be\nsevere, or the shape of a finding might be oval.",
"properties": {
"value_code": {
"description": "The code for the value in the Open Imaging Data Model Finding Model registry",
"pattern": "^OIFMA_[A-Z]{3,4}_[0-9]{6}\\.\\d+$",
"title": "Value Code",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"index_codes": {
"anyOf": [
{
"default": null,
"description": "References to concepts in standad ontologies to facilitate interoperability between systems.",
"items": {
"$ref": "#/$defs/IndexCode"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Index Codes"
}
},
"required": [
"value_code",
"name"
],
"title": "ChoiceValueIded",
"type": "object"
},
"IndexCode": {
"description": "Code representing an entry in a standard ontology, e.g., SNOMED or RadLex, which can be applied\nto a finding or attribute. This is used to standardize the representation of findings and attributes\nacross different systems and to facilitate interoperability between different systems.",
"properties": {
"system": {
"description": "The system that the code is from, e.g., SNOMED or RadLex.",
"minLength": 3,
"title": "System",
"type": "string"
},
"code": {
"description": "The code representing the entry in the standard ontology.",
"minLength": 3,
"title": "Code",
"type": "string"
},
"display": {
"anyOf": [
{
"minLength": 3,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The display name of the code in the standard ontology.",
"title": "Display"
}
},
"required": [
"system",
"code"
],
"title": "IndexCode",
"type": "object"
},
"NumericAttributeIded": {
"description": "An attribute of a radiology finding where the radiologist would choose a number from a range. For example, the\nsize of a finding might be up to 10 cm or the number of findings might be between 1 and 10.",
"properties": {
"oifma_id": {
"description": "The ID of the attribute in the Open Imaging Data Model Finding Model registry",
"pattern": "^OIFMA_[A-Z]{3,4}_[0-9]{6}$",
"title": "Oifma Id",
"type": "string"
},
"name": {
"description": "Short, descriptive name of the attribute as an case-sensitive English phrase (preserving capitalization of acronyms).",
"maxLength": 100,
"minLength": 3,
"title": "Name",
"type": "string"
},
"description": {
"anyOf": [
{
"maxLength": 500,
"minLength": 5,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A one-to-two sentence description of the attribute that might be included in a medical textbook",
"title": "Description"
},
"type": {
"const": "numeric",
"default": "numeric",
"title": "Type",
"type": "string"
},
"minimum": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "The minimum value for the attribute.",
"title": "Minimum"
},
"maximum": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "The maximum value for the attribute.",
"title": "Maximum"
},
"unit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The unit of measure for the attribute",
"title": "Unit"
},
"required": {
"default": false,
"description": "Whether the attribute is used every time a radiologist describes the finding",
"title": "Required",
"type": "boolean"
},
"index_codes": {
"anyOf": [
{
"default": null,
"description": "References to concepts in standad ontologies to facilitate interoperability between systems.",
"items": {
"$ref": "#/$defs/IndexCode"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Index Codes"
}
},
"required": [
"oifma_id",
"name"
],
"title": "NumericAttributeIded",
"type": "object"
},
"Organization": {
"properties": {
"name": {
"description": "Full name of the organization",
"minLength": 5,
"title": "Name",
"type": "string"
},
"code": {
"description": "Short (3-4 letter) code for the organization",
"pattern": "^[A-Z]{3,4}$",
"title": "Code",
"type": "string"
},
"url": {
"anyOf": [
{
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "URL for more information about the organization",
"title": "Url"
}
},
"required": [
"name",
"code"
],
"title": "Organization",
"type": "object"
},
"Person": {
"properties": {
"github_username": {
"description": "GitHub username of the person",
"minLength": 3,
"title": "Github Username",
"type": "string"
},
"email": {
"description": "Email address of the person",
"format": "email",
"title": "Email",
"type": "string"
},
"name": {
"description": "Full name of the person",
"minLength": 3,
"title": "Name",
"type": "string"
},
"organization_code": {
"description": "Short (3-4 letter) code for the organization",
"pattern": "^[A-Z]{3,4}$",
"title": "Organization Code",
"type": "string"
},
"url": {
"anyOf": [
{
"format": "uri",
"maxLength": 2083,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "URL for more information about the person",
"title": "Url"
}
},
"required": [
"github_username",
"email",
"name",
"organization_code"
],
"title": "Person",
"type": "object"
}
},
"description": "The definition of a radiology finding what the finding is such as might be included in a textbook\nalong with definitions of the relevant attributes that a radiologist might use to characterize the finding in a\nradiology report.",
"properties": {
"oifm_id": {
"description": "The ID of the finding model in the Open Imaging Data Model Finding Model registry",
"pattern": "^OIFM_[A-Z]{3,4}_[0-9]{6}$",
"title": "Oifm Id",
"type": "string"
},
"name": {
"description": "The name of the finding model. This should be a short, descriptive name that is easy to remember",
"minLength": 5,
"title": "Name",
"type": "string"
},
"description": {
"description": "A one-to-two sentence description of the finding that might be included in a textbook",
"minLength": 5,
"title": "Description",
"type": "string"
},
"synonyms": {
"anyOf": [
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Other terms that might be used to describe the finding in a radiology report",
"title": "Synonyms"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Tags that might be used to categorize the finding among other findings",
"title": "Tags"
},
"contributors": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/$defs/Person"
},
{
"$ref": "#/$defs/Organization"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "The contributing users and organizations to the finding model",
"title": "Contributors"
},
"attributes": {
"description": "The attributes a radiologist would use to characterize a particular finding in a radiology report",
"items": {
"description": "An attribute that a radiologist would use to characterize a particular finding in a radiology report",
"discriminator": {
"mapping": {
"choice": "#/$defs/ChoiceAttributeIded",
"numeric": "#/$defs/NumericAttributeIded"
},
"propertyName": "type"
},
"oneOf": [
{
"$ref": "#/$defs/ChoiceAttributeIded"
},
{
"$ref": "#/$defs/NumericAttributeIded"
}
]
},
"minItems": 1,
"title": "Attributes",
"type": "array"
},
"index_codes": {
"anyOf": [
{
"default": null,
"description": "References to concepts in standad ontologies to facilitate interoperability between systems.",
"items": {
"$ref": "#/$defs/IndexCode"
},
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Index Codes"
}
},
"required": [
"oifm_id",
"name",
"description",
"attributes"
],
"title": "FindingModelFull",
"type": "object"
}