source: FOIAVistA/trunk/r/DRG_GROUPER-ICD--ICPT/ICDDRG3.m@ 876

Last change on this file since 876 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 1.6 KB
Line 
1ICDDRG3 ;ALB/GRR/EG - FIX SURGERY HIERARCHY ; 10/23/00 11:39am
2 ;;18.0;DRG Grouper;**24,31**;Oct 20, 2000;Build 7
3 Q:$O(ICDODRG(0))'>0 K ICDJ F ICDJ=0:0 S ICDJ=$O(ICDODRG(ICDJ)) Q:ICDJ'>0 D
4 .I ICDDATE<3061001 D F Q
5 .E I ICDDATE<3071001 D FY2007 Q
6 .E D FY2008
7END S ICDJ=$O(ICDJ(0)) Q:ICDJ'>0 S ICDJ=ICDJ(ICDJ) K ICDODRG S ICDODRG(ICDJ)="" K ICDJ Q
8F I ICDJ=49 S ICDJ(1)=ICDJ Q
9 I ICDJ=61 S ICDJ(2)=ICDJ Q
10 I ICDJ=62 S ICDJ(3)=ICDJ Q
11 I ICDJ=53 S ICDJ(4)=ICDJ Q
12 I ICDJ=54 S ICDJ(5)=ICDJ Q
13 I ICDJ=57 S ICDJ(6)=ICDJ Q
14 I ICDJ=58 S ICDJ(7)=ICDJ Q
15 I ICDJ=52 S ICDJ(8)=ICDJ Q
16 I ICDJ=168 S ICDJ(9)=ICDJ Q
17 I ICDJ=169 S ICDJ(10)=ICDJ Q
18 I ICDJ=56 S ICDJ(11)=ICDJ Q
19 I ICDJ=50 S ICDJ(12)=ICDJ Q
20 I ICDJ=51 S ICDJ(13)=ICDJ Q
21 I ICDJ=55 S ICDJ(14)=ICDJ Q
22 I ICDJ=59 S ICDJ(15)=ICDJ Q
23 I ICDJ=60 S ICDJ(16)=ICDJ Q
24 I ICDJ=63 S ICDJ(17)=ICDJ Q
25 Q
26FY2007 ;
27 I ICDJ=49 S ICDJ(1)=ICDJ Q
28 I ICDJ=61 S ICDJ(2)=ICDJ Q
29 I ICDJ=62 S ICDJ(3)=ICDJ Q
30 I ICDJ=53 S ICDJ(4)=ICDJ Q
31 I ICDJ=54 S ICDJ(5)=ICDJ Q
32 I ICDJ=168 S ICDJ(6)=ICDJ Q
33 I ICDJ=169 S ICDJ(7)=ICDJ Q
34 I ICDJ=57 S ICDJ(8)=ICDJ Q
35 I ICDJ=58 S ICDJ(9)=ICDJ Q
36 I ICDJ=52 S ICDJ(10)=ICDJ Q
37 I ICDJ=56 S ICDJ(11)=ICDJ Q
38 I ICDJ=50 S ICDJ(12)=ICDJ Q
39 I ICDJ=51 S ICDJ(13)=ICDJ Q
40 I ICDJ=55 S ICDJ(14)=ICDJ Q
41 I ICDJ=59 S ICDJ(15)=ICDJ Q
42 I ICDJ=60 S ICDJ(16)=ICDJ Q
43 I ICDJ=63 S ICDJ(17)=ICDJ Q
44 Q
45FY2008 ;MS-DRG
46 I ICDJ=130 S ICDJ(1)=ICDJ Q
47 I ICDJ=132 S ICDJ(2)=ICDJ Q
48 I ICDJ=134 S ICDJ(3)=ICDJ Q
49 I ICDJ=136 S ICDJ(4)=ICDJ Q
50 I ICDJ=138 S ICDJ(5)=ICDJ Q
51 I ICDJ=139 S ICDJ(6)=ICDJ Q
52 Q
53EN1 ;
54 I $D(ICDOP(" 28.2"))!($D(ICDOP(" 28.3")))!($D(ICDOP(" 28.6"))) S ICDRG=$S(ICDOCNT>1:$S(AGE>17:57,1:58),1:ICDRG)
55 Q
Note: See TracBrowser for help on using the repository browser.