@@ -395,6 +395,8 @@ components:
395
395
requestBody :
396
396
body :
397
397
q : ' {inputs[0]}'
398
+ # # example: put C0000392 (beta-Alanine)
399
+ # # should get 10017947 (gastrointestinal disorders) back
398
400
scopes : umls
399
401
header : application/x-www-form-urlencoded
400
402
inputs :
@@ -414,11 +416,13 @@ components:
414
416
- supportBatch : true
415
417
inputSeparator : " ,"
416
418
parameters :
417
- fields : name, umls
419
+ fields : umls
418
420
size : 1000
419
421
requestBody :
420
422
body :
421
423
q : ' {inputs[0]}'
424
+ # # example: put 10017947 (gastrointestinal disorders)
425
+ # # should get C0000392 (beta-Alanine) back
422
426
scopes : has_adverse_effect_on.meddra
423
427
header : application/x-www-form-urlencoded
424
428
inputs :
@@ -442,6 +446,8 @@ components:
442
446
requestBody :
443
447
body :
444
448
q : ' {inputs[0]}'
449
+ # # example: put C0000578 (5-Hydroxytryptophan)
450
+ # # should get C0027497 (nausea) back
445
451
scopes : umls
446
452
header : application/x-www-form-urlencoded
447
453
inputs :
@@ -462,11 +468,13 @@ components:
462
468
- supportBatch : true
463
469
inputSeparator : " ,"
464
470
parameters :
465
- fields : name, umls
471
+ fields : umls
466
472
size : 1000
467
473
requestBody :
468
474
body :
469
475
q : ' {inputs[0]}'
476
+ # # example: put C0027497 (nausea)
477
+ # # should get C0000578 (5-Hydroxytryptophan) back
470
478
scopes : has_adverse_reaction.umls
471
479
header : application/x-www-form-urlencoded
472
480
inputs :
@@ -491,6 +499,8 @@ components:
491
499
requestBody :
492
500
body :
493
501
q : ' {inputs[0]}'
502
+ # # example: put C0000473 (4-Aminobenzoic Acid)
503
+ # # should get C0010137 (Cortisone) back
494
504
scopes : umls
495
505
header : application/x-www-form-urlencoded
496
506
inputs :
@@ -507,11 +517,13 @@ components:
507
517
- supportBatch : true
508
518
inputSeparator : " ,"
509
519
parameters :
510
- fields : name, umls
520
+ fields : umls
511
521
size : 1000
512
522
requestBody :
513
523
body :
514
524
q : ' {inputs[0]}'
525
+ # # example: put C0010137 (Cortisone)
526
+ # # should get C0000473 (4-Aminobenzoic Acid) back
515
527
scopes : interacts_with.umls
516
528
header : application/x-www-form-urlencoded
517
529
inputs :
@@ -536,6 +548,8 @@ components:
536
548
requestBody :
537
549
body :
538
550
q : ' {inputs[0]}'
551
+ # # example: put C0000503 (gamma hydroxybutyrate)
552
+ # # should get C0016053 (Fibromyalgias) back
539
553
scopes : umls
540
554
header : application/x-www-form-urlencoded
541
555
inputs :
@@ -553,11 +567,13 @@ components:
553
567
- supportBatch : true
554
568
inputSeparator : " ,"
555
569
parameters :
556
- fields : name, umls
570
+ fields : umls
557
571
size : 1000
558
572
requestBody :
559
573
body :
560
574
q : ' {inputs[0]}'
575
+ # # example: put C0016053 (Fibromyalgias)
576
+ # # should get C0000503 (gamma hydroxybutyrate) back
561
577
scopes : is_effective_for.umls
562
578
header : application/x-www-form-urlencoded
563
579
inputs :
@@ -577,7 +593,6 @@ components:
577
593
source : has_adverse_effect_on.source.name
578
594
rev :
579
595
UMLS : umls
580
- name : name
581
596
has_adverse_reaction :
582
597
UMLS : has_adverse_reaction.umls
583
598
name : has_adverse_reaction.name
0 commit comments