Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: ICDDRG10

ICDDRG10.m

Go to the documentation of this file.
ICDDRG10 ;ALB/GRR - FIX SURGERY HIERARCHY ; 11/6/00 2:03pm
 ;;18.0;DRG Grouper;**24,31,50,70**;Oct 20, 2000;Build 6
 Q:$O(ICDODRG(0))'>0  K ICDJ,ICDJJ F ICDJ=0:0 S ICDJ=$O(ICDODRG(ICDJ)) Q:ICDJ'>0  S ICDJJ(ICDJ)="" D
 . I ICDDATE<3061001 D F Q
 . E  I ICDDATE<3071001 D FY2007 Q
 . E  I ICDDATE<3101001 D FY2008
 . E  D FY2011
END S ICDJ=$O(ICDJ(0)) Q:ICDJ'>0  S ICDJ=ICDJ(ICDJ) K ICDODRG S ICDODRG(ICDJ)="" Q
F I ICDJ=286 S ICDJ(1)=ICDJ Q
 I ICDJ=288 S ICDJ(2)=ICDJ Q
 I ICDJ=285 S ICDJ(3)=ICDJ
 Q
FY2007 ;
 I ICDJ=286 S ICDJ(1)=ICDJ Q
 I ICDJ=285 S ICDJ(2)=ICDJ Q
 I ICDJ=288 S ICDJ(3)=ICDJ
 Q
FY2008 ;MS-DRG
 I ICDJ=615 S ICDJ(1)=ICDJ Q
 I ICDJ=618 S ICDJ(2)=ICDJ Q
 I ICDJ=621 S ICDJ(3)=ICDJ Q
 I ICDJ=624 S ICDJ(4)=ICDJ Q
 I ICDJ=627 S ICDJ(5)=ICDJ Q
 I ICDJ=630 S ICDJ(6)=ICDJ Q
FY2011 ;MS-DRG
 I ICDJ=614 S ICDJ(1)=ICDJ Q
 I ICDJ=615 S ICDJ(2)=ICDJ Q
 I ICDJ=618 S ICDJ(3)=ICDJ Q
 I ICDJ=621 S ICDJ(4)=ICDJ Q
 I ICDJ=624 S ICDJ(5)=ICDJ Q
 I ICDJ=625 S ICDJ(6)=ICDJ Q
 I ICDJ=627 S ICDJ(7)=ICDJ Q
 I ICDJ=630 S ICDJ(8)=ICDJ Q
 Q