IBINI07B ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(356.93) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DIC(356.93,0,"GL")
;;=^IBT(356.93,
;;^DIC("B","INPATIENT INTERIM DRG",356.93)
;;=
;;^DIC(356.93,"%D",0)
;;=^^7^7^2940214^^^^
;;^DIC(356.93,"%D",1,0)
;;=This file holds interim DRGs computed by the Claims Tracking Module for
;;^DIC(356.93,"%D",2,0)
;;=display in Claims Tracking and on Reports. The computed ALOS is based
;;^DIC(356.93,"%D",3,0)
;;=upon 1992 HCFA average lengths of stay and not VA averages. The purpose is
;;^DIC(356.93,"%D",4,0)
;;=to help utilization review personnel determine if the the ALOS approved
;;^DIC(356.93,"%D",5,0)
;;=by an insurance company is within industry standards.
;;^DIC(356.93,"%D",6,0)
;;=
;;^DIC(356.93,"%D",7,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(356.93,0)
;;=FIELD^^.05^5
;;^DD(356.93,0,"DDA")
;;=N
;;^DD(356.93,0,"DT")
;;=2931213
;;^DD(356.93,0,"ID",.02)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGPM(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(405,.01,0),U,2) D Y^DIQ:Y]"" W " Admission Date: ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(356.93,0,"ID",.03)
;;=W " Computed: ",$E($P(^(0),U,3),4,5)_"-"_$E($P(^(0),U,3),6,7)_"-"_$E($P(^(0),U,3),2,3)
;;^DD(356.93,0,"ID","WRITE")
;;=N Y S Y=$G(^(0)) W " ",$P($G(^DPT(+$P($G(^DGPM(+$P(Y,U,2),0)),U,3),0)),U)
;;^DD(356.93,0,"IX","AC",356.93,.04)
;;=
;;^DD(356.93,0,"IX","AMVD",356.93,.02)
;;=
;;^DD(356.93,0,"IX","AMVD1",356.93,.03)
;;=
;;^DD(356.93,0,"IX","B",356.93,.01)
;;=
;;^DD(356.93,0,"NM","INPATIENT INTERIM DRG")
;;=
;;^DD(356.93,.01,0)
;;=NAME^RP80.2'^ICD(^0;1^Q
;;^DD(356.93,.01,1,0)
;;=^.1
;;^DD(356.93,.01,1,1,0)
;;=356.93^B
;;^DD(356.93,.01,1,1,1)
;;=S ^IBT(356.93,"B",$E(X,1,30),DA)=""
;;^DD(356.93,.01,1,1,2)
;;=K ^IBT(356.93,"B",$E(X,1,30),DA)
;;^DD(356.93,.01,3)
;;=
;;^DD(356.93,.01,21,0)
;;=^^1^1^2931129^
;;^DD(356.93,.01,21,1,0)
;;=Enter the DRG that best describes this inpatient case.
;;^DD(356.93,.01,"DT")
;;=2931129
;;^DD(356.93,.02,0)
;;=ADMISSION MOVEMENT^*P405'^DGPM(^0;2^S DIC("S")="I $P(^(0),U,2)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(356.93,.02,1,0)
;;=^.1
;;^DD(356.93,.02,1,1,0)
;;=356.93^AMVD^MUMPS
;;^DD(356.93,.02,1,1,1)
;;=S:$P(^IBT(356.93,DA,0),U,3) ^IBT(356.93,"AMVD",X,+$P(^(0),U,3),DA)=""
;;^DD(356.93,.02,1,1,2)
;;=K ^IBT(356.93,"AMVD",X,+$P(^IBT(356.93,DA,0),U,3),DA)
;;^DD(356.93,.02,1,1,"%D",0)
;;=^^1^1^2931130^
;;^DD(356.93,.02,1,1,"%D",1,0)
;;=Cross reference of drgs by admission movement and drg date.
;;^DD(356.93,.02,1,1,"DT")
;;=2931130
;;^DD(356.93,.02,12)
;;=Must be an admission movement.
;;^DD(356.93,.02,12.1)
;;=S DIC("S")="I $P(^(0),U,2)=1"
;;^DD(356.93,.02,21,0)
;;=^^2^2^2931129^
;;^DD(356.93,.02,21,1,0)
;;=This field should point to the admission movement of the inpatient
;;^DD(356.93,.02,21,2,0)
;;=episode that this interim DRG is for.
;;^DD(356.93,.02,"DT")
;;=2931130
;;^DD(356.93,.03,0)
;;=DATE^D^^0;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
;;^DD(356.93,.03,1,0)
;;=^.1
;;^DD(356.93,.03,1,1,0)
;;=356.93^AMVD1^MUMPS
;;^DD(356.93,.03,1,1,1)
;;=S:$P(^IBT(356.93,DA,0),U,2) ^IBT(356.93,"AMVD",+$P(^(0),U,2),X,DA)=""
;;^DD(356.93,.03,1,1,2)
;;=K ^IBT(356.93,"AMVD",+$P(^IBT(356.93,DA,0),U,2),X,DA)
;;^DD(356.93,.03,1,1,"%D",0)
;;=^^1^1^2931130^
;;^DD(356.93,.03,1,1,"%D",1,0)
;;=Cross reference of drgs by admission movement and drg date.
;;^DD(356.93,.03,1,1,"DT")
;;=2931130
;;^DD(356.93,.03,3)
;;=This is the date that the INTERIM DRG was computed.
;;^DD(356.93,.03,21,0)
;;=^^1^1^2931129^
;;^DD(356.93,.03,21,1,0)
;;=Enter the date that this DRG was computed.
IBINI07B ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(356.93)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(356.93,0,"GL")
+2 ;;=^IBT(356.93,
+3 ;;^DIC("B","INPATIENT INTERIM DRG",356.93)
+4 ;;=
+5 ;;^DIC(356.93,"%D",0)
+6 ;;=^^7^7^2940214^^^^
+7 ;;^DIC(356.93,"%D",1,0)
+8 ;;=This file holds interim DRGs computed by the Claims Tracking Module for
+9 ;;^DIC(356.93,"%D",2,0)
+10 ;;=display in Claims Tracking and on Reports. The computed ALOS is based
+11 ;;^DIC(356.93,"%D",3,0)
+12 ;;=upon 1992 HCFA average lengths of stay and not VA averages. The purpose is
+13 ;;^DIC(356.93,"%D",4,0)
+14 ;;=to help utilization review personnel determine if the the ALOS approved
+15 ;;^DIC(356.93,"%D",5,0)
+16 ;;=by an insurance company is within industry standards.
+17 ;;^DIC(356.93,"%D",6,0)
+18 ;;=
+19 ;;^DIC(356.93,"%D",7,0)
+20 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+21 ;;^DD(356.93,0)
+22 ;;=FIELD^^.05^5
+23 ;;^DD(356.93,0,"DDA")
+24 ;;=N
+25 ;;^DD(356.93,0,"DT")
+26 ;;=2931213
+27 ;;^DD(356.93,0,"ID",.02)
+28 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGPM(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(405,.01,0),U,2) D Y^DIQ:Y]"" W " Admission Date: ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+29 ;;^DD(356.93,0,"ID",.03)
+30 ;;=W " Computed: ",$E($P(^(0),U,3),4,5)_"-"_$E($P(^(0),U,3),6,7)_"-"_$E($P(^(0),U,3),2,3)
+31 ;;^DD(356.93,0,"ID","WRITE")
+32 ;;=N Y S Y=$G(^(0)) W " ",$P($G(^DPT(+$P($G(^DGPM(+$P(Y,U,2),0)),U,3),0)),U)
+33 ;;^DD(356.93,0,"IX","AC",356.93,.04)
+34 ;;=
+35 ;;^DD(356.93,0,"IX","AMVD",356.93,.02)
+36 ;;=
+37 ;;^DD(356.93,0,"IX","AMVD1",356.93,.03)
+38 ;;=
+39 ;;^DD(356.93,0,"IX","B",356.93,.01)
+40 ;;=
+41 ;;^DD(356.93,0,"NM","INPATIENT INTERIM DRG")
+42 ;;=
+43 ;;^DD(356.93,.01,0)
+44 ;;=NAME^RP80.2'^ICD(^0;1^Q
+45 ;;^DD(356.93,.01,1,0)
+46 ;;=^.1
+47 ;;^DD(356.93,.01,1,1,0)
+48 ;;=356.93^B
+49 ;;^DD(356.93,.01,1,1,1)
+50 ;;=S ^IBT(356.93,"B",$E(X,1,30),DA)=""
+51 ;;^DD(356.93,.01,1,1,2)
+52 ;;=K ^IBT(356.93,"B",$E(X,1,30),DA)
+53 ;;^DD(356.93,.01,3)
+54 ;;=
+55 ;;^DD(356.93,.01,21,0)
+56 ;;=^^1^1^2931129^
+57 ;;^DD(356.93,.01,21,1,0)
+58 ;;=Enter the DRG that best describes this inpatient case.
+59 ;;^DD(356.93,.01,"DT")
+60 ;;=2931129
+61 ;;^DD(356.93,.02,0)
+62 ;;=ADMISSION MOVEMENT^*P405'^DGPM(^0;2^S DIC("S")="I $P(^(0),U,2)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+63 ;;^DD(356.93,.02,1,0)
+64 ;;=^.1
+65 ;;^DD(356.93,.02,1,1,0)
+66 ;;=356.93^AMVD^MUMPS
+67 ;;^DD(356.93,.02,1,1,1)
+68 ;;=S:$P(^IBT(356.93,DA,0),U,3) ^IBT(356.93,"AMVD",X,+$P(^(0),U,3),DA)=""
+69 ;;^DD(356.93,.02,1,1,2)
+70 ;;=K ^IBT(356.93,"AMVD",X,+$P(^IBT(356.93,DA,0),U,3),DA)
+71 ;;^DD(356.93,.02,1,1,"%D",0)
+72 ;;=^^1^1^2931130^
+73 ;;^DD(356.93,.02,1,1,"%D",1,0)
+74 ;;=Cross reference of drgs by admission movement and drg date.
+75 ;;^DD(356.93,.02,1,1,"DT")
+76 ;;=2931130
+77 ;;^DD(356.93,.02,12)
+78 ;;=Must be an admission movement.
+79 ;;^DD(356.93,.02,12.1)
+80 ;;=S DIC("S")="I $P(^(0),U,2)=1"
+81 ;;^DD(356.93,.02,21,0)
+82 ;;=^^2^2^2931129^
+83 ;;^DD(356.93,.02,21,1,0)
+84 ;;=This field should point to the admission movement of the inpatient
+85 ;;^DD(356.93,.02,21,2,0)
+86 ;;=episode that this interim DRG is for.
+87 ;;^DD(356.93,.02,"DT")
+88 ;;=2931130
+89 ;;^DD(356.93,.03,0)
+90 ;;=DATE^D^^0;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
+91 ;;^DD(356.93,.03,1,0)
+92 ;;=^.1
+93 ;;^DD(356.93,.03,1,1,0)
+94 ;;=356.93^AMVD1^MUMPS
+95 ;;^DD(356.93,.03,1,1,1)
+96 ;;=S:$P(^IBT(356.93,DA,0),U,2) ^IBT(356.93,"AMVD",+$P(^(0),U,2),X,DA)=""
+97 ;;^DD(356.93,.03,1,1,2)
+98 ;;=K ^IBT(356.93,"AMVD",+$P(^IBT(356.93,DA,0),U,2),X,DA)
+99 ;;^DD(356.93,.03,1,1,"%D",0)
+100 ;;=^^1^1^2931130^
+101 ;;^DD(356.93,.03,1,1,"%D",1,0)
+102 ;;=Cross reference of drgs by admission movement and drg date.
+103 ;;^DD(356.93,.03,1,1,"DT")
+104 ;;=2931130
+105 ;;^DD(356.93,.03,3)
+106 ;;=This is the date that the INTERIM DRG was computed.
+107 ;;^DD(356.93,.03,21,0)
+108 ;;=^^1^1^2931129^
+109 ;;^DD(356.93,.03,21,1,0)
+110 ;;=Enter the date that this DRG was computed.