Changeset 636 for FOIAVistA/tag/r/DRG_GROUPER-ICD--ICPT/ICDDRG2.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (15 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/DRG_GROUPER-ICD--ICPT/ICDDRG2.m
r628 r636 1 1 ICDDRG2 ;ALB/GRR/EG - FIX SURGERY HIERARCHY ; 10/23/00 11:39am 2 ;;18.0;DRG Grouper;**24 ,31**;Oct 20, 2000;Build 72 ;;18.0;DRG Grouper;**24**;Oct 20, 2000;Build 5 3 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 4 .I ICDDATE<3061001 D F 5 .E D FY2007 7 6 END S ICDJ=$O(ICDJ(0)) Q:ICDJ'>0 S ICDJ=ICDJ(ICDJ) K ICDODRG S ICDODRG(ICDJ)="" K ICDJ Q 8 7 F I ICDJ=37 S ICDJ(1)=ICDJ Q … … 21 20 I ICDJ=38 S ICDJ(6)=ICDJ Q 22 21 Q 23 FY2008 ;24 I ICDJ=114 S ICDJ(1)=ICDJ Q25 I ICDJ=115 S ICDJ(2)=ICDJ Q26 I ICDJ=117 S ICDJ(3)=ICDJ Q27 Q28 22 VER 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 29 23 S ICDRG=$S(ICDL39:39,1:42)
Note:
See TracChangeset
for help on using the changeset viewer.