1 | ICDTLB4 ;ALB/EG - GROUPER UTILITY FUNCTIONS ; 10/23/00 11:48am
|
---|
2 | ;;18.0;DRG Grouper;;Oct 20, 2000;Build 1
|
---|
3 | DRG263 S ICDRG=$S(ICDPD["U"&(ICDCC):263,ICDPD["U":264,ICDCC:265,1:266) Q
|
---|
4 | DRG264 S ICDRG=$S(ICDPD["U"&(ICDCC):263,ICDPD["U":264,ICDCC:265,1:266) Q
|
---|
5 | DRG265 S ICDRG=$S(ICDPD["U"&(ICDCC):263,ICDPD["U":264,ICDCC:265,1:266) Q
|
---|
6 | DRG266 S ICDRG=$S(ICDPD["U"&(ICDCC):263,ICDPD["U":264,ICDCC:265,1:266) Q
|
---|
7 | DRG269 S ICDRG=$S(ICDCC:269,1:270) Q
|
---|
8 | DRG270 S ICDRG=$S(ICDCC:269,1:270) Q
|
---|
9 | DRG272 S ICDRG=$S(ICDCC:272,1:273) Q
|
---|
10 | DRG273 S ICDRG=$S(ICDCC:272,1:273) Q
|
---|
11 | DRG274 S ICDRG=$S(ICDCC:274,1:275) Q
|
---|
12 | DRG275 S ICDRG=$S(ICDCC:274,1:275) Q
|
---|
13 | DRG277 S ICDRG=$S(AGE<18:279,ICDCC:277,1:278) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
14 | Q
|
---|
15 | DRG278 D DRG277 Q
|
---|
16 | Q
|
---|
17 | DRG279 D DRG277 Q
|
---|
18 | Q
|
---|
19 | DRG280 S ICDRG=$S(AGE<18:282,ICDCC:280,1:281) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
20 | Q
|
---|
21 | DRG281 S ICDRG=$S(AGE<18:282,ICDCC:280,1:281) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
22 | Q
|
---|
23 | DRG282 S ICDRG=$S(AGE<18:282,ICDCC:280,1:281) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
24 | Q
|
---|
25 | DRG283 S ICDRG=$S('$D(ICDODRG)&(ICDORNR>0):468,ICDCC=1:283,1:284) Q
|
---|
26 | DRG284 S ICDRG=$S('$D(ICDODRG)&(ICDORNR>0):468,ICDCC:283,1:284) Q
|
---|
27 | DRG292 S ICDRG=$S($D(ICDOP(" 55.69")):302,ICDCC:292,1:293) Q
|
---|
28 | DRG293 S ICDRG=$S($D(ICDOP(" 55.69")):302,ICDCC:292,1:293) Q
|
---|
29 | DRG294 S ICDRG=$S(AGE<36:295,1:294) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
30 | Q
|
---|
31 | DRG295 S ICDRG=$S(AGE<36:295,1:294) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
32 | Q
|
---|
33 | DRG296 S ICDRG=$S(AGE<18:298,ICDCC:296,1:297) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
34 | Q
|
---|
35 | DRG297 S ICDRG=$S(AGE<18:298,ICDCC:296,1:297) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
36 | Q
|
---|
37 | DRG298 S ICDRG=$S(AGE<18:298,ICDCC:296,1:297) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
38 | Q
|
---|
39 | DRG300 S ICDRG=$S(ICDCC:300,1:301) Q
|
---|
40 | DRG301 S ICDRG=$S(ICDCC:300,1:301) Q
|
---|
41 | DRG302 S ICDRG=$S($D(ICDOP(" 55.69")):302,1:ICDRG) Q
|
---|
42 | DRG303 S ICDRG=$S(ICDPD["M":303,ICDCC:304,1:305) Q
|
---|
43 | DRG304 S ICDRG=$S(ICDPD["M":303,ICDCC:304,1:305) Q
|
---|
44 | DRG305 S ICDRG=$S(ICDPD["M":303,ICDCC:304,1:305) Q
|
---|
45 | DRG306 S ICDRG=$S($D(ICDODRG(308))!($D(ICDODRG(309))):$S(ICDCC:308,1:309),ICDCC:306,1:307) Q
|
---|
46 | DRG307 S ICDRG=$S($D(ICDODRG(308))!($D(ICDODRG(309))):$S(ICDCC:308,1:309),ICDCC:306,1:307) Q
|
---|
47 | DRG308 S ICDRG=$S($D(ICDODRG(308))!($D(ICDODRG(309))):$S(ICDCC:308,1:309),ICDCC:306,1:307) Q
|
---|
48 | DRG309 S ICDRG=$S($D(ICDODRG(308))!($D(ICDODRG(309))):$S(ICDCC:308,1:309),ICDCC:306,1:307) Q
|
---|
49 | DRG310 S ICDRG=$S(ICDCC:310,1:311) Q
|
---|
50 | DRG311 S ICDRG=$S(ICDCC:310,1:311) Q
|
---|
51 | DRG312 S ICDRG=$S(AGE<18:314,ICDCC:312,1:313) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
52 | Q
|
---|
53 | DRG313 S ICDRG=$S(AGE<18:314,ICDCC:312,1:313) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
54 | Q
|
---|
55 | DRG314 S ICDRG=$S(AGE<18:314,ICDCC:312,1:313) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
56 | Q
|
---|
57 | DRG318 S ICDRG=$S(ICDCC:318,1:319) Q
|
---|
58 | DRG319 S ICDRG=$S(ICDCC:318,1:319) Q
|
---|
59 | DRG320 S ICDRG=$S(AGE<18:322,ICDCC:320,1:321) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
60 | Q
|
---|
61 | DRG321 S ICDRG=$S(AGE<18:322,ICDCC:320,1:321) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
62 | Q
|
---|
63 | DRG322 S ICDRG=$S(AGE<18:322,ICDCC:320,1:321) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
64 | Q
|
---|
65 | DRG323 S ICDRG=$S('$D(ICDPDRG(323)):"",ICDCC!($D(ICDOP(" 98.51")))!($D(ICDSDRG(323))):323,1:324) Q
|
---|
66 | DRG324 S ICDRG=$S(ICDCC!($D(ICDOP(" 98.51")))!($D(ICDSDRG(323))):323,1:324) Q
|
---|
67 | DRG325 S ICDRG=$S(AGE<18:327,ICDCC:325,1:326) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
68 | Q
|
---|
69 | DRG326 S ICDRG=$S(AGE<18:327,ICDCC:325,1:326) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
70 | Q
|
---|
71 | DRG327 S ICDRG=$S(AGE<18:327,ICDCC:325,1:326) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
72 | Q
|
---|
73 | DRG328 S ICDRG=$S(AGE<18:330,ICDCC:328,1:329) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
74 | Q
|
---|
75 | DRG329 S ICDRG=$S(AGE<18:330,ICDCC:328,1:329) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
76 | Q
|
---|
77 | DRG330 S ICDRG=$S(AGE<18:330,ICDCC:328,1:329) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
78 | Q
|
---|
79 | DRG331 S ICDRG=$S(AGE<18:333,ICDCC:331,1:332) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
80 | Q
|
---|
81 | DRG332 S ICDRG=$S(AGE<18:333,ICDCC:331,1:332) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
82 | Q
|
---|
83 | DRG333 S ICDRG=$S(AGE<18:333,ICDCC:331,1:332) I AGE="" S ICDRG=470,ICDRTC=3
|
---|
84 | Q
|
---|