IBINI03P ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(354.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
Q Q
;;^DIC(354.1,0,"GL")
;;=^IBA(354.1,
;;^DIC("B","BILLING EXEMPTIONS",354.1)
;;=
;;^DIC(354.1,"%D",0)
;;=^^21^21^2940214^^^^
;;^DIC(354.1,"%D",1,0)
;;=DO NOT EDIT THIS FILE.
;;^DIC(354.1,"%D",2,0)
;;=
;;^DIC(354.1,"%D",3,0)
;;=Under normal operation it is not necessary to edit the fields in this
;;^DIC(354.1,"%D",4,0)
;;=file directly. The option Manually Change Copay Exemption (Hardships) can
;;^DIC(354.1,"%D",5,0)
;;=be used to update and correct entries by creating a new exemption.
;;^DIC(354.1,"%D",6,0)
;;=If many patient records have problems the option Print/Verify Patient
;;^DIC(354.1,"%D",7,0)
;;=Exemption Status can be used to correct the entries.
;;^DIC(354.1,"%D",8,0)
;;=
;;^DIC(354.1,"%D",9,0)
;;=This file will hold the time sensitive data that is used to determine
;;^DIC(354.1,"%D",10,0)
;;=if a patient can be exluded from any type of billing for a period of
;;^DIC(354.1,"%D",11,0)
;;=time. The initial use of this file is for storing the time sensitive
;;^DIC(354.1,"%D",12,0)
;;=data related to whether or not a patient is exempt from pharmacy copay
;;^DIC(354.1,"%D",13,0)
;;=requirement due to income below the pension level.
;;^DIC(354.1,"%D",14,0)
;;=
;;^DIC(354.1,"%D",15,0)
;;=The file then maintains the audit trail of changes to exemptions and
;;^DIC(354.1,"%D",16,0)
;;=historical data about exemptions. The data in this file should be
;;^DIC(354.1,"%D",17,0)
;;=retained for approximately the current calendar year and the past
;;^DIC(354.1,"%D",18,0)
;;=calendar year. The ability to purge data in this file will be added
;;^DIC(354.1,"%D",19,0)
;;=at a future time.
;;^DIC(354.1,"%D",20,0)
;;=
;;^DIC(354.1,"%D",21,0)
;;=Per VHA Directive 10-93-142, this file definition should not be modified.
;;^DD(354.1,0)
;;=FIELD^^.15^15
;;^DD(354.1,0,"DDA")
;;=N
;;^DD(354.1,0,"DT")
;;=2930204
;;^DD(354.1,0,"ID",.02)
;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBA(354,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(354,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
;;^DD(354.1,0,"ID",.04)
;;=W " ",@("$P($P($C(59)_$S($D(^DD(354.1,.04,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,4)_"":"",2),$C(59),1)")
;;^DD(354.1,0,"ID",.1)
;;=W " ",@("$P($P($C(59)_$S($D(^DD(354.1,.1,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,10)_"":"",2),$C(59),1)")
;;^DD(354.1,0,"IX","AA",354.1,.1)
;;=
;;^DD(354.1,0,"IX","ACAN",354.1,.14)
;;=
;;^DD(354.1,0,"IX","ACAN1",354.1,.02)
;;=
;;^DD(354.1,0,"IX","ACY",354.1,.01)
;;=
;;^DD(354.1,0,"IX","ACY1",354.1,.02)
;;=
;;^DD(354.1,0,"IX","ACY2",354.1,.1)
;;=
;;^DD(354.1,0,"IX","ACY3",354.1,.03)
;;=
;;^DD(354.1,0,"IX","AIVDT",354.1,.01)
;;=
;;^DD(354.1,0,"IX","AIVDT1",354.1,.1)
;;=
;;^DD(354.1,0,"IX","AIVDT2",354.1,.02)
;;=
;;^DD(354.1,0,"IX","AIVDT3",354.1,.03)
;;=
;;^DD(354.1,0,"IX","ALERT",354.1,.09)
;;=
;;^DD(354.1,0,"IX","AP",354.1,.02)
;;=
;;^DD(354.1,0,"IX","APIDT",354.1,.02)
;;=
;;^DD(354.1,0,"IX","APIDT1",354.1,.01)
;;=
;;^DD(354.1,0,"IX","APIDT2",354.1,.03)
;;=
;;^DD(354.1,0,"IX","APRIOR",354.1,.15)
;;=
;;^DD(354.1,0,"IX","AR",354.1,.05)
;;=
;;^DD(354.1,0,"IX","AS",354.1,.04)
;;=
;;^DD(354.1,0,"IX","B",354.1,.01)
;;=
;;^DD(354.1,0,"IX","C",354.1,.02)
;;=
;;^DD(354.1,0,"NM","BILLING EXEMPTIONS")
;;=
;;^DD(354.1,.01,0)
;;=EFFECTIVE DATE^RDI^^0;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
;;^DD(354.1,.01,.1)
;;=
;;^DD(354.1,.01,1,0)
;;=^.1^^-1
;;^DD(354.1,.01,1,1,0)
;;=354.1^B
;;^DD(354.1,.01,1,1,1)
;;=S ^IBA(354.1,"B",$E(X,1,30),DA)=""
IBINI03P ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(354.1)
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(354.1,0,"GL")
+2 ;;=^IBA(354.1,
+3 ;;^DIC("B","BILLING EXEMPTIONS",354.1)
+4 ;;=
+5 ;;^DIC(354.1,"%D",0)
+6 ;;=^^21^21^2940214^^^^
+7 ;;^DIC(354.1,"%D",1,0)
+8 ;;=DO NOT EDIT THIS FILE.
+9 ;;^DIC(354.1,"%D",2,0)
+10 ;;=
+11 ;;^DIC(354.1,"%D",3,0)
+12 ;;=Under normal operation it is not necessary to edit the fields in this
+13 ;;^DIC(354.1,"%D",4,0)
+14 ;;=file directly. The option Manually Change Copay Exemption (Hardships) can
+15 ;;^DIC(354.1,"%D",5,0)
+16 ;;=be used to update and correct entries by creating a new exemption.
+17 ;;^DIC(354.1,"%D",6,0)
+18 ;;=If many patient records have problems the option Print/Verify Patient
+19 ;;^DIC(354.1,"%D",7,0)
+20 ;;=Exemption Status can be used to correct the entries.
+21 ;;^DIC(354.1,"%D",8,0)
+22 ;;=
+23 ;;^DIC(354.1,"%D",9,0)
+24 ;;=This file will hold the time sensitive data that is used to determine
+25 ;;^DIC(354.1,"%D",10,0)
+26 ;;=if a patient can be exluded from any type of billing for a period of
+27 ;;^DIC(354.1,"%D",11,0)
+28 ;;=time. The initial use of this file is for storing the time sensitive
+29 ;;^DIC(354.1,"%D",12,0)
+30 ;;=data related to whether or not a patient is exempt from pharmacy copay
+31 ;;^DIC(354.1,"%D",13,0)
+32 ;;=requirement due to income below the pension level.
+33 ;;^DIC(354.1,"%D",14,0)
+34 ;;=
+35 ;;^DIC(354.1,"%D",15,0)
+36 ;;=The file then maintains the audit trail of changes to exemptions and
+37 ;;^DIC(354.1,"%D",16,0)
+38 ;;=historical data about exemptions. The data in this file should be
+39 ;;^DIC(354.1,"%D",17,0)
+40 ;;=retained for approximately the current calendar year and the past
+41 ;;^DIC(354.1,"%D",18,0)
+42 ;;=calendar year. The ability to purge data in this file will be added
+43 ;;^DIC(354.1,"%D",19,0)
+44 ;;=at a future time.
+45 ;;^DIC(354.1,"%D",20,0)
+46 ;;=
+47 ;;^DIC(354.1,"%D",21,0)
+48 ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
+49 ;;^DD(354.1,0)
+50 ;;=FIELD^^.15^15
+51 ;;^DD(354.1,0,"DDA")
+52 ;;=N
+53 ;;^DD(354.1,0,"DT")
+54 ;;=2930204
+55 ;;^DD(354.1,0,"ID",.02)
+56 ;;=S %I=Y,Y=$S('$D(^(0)):"",$D(^IBA(354,+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),C=$P(^DD(354,.01,0),U,2) D Y^DIQ:Y]"" W " ",Y,@("$E("_DIC_"%I,0),0)") S Y=%I K %I
+57 ;;^DD(354.1,0,"ID",.04)
+58 ;;=W " ",@("$P($P($C(59)_$S($D(^DD(354.1,.04,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,4)_"":"",2),$C(59),1)")
+59 ;;^DD(354.1,0,"ID",.1)
+60 ;;=W " ",@("$P($P($C(59)_$S($D(^DD(354.1,.1,0)):$P(^(0),U,3),1:0)_$E("_DIC_"Y,0),0),$C(59)_$P(^(0),U,10)_"":"",2),$C(59),1)")
+61 ;;^DD(354.1,0,"IX","AA",354.1,.1)
+62 ;;=
+63 ;;^DD(354.1,0,"IX","ACAN",354.1,.14)
+64 ;;=
+65 ;;^DD(354.1,0,"IX","ACAN1",354.1,.02)
+66 ;;=
+67 ;;^DD(354.1,0,"IX","ACY",354.1,.01)
+68 ;;=
+69 ;;^DD(354.1,0,"IX","ACY1",354.1,.02)
+70 ;;=
+71 ;;^DD(354.1,0,"IX","ACY2",354.1,.1)
+72 ;;=
+73 ;;^DD(354.1,0,"IX","ACY3",354.1,.03)
+74 ;;=
+75 ;;^DD(354.1,0,"IX","AIVDT",354.1,.01)
+76 ;;=
+77 ;;^DD(354.1,0,"IX","AIVDT1",354.1,.1)
+78 ;;=
+79 ;;^DD(354.1,0,"IX","AIVDT2",354.1,.02)
+80 ;;=
+81 ;;^DD(354.1,0,"IX","AIVDT3",354.1,.03)
+82 ;;=
+83 ;;^DD(354.1,0,"IX","ALERT",354.1,.09)
+84 ;;=
+85 ;;^DD(354.1,0,"IX","AP",354.1,.02)
+86 ;;=
+87 ;;^DD(354.1,0,"IX","APIDT",354.1,.02)
+88 ;;=
+89 ;;^DD(354.1,0,"IX","APIDT1",354.1,.01)
+90 ;;=
+91 ;;^DD(354.1,0,"IX","APIDT2",354.1,.03)
+92 ;;=
+93 ;;^DD(354.1,0,"IX","APRIOR",354.1,.15)
+94 ;;=
+95 ;;^DD(354.1,0,"IX","AR",354.1,.05)
+96 ;;=
+97 ;;^DD(354.1,0,"IX","AS",354.1,.04)
+98 ;;=
+99 ;;^DD(354.1,0,"IX","B",354.1,.01)
+100 ;;=
+101 ;;^DD(354.1,0,"IX","C",354.1,.02)
+102 ;;=
+103 ;;^DD(354.1,0,"NM","BILLING EXEMPTIONS")
+104 ;;=
+105 ;;^DD(354.1,.01,0)
+106 ;;=EFFECTIVE DATE^RDI^^0;1^S %DT="EX" D ^%DT S X=Y K:Y<1 X
+107 ;;^DD(354.1,.01,.1)
+108 ;;=
+109 ;;^DD(354.1,.01,1,0)
+110 ;;=^.1^^-1
+111 ;;^DD(354.1,.01,1,1,0)
+112 ;;=354.1^B
+113 ;;^DD(354.1,.01,1,1,1)
+114 ;;=S ^IBA(354.1,"B",$E(X,1,30),DA)=""