IBINI033 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
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
Q Q
;;^DIC(351.2,0,"GL")
;;=^IBE(351.2,
;;^DIC("B","SPECIAL INPATIENT BILLING CASES",351.2)
;;=
;;^DIC(351.2,"%D",0)
;;=^^20^20^2940214^^^
;;^DIC(351.2,"%D",1,0)
;;=This file is used to track inpatient episodes for Category C veterans
;;^DIC(351.2,"%D",2,0)
;;=who have claimed exposure to Agent Orange, Ionizing Radiation, and
;;^DIC(351.2,"%D",3,0)
;;=Environmental Contaminants.
;;^DIC(351.2,"%D",4,0)
;;=
;;^DIC(351.2,"%D",5,0)
;;=These episodes, which are normally billed automatically by the system,
;;^DIC(351.2,"%D",6,0)
;;=require individual review to determine if the care provided was related
;;^DIC(351.2,"%D",7,0)
;;=to the claimed exposure. If the care was determined to be related to
;;^DIC(351.2,"%D",8,0)
;;=exposure, the patient should not be billed, but the case disposition
;;^DIC(351.2,"%D",9,0)
;;=must be documented.
;;^DIC(351.2,"%D",10,0)
;;=
;;^DIC(351.2,"%D",11,0)
;;=A case record will automatically be filed at admission for this special
;;^DIC(351.2,"%D",12,0)
;;=group of patients, and updated when the patient is discharged. The
;;^DIC(351.2,"%D",13,0)
;;=site then has 45 days to disposition the case, i.e. determine if the
;;^DIC(351.2,"%D",14,0)
;;=care was related to the claimed exposure. If the care was unrelated,
;;^DIC(351.2,"%D",15,0)
;;=and copayment and per diem charges are created in the Cancel/Edit/Add
;;^DIC(351.2,"%D",16,0)
;;=Patient Charges option, the case record will be automatically
;;^DIC(351.2,"%D",17,0)
;;=dispositioned. If the patient is not going to be billed, the reason
;;^DIC(351.2,"%D",18,0)
;;=for not billing must be entered into this file.
;;^DIC(351.2,"%D",19,0)
;;=
;;^DIC(351.2,"%D",20,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(351.2,0)
;;=FIELD^^2.04^13
;;^DD(351.2,0,"DDA")
;;=N
;;^DD(351.2,0,"DT")
;;=2930810
;;^DD(351.2,0,"ID",.02)
;;=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
;;^DD(351.2,0,"ID",.03)
;;=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)")
;;^DD(351.2,0,"IX","AC",351.2,.02)
;;=
;;^DD(351.2,0,"IX","AD",351.2,.04)
;;=
;;^DD(351.2,0,"IX","B",351.2,.01)
;;=
;;^DD(351.2,0,"NM","SPECIAL INPATIENT BILLING CASES")
;;=
;;^DD(351.2,.01,0)
;;=PATIENT^RP2'^DPT(^0;1^Q
;;^DD(351.2,.01,1,0)
;;=^.1
;;^DD(351.2,.01,1,1,0)
;;=351.2^B
;;^DD(351.2,.01,1,1,1)
;;=S ^IBE(351.2,"B",$E(X,1,30),DA)=""
;;^DD(351.2,.01,1,1,2)
;;=K ^IBE(351.2,"B",$E(X,1,30),DA)
;;^DD(351.2,.01,3)
;;=
;;^DD(351.2,.01,21,0)
;;=^^1^1^2930810^
;;^DD(351.2,.01,21,1,0)
;;=This is the patient whose inpatient episode must be tracked.
;;^DD(351.2,.01,"DT")
;;=2930810
;;^DD(351.2,.02,0)
;;=ADMISSION^P405'^DGPM(^0;2^Q
;;^DD(351.2,.02,1,0)
;;=^.1
;;^DD(351.2,.02,1,1,0)
;;=351.2^AC
;;^DD(351.2,.02,1,1,1)
;;=S ^IBE(351.2,"AC",$E(X,1,30),DA)=""
;;^DD(351.2,.02,1,1,2)
;;=K ^IBE(351.2,"AC",$E(X,1,30),DA)
;;^DD(351.2,.02,1,1,"DT")
;;=2930811
;;^DD(351.2,.02,21,0)
;;=^^2^2^2930810^
;;^DD(351.2,.02,21,1,0)
;;=This field points to the admission in the PATIENT MOVEMENT (#405)
;;^DD(351.2,.02,21,2,0)
;;=file which is being tracked.
;;^DD(351.2,.02,"DT")
;;=2930811
;;^DD(351.2,.03,0)
;;=PATIENT TYPE^S^1:AGENT ORANGE;2:IONIZING RADIATION;3:ENVIRONMENTAL CONTAMINANT;^0;3^Q
;;^DD(351.2,.03,21,0)
;;=^^3^3^2930810^
;;^DD(351.2,.03,21,1,0)
;;=This field is used to determine whether the patient has claimed
IBINI033 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(351.2)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(351.2,0,"GL")
+2 ;;=^IBE(351.2,
+3 ;;^DIC("B","SPECIAL INPATIENT BILLING CASES",351.2)
+4 ;;=
+5 ;;^DIC(351.2,"%D",0)
+6 ;;=^^20^20^2940214^^^
+7 ;;^DIC(351.2,"%D",1,0)
+8 ;;=This file is used to track inpatient episodes for Category C veterans
+9 ;;^DIC(351.2,"%D",2,0)
+10 ;;=who have claimed exposure to Agent Orange, Ionizing Radiation, and
+11 ;;^DIC(351.2,"%D",3,0)
+12 ;;=Environmental Contaminants.
+13 ;;^DIC(351.2,"%D",4,0)
+14 ;;=
+15 ;;^DIC(351.2,"%D",5,0)
+16 ;;=These episodes, which are normally billed automatically by the system,
+17 ;;^DIC(351.2,"%D",6,0)
+18 ;;=require individual review to determine if the care provided was related
+19 ;;^DIC(351.2,"%D",7,0)
+20 ;;=to the claimed exposure. If the care was determined to be related to
+21 ;;^DIC(351.2,"%D",8,0)
+22 ;;=exposure, the patient should not be billed, but the case disposition
+23 ;;^DIC(351.2,"%D",9,0)
+24 ;;=must be documented.
+25 ;;^DIC(351.2,"%D",10,0)
+26 ;;=
+27 ;;^DIC(351.2,"%D",11,0)
+28 ;;=A case record will automatically be filed at admission for this special
+29 ;;^DIC(351.2,"%D",12,0)
+30 ;;=group of patients, and updated when the patient is discharged. The
+31 ;;^DIC(351.2,"%D",13,0)
+32 ;;=site then has 45 days to disposition the case, i.e. determine if the
+33 ;;^DIC(351.2,"%D",14,0)
+34 ;;=care was related to the claimed exposure. If the care was unrelated,
+35 ;;^DIC(351.2,"%D",15,0)
+36 ;;=and copayment and per diem charges are created in the Cancel/Edit/Add
+37 ;;^DIC(351.2,"%D",16,0)
+38 ;;=Patient Charges option, the case record will be automatically
+39 ;;^DIC(351.2,"%D",17,0)
+40 ;;=dispositioned. If the patient is not going to be billed, the reason
+41 ;;^DIC(351.2,"%D",18,0)
+42 ;;=for not billing must be entered into this file.
+43 ;;^DIC(351.2,"%D",19,0)
+44 ;;=
+45 ;;^DIC(351.2,"%D",20,0)
+46 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+47 ;;^DD(351.2,0)
+48 ;;=FIELD^^2.04^13
+49 ;;^DD(351.2,0,"DDA")
+50 ;;=N
+51 ;;^DD(351.2,0,"DT")
+52 ;;=2930810
+53 ;;^DD(351.2,0,"ID",.02)
+54 ;;=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
+55 ;;^DD(351.2,0,"ID",.03)
+56 ;;=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)")
+57 ;;^DD(351.2,0,"IX","AC",351.2,.02)
+58 ;;=
+59 ;;^DD(351.2,0,"IX","AD",351.2,.04)
+60 ;;=
+61 ;;^DD(351.2,0,"IX","B",351.2,.01)
+62 ;;=
+63 ;;^DD(351.2,0,"NM","SPECIAL INPATIENT BILLING CASES")
+64 ;;=
+65 ;;^DD(351.2,.01,0)
+66 ;;=PATIENT^RP2'^DPT(^0;1^Q
+67 ;;^DD(351.2,.01,1,0)
+68 ;;=^.1
+69 ;;^DD(351.2,.01,1,1,0)
+70 ;;=351.2^B
+71 ;;^DD(351.2,.01,1,1,1)
+72 ;;=S ^IBE(351.2,"B",$E(X,1,30),DA)=""
+73 ;;^DD(351.2,.01,1,1,2)
+74 ;;=K ^IBE(351.2,"B",$E(X,1,30),DA)
+75 ;;^DD(351.2,.01,3)
+76 ;;=
+77 ;;^DD(351.2,.01,21,0)
+78 ;;=^^1^1^2930810^
+79 ;;^DD(351.2,.01,21,1,0)
+80 ;;=This is the patient whose inpatient episode must be tracked.
+81 ;;^DD(351.2,.01,"DT")
+82 ;;=2930810
+83 ;;^DD(351.2,.02,0)
+84 ;;=ADMISSION^P405'^DGPM(^0;2^Q
+85 ;;^DD(351.2,.02,1,0)
+86 ;;=^.1
+87 ;;^DD(351.2,.02,1,1,0)
+88 ;;=351.2^AC
+89 ;;^DD(351.2,.02,1,1,1)
+90 ;;=S ^IBE(351.2,"AC",$E(X,1,30),DA)=""
+91 ;;^DD(351.2,.02,1,1,2)
+92 ;;=K ^IBE(351.2,"AC",$E(X,1,30),DA)
+93 ;;^DD(351.2,.02,1,1,"DT")
+94 ;;=2930811
+95 ;;^DD(351.2,.02,21,0)
+96 ;;=^^2^2^2930810^
+97 ;;^DD(351.2,.02,21,1,0)
+98 ;;=This field points to the admission in the PATIENT MOVEMENT (#405)
+99 ;;^DD(351.2,.02,21,2,0)
+100 ;;=file which is being tracked.
+101 ;;^DD(351.2,.02,"DT")
+102 ;;=2930811
+103 ;;^DD(351.2,.03,0)
+104 ;;=PATIENT TYPE^S^1:AGENT ORANGE;2:IONIZING RADIATION;3:ENVIRONMENTAL CONTAMINANT;^0;3^Q
+105 ;;^DD(351.2,.03,21,0)
+106 ;;=^^3^3^2930810^
+107 ;;^DD(351.2,.03,21,1,0)
+108 ;;=This field is used to determine whether the patient has claimed