1 | ICDTBL6 ;ALB/EG/MRY - GROUPER UTILITY FUNCTIONS ; 10/16/07 9:40am
|
---|
2 | ;;18.0;DRG Grouper;**31**;Oct 20, 2000;Build 7
|
---|
3 | DRG600 ;
|
---|
4 | DRG601 S ICDRG=$S(ICDMCC>0:600,1:601) Q
|
---|
5 | DRG602 ;
|
---|
6 | DRG603 S ICDRG=$S(ICDMCC=2:602,1:603) Q
|
---|
7 | DRG604 ;
|
---|
8 | DRG605 S ICDRG=$S(ICDMCC=2:604,1:605) Q
|
---|
9 | DRG606 ;
|
---|
10 | DRG607 S ICDRG=$S(ICDMCC=2:606,1:607) Q
|
---|
11 | DRG614 ;
|
---|
12 | DRG615 S ICDRG=$S(ICDMCC>0:614,1:615) Q
|
---|
13 | DRG616 ;
|
---|
14 | DRG617 ;
|
---|
15 | DRG618 S ICDRG=$S(ICDMCC=2:616,ICDMCC=1:617,1:618) Q
|
---|
16 | DRG619 ;
|
---|
17 | DRG620 ;
|
---|
18 | DRG621 S ICDRG=$S(ICDMCC=2:619,ICDMCC=1:620,1:621) Q
|
---|
19 | DRG622 ;
|
---|
20 | DRG623 ;
|
---|
21 | DRG624 S ICDRG=$S(ICDMCC=2:622,ICDMCC=1:623,1:624) Q
|
---|
22 | DRG625 ;
|
---|
23 | DRG626 ;
|
---|
24 | DRG627 S ICDRG=$S(ICDMCC=2:625,ICDMCC=1:626,1:627) Q
|
---|
25 | DRG628 ;
|
---|
26 | DRG629 ;
|
---|
27 | DRG630 S ICDRG=$S(ICDMCC=2:628,ICDMCC=1:629,1:630) Q
|
---|
28 | DRG637 ;
|
---|
29 | DRG638 ;
|
---|
30 | DRG639 S ICDRG=$S(ICDMCC=2:637,ICDMCC=1:638,1:639) Q
|
---|
31 | DRG640 ;
|
---|
32 | DRG641 S ICDRG=$S(ICDMCC=2:640,1:641) Q
|
---|
33 | DRG642 S ICDRG=642 Q
|
---|
34 | DRG643 ;
|
---|
35 | DRG644 ;
|
---|
36 | DRG645 S ICDRG=$S(ICDMCC=2:643,ICDMCC=1:644,1:645) Q
|
---|
37 | DRG652 S ICDRG=652 Q
|
---|
38 | DRG653 ;
|
---|
39 | DRG654 ;
|
---|
40 | DRG655 S ICDRG=$S(ICDMCC=2:653,ICDMCC=1:654,1:655) Q
|
---|
41 | DRG656 ;DRGs 656-661
|
---|
42 | S ICDRG=999
|
---|
43 | S ICDRG=$S(ICDPD["M"&(ICDMCC=2):656,ICDPD["M"&(ICDMCC=1):657,ICDPD["M":658,1:ICDRG)
|
---|
44 | I "656^657^658"[ICDRG Q
|
---|
45 | S ICDRG=$S(ICDRG'["M"&(ICDMCC=2):659,ICDPD'["M"&(ICDMCC=1):660,1:661)
|
---|
46 | Q
|
---|
47 | DRG657 D DRG656 Q
|
---|
48 | DRG658 D DRG656 Q
|
---|
49 | DRG659 D DRG656 Q
|
---|
50 | DRG660 D DRG656 Q
|
---|
51 | DRG661 D DRG656 Q
|
---|
52 | DRG662 ;
|
---|
53 | DRG663 ;
|
---|
54 | DRG664 S ICDRG=$S(ICDMCC=2:662,ICDMCC=1:663,1:664) Q
|
---|
55 | DRG665 ;
|
---|
56 | DRG666 ;
|
---|
57 | DRG667 S ICDRG=$S(ICDMCC=2:665,ICDMCC=1:666,1:667) Q
|
---|
58 | DRG668 ;
|
---|
59 | DRG669 ;
|
---|
60 | DRG670 S ICDRG=$S(ICDMCC=2:668,ICDMCC=1:669,1:670) Q
|
---|
61 | DRG671 ;
|
---|
62 | DRG672 S ICDRG=$S(ICDMCC>0:671,1:672) Q
|
---|
63 | DRG673 ;
|
---|
64 | DRG674 ;
|
---|
65 | DRG675 S ICDRG=$S(ICDMCC=2:673,ICDMCC=1:674,1:675) Q
|
---|
66 | DRG682 ;
|
---|
67 | DRG683 ;
|
---|
68 | DRG684 S ICDRG=$S(ICDMCC=2:682,ICDMCC=1:683,1:684) Q
|
---|
69 | DRG685 S ICDRG=685 Q
|
---|
70 | DRG686 ;
|
---|
71 | DRG687 ;
|
---|
72 | DRG688 S ICDRG=$S(ICDMCC=2:686,ICDMCC=1:687,1:688) Q
|
---|
73 | DRG689 ;
|
---|
74 | DRG690 S ICDRG=$S(ICDMCC=2:689,1:690) Q
|
---|
75 | DRG691 ;DRGs 691-694
|
---|
76 | S ICDRG=999
|
---|
77 | S ICDRG=$S('$D(ICDPDRG(691)):"",$D(ICDOP(" 98.51"))&(ICDMCC>0):691,$D(ICDOP(" 98.51")):692,1:ICDRG)
|
---|
78 | I "691^692"[ICDRG Q
|
---|
79 | S ICDRG=$S('$D(ICDPDRG(691)):"",ICDMCC=2:693,1:694)
|
---|
80 | Q
|
---|
81 | DRG692 D DRG691 Q
|
---|
82 | DRG693 D DRG691 Q
|
---|
83 | DRG694 D DRG691 Q
|
---|
84 | DRG695 ;
|
---|
85 | DRG696 S ICDRG=$S(ICDMCC=2:695,1:696) Q
|
---|
86 | DRG697 S ICDRG=697 Q
|
---|
87 | DRG698 ;
|
---|
88 | DRG699 S ICDRG=$S(ICDMCC=2:698,ICDMCC=1:699,1:700) Q
|
---|
89 | Q
|
---|