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

IBINI06Q.m

Go to the documentation of this file.
  1. IBINI06Q ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DIC(356.5,0,"GL")
  1. ;;=^IBE(356.5,
  1. ;;^DIC("B","CLAIMS TRACKING ALOS",356.5)
  1. ;;=
  1. ;;^DIC(356.5,"%D",0)
  1. ;;=^^8^8^2940214^^^^
  1. ;;^DIC(356.5,"%D",1,0)
  1. ;;=This file contains the DRG's and average length of stays (ALOS) that
  1. ;;^DIC(356.5,"%D",2,0)
  1. ;;=is the most common alos approved by insurance companies. this generally
  1. ;;^DIC(356.5,"%D",3,0)
  1. ;;=is much shorted than the ALOS for the VA
  1. ;;^DIC(356.5,"%D",4,0)
  1. ;;=
  1. ;;^DIC(356.5,"%D",5,0)
  1. ;;=The data in this file is initially seeded with the HCFA 1992 table of
  1. ;;^DIC(356.5,"%D",6,0)
  1. ;;=average length of stays.
  1. ;;^DIC(356.5,"%D",7,0)
  1. ;;=
  1. ;;^DIC(356.5,"%D",8,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(356.5,0)
  1. ;;=FIELD^^.03^3
  1. ;;^DD(356.5,0,"DT")
  1. ;;=2931129
  1. ;;^DD(356.5,0,"IX","ADR",356.5,.01)
  1. ;;=
  1. ;;^DD(356.5,0,"IX","ADR1",356.5,.02)
  1. ;;=
  1. ;;^DD(356.5,0,"IX","B",356.5,.01)
  1. ;;=
  1. ;;^DD(356.5,0,"NM","CLAIMS TRACKING ALOS")
  1. ;;=
  1. ;;^DD(356.5,.01,0)
  1. ;;=DRG^RP80.2'^ICD(^0;1^Q
  1. ;;^DD(356.5,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(356.5,.01,1,1,0)
  1. ;;=356.5^B
  1. ;;^DD(356.5,.01,1,1,1)
  1. ;;=S ^IBE(356.5,"B",$E(X,1,30),DA)=""
  1. ;;^DD(356.5,.01,1,1,2)
  1. ;;=K ^IBE(356.5,"B",$E(X,1,30),DA)
  1. ;;^DD(356.5,.01,1,2,0)
  1. ;;=356.5^ADR^MUMPS
  1. ;;^DD(356.5,.01,1,2,1)
  1. ;;=S:$P(^IBE(356.5,DA,0),U,2) ^IBE(356.5,"ADR",X,$P(^(0),U,2),DA)=""
  1. ;;^DD(356.5,.01,1,2,2)
  1. ;;=K ^IBE(356.5,"ADR",X,+$P(^IBE(356.5,DA,0),U,2),DA)
  1. ;;^DD(356.5,.01,1,2,"%D",0)
  1. ;;=^^1^1^2930723^
  1. ;;^DD(356.5,.01,1,2,"%D",1,0)
  1. ;;=Cross-reference of drgs by year.
  1. ;;^DD(356.5,.01,1,2,"DT")
  1. ;;=2930723
  1. ;;^DD(356.5,.01,3)
  1. ;;=
  1. ;;^DD(356.5,.01,21,0)
  1. ;;=^^4^4^2940213^^
  1. ;;^DD(356.5,.01,21,1,0)
  1. ;;=This is the DRG for which you wish to enter an average length of stay
  1. ;;^DD(356.5,.01,21,2,0)
  1. ;;=that will be reflected on the review screen. This ALOS is an alos
  1. ;;^DD(356.5,.01,21,3,0)
  1. ;;=that is used in practice by the insurance industry which is different
  1. ;;^DD(356.5,.01,21,4,0)
  1. ;;=than the ALOS generally found in DHCP files which are specific to VA care.
  1. ;;^DD(356.5,.01,"DT")
  1. ;;=2931129
  1. ;;^DD(356.5,.02,0)
  1. ;;=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"
  1. ;;^DD(356.5,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(356.5,.02,1,1,0)
  1. ;;=356.5^ADR1^MUMPS
  1. ;;^DD(356.5,.02,1,1,1)
  1. ;;=S:$P(^IBE(356.5,DA,0),U) ^IBE(356.5,"ADR",$P(^(0),U),X,DA)=""
  1. ;;^DD(356.5,.02,1,1,2)
  1. ;;=K ^IBE(356.5,"ADR",+$P(^IBE(356.5,DA,0),U),X,DA)
  1. ;;^DD(356.5,.02,1,1,"%D",0)
  1. ;;=^^2^2^2930723^
  1. ;;^DD(356.5,.02,1,1,"%D",1,0)
  1. ;;=Cross reference of all drgs by year so that the alos for that drg for the
  1. ;;^DD(356.5,.02,1,1,"%D",2,0)
  1. ;;=correct year can be found.
  1. ;;^DD(356.5,.02,1,1,"DT")
  1. ;;=2930723
  1. ;;^DD(356.5,.02,3)
  1. ;;=Enter the year for this ALOS for this DRG. If any date other than a year is entered, only the year will be stored.
  1. ;;^DD(356.5,.02,21,0)
  1. ;;=^^3^3^2930723^
  1. ;;^DD(356.5,.02,21,1,0)
  1. ;;=This is the year for which you want to enter an average lenght of stay for
  1. ;;^DD(356.5,.02,21,2,0)
  1. ;;=this DRG. If any date in a year is entered only the year will be
  1. ;;^DD(356.5,.02,21,3,0)
  1. ;;=stored.
  1. ;;^DD(356.5,.02,"DT")
  1. ;;=2930723
  1. ;;^DD(356.5,.03,0)
  1. ;;=ALOS FOR INS. PURPOSES^NJ7,2^^0;3^K:+X'=X!(X>9999)!(X<0)!(X?.E1"."3N.N) X
  1. ;;^DD(356.5,.03,3)
  1. ;;=Enter the ALOS for this DRG for this year. Type a Number between 0 and 9999, 2 Decimal Digits
  1. ;;^DD(356.5,.03,21,0)
  1. ;;=^^4^4^2930723^
  1. ;;^DD(356.5,.03,21,1,0)
  1. ;;=Enter the average length of stay (ALOS) that you wish to be used
  1. ;;^DD(356.5,.03,21,2,0)
  1. ;;=as a base for insurance purposes. This ALOS will be displayed on