ezmedicationinput 0.1.42 → 0.1.44

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.
Files changed (46) hide show
  1. package/README.md +31 -1
  2. package/dist/advice-rules.json +772 -0
  3. package/dist/advice-terminology.json +104 -0
  4. package/dist/advice.d.ts +16 -0
  5. package/dist/advice.js +1375 -0
  6. package/dist/event-trigger.d.ts +14 -0
  7. package/dist/event-trigger.js +501 -0
  8. package/dist/fhir-translations.d.ts +5 -0
  9. package/dist/fhir-translations.js +117 -0
  10. package/dist/fhir.d.ts +6 -4
  11. package/dist/fhir.js +566 -134
  12. package/dist/format.d.ts +5 -2
  13. package/dist/format.js +581 -219
  14. package/dist/i18n.d.ts +4 -2
  15. package/dist/i18n.js +725 -197
  16. package/dist/index.d.ts +0 -1
  17. package/dist/index.js +221 -169
  18. package/dist/internal-types.d.ts +5 -5
  19. package/dist/ir.d.ts +4 -0
  20. package/dist/ir.js +178 -0
  21. package/dist/lexer/lex.d.ts +2 -0
  22. package/dist/lexer/lex.js +401 -0
  23. package/dist/lexer/meaning.d.ts +71 -0
  24. package/dist/lexer/meaning.js +619 -0
  25. package/dist/lexer/surface.d.ts +2 -0
  26. package/dist/lexer/surface.js +62 -0
  27. package/dist/lexer/token-types.d.ts +36 -0
  28. package/dist/lexer/token-types.js +19 -0
  29. package/dist/maps.d.ts +6 -12
  30. package/dist/maps.js +793 -247
  31. package/dist/parser-state.d.ts +101 -0
  32. package/dist/parser-state.js +441 -0
  33. package/dist/parser.d.ts +7 -7
  34. package/dist/parser.js +3598 -1974
  35. package/dist/prn.d.ts +4 -0
  36. package/dist/prn.js +59 -0
  37. package/dist/schedule.js +230 -32
  38. package/dist/site-phrases.d.ts +35 -0
  39. package/dist/site-phrases.js +344 -0
  40. package/dist/timing-summary.d.ts +25 -0
  41. package/dist/timing-summary.js +138 -0
  42. package/dist/types.d.ts +248 -32
  43. package/dist/types.js +49 -1
  44. package/dist/utils/text.d.ts +3 -0
  45. package/dist/utils/text.js +48 -0
  46. package/package.json +1 -1
@@ -0,0 +1,772 @@
1
+ {
2
+ "rules": [
3
+ {
4
+ "id": "after-food",
5
+ "definition": {
6
+ "code": "225758001",
7
+ "display": "After food",
8
+ "text": "Take after food",
9
+ "thai": "รับประทานหลังอาหาร"
10
+ },
11
+ "frames": [
12
+ {
13
+ "force": "instruction",
14
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
15
+ "relation": "after",
16
+ "args": [{ "role": "meal_state", "text": "food", "conceptId": "food" }]
17
+ }
18
+ ],
19
+ "matcher": {
20
+ "frame": {
21
+ "relations": ["after"],
22
+ "argConcepts": [{ "conceptIds": ["food", "meal"], "role": "meal_state" }]
23
+ }
24
+ }
25
+ },
26
+ {
27
+ "id": "with-after-food",
28
+ "definition": {
29
+ "code": "311504000",
30
+ "display": "With or after food",
31
+ "text": "Take with or after food",
32
+ "thai": "รับประทานพร้อมหรือหลังอาหาร"
33
+ },
34
+ "frames": [
35
+ {
36
+ "force": "instruction",
37
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
38
+ "relation": "with",
39
+ "args": [{ "role": "meal_state", "text": "food", "conceptId": "food" }]
40
+ }
41
+ ],
42
+ "matcher": {
43
+ "frame": {
44
+ "relations": ["with", "after"],
45
+ "argConcepts": [{ "conceptIds": ["food", "meal"], "role": "meal_state" }]
46
+ }
47
+ }
48
+ },
49
+ {
50
+ "id": "before-food",
51
+ "definition": {
52
+ "code": "311500009",
53
+ "display": "Before food",
54
+ "text": "Take before food",
55
+ "thai": "รับประทานก่อนอาหาร"
56
+ },
57
+ "frames": [
58
+ {
59
+ "force": "instruction",
60
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
61
+ "relation": "before",
62
+ "args": [{ "role": "meal_state", "text": "food", "conceptId": "food" }]
63
+ }
64
+ ],
65
+ "matcher": {
66
+ "frame": {
67
+ "relations": ["before"],
68
+ "argConcepts": [{ "conceptIds": ["food", "meal"], "role": "meal_state" }]
69
+ }
70
+ }
71
+ },
72
+ {
73
+ "id": "half-to-one-hour-before-food",
74
+ "definition": {
75
+ "code": "311501008",
76
+ "display": "Half to one hour before food",
77
+ "text": "Take half to one hour before food",
78
+ "thai": "รับประทานก่อนอาหารครึ่งถึงหนึ่งชั่วโมง"
79
+ },
80
+ "frames": [
81
+ {
82
+ "force": "instruction",
83
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
84
+ "relation": "before",
85
+ "args": [{ "role": "meal_state", "text": "food", "conceptId": "food" }]
86
+ }
87
+ ],
88
+ "matcher": {
89
+ "normalizedTexts": ["half to one hour before food"]
90
+ }
91
+ },
92
+ {
93
+ "id": "hour-before-food-or-empty-stomach",
94
+ "definition": {
95
+ "code": "311502001",
96
+ "display": "An hour before food or on an empty stomach",
97
+ "text": "Take an hour before food or on an empty stomach",
98
+ "thai": "รับประทานก่อนอาหารหนึ่งชั่วโมงหรือขณะท้องว่าง"
99
+ },
100
+ "frames": [
101
+ {
102
+ "force": "instruction",
103
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
104
+ "relation": "before",
105
+ "args": [{ "role": "meal_state", "text": "food", "conceptId": "food" }]
106
+ }
107
+ ],
108
+ "matcher": {
109
+ "normalizedTexts": [
110
+ "an hour before food or on an empty stomach",
111
+ "one hour before food or on an empty stomach"
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "id": "empty-stomach",
117
+ "definition": {
118
+ "code": "717154004",
119
+ "display": "Take on an empty stomach (qualifier value)",
120
+ "text": "Take on an empty stomach",
121
+ "thai": "รับประทานขณะท้องว่าง"
122
+ },
123
+ "frames": [
124
+ {
125
+ "force": "instruction",
126
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
127
+ "relation": "on",
128
+ "args": [{ "role": "meal_state", "text": "empty stomach", "conceptId": "empty_stomach" }]
129
+ }
130
+ ],
131
+ "matcher": {
132
+ "argConcept": { "conceptIds": ["empty_stomach"], "role": "meal_state" }
133
+ }
134
+ },
135
+ {
136
+ "id": "with-water",
137
+ "definition": {
138
+ "code": "419303009",
139
+ "display": "With plenty of water",
140
+ "text": "Take with plenty of water",
141
+ "thai": "รับประทานพร้อมน้ำดื่มจำนวนมาก"
142
+ },
143
+ "frames": [
144
+ {
145
+ "force": "instruction",
146
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
147
+ "relation": "with",
148
+ "args": [{ "role": "substance", "text": "water", "conceptId": "water" }]
149
+ }
150
+ ],
151
+ "matcher": {
152
+ "anyOf": [
153
+ {
154
+ "frame": {
155
+ "relations": ["with"],
156
+ "argConcepts": [{ "conceptIds": ["water"], "role": "substance" }]
157
+ }
158
+ },
159
+ {
160
+ "frame": {
161
+ "predicateLemmas": ["drink"],
162
+ "argConcepts": [{ "conceptIds": ["water"], "role": "substance" }]
163
+ }
164
+ }
165
+ ]
166
+ }
167
+ },
168
+ {
169
+ "id": "dissolve-with-water",
170
+ "definition": {
171
+ "code": "417995008",
172
+ "display": "Dissolve or mix with water before taking",
173
+ "text": "Dissolve or mix with water before taking",
174
+ "thai": "ละลายหรือผสมน้ำก่อนรับประทาน"
175
+ },
176
+ "frames": [
177
+ {
178
+ "force": "instruction",
179
+ "predicate": { "lemma": "dissolve", "semanticClass": "prepare" },
180
+ "relation": "with",
181
+ "args": [{ "role": "substance", "text": "water", "conceptId": "water" }]
182
+ }
183
+ ],
184
+ "matcher": {
185
+ "frame": {
186
+ "predicateLemmas": ["dissolve", "mix"],
187
+ "argConcepts": [{ "conceptIds": ["water"], "role": "substance" }]
188
+ }
189
+ }
190
+ },
191
+ {
192
+ "id": "avoid-alcohol",
193
+ "definition": {
194
+ "code": "419822006",
195
+ "display": "Warning. Avoid alcoholic drink (qualifier value)",
196
+ "text": "Avoid alcoholic drinks",
197
+ "thai": "หลีกเลี่ยงเครื่องดื่มแอลกอฮอล์"
198
+ },
199
+ "frames": [
200
+ {
201
+ "force": "warning",
202
+ "predicate": { "lemma": "avoid", "semanticClass": "avoidance" },
203
+ "args": [{ "role": "substance", "text": "alcohol", "conceptId": "alcohol" }]
204
+ }
205
+ ],
206
+ "matcher": {
207
+ "anyOf": [
208
+ {
209
+ "frame": {
210
+ "predicateLemmas": ["avoid", "drink"],
211
+ "argConcepts": [{ "conceptIds": ["alcohol"], "role": "substance" }]
212
+ }
213
+ },
214
+ {
215
+ "frame": {
216
+ "predicateLemmas": ["take", "use", "administer"],
217
+ "relations": ["with"],
218
+ "polarity": "negate",
219
+ "argConcepts": [{ "conceptIds": ["alcohol"], "role": "substance" }]
220
+ }
221
+ }
222
+ ]
223
+ }
224
+ },
225
+ {
226
+ "id": "drowsiness-only",
227
+ "definition": {
228
+ "code": "418639000",
229
+ "display": "Warning. May cause drowsiness",
230
+ "text": "May cause drowsiness",
231
+ "thai": "อาจทำให้ง่วงซึม"
232
+ },
233
+ "frames": [
234
+ {
235
+ "force": "warning",
236
+ "predicate": { "lemma": "cause", "semanticClass": "effect" },
237
+ "args": [{ "role": "object", "text": "drowsiness", "conceptId": "drowsiness" }]
238
+ }
239
+ ],
240
+ "matcher": {
241
+ "allOf": [
242
+ {
243
+ "frame": {
244
+ "predicateLemmas": ["cause"],
245
+ "argConcepts": [{ "conceptIds": ["drowsiness"] }]
246
+ }
247
+ },
248
+ {
249
+ "not": {
250
+ "frame": {
251
+ "predicateLemmas": ["drive"],
252
+ "polarity": "negate"
253
+ }
254
+ }
255
+ },
256
+ {
257
+ "not": {
258
+ "argConcept": {
259
+ "conceptIds": ["alcohol"],
260
+ "role": "substance"
261
+ }
262
+ }
263
+ }
264
+ ]
265
+ }
266
+ },
267
+ {
268
+ "id": "drowsiness-drive",
269
+ "definition": {
270
+ "code": "418954008",
271
+ "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery (qualifier value)",
272
+ "text": "May cause drowsiness; do not drive if affected",
273
+ "thai": "อาจทำให้ง่วงซึม; ห้ามขับขี่ยานพาหนะหรือทำงานกับเครื่องจักรหากมีอาการ"
274
+ },
275
+ "frames": [
276
+ {
277
+ "force": "warning",
278
+ "predicate": { "lemma": "cause", "semanticClass": "effect" },
279
+ "args": [{ "role": "object", "text": "drowsiness", "conceptId": "drowsiness" }]
280
+ },
281
+ {
282
+ "force": "warning",
283
+ "polarity": "negate",
284
+ "predicate": { "lemma": "drive", "semanticClass": "activity" },
285
+ "args": []
286
+ }
287
+ ],
288
+ "matcher": {
289
+ "allOf": [
290
+ {
291
+ "frame": {
292
+ "predicateLemmas": ["cause"],
293
+ "argConcepts": [{ "conceptIds": ["drowsiness"] }]
294
+ }
295
+ },
296
+ {
297
+ "frame": {
298
+ "predicateLemmas": ["drive"],
299
+ "polarity": "negate"
300
+ }
301
+ }
302
+ ]
303
+ }
304
+ },
305
+ {
306
+ "id": "drowsiness-drive-alcohol",
307
+ "definition": {
308
+ "code": "418914006",
309
+ "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)",
310
+ "text": "May cause drowsiness; avoid driving or alcohol",
311
+ "thai": "อาจทำให้ง่วงซึม; หลีกเลี่ยงการขับขี่ยานพาหนะหรือดื่มแอลกอฮอล์"
312
+ },
313
+ "frames": [
314
+ {
315
+ "force": "warning",
316
+ "predicate": { "lemma": "cause", "semanticClass": "effect" },
317
+ "args": [{ "role": "object", "text": "drowsiness", "conceptId": "drowsiness" }]
318
+ },
319
+ {
320
+ "force": "warning",
321
+ "polarity": "negate",
322
+ "predicate": { "lemma": "drive", "semanticClass": "activity" },
323
+ "args": []
324
+ },
325
+ {
326
+ "force": "warning",
327
+ "predicate": { "lemma": "avoid", "semanticClass": "avoidance" },
328
+ "args": [{ "role": "substance", "text": "alcohol", "conceptId": "alcohol" }]
329
+ }
330
+ ],
331
+ "matcher": {
332
+ "allOf": [
333
+ {
334
+ "frame": {
335
+ "predicateLemmas": ["cause"],
336
+ "argConcepts": [{ "conceptIds": ["drowsiness"] }]
337
+ }
338
+ },
339
+ {
340
+ "frame": {
341
+ "predicateLemmas": ["drive"],
342
+ "polarity": "negate"
343
+ }
344
+ },
345
+ {
346
+ "argConcept": {
347
+ "conceptIds": ["alcohol"],
348
+ "role": "substance"
349
+ }
350
+ }
351
+ ]
352
+ }
353
+ },
354
+ {
355
+ "id": "next-day-drowsiness",
356
+ "definition": {
357
+ "code": "418071006",
358
+ "display": "Warning. Causes drowsiness which may continue the next day. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)",
359
+ "text": "May cause next-day drowsiness; avoid driving or alcohol",
360
+ "thai": "อาจทำให้ง่วงซึมในวันถัดมา; หลีกเลี่ยงการขับขี่ยานพาหนะหรือดื่มแอลกอฮอล์"
361
+ },
362
+ "frames": [
363
+ {
364
+ "force": "warning",
365
+ "predicate": { "lemma": "cause", "semanticClass": "effect" },
366
+ "args": [
367
+ { "role": "object", "text": "drowsiness", "conceptId": "drowsiness" },
368
+ { "role": "time", "text": "next day", "conceptId": "next_day" }
369
+ ]
370
+ }
371
+ ],
372
+ "matcher": {
373
+ "allOf": [
374
+ {
375
+ "frame": {
376
+ "predicateLemmas": ["cause"],
377
+ "argConcepts": [{ "conceptIds": ["drowsiness"] }]
378
+ }
379
+ },
380
+ {
381
+ "argConcept": {
382
+ "conceptIds": ["next_day"],
383
+ "role": "time"
384
+ }
385
+ },
386
+ {
387
+ "argConcept": {
388
+ "conceptIds": ["alcohol"],
389
+ "role": "substance"
390
+ }
391
+ }
392
+ ]
393
+ }
394
+ },
395
+ {
396
+ "id": "use-with-caution",
397
+ "definition": {
398
+ "code": "428579001",
399
+ "display": "Use with caution",
400
+ "text": "Use with caution",
401
+ "thai": "ใช้ด้วยความระมัดระวัง"
402
+ },
403
+ "frames": [
404
+ {
405
+ "force": "caution",
406
+ "predicate": { "lemma": "use", "semanticClass": "administration" },
407
+ "args": []
408
+ }
409
+ ],
410
+ "matcher": {
411
+ "normalizedTexts": [
412
+ "use with caution",
413
+ "with caution"
414
+ ]
415
+ }
416
+ },
417
+ {
418
+ "id": "follow-printed-instructions",
419
+ "definition": {
420
+ "code": "418849000",
421
+ "display": "Warning. Follow the printed instructions you have been given with this medicine",
422
+ "text": "Follow the printed instructions you have been given with this medicine",
423
+ "thai": "ปฏิบัติตามคำแนะนำที่แนบมากับยานี้"
424
+ },
425
+ "frames": [
426
+ {
427
+ "force": "warning",
428
+ "predicate": { "lemma": "follow", "semanticClass": "administration" },
429
+ "args": []
430
+ }
431
+ ],
432
+ "matcher": {
433
+ "normalizedTexts": [
434
+ "follow the printed instructions you have been given with this medicine",
435
+ "follow the printed instructions"
436
+ ]
437
+ }
438
+ },
439
+ {
440
+ "id": "flammable-keep-away-from-fire",
441
+ "definition": {
442
+ "code": "419439004",
443
+ "display": "Caution flammable: keep away from fire or flames",
444
+ "text": "Caution: keep away from fire or flames",
445
+ "thai": "ระวังติดไฟง่าย; เก็บให้ห่างจากไฟหรือเปลวไฟ"
446
+ },
447
+ "frames": [
448
+ {
449
+ "force": "caution",
450
+ "predicate": { "lemma": "keep", "semanticClass": "administration" },
451
+ "args": []
452
+ }
453
+ ],
454
+ "matcher": {
455
+ "normalizedTexts": [
456
+ "caution flammable keep away from fire or flames",
457
+ "keep away from fire or flames",
458
+ "keep away from fire"
459
+ ]
460
+ }
461
+ },
462
+ {
463
+ "id": "avoid-sunlight",
464
+ "definition": {
465
+ "code": "418521000",
466
+ "display": "Avoid exposure of skin to direct sunlight or sun lamps (qualifier value)",
467
+ "text": "Avoid sunlight or sun lamps",
468
+ "thai": "หลีกเลี่ยงแสงแดดหรือหลอดไฟแสงยูวี"
469
+ },
470
+ "frames": [
471
+ {
472
+ "force": "warning",
473
+ "predicate": { "lemma": "avoid", "semanticClass": "avoidance" },
474
+ "args": [{ "role": "object", "text": "sunlight", "conceptId": "sunlight" }]
475
+ }
476
+ ],
477
+ "matcher": {
478
+ "frame": {
479
+ "predicateLemmas": ["avoid"],
480
+ "argConcepts": [{ "conceptIds": ["sunlight", "sun_lamps"] }]
481
+ }
482
+ }
483
+ },
484
+ {
485
+ "id": "swallow-whole",
486
+ "definition": {
487
+ "code": "418693002",
488
+ "display": "Swallowed whole, not chewed (qualifier value)",
489
+ "text": "Swallow whole; do not crush or chew",
490
+ "thai": "กลืนทั้งเม็ด; ห้ามเคี้ยวหรือบด"
491
+ },
492
+ "frames": [
493
+ {
494
+ "force": "instruction",
495
+ "polarity": "negate",
496
+ "predicate": { "lemma": "crush", "semanticClass": "manipulate" },
497
+ "args": []
498
+ },
499
+ {
500
+ "force": "instruction",
501
+ "polarity": "negate",
502
+ "predicate": { "lemma": "chew", "semanticClass": "manipulate" },
503
+ "args": []
504
+ }
505
+ ],
506
+ "matcher": {
507
+ "allOf": [
508
+ {
509
+ "frame": {
510
+ "predicateLemmas": ["crush"],
511
+ "polarity": "negate"
512
+ }
513
+ },
514
+ {
515
+ "frame": {
516
+ "predicateLemmas": ["chew"],
517
+ "polarity": "negate"
518
+ }
519
+ }
520
+ ]
521
+ }
522
+ },
523
+ {
524
+ "id": "chew",
525
+ "definition": {
526
+ "code": "418991002",
527
+ "display": "Sucked or chewed (qualifier value)",
528
+ "text": "Suck or chew before swallowing",
529
+ "thai": "เคี้ยวหรืออมให้ละลายก่อนกลืน"
530
+ },
531
+ "frames": [
532
+ {
533
+ "force": "instruction",
534
+ "predicate": { "lemma": "chew", "semanticClass": "manipulate" },
535
+ "args": []
536
+ }
537
+ ],
538
+ "matcher": {
539
+ "allOf": [
540
+ {
541
+ "frame": {
542
+ "predicateLemmas": ["chew"]
543
+ }
544
+ },
545
+ {
546
+ "not": {
547
+ "frame": {
548
+ "predicateLemmas": ["chew"],
549
+ "polarity": "negate"
550
+ }
551
+ }
552
+ }
553
+ ]
554
+ }
555
+ },
556
+ {
557
+ "id": "sparingly",
558
+ "definition": {
559
+ "code": "420883007",
560
+ "display": "Sparingly - dosing instruction fragment",
561
+ "text": "Apply sparingly",
562
+ "thai": "ใช้เพียงเล็กน้อย"
563
+ },
564
+ "frames": [
565
+ {
566
+ "force": "instruction",
567
+ "predicate": { "lemma": "apply", "semanticClass": "administration" },
568
+ "args": [{ "role": "amount", "text": "sparingly" }]
569
+ }
570
+ ],
571
+ "matcher": {
572
+ "normalizedTexts": [
573
+ "sparingly",
574
+ "apply sparingly",
575
+ "use sparingly",
576
+ "little",
577
+ "little at a time",
578
+ "a little at a time",
579
+ "minimal",
580
+ "minimum amount",
581
+ "use little at a time",
582
+ "use a little at a time",
583
+ "use little",
584
+ "use minimal",
585
+ "use minimal amount",
586
+ "use minimum amount",
587
+ "apply little at a time",
588
+ "apply a little at a time",
589
+ "apply little",
590
+ "apply minimal",
591
+ "apply minimal amount",
592
+ "apply minimum amount",
593
+ "ใช้ทีละน้อย",
594
+ "ทาทีละน้อย"
595
+ ]
596
+ }
597
+ },
598
+ {
599
+ "id": "liberally",
600
+ "definition": {
601
+ "code": "419125005",
602
+ "display": "Liberally",
603
+ "text": "Apply liberally",
604
+ "thai": "ใช้อย่างทั่วถึง"
605
+ },
606
+ "frames": [
607
+ {
608
+ "force": "instruction",
609
+ "predicate": { "lemma": "apply", "semanticClass": "administration" },
610
+ "args": [{ "role": "amount", "text": "liberally" }]
611
+ }
612
+ ],
613
+ "matcher": {
614
+ "normalizedTexts": [
615
+ "liberally",
616
+ "apply liberally",
617
+ "use liberally"
618
+ ]
619
+ }
620
+ },
621
+ {
622
+ "id": "slowly",
623
+ "definition": {
624
+ "code": "419443000",
625
+ "display": "Slowly (qualifier value)",
626
+ "text": "Slowly",
627
+ "thai": "ช้าๆ"
628
+ },
629
+ "frames": [
630
+ {
631
+ "force": "instruction",
632
+ "predicate": { "lemma": "take", "semanticClass": "administration" },
633
+ "args": [{ "role": "free", "text": "slowly", "conceptId": "slowly" }]
634
+ }
635
+ ],
636
+ "matcher": {
637
+ "frame": {
638
+ "predicateSemanticClasses": ["administration", "ingest"],
639
+ "argConcepts": [{ "conceptIds": ["slowly"], "role": "free" }]
640
+ }
641
+ }
642
+ },
643
+ {
644
+ "id": "dissolved-under-tongue",
645
+ "definition": {
646
+ "code": "419529008",
647
+ "display": "Dissolved under the tongue",
648
+ "text": "Allow to dissolve under the tongue",
649
+ "thai": "ปล่อยให้ละลายใต้ลิ้น"
650
+ },
651
+ "frames": [
652
+ {
653
+ "force": "instruction",
654
+ "predicate": { "lemma": "dissolve", "semanticClass": "prepare" },
655
+ "args": []
656
+ }
657
+ ],
658
+ "matcher": {
659
+ "normalizedTexts": [
660
+ "dissolve under the tongue",
661
+ "allow to dissolve under the tongue",
662
+ "dissolved under the tongue"
663
+ ]
664
+ }
665
+ },
666
+ {
667
+ "id": "swish-and-swallow",
668
+ "definition": {
669
+ "code": "421298005",
670
+ "display": "Swish and swallow - dosing instruction imperative",
671
+ "text": "Swish and swallow",
672
+ "thai": "กลั้วปากแล้วกลืน"
673
+ },
674
+ "frames": [
675
+ {
676
+ "force": "instruction",
677
+ "predicate": { "lemma": "swish", "semanticClass": "administration" },
678
+ "args": []
679
+ }
680
+ ],
681
+ "matcher": {
682
+ "normalizedTexts": [
683
+ "swish and swallow"
684
+ ]
685
+ }
686
+ },
687
+ {
688
+ "id": "wash-imperative",
689
+ "definition": {
690
+ "code": "422152000",
691
+ "display": "Wash - dosing instruction imperative",
692
+ "text": "Wash",
693
+ "thai": "ล้าง"
694
+ },
695
+ "frames": [
696
+ {
697
+ "force": "instruction",
698
+ "predicate": { "lemma": "wash", "semanticClass": "cleanse" },
699
+ "args": []
700
+ }
701
+ ],
702
+ "matcher": {
703
+ "normalizedTexts": [
704
+ "wash"
705
+ ]
706
+ }
707
+ },
708
+ {
709
+ "id": "insert-imperative",
710
+ "definition": {
711
+ "code": "421257003",
712
+ "display": "Insert - dosing instruction imperative",
713
+ "text": "Insert",
714
+ "thai": "สอด"
715
+ },
716
+ "frames": [
717
+ {
718
+ "force": "instruction",
719
+ "predicate": { "lemma": "insert", "semanticClass": "administration" },
720
+ "args": []
721
+ }
722
+ ],
723
+ "matcher": {
724
+ "normalizedTexts": [
725
+ "insert"
726
+ ]
727
+ }
728
+ },
729
+ {
730
+ "id": "instill-imperative",
731
+ "definition": {
732
+ "code": "421538008",
733
+ "display": "Instill - dosing instruction imperative",
734
+ "text": "Instill",
735
+ "thai": "หยอด"
736
+ },
737
+ "frames": [
738
+ {
739
+ "force": "instruction",
740
+ "predicate": { "lemma": "instill", "semanticClass": "administration" },
741
+ "args": []
742
+ }
743
+ ],
744
+ "matcher": {
745
+ "normalizedTexts": [
746
+ "instill"
747
+ ]
748
+ }
749
+ },
750
+ {
751
+ "id": "shampoo-imperative",
752
+ "definition": {
753
+ "code": "420606003",
754
+ "display": "Shampoo - dosing instruction imperative",
755
+ "text": "Shampoo",
756
+ "thai": "สระ"
757
+ },
758
+ "frames": [
759
+ {
760
+ "force": "instruction",
761
+ "predicate": { "lemma": "shampoo", "semanticClass": "cleanse" },
762
+ "args": []
763
+ }
764
+ ],
765
+ "matcher": {
766
+ "normalizedTexts": [
767
+ "shampoo"
768
+ ]
769
+ }
770
+ }
771
+ ]
772
+ }