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

IBINI036.m

Go to the documentation of this file.
  1. IBINI036 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(352.1) 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(352.1,0,"GL")
  1. ;;=^IBE(352.1,
  1. ;;^DIC("B","BILLABLE APPOINTMENT TYPE",352.1)
  1. ;;=
  1. ;;^DIC(352.1,"%D",0)
  1. ;;=^^6^6^2940214^
  1. ;;^DIC(352.1,"%D",1,0)
  1. ;;=Records for each appointment type with indicators for IGNORE
  1. ;;^DIC(352.1,"%D",2,0)
  1. ;;=MEANS TEST, PRINT ON INSURANCE REPORT, and DISPLAY ON INPUT
  1. ;;^DIC(352.1,"%D",3,0)
  1. ;;=SCREEN. Also contains effective date of determination.
  1. ;;^DIC(352.1,"%D",4,0)
  1. ;;=Accessed by extrinsic function ^IBEFUNC.
  1. ;;^DIC(352.1,"%D",5,0)
  1. ;;=
  1. ;;^DIC(352.1,"%D",6,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(352.1,0)
  1. ;;=FIELD^^.06^6
  1. ;;^DD(352.1,0,"DDA")
  1. ;;=N
  1. ;;^DD(352.1,0,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^SD(409.1,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(409.1,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(352.1,0,"ID",.03)
  1. ;;=W " ",$E($P(^(0),U,3),4,5)_"-"_$E($P(^(0),U,3),6,7)_"-"_$E($P(^(0),U,3),2,3)
  1. ;;^DD(352.1,0,"IX","AIVDT1",352.1,.02)
  1. ;;=
  1. ;;^DD(352.1,0,"IX","AIVDT2",352.1,.03)
  1. ;;=
  1. ;;^DD(352.1,0,"IX","B",352.1,.01)
  1. ;;=
  1. ;;^DD(352.1,0,"IX","C",352.1,.02)
  1. ;;=
  1. ;;^DD(352.1,0,"IX","D",352.1,.03)
  1. ;;=
  1. ;;^DD(352.1,0,"NM","BILLABLE APPOINTMENT TYPE")
  1. ;;=
  1. ;;^DD(352.1,.01,0)
  1. ;;=NUMBER^RNJ2,0^^0;1^K:+X'=X!(X>99)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(352.1,.01,1,0)
  1. ;;=^.1^^0
  1. ;;^DD(352.1,.01,1,1,0)
  1. ;;=352.1^B
  1. ;;^DD(352.1,.01,1,1,1)
  1. ;;=S ^IBE(352.1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(352.1,.01,1,1,2)
  1. ;;=K ^IBE(352.1,"B",$E(X,1,30),DA)
  1. ;;^DD(352.1,.01,3)
  1. ;;=Type a Number between 1 and 99, 0 Decimal Digits
  1. ;;^DD(352.1,.01,21,0)
  1. ;;=^^1^1^2920406^^^
  1. ;;^DD(352.1,.01,21,1,0)
  1. ;;=This is a unique number for each entry.
  1. ;;^DD(352.1,.01,"DT")
  1. ;;=2911021
  1. ;;^DD(352.1,.02,0)
  1. ;;=APPOINTMENT TYPE^RP409.1'^SD(409.1,^0;2^Q
  1. ;;^DD(352.1,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(352.1,.02,1,1,0)
  1. ;;=352.1^AIVDT1^MUMPS
  1. ;;^DD(352.1,.02,1,1,1)
  1. ;;=I $P(^IBE(352.1,DA,0),U,3) S ^IBE(352.1,"AIVDT",X,-$P(^(0),U,3),DA)=""
  1. ;;^DD(352.1,.02,1,1,2)
  1. ;;=I $P(^IBE(352.1,DA,0),U,3) K ^IBE(352.1,"AIVDT",X,-$P(^(0),U,3),DA)
  1. ;;^DD(352.1,.02,1,1,"%D",0)
  1. ;;=^^1^1^2911022^
  1. ;;^DD(352.1,.02,1,1,"%D",1,0)
  1. ;;=Used to find most recent entry for appointment type.
  1. ;;^DD(352.1,.02,1,1,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,.02,1,2,0)
  1. ;;=352.1^C
  1. ;;^DD(352.1,.02,1,2,1)
  1. ;;=S ^IBE(352.1,"C",$E(X,1,30),DA)=""
  1. ;;^DD(352.1,.02,1,2,2)
  1. ;;=K ^IBE(352.1,"C",$E(X,1,30),DA)
  1. ;;^DD(352.1,.02,1,2,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,.02,21,0)
  1. ;;=^^1^1^2920406^^
  1. ;;^DD(352.1,.02,21,1,0)
  1. ;;=This is the MAS Appointment type.
  1. ;;^DD(352.1,.02,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,.03,0)
  1. ;;=EFFECTIVE DATE^RDI^^0;3^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(352.1,.03,1,0)
  1. ;;=^.1
  1. ;;^DD(352.1,.03,1,1,0)
  1. ;;=352.1^AIVDT2^MUMPS
  1. ;;^DD(352.1,.03,1,1,1)
  1. ;;=I $P(^IBE(352.1,DA,0),U,2) S ^IBE(352.1,"AIVDT",$P(^(0),U,2),-X,DA)=""
  1. ;;^DD(352.1,.03,1,1,2)
  1. ;;=I $P(^IBE(352.1,DA,0),U,2) K ^IBE(352.1,"AIVDT",$P(^(0),U,2),-X,DA)
  1. ;;^DD(352.1,.03,1,1,"%D",0)
  1. ;;=^^1^1^2911022^
  1. ;;^DD(352.1,.03,1,1,"%D",1,0)
  1. ;;=Used to find most recent entry for an appointment type.
  1. ;;^DD(352.1,.03,1,1,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,.03,1,2,0)
  1. ;;=352.1^D
  1. ;;^DD(352.1,.03,1,2,1)
  1. ;;=S ^IBE(352.1,"D",$E(X,1,30),DA)=""
  1. ;;^DD(352.1,.03,1,2,2)
  1. ;;=K ^IBE(352.1,"D",$E(X,1,30),DA)
  1. ;;^DD(352.1,.03,1,2,"DT")
  1. ;;=2911022
  1. ;;^DD(352.1,.03,21,0)
  1. ;;=^^7^7^2920406^^^
  1. ;;^DD(352.1,.03,21,1,0)
  1. ;;=Every Appointment type has certain billing characteristics that may
  1. ;;^DD(352.1,.03,21,2,0)
  1. ;;=change over time. For example, an appointment type may not be billable