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

IBINI03B.m

Go to the documentation of this file.
  1. IBINI03B ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(352.3) 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.3,0,"GL")
  1. ;;=^IBE(352.3,
  1. ;;^DIC("B","NON-BILLABLE CLINIC STOP CODES",352.3)
  1. ;;=
  1. ;;^DIC(352.3,"%D",0)
  1. ;;=^^12^12^2940214^^^^
  1. ;;^DIC(352.3,"%D",1,0)
  1. ;;=This file shall be used to flag clinic stop codes in the CLINIC
  1. ;;^DIC(352.3,"%D",2,0)
  1. ;;=STOP (#40.7) file as either billable or non-billable for Means
  1. ;;^DIC(352.3,"%D",3,0)
  1. ;;=Test Billing. The flagging of the stop codes is date-sensitive,
  1. ;;^DIC(352.3,"%D",4,0)
  1. ;;=so the ability to not bill can be turned on or off. The default
  1. ;;^DIC(352.3,"%D",5,0)
  1. ;;=billing action is TO BILL ALL stop codes; thus, it is only
  1. ;;^DIC(352.3,"%D",6,0)
  1. ;;=necessary to add entries to this file if billing of a particular
  1. ;;^DIC(352.3,"%D",7,0)
  1. ;;=clinic stop code is not desired.
  1. ;;^DIC(352.3,"%D",8,0)
  1. ;;=
  1. ;;^DIC(352.3,"%D",9,0)
  1. ;;=The routine IBEFUNC contains the function call to determine if a
  1. ;;^DIC(352.3,"%D",10,0)
  1. ;;=clinic stop code should not be billed on a specific date.
  1. ;;^DIC(352.3,"%D",11,0)
  1. ;;=
  1. ;;^DIC(352.3,"%D",12,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(352.3,0)
  1. ;;=FIELD^^.03^3
  1. ;;^DD(352.3,0,"DDA")
  1. ;;=N
  1. ;;^DD(352.3,0,"DT")
  1. ;;=2930720
  1. ;;^DD(352.3,0,"IX","AIVDT",352.3,.01)
  1. ;;=
  1. ;;^DD(352.3,0,"IX","AIVDT1",352.3,.02)
  1. ;;=
  1. ;;^DD(352.3,0,"IX","B",352.3,.01)
  1. ;;=
  1. ;;^DD(352.3,0,"NM","NON-BILLABLE CLINIC STOP CODES")
  1. ;;=
  1. ;;^DD(352.3,.01,0)
  1. ;;=CLINIC STOP CODE^RP40.7'^DIC(40.7,^0;1^Q
  1. ;;^DD(352.3,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(352.3,.01,1,1,0)
  1. ;;=352.3^B
  1. ;;^DD(352.3,.01,1,1,1)
  1. ;;=S ^IBE(352.3,"B",$E(X,1,30),DA)=""
  1. ;;^DD(352.3,.01,1,1,2)
  1. ;;=K ^IBE(352.3,"B",$E(X,1,30),DA)
  1. ;;^DD(352.3,.01,1,2,0)
  1. ;;=352.3^AIVDT^MUMPS
  1. ;;^DD(352.3,.01,1,2,1)
  1. ;;=I $D(^IBE(352.3,DA,0)),$P(^(0),"^",2) S ^IBE(352.3,"AIVDT",X,-$P(^(0),"^",2),DA)=""
  1. ;;^DD(352.3,.01,1,2,2)
  1. ;;=I $D(^IBE(352.3,DA,0)),$P(^(0),"^",2) K ^IBE(352.3,"AIVDT",X,-$P(^(0),"^",2),DA)
  1. ;;^DD(352.3,.01,1,2,"%D",0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.3,.01,1,2,"%D",1,0)
  1. ;;=This cross-reference on the CLINIC STOP CODE (#.01) field and the
  1. ;;^DD(352.3,.01,1,2,"%D",2,0)
  1. ;;=EFFECTIVE DATE (#.02) field is used to locate the appropriate record
  1. ;;^DD(352.3,.01,1,2,"%D",3,0)
  1. ;;=for a clinic stop code on a specific effective date.
  1. ;;^DD(352.3,.01,1,2,"DT")
  1. ;;=2930720
  1. ;;^DD(352.3,.01,3)
  1. ;;=Please enter a clinic stop code.
  1. ;;^DD(352.3,.01,21,0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.3,.01,21,1,0)
  1. ;;=This field is a pointer to the CLINIC STOP (#40.7) file and identifies
  1. ;;^DD(352.3,.01,21,2,0)
  1. ;;=the clinic stop code which is being established as either billable
  1. ;;^DD(352.3,.01,21,3,0)
  1. ;;=or non-billable for Means Test billing.
  1. ;;^DD(352.3,.01,"DT")
  1. ;;=2930720
  1. ;;^DD(352.3,.02,0)
  1. ;;=EFFECTIVE DATE^RD^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(352.3,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(352.3,.02,1,1,0)
  1. ;;=352.3^AIVDT1^MUMPS
  1. ;;^DD(352.3,.02,1,1,1)
  1. ;;=I $D(^IBE(352.3,DA,0)),+^(0) S ^IBE(352.3,"AIVDT",+^(0),-X,DA)=""
  1. ;;^DD(352.3,.02,1,1,2)
  1. ;;=I $D(^IBE(352.3,DA,0)),+^(0) K ^IBE(352.3,"AIVDT",+^(0),-X,DA)
  1. ;;^DD(352.3,.02,1,1,"%D",0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.3,.02,1,1,"%D",1,0)
  1. ;;=This cross-reference on the CLINIC STOP CODE (#.01) field and the
  1. ;;^DD(352.3,.02,1,1,"%D",2,0)
  1. ;;=EFFECTIVE DATE (#.02) field is used to locate the appropriate record
  1. ;;^DD(352.3,.02,1,1,"%D",3,0)
  1. ;;=for a clinic stop code on a specific effective date.
  1. ;;^DD(352.3,.02,1,1,"DT")
  1. ;;=2930720
  1. ;;^DD(352.3,.02,3)
  1. ;;=Please enter an effective date.
  1. ;;^DD(352.3,.02,21,0)
  1. ;;=^^2^2^2930720^
  1. ;;^DD(352.3,.02,21,1,0)
  1. ;;=This is the date on which Means Test billing for this clinic stop