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

IBINI033.m

Go to the documentation of this file.
  1. IBINI033 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(351.2) 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(351.2,0,"GL")
  1. ;;=^IBE(351.2,
  1. ;;^DIC("B","SPECIAL INPATIENT BILLING CASES",351.2)
  1. ;;=
  1. ;;^DIC(351.2,"%D",0)
  1. ;;=^^20^20^2940214^^^
  1. ;;^DIC(351.2,"%D",1,0)
  1. ;;=This file is used to track inpatient episodes for Category C veterans
  1. ;;^DIC(351.2,"%D",2,0)
  1. ;;=who have claimed exposure to Agent Orange, Ionizing Radiation, and
  1. ;;^DIC(351.2,"%D",3,0)
  1. ;;=Environmental Contaminants.
  1. ;;^DIC(351.2,"%D",4,0)
  1. ;;=
  1. ;;^DIC(351.2,"%D",5,0)
  1. ;;=These episodes, which are normally billed automatically by the system,
  1. ;;^DIC(351.2,"%D",6,0)
  1. ;;=require individual review to determine if the care provided was related
  1. ;;^DIC(351.2,"%D",7,0)
  1. ;;=to the claimed exposure. If the care was determined to be related to
  1. ;;^DIC(351.2,"%D",8,0)
  1. ;;=exposure, the patient should not be billed, but the case disposition
  1. ;;^DIC(351.2,"%D",9,0)
  1. ;;=must be documented.
  1. ;;^DIC(351.2,"%D",10,0)
  1. ;;=
  1. ;;^DIC(351.2,"%D",11,0)
  1. ;;=A case record will automatically be filed at admission for this special
  1. ;;^DIC(351.2,"%D",12,0)
  1. ;;=group of patients, and updated when the patient is discharged. The
  1. ;;^DIC(351.2,"%D",13,0)
  1. ;;=site then has 45 days to disposition the case, i.e. determine if the
  1. ;;^DIC(351.2,"%D",14,0)
  1. ;;=care was related to the claimed exposure. If the care was unrelated,
  1. ;;^DIC(351.2,"%D",15,0)
  1. ;;=and copayment and per diem charges are created in the Cancel/Edit/Add
  1. ;;^DIC(351.2,"%D",16,0)
  1. ;;=Patient Charges option, the case record will be automatically
  1. ;;^DIC(351.2,"%D",17,0)
  1. ;;=dispositioned. If the patient is not going to be billed, the reason
  1. ;;^DIC(351.2,"%D",18,0)
  1. ;;=for not billing must be entered into this file.
  1. ;;^DIC(351.2,"%D",19,0)
  1. ;;=
  1. ;;^DIC(351.2,"%D",20,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(351.2,0)
  1. ;;=FIELD^^2.04^13
  1. ;;^DD(351.2,0,"DDA")
  1. ;;=N
  1. ;;^DD(351.2,0,"DT")
  1. ;;=2930810
  1. ;;^DD(351.2,0,"ID",.02)
  1. ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^DGPM(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(405,.01,0),U,2) D Y^DIQ:Y]"" W " Adm: ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
  1. ;;^DD(351.2,0,"ID",.03)
  1. ;;=W " ",@("$P($P($C(59)_$S($D(^DD(351.2,.03,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,3)_"":"",2),$C(59),1)")
  1. ;;^DD(351.2,0,"IX","AC",351.2,.02)
  1. ;;=
  1. ;;^DD(351.2,0,"IX","AD",351.2,.04)
  1. ;;=
  1. ;;^DD(351.2,0,"IX","B",351.2,.01)
  1. ;;=
  1. ;;^DD(351.2,0,"NM","SPECIAL INPATIENT BILLING CASES")
  1. ;;=
  1. ;;^DD(351.2,.01,0)
  1. ;;=PATIENT^RP2'^DPT(^0;1^Q
  1. ;;^DD(351.2,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(351.2,.01,1,1,0)
  1. ;;=351.2^B
  1. ;;^DD(351.2,.01,1,1,1)
  1. ;;=S ^IBE(351.2,"B",$E(X,1,30),DA)=""
  1. ;;^DD(351.2,.01,1,1,2)
  1. ;;=K ^IBE(351.2,"B",$E(X,1,30),DA)
  1. ;;^DD(351.2,.01,3)
  1. ;;=
  1. ;;^DD(351.2,.01,21,0)
  1. ;;=^^1^1^2930810^
  1. ;;^DD(351.2,.01,21,1,0)
  1. ;;=This is the patient whose inpatient episode must be tracked.
  1. ;;^DD(351.2,.01,"DT")
  1. ;;=2930810
  1. ;;^DD(351.2,.02,0)
  1. ;;=ADMISSION^P405'^DGPM(^0;2^Q
  1. ;;^DD(351.2,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(351.2,.02,1,1,0)
  1. ;;=351.2^AC
  1. ;;^DD(351.2,.02,1,1,1)
  1. ;;=S ^IBE(351.2,"AC",$E(X,1,30),DA)=""
  1. ;;^DD(351.2,.02,1,1,2)
  1. ;;=K ^IBE(351.2,"AC",$E(X,1,30),DA)
  1. ;;^DD(351.2,.02,1,1,"DT")
  1. ;;=2930811
  1. ;;^DD(351.2,.02,21,0)
  1. ;;=^^2^2^2930810^
  1. ;;^DD(351.2,.02,21,1,0)
  1. ;;=This field points to the admission in the PATIENT MOVEMENT (#405)
  1. ;;^DD(351.2,.02,21,2,0)
  1. ;;=file which is being tracked.
  1. ;;^DD(351.2,.02,"DT")
  1. ;;=2930811
  1. ;;^DD(351.2,.03,0)
  1. ;;=PATIENT TYPE^S^1:AGENT ORANGE;2:IONIZING RADIATION;3:ENVIRONMENTAL CONTAMINANT;^0;3^Q
  1. ;;^DD(351.2,.03,21,0)
  1. ;;=^^3^3^2930810^
  1. ;;^DD(351.2,.03,21,1,0)
  1. ;;=This field is used to determine whether the patient has claimed