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

IBINI01U.m

Go to the documentation of this file.
  1. IBINI01U ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(350.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(350.5,0,"GL")
  1. ;;=^IBE(350.5,
  1. ;;^DIC("B","BASC LOCALITY MODIFIER",350.5)
  1. ;;=
  1. ;;^DIC(350.5,"%D",0)
  1. ;;=^^7^7^2940214^^^^
  1. ;;^DIC(350.5,"%D",1,0)
  1. ;;=This file is used in the calculation of the charge for an ambulatory
  1. ;;^DIC(350.5,"%D",2,0)
  1. ;;=surgery performed on any given date. This file contains time sensitive data
  1. ;;^DIC(350.5,"%D",3,0)
  1. ;;=with each entry defining a locality modifier and wage percentage for a
  1. ;;^DIC(350.5,"%D",4,0)
  1. ;;=division. There may be multiple entries for each division indicating changes
  1. ;;^DIC(350.5,"%D",5,0)
  1. ;;=effective on a particular date.
  1. ;;^DIC(350.5,"%D",6,0)
  1. ;;=
  1. ;;^DIC(350.5,"%D",7,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(350.5,0)
  1. ;;=FIELD^^.07^6
  1. ;;^DD(350.5,0,"DDA")
  1. ;;=N
  1. ;;^DD(350.5,0,"DT")
  1. ;;=2920121
  1. ;;^DD(350.5,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DG(40.8,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(40.8,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(350.5,0,"ID",.04)
  1. ;;=W " ",@("$P($P($C(59)_$S($D(^DD(350.5,.04,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,4)_"":"",2),$C(59),1)")
  1. ;;^DD(350.5,0,"ID",.07)
  1. ;;=W " ",$P(^(0),U,7)
  1. ;;^DD(350.5,0,"IX","AIVDT",350.5,.01)
  1. ;;=
  1. ;;^DD(350.5,0,"IX","AIVDT1",350.5,.02)
  1. ;;=
  1. ;;^DD(350.5,0,"IX","B",350.5,.01)
  1. ;;=
  1. ;;^DD(350.5,0,"IX","C",350.5,.02)
  1. ;;=
  1. ;;^DD(350.5,0,"NM","BASC LOCALITY MODIFIER")
  1. ;;=
  1. ;;^DD(350.5,.01,0)
  1. ;;=EFFECTIVE DATE^RD^^0;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(350.5,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(350.5,.01,1,1,0)
  1. ;;=350.5^B
  1. ;;^DD(350.5,.01,1,1,1)
  1. ;;=S ^IBE(350.5,"B",$E(X,1,30),DA)=""
  1. ;;^DD(350.5,.01,1,1,2)
  1. ;;=K ^IBE(350.5,"B",$E(X,1,30),DA)
  1. ;;^DD(350.5,.01,1,2,0)
  1. ;;=350.5^AIVDT^MUMPS
  1. ;;^DD(350.5,.01,1,2,1)
  1. ;;=I $P(^IBE(350.5,DA,0),"^",2) S ^IBE(350.5,"AIVDT",$P(^(0),"^",2),-X,DA)=""
  1. ;;^DD(350.5,.01,1,2,2)
  1. ;;=I $P(^IBE(350.5,DA,0),"^",2) K ^IBE(350.5,"AIVDT",$P(^(0),"^",2),-X,DA)
  1. ;;^DD(350.5,.01,1,2,"%D",0)
  1. ;;=^^1^1^2911113^^
  1. ;;^DD(350.5,.01,1,2,"%D",1,0)
  1. ;;=Used to find the appropriate entry for a division on any particular date.
  1. ;;^DD(350.5,.01,1,2,"DT")
  1. ;;=2911113
  1. ;;^DD(350.5,.01,3)
  1. ;;=
  1. ;;^DD(350.5,.01,21,0)
  1. ;;=^^3^3^2911113^^
  1. ;;^DD(350.5,.01,21,1,0)
  1. ;;=The date on which this entries data becomes effective.
  1. ;;^DD(350.5,.01,21,2,0)
  1. ;;=The data in this entry will override any other entry for
  1. ;;^DD(350.5,.01,21,3,0)
  1. ;;=this DIVISION that has a previous EFFECTIVE DATE.
  1. ;;^DD(350.5,.01,"DT")
  1. ;;=2911113
  1. ;;^DD(350.5,.02,0)
  1. ;;=DIVISION^RP40.8'^DG(40.8,^0;2^Q
  1. ;;^DD(350.5,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(350.5,.02,1,1,0)
  1. ;;=350.5^C
  1. ;;^DD(350.5,.02,1,1,1)
  1. ;;=S ^IBE(350.5,"C",$E(X,1,30),DA)=""
  1. ;;^DD(350.5,.02,1,1,2)
  1. ;;=K ^IBE(350.5,"C",$E(X,1,30),DA)
  1. ;;^DD(350.5,.02,1,1,"DT")
  1. ;;=2910829
  1. ;;^DD(350.5,.02,1,2,0)
  1. ;;=350.5^AIVDT1^MUMPS
  1. ;;^DD(350.5,.02,1,2,1)
  1. ;;=I $P(^IBE(350.5,DA,0),"^") S ^IBE(350.5,"AIVDT",X,-$P(^(0),"^"),DA)=""
  1. ;;^DD(350.5,.02,1,2,2)
  1. ;;=I $P(^IBE(350.5,DA,0),"^") K ^IBE(350.5,"AIVDT",X,-$P(^(0),"^"),DA)
  1. ;;^DD(350.5,.02,1,2,"%D",0)
  1. ;;=^^1^1^2911113^
  1. ;;^DD(350.5,.02,1,2,"%D",1,0)
  1. ;;=Used to find the correct entry for a division for a particular date.
  1. ;;^DD(350.5,.02,1,2,"DT")
  1. ;;=2910829
  1. ;;^DD(350.5,.02,21,0)
  1. ;;=^^1^1^2920121^^
  1. ;;^DD(350.5,.02,21,1,0)
  1. ;;=The division that this data applies to.
  1. ;;^DD(350.5,.02,"DT")
  1. ;;=2920121
  1. ;;^DD(350.5,.04,0)
  1. ;;=STATUS^RS^1:ACTIVE;0:INACTIVE;^0;4^Q
  1. ;;^DD(350.5,.04,21,0)
  1. ;;=^^1^1^2920723^^^
  1. ;;^DD(350.5,.04,21,1,0)
  1. ;;=The status for this DIVISION on/after this EFFECTIVE DATE.