Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

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

Revision 6252, 5.7 kB (checked in by tmdugan, 4 weeks ago)

-- chica

* changed mlms to reference a single CREATE_JIT rule

Line 
1 Maintenance:
2         Title:          ASQ_18_month_PSF                                                                                    ;;
3         Filename:               ASQ_18_month_PSF                                  ;;
4         Version:        1.0       ;;
5         Institution:    Indiana University School of Medicine             ;;
6         Author:         Steve Downs                                       ;;
7         Specialist:     Pediatrics;;
8         Date:           2007-11-19 15:29:15;;
9         Validation:     ;;
10 Library:
11         Purpose:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ;;
12         Explanation:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ;;
13         Keywords:       ASQ, Developmental                                                                                  ;;
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 asq := read Last {ASQ_18_month from CHICA} ;
30 devref := read Last {Developmental_Referral from CHICA} ;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
31 endif
32 ;;
33 Priority:               0         ;;
34         Evoke:          ;;
35 Logic:
36 If (mode = PRODUCE) then
37
38 If (asq = passed) OR (asq = failed) OR (devref = First_steps) then conclude False;
39 Else conclude True;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
40
41 endif
42
43 ;;
44 Action:
45 call CREATE_JIT with  "ASQ_JIT","firstname";                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
46 ;;
47 Age_Min: 17         months    ;;
48 Age_Max: 20         months    ;;
49 end:
Note: See TracBrowser for help on using the browser.