source: WorldVistAEHR/trunk/r/DRG_GROUPER-ICD--ICPT/ICDDRG3.m@ 1599

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

initial load of WorldVistAEHR

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