- IBINI06Q ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(356.5) 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.5,0,"GL")
- ;;=^IBE(356.5,
- ;;^DIC("B","CLAIMS TRACKING ALOS",356.5)
- ;;=
- ;;^DIC(356.5,"%D",0)
- ;;=^^8^8^2940214^^^^
- ;;^DIC(356.5,"%D",1,0)
- ;;=This file contains the DRG's and average length of stays (ALOS) that
- ;;^DIC(356.5,"%D",2,0)
- ;;=is the most common alos approved by insurance companies. this generally
- ;;^DIC(356.5,"%D",3,0)
- ;;=is much shorted than the ALOS for the VA
- ;;^DIC(356.5,"%D",4,0)
- ;;=
- ;;^DIC(356.5,"%D",5,0)
- ;;=The data in this file is initially seeded with the HCFA 1992 table of
- ;;^DIC(356.5,"%D",6,0)
- ;;=average length of stays.
- ;;^DIC(356.5,"%D",7,0)
- ;;=
- ;;^DIC(356.5,"%D",8,0)
- ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- ;;^DD(356.5,0)
- ;;=FIELD^^.03^3
- ;;^DD(356.5,0,"DT")
- ;;=2931129
- ;;^DD(356.5,0,"IX","ADR",356.5,.01)
- ;;=
- ;;^DD(356.5,0,"IX","ADR1",356.5,.02)
- ;;=
- ;;^DD(356.5,0,"IX","B",356.5,.01)
- ;;=
- ;;^DD(356.5,0,"NM","CLAIMS TRACKING ALOS")
- ;;=
- ;;^DD(356.5,.01,0)
- ;;=DRG^RP80.2'^ICD(^0;1^Q
- ;;^DD(356.5,.01,1,0)
- ;;=^.1
- ;;^DD(356.5,.01,1,1,0)
- ;;=356.5^B
- ;;^DD(356.5,.01,1,1,1)
- ;;=S ^IBE(356.5,"B",$E(X,1,30),DA)=""
- ;;^DD(356.5,.01,1,1,2)
- ;;=K ^IBE(356.5,"B",$E(X,1,30),DA)
- ;;^DD(356.5,.01,1,2,0)
- ;;=356.5^ADR^MUMPS
- ;;^DD(356.5,.01,1,2,1)
- ;;=S:$P(^IBE(356.5,DA,0),U,2) ^IBE(356.5,"ADR",X,$P(^(0),U,2),DA)=""
- ;;^DD(356.5,.01,1,2,2)
- ;;=K ^IBE(356.5,"ADR",X,+$P(^IBE(356.5,DA,0),U,2),DA)
- ;;^DD(356.5,.01,1,2,"%D",0)
- ;;=^^1^1^2930723^
- ;;^DD(356.5,.01,1,2,"%D",1,0)
- ;;=Cross-reference of drgs by year.
- ;;^DD(356.5,.01,1,2,"DT")
- ;;=2930723
- ;;^DD(356.5,.01,3)
- ;;=
- ;;^DD(356.5,.01,21,0)
- ;;=^^4^4^2940213^^
- ;;^DD(356.5,.01,21,1,0)
- ;;=This is the DRG for which you wish to enter an average length of stay
- ;;^DD(356.5,.01,21,2,0)
- ;;=that will be reflected on the review screen. This ALOS is an alos
- ;;^DD(356.5,.01,21,3,0)
- ;;=that is used in practice by the insurance industry which is different
- ;;^DD(356.5,.01,21,4,0)
- ;;=than the ALOS generally found in DHCP files which are specific to VA care.
- ;;^DD(356.5,.01,"DT")
- ;;=2931129
- ;;^DD(356.5,.02,0)
- ;;=YEAR^RDX^^0;2^S %DT="E" D ^%DT S X=Y K:Y<1 X S:$D(X) X=$E(X,1,3)_"0000"
- ;;^DD(356.5,.02,1,0)
- ;;=^.1
- ;;^DD(356.5,.02,1,1,0)
- ;;=356.5^ADR1^MUMPS
- ;;^DD(356.5,.02,1,1,1)
- ;;=S:$P(^IBE(356.5,DA,0),U) ^IBE(356.5,"ADR",$P(^(0),U),X,DA)=""
- ;;^DD(356.5,.02,1,1,2)
- ;;=K ^IBE(356.5,"ADR",+$P(^IBE(356.5,DA,0),U),X,DA)
- ;;^DD(356.5,.02,1,1,"%D",0)
- ;;=^^2^2^2930723^
- ;;^DD(356.5,.02,1,1,"%D",1,0)
- ;;=Cross reference of all drgs by year so that the alos for that drg for the
- ;;^DD(356.5,.02,1,1,"%D",2,0)
- ;;=correct year can be found.
- ;;^DD(356.5,.02,1,1,"DT")
- ;;=2930723
- ;;^DD(356.5,.02,3)
- ;;=Enter the year for this ALOS for this DRG. If any date other than a year is entered, only the year will be stored.
- ;;^DD(356.5,.02,21,0)
- ;;=^^3^3^2930723^
- ;;^DD(356.5,.02,21,1,0)
- ;;=This is the year for which you want to enter an average lenght of stay for
- ;;^DD(356.5,.02,21,2,0)
- ;;=this DRG. If any date in a year is entered only the year will be
- ;;^DD(356.5,.02,21,3,0)
- ;;=stored.
- ;;^DD(356.5,.02,"DT")
- ;;=2930723
- ;;^DD(356.5,.03,0)
- ;;=ALOS FOR INS. PURPOSES^NJ7,2^^0;3^K:+X'=X!(X>9999)!(X<0)!(X?.E1"."3N.N) X
- ;;^DD(356.5,.03,3)
- ;;=Enter the ALOS for this DRG for this year. Type a Number between 0 and 9999, 2 Decimal Digits
- ;;^DD(356.5,.03,21,0)
- ;;=^^4^4^2930723^
- ;;^DD(356.5,.03,21,1,0)
- ;;=Enter the average length of stay (ALOS) that you wish to be used
- ;;^DD(356.5,.03,21,2,0)
- ;;=as a base for insurance purposes. This ALOS will be displayed on
- IBINI06Q ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(356.5)
- 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.5,0,"GL")
- +2 ;;=^IBE(356.5,
- +3 ;;^DIC("B","CLAIMS TRACKING ALOS",356.5)
- +4 ;;=
- +5 ;;^DIC(356.5,"%D",0)
- +6 ;;=^^8^8^2940214^^^^
- +7 ;;^DIC(356.5,"%D",1,0)
- +8 ;;=This file contains the DRG's and average length of stays (ALOS) that
- +9 ;;^DIC(356.5,"%D",2,0)
- +10 ;;=is the most common alos approved by insurance companies. this generally
- +11 ;;^DIC(356.5,"%D",3,0)
- +12 ;;=is much shorted than the ALOS for the VA
- +13 ;;^DIC(356.5,"%D",4,0)
- +14 ;;=
- +15 ;;^DIC(356.5,"%D",5,0)
- +16 ;;=The data in this file is initially seeded with the HCFA 1992 table of
- +17 ;;^DIC(356.5,"%D",6,0)
- +18 ;;=average length of stays.
- +19 ;;^DIC(356.5,"%D",7,0)
- +20 ;;=
- +21 ;;^DIC(356.5,"%D",8,0)
- +22 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
- +23 ;;^DD(356.5,0)
- +24 ;;=FIELD^^.03^3
- +25 ;;^DD(356.5,0,"DT")
- +26 ;;=2931129
- +27 ;;^DD(356.5,0,"IX","ADR",356.5,.01)
- +28 ;;=
- +29 ;;^DD(356.5,0,"IX","ADR1",356.5,.02)
- +30 ;;=
- +31 ;;^DD(356.5,0,"IX","B",356.5,.01)
- +32 ;;=
- +33 ;;^DD(356.5,0,"NM","CLAIMS TRACKING ALOS")
- +34 ;;=
- +35 ;;^DD(356.5,.01,0)
- +36 ;;=DRG^RP80.2'^ICD(^0;1^Q
- +37 ;;^DD(356.5,.01,1,0)
- +38 ;;=^.1
- +39 ;;^DD(356.5,.01,1,1,0)
- +40 ;;=356.5^B
- +41 ;;^DD(356.5,.01,1,1,1)
- +42 ;;=S ^IBE(356.5,"B",$E(X,1,30),DA)=""
- +43 ;;^DD(356.5,.01,1,1,2)
- +44 ;;=K ^IBE(356.5,"B",$E(X,1,30),DA)
- +45 ;;^DD(356.5,.01,1,2,0)
- +46 ;;=356.5^ADR^MUMPS
- +47 ;;^DD(356.5,.01,1,2,1)
- +48 ;;=S:$P(^IBE(356.5,DA,0),U,2) ^IBE(356.5,"ADR",X,$P(^(0),U,2),DA)=""
- +49 ;;^DD(356.5,.01,1,2,2)
- +50 ;;=K ^IBE(356.5,"ADR",X,+$P(^IBE(356.5,DA,0),U,2),DA)
- +51 ;;^DD(356.5,.01,1,2,"%D",0)
- +52 ;;=^^1^1^2930723^
- +53 ;;^DD(356.5,.01,1,2,"%D",1,0)
- +54 ;;=Cross-reference of drgs by year.
- +55 ;;^DD(356.5,.01,1,2,"DT")
- +56 ;;=2930723
- +57 ;;^DD(356.5,.01,3)
- +58 ;;=
- +59 ;;^DD(356.5,.01,21,0)
- +60 ;;=^^4^4^2940213^^
- +61 ;;^DD(356.5,.01,21,1,0)
- +62 ;;=This is the DRG for which you wish to enter an average length of stay
- +63 ;;^DD(356.5,.01,21,2,0)
- +64 ;;=that will be reflected on the review screen. This ALOS is an alos
- +65 ;;^DD(356.5,.01,21,3,0)
- +66 ;;=that is used in practice by the insurance industry which is different
- +67 ;;^DD(356.5,.01,21,4,0)
- +68 ;;=than the ALOS generally found in DHCP files which are specific to VA care.
- +69 ;;^DD(356.5,.01,"DT")
- +70 ;;=2931129
- +71 ;;^DD(356.5,.02,0)
- +72 ;;=YEAR^RDX^^0;2^S %DT="E" D ^%DT S X=Y K:Y<1 X S:$D(X) X=$E(X,1,3)_"0000"
- +73 ;;^DD(356.5,.02,1,0)
- +74 ;;=^.1
- +75 ;;^DD(356.5,.02,1,1,0)
- +76 ;;=356.5^ADR1^MUMPS
- +77 ;;^DD(356.5,.02,1,1,1)
- +78 ;;=S:$P(^IBE(356.5,DA,0),U) ^IBE(356.5,"ADR",$P(^(0),U),X,DA)=""
- +79 ;;^DD(356.5,.02,1,1,2)
- +80 ;;=K ^IBE(356.5,"ADR",+$P(^IBE(356.5,DA,0),U),X,DA)
- +81 ;;^DD(356.5,.02,1,1,"%D",0)
- +82 ;;=^^2^2^2930723^
- +83 ;;^DD(356.5,.02,1,1,"%D",1,0)
- +84 ;;=Cross reference of all drgs by year so that the alos for that drg for the
- +85 ;;^DD(356.5,.02,1,1,"%D",2,0)
- +86 ;;=correct year can be found.
- +87 ;;^DD(356.5,.02,1,1,"DT")
- +88 ;;=2930723
- +89 ;;^DD(356.5,.02,3)
- +90 ;;=Enter the year for this ALOS for this DRG. If any date other than a year is entered, only the year will be stored.
- +91 ;;^DD(356.5,.02,21,0)
- +92 ;;=^^3^3^2930723^
- +93 ;;^DD(356.5,.02,21,1,0)
- +94 ;;=This is the year for which you want to enter an average lenght of stay for
- +95 ;;^DD(356.5,.02,21,2,0)
- +96 ;;=this DRG. If any date in a year is entered only the year will be
- +97 ;;^DD(356.5,.02,21,3,0)
- +98 ;;=stored.
- +99 ;;^DD(356.5,.02,"DT")
- +100 ;;=2930723
- +101 ;;^DD(356.5,.03,0)
- +102 ;;=ALOS FOR INS. PURPOSES^NJ7,2^^0;3^K:+X'=X!(X>9999)!(X<0)!(X?.E1"."3N.N) X
- +103 ;;^DD(356.5,.03,3)
- +104 ;;=Enter the ALOS for this DRG for this year. Type a Number between 0 and 9999, 2 Decimal Digits
- +105 ;;^DD(356.5,.03,21,0)
- +106 ;;=^^4^4^2930723^
- +107 ;;^DD(356.5,.03,21,1,0)
- +108 ;;=Enter the average length of stay (ALOS) that you wish to be used
- +109 ;;^DD(356.5,.03,21,2,0)
- +110 ;;=as a base for insurance purposes. This ALOS will be displayed on