forked from hflicka/arden2bytecode
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathx3.6.mlm
47 lines (47 loc) · 1.92 KB
/
x3.6.mlm
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
maintenance:
title: Granulocytopenia and Trimethoprim/Sulfamethoxazole;;
mlmname: anctms;;
arden: Version 2;;
version: 2.00;;
institution: Columbia-Presbyterian Medical Center;;
author: George Hripcsak, M.D.;;
specialist: ;;
date: 1991-05-28;;
validation: testing;; library:
purpose:
Detect granulocytopenia possibly due to trimethoprim/sulfamethoxazole;;
explanation:
This MLM detects patients that are currently taking trimethoprim/sulfamethoxazole whose absolute neutrophile count is less than 1000 and falling.;;
keywords:
granulocytopenia; agranulocytosis; trimethoprim; sulfamethoxazole;;
citations:
1. Anti-infective drug use in relation to the risk of agranulocytosis and aplastic anemia. A report from the International Agranulocytosis and Aplastic Anemia Study. Archives of Internal Medicine, May 1989, 149(5):1036-40.;;
links:
OTHER_LINK "CTIM" '.34.56.78';
MESH_LINK "MeSH" 'agranulocytosis/ci and sulfamethoxazole/ae';;
knowledge:
type: data-driven;;
data:
/* capitalized text within curly brackets would be replaced with */
/* an institution's own query */
let anc_storage be event {STORAGE OF ABSOLUTE_NEUTROPHILE_COUNT};
let anc be read last 2 from ({ABSOLUTE_NEUTROPHILE_COUNT}
where they occurred within past 1 week);
let pt_is_taking_tms be read exist
{TRIMETHOPRIM_SULFAMETHOXAZOLE_ORDER};
;;
evoke: anc_storage;;
logic:
if pt_is_taking_tms
and last anc is less than 1000
and last anc is less than first anc
/* is anc falling? */
then
conclude true;
else
conclude false;
endif;;
action:
write "Caution: patient's relative granulocytopenia may be " ||
"exacerbated by trimethoprim/sulfamethoxazole.";;
end: