Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (15 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/DRG_GROUPER-ICD--ICPT/ICDDRG2.m

    r628 r636  
    11ICDDRG2 ;ALB/GRR/EG - FIX SURGERY HIERARCHY ; 10/23/00 11:39am
    2  ;;18.0;DRG Grouper;**24,31**;Oct 20, 2000;Build 7
     2 ;;18.0;DRG Grouper;**24**;Oct 20, 2000;Build 5
    33 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
     4 .I ICDDATE<3061001 D F
     5 .E  D FY2007
    76END S ICDJ=$O(ICDJ(0)) Q:ICDJ'>0  S ICDJ=ICDJ(ICDJ) K ICDODRG S ICDODRG(ICDJ)="" K ICDJ Q
    87F I ICDJ=37 S ICDJ(1)=ICDJ Q
     
    2120 I ICDJ=38 S ICDJ(6)=ICDJ Q
    2221 Q
    23 FY2008 ;
    24  I ICDJ=114 S ICDJ(1)=ICDJ Q
    25  I ICDJ=115 S ICDJ(2)=ICDJ Q
    26  I ICDJ=117 S ICDJ(3)=ICDJ Q
    27  Q
    2822VER S ICDF="",ICDL39=0 F ICDFZ=1:1 S ICDF=$O(ICDOP(ICDF)) Q:ICDF=""  S ICD=$P(ICDF," ",2) I "12.91^12.92^14.71^14.72^14.73^14.74^14.75^14.79"'[ICD S ICDL39=1 Q
    2923 S ICDRG=$S(ICDL39:39,1:42)
Note: See TracChangeset for help on using the changeset viewer.