Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

root/openmrs-modules/chica/ruleLibrary/BACKEXAMPWS.mlm

Revision 5839, 4.1 kB (checked in by tmdugan, 2 months ago)

-- chica

* updated jars
* fixed mlms and dxAndComplaints rule
* added authentication to unfinishedStates method
* added default reverse ordering of LogicChicaObsDAO results
* fixed form_id lookup in saveObs

Line 
1 Maintenance:
2         Title:          Exam  Back PWS Exam Flag;;
3         Filename:               BACKEXAMPWS;;
4         Version:        1.0;;
5         Institution:    Indiana University School of Medicine;;
6         Author:         Paul Biondich;;
7         Specialist:     Pediatrics;;
8         Date:           2003-12-17T10:21:58-0500;;
9         Validation:     ;;
10 Library:
11         Purpose:                When practitioners have flagged the "back" section of the physical exam as abnormal, this rule will denote the following exam header with a "*" flag.                                                                                                                                                                                                                                                                                                                                                               ;;
12         Explanation:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ;;
13         Keywords:       PWS, abnormals;;
14         Citations:              ;;
15         Links:          ;;
16 Knowledge:
17         Type:           data_driven;;
18 Data:
19
20 mode:=read {mode from Parameters};
21 Box1:=read {box1 from Parameters};
22 Box2:=read {box2 from Parameters};
23 Box3:=read {box3 from Parameters};
24 Box4:=read {box4 from Parameters};
25 Box5:=read {box5 from Parameters};
26 Box6:=read {box6 from Parameters};
27
28 If (mode = PRODUCE) then
29 back := read Last {Back_Exam from CHICA} ;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
30 endif
31 ;;
32 Priority:               ;;
33         Evoke:          ;;
34 Logic:
35 If (mode = PRODUCE) then
36
37 If (back = normal) then conclude False;
38 If (back = abnormal) then conclude True;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
39
40 endif
41
42 ;;
43 Action:
44 write ("*") At BackExamA;                                                                                                                                                                                                                                                                                   
45 write ("");
46 write ("");
47 write ("");
48 write ("");
49 write ("");
50 write ("");
51 ;;
52 Age_Min: 0 days;;
53 Age_Max: 21 years;;
54 end:
Note: See TracBrowser for help on using the browser.