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

IBINI03D.m

Go to the documentation of this file.
  1. IBINI03D ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(352.4) 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.4,0,"GL")
  1. ;;=^IBE(352.4,
  1. ;;^DIC("B","NON-BILLABLE CLINICS",352.4)
  1. ;;=
  1. ;;^DIC(352.4,"%D",0)
  1. ;;=^^11^11^2940214^^^
  1. ;;^DIC(352.4,"%D",1,0)
  1. ;;=This file shall be used to flag clinics in the HOSPITAL LOCATION (#44)
  1. ;;^DIC(352.4,"%D",2,0)
  1. ;;=file as either billable or non-billable for Means Test Billing. The
  1. ;;^DIC(352.4,"%D",3,0)
  1. ;;=flagging of clinics is date-sensitive, so the ability to not bill
  1. ;;^DIC(352.4,"%D",4,0)
  1. ;;=may be turned on or off. Please note that the default billing action
  1. ;;^DIC(352.4,"%D",5,0)
  1. ;;=IS TO BILL all clinics; thus, it is only necessary to add entries in
  1. ;;^DIC(352.4,"%D",6,0)
  1. ;;=this file for clinics where Means Test billing is NOT desired.
  1. ;;^DIC(352.4,"%D",7,0)
  1. ;;=
  1. ;;^DIC(352.4,"%D",8,0)
  1. ;;=The routine IBEFUNC contains the function call to determine if a
  1. ;;^DIC(352.4,"%D",9,0)
  1. ;;=clinic should be not billed on a specific date.
  1. ;;^DIC(352.4,"%D",10,0)
  1. ;;=
  1. ;;^DIC(352.4,"%D",11,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(352.4,0)
  1. ;;=FIELD^^.03^3
  1. ;;^DD(352.4,0,"DDA")
  1. ;;=N
  1. ;;^DD(352.4,0,"DT")
  1. ;;=2930720
  1. ;;^DD(352.4,0,"IX","AIVDT",352.4,.01)
  1. ;;=
  1. ;;^DD(352.4,0,"IX","AIVDT1",352.4,.02)
  1. ;;=
  1. ;;^DD(352.4,0,"IX","B",352.4,.01)
  1. ;;=
  1. ;;^DD(352.4,0,"NM","NON-BILLABLE CLINICS")
  1. ;;=
  1. ;;^DD(352.4,.01,0)
  1. ;;=CLINIC^R*P44'^SC(^0;1^S DIC("S")="I $P(^(0),U,3)=""C""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(352.4,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(352.4,.01,1,1,0)
  1. ;;=352.4^B
  1. ;;^DD(352.4,.01,1,1,1)
  1. ;;=S ^IBE(352.4,"B",$E(X,1,30),DA)=""
  1. ;;^DD(352.4,.01,1,1,2)
  1. ;;=K ^IBE(352.4,"B",$E(X,1,30),DA)
  1. ;;^DD(352.4,.01,1,2,0)
  1. ;;=352.4^AIVDT^MUMPS
  1. ;;^DD(352.4,.01,1,2,1)
  1. ;;=I $D(^IBE(352.4,DA,0)),$P(^(0),"^",2) S ^IBE(352.4,"AIVDT",X,-$P(^(0),"^",2),DA)=""
  1. ;;^DD(352.4,.01,1,2,2)
  1. ;;=I $D(^IBE(352.4,DA,0)),$P(^(0),"^",2) K ^IBE(352.4,"AIVDT",X,-$P(^(0),"^",2),DA)
  1. ;;^DD(352.4,.01,1,2,"%D",0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.4,.01,1,2,"%D",1,0)
  1. ;;=This cross-reference on the CLINIC (#.01) field and the EFFECTIVE DATE
  1. ;;^DD(352.4,.01,1,2,"%D",2,0)
  1. ;;=(#.02) field is used to locate the appropriate record for a clinic on
  1. ;;^DD(352.4,.01,1,2,"%D",3,0)
  1. ;;=a specific effective date.
  1. ;;^DD(352.4,.01,1,2,"DT")
  1. ;;=2930720
  1. ;;^DD(352.4,.01,3)
  1. ;;=Please enter a clinic.
  1. ;;^DD(352.4,.01,12)
  1. ;;=This screen is used to assure that only clinics in file #44 are selected.
  1. ;;^DD(352.4,.01,12.1)
  1. ;;=S DIC("S")="I $P(^(0),U,3)=""C"""
  1. ;;^DD(352.4,.01,21,0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.4,.01,21,1,0)
  1. ;;=This field is a pointer to the HOSPITAL LOCATION (#44) file and
  1. ;;^DD(352.4,.01,21,2,0)
  1. ;;=identifies the clinic which is being flagged as billable or
  1. ;;^DD(352.4,.01,21,3,0)
  1. ;;=non-billable for Means Test billing.
  1. ;;^DD(352.4,.01,"DT")
  1. ;;=2930720
  1. ;;^DD(352.4,.02,0)
  1. ;;=EFFECTIVE DATE^RD^^0;2^S %DT="EX" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(352.4,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(352.4,.02,1,1,0)
  1. ;;=352.4^AIVDT1^MUMPS
  1. ;;^DD(352.4,.02,1,1,1)
  1. ;;=I $D(^IBE(352.4,DA,0)),+^(0) S ^IBE(352.4,"AIVDT",+^(0),-X,DA)=""
  1. ;;^DD(352.4,.02,1,1,2)
  1. ;;=I $D(^IBE(352.4,DA,0)),+^(0) K ^IBE(352.4,"AIVDT",+^(0),-X,DA)
  1. ;;^DD(352.4,.02,1,1,"%D",0)
  1. ;;=^^3^3^2930720^
  1. ;;^DD(352.4,.02,1,1,"%D",1,0)
  1. ;;=This cross-reference on the CLINIC (#.01) field and the EFFECTIVE DATE
  1. ;;^DD(352.4,.02,1,1,"%D",2,0)
  1. ;;=(#.02) field is used to locate the appropriate record for a clinic on
  1. ;;^DD(352.4,.02,1,1,"%D",3,0)
  1. ;;=a specific effective date.
  1. ;;^DD(352.4,.02,1,1,"DT")
  1. ;;=2930720
  1. ;;^DD(352.4,.02,3)
  1. ;;=Please enter the effective date.
  1. ;;^DD(352.4,.02,21,0)
  1. ;;=^^2^2^2930720^