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

IBINI03U.m

Go to the documentation of this file.
  1. IBINI03U ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. 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
  1. Q Q
  1. ;;^DD(354.1,.1,1,3,"%D",2,0)
  1. ;;=year (CY). This equates to $e(effective date,1,3).
  1. ;;^DD(354.1,.1,1,3,"DT")
  1. ;;=2921118
  1. ;;^DD(354.1,.1,12)
  1. ;;=Only 1 entry for a patient for an effective date can be active at one time
  1. ;;^DD(354.1,.1,12.1)
  1. ;;=S DIC("S")="I $$ACTIVE^IBARXEU(X)"
  1. ;;^DD(354.1,.1,21,0)
  1. ;;=^^4^4^2930430^^^^
  1. ;;^DD(354.1,.1,21,1,0)
  1. ;;=Only 1 record for an effective date can be active at a time. When
  1. ;;^DD(354.1,.1,21,2,0)
  1. ;;=it is necessary to change a patient's exemption status the user will
  1. ;;^DD(354.1,.1,21,3,0)
  1. ;;=be asked if this is the currently active record. If yes, then all
  1. ;;^DD(354.1,.1,21,4,0)
  1. ;;=other records for the effective date will be inactivated automatically.
  1. ;;^DD(354.1,.1,"DT")
  1. ;;=2930204
  1. ;;^DD(354.1,.11,0)
  1. ;;=ELECTRONIC SIGNATURE^FO^^0;11^K:$L(X)>20!($L(X)<6) X
  1. ;;^DD(354.1,.11,2)
  1. ;;=S Y(0)=Y S Y(0)=Y S Y="<Hidden>"
  1. ;;^DD(354.1,.11,2.1)
  1. ;;=S Y(0)=Y S Y="<Hidden>"
  1. ;;^DD(354.1,.11,3)
  1. ;;=Answer must be 6-20 characters in length.
  1. ;;^DD(354.1,.11,21,0)
  1. ;;=^^4^4^2930430^^^
  1. ;;^DD(354.1,.11,21,1,0)
  1. ;;=Enter your Electronic Signature. This field will be required whenever
  1. ;;^DD(354.1,.11,21,2,0)
  1. ;;=a user trys to create an exemption that is different from the
  1. ;;^DD(354.1,.11,21,3,0)
  1. ;;=exemption computed by the system. This would
  1. ;;^DD(354.1,.11,21,4,0)
  1. ;;=be required in order to create a hardship exemption.
  1. ;;^DD(354.1,.11,"DT")
  1. ;;=2930422
  1. ;;^DD(354.1,.12,0)
  1. ;;=SECOND ELECTRONIC SIGNATURE^F^^0;12^K:$L(X)>40!($L(X)<3) X
  1. ;;^DD(354.1,.12,3)
  1. ;;=Answer must be 3-40 characters in length.
  1. ;;^DD(354.1,.12,21,0)
  1. ;;=^^3^3^2930430^
  1. ;;^DD(354.1,.12,21,1,0)
  1. ;;=A second electronic signature for hardship exemptions will be
  1. ;;^DD(354.1,.12,21,2,0)
  1. ;;=implemented in a future release.
  1. ;;^DD(354.1,.12,21,3,0)
  1. ;;=|
  1. ;;^DD(354.1,.12,"DT")
  1. ;;=2930422
  1. ;;^DD(354.1,.13,0)
  1. ;;=RETRO CANCEL BILLS START DATE^D^^0;13^S %DT="EX" D ^%DT S X=Y K:3991231<X!(2920129>X) X
  1. ;;^DD(354.1,.13,3)
  1. ;;=TYPE A DATE BETWEEN 1/29/1992 AND 12/31/2099
  1. ;;^DD(354.1,.13,21,0)
  1. ;;=^^4^4^2930430^^
  1. ;;^DD(354.1,.13,21,1,0)
  1. ;;=If this exemption requires retroactively canceling prior charges, this
  1. ;;^DD(354.1,.13,21,2,0)
  1. ;;=is the beginning date for the retroactive cancellation. This must be
  1. ;;^DD(354.1,.13,21,3,0)
  1. ;;=tracked to prevent duplicate retroactive cancellations of the same
  1. ;;^DD(354.1,.13,21,4,0)
  1. ;;=charges.
  1. ;;^DD(354.1,.13,"DT")
  1. ;;=2921209
  1. ;;^DD(354.1,.14,0)
  1. ;;=RETRO CANCEL BILLS END DATE^D^^0;14^S %DT="EX" D ^%DT S X=Y K:3991231<X!(2920129>X) X
  1. ;;^DD(354.1,.14,1,0)
  1. ;;=^.1
  1. ;;^DD(354.1,.14,1,1,0)
  1. ;;=354.1^ACAN^MUMPS
  1. ;;^DD(354.1,.14,1,1,1)
  1. ;;=I $P(^IBA(354.1,DA,0),"^",2) S ^IBA(354.1,"ACAN",$P(^(0),"^",2),-X,DA)=""
  1. ;;^DD(354.1,.14,1,1,2)
  1. ;;=K ^IBA(354.1,"ACAN",$P(^IBA(354.1,DA,0),"^",2),-X,DA)
  1. ;;^DD(354.1,.14,1,1,3)
  1. ;;=DO NOT DELETE
  1. ;;^DD(354.1,.14,1,1,"%D",0)
  1. ;;=^^6^6^2930430^^^^
  1. ;;^DD(354.1,.14,1,1,"%D",1,0)
  1. ;;=This cross-reference is set whenever bills are retroactively canceled
  1. ;;^DD(354.1,.14,1,1,"%D",2,0)
  1. ;;=due to the medication copayment exemption patch. It is used to
  1. ;;^DD(354.1,.14,1,1,"%D",3,0)
  1. ;;=prevent canceling charges in AR for the same period. This is
  1. ;;^DD(354.1,.14,1,1,"%D",4,0)
  1. ;;=necessary because the direct link between IB and AR is not maintained
  1. ;;^DD(354.1,.14,1,1,"%D",5,0)
  1. ;;=for this functionality as it is necessary to remove admin and interest
  1. ;;^DD(354.1,.14,1,1,"%D",6,0)
  1. ;;=charges that may have accumulated.
  1. ;;^DD(354.1,.14,1,1,"DT")
  1. ;;=2930113
  1. ;;^DD(354.1,.14,3)
  1. ;;=TYPE A DATE BETWEEN 1/29/1992 AND 12/31/2099