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

IBINI03T.m

Go to the documentation of this file.
  1. IBINI03T ; ; 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,.07,21,6,0)
  1. ;;=exemptions will be considered SYSTEM added.
  1. ;;^DD(354.1,.07,21,7,0)
  1. ;;=If the entry was Manually added then this is the user who
  1. ;;^DD(354.1,.07,21,8,0)
  1. ;;=entered the Hardship exemption.
  1. ;;^DD(354.1,.07,"DT")
  1. ;;=2930204
  1. ;;^DD(354.1,.08,0)
  1. ;;=DATE/TIME ADDED^RDI^^0;8^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(354.1,.08,3)
  1. ;;=
  1. ;;^DD(354.1,.08,21,0)
  1. ;;=^^7^7^2921209^^^
  1. ;;^DD(354.1,.08,21,1,0)
  1. ;;=This is the date and time this entry was added.
  1. ;;^DD(354.1,.08,21,2,0)
  1. ;;=
  1. ;;^DD(354.1,.08,21,3,0)
  1. ;;=The date time added will be different from the effective date in many
  1. ;;^DD(354.1,.08,21,4,0)
  1. ;;=cases, where the entry is based on actual income data and where there
  1. ;;^DD(354.1,.08,21,5,0)
  1. ;;=are changes to an exemption status. When the exemption is based upon
  1. ;;^DD(354.1,.08,21,6,0)
  1. ;;=the fact that the patient is recieving pension, etc. the effective date
  1. ;;^DD(354.1,.08,21,7,0)
  1. ;;=and the date added may be the same.
  1. ;;^DD(354.1,.08,"DT")
  1. ;;=2930204
  1. ;;^DD(354.1,.09,0)
  1. ;;=ALERT^P354.4'^IBA(354.4,^0;9^Q
  1. ;;^DD(354.1,.09,1,0)
  1. ;;=^.1
  1. ;;^DD(354.1,.09,1,1,0)
  1. ;;=354.1^ALERT
  1. ;;^DD(354.1,.09,1,1,1)
  1. ;;=S ^IBA(354.1,"ALERT",$E(X,1,30),DA)=""
  1. ;;^DD(354.1,.09,1,1,2)
  1. ;;=K ^IBA(354.1,"ALERT",$E(X,1,30),DA)
  1. ;;^DD(354.1,.09,1,1,"%D",0)
  1. ;;=^^1^1^2930204^
  1. ;;^DD(354.1,.09,1,1,"%D",1,0)
  1. ;;=This is an index of alerted exemptions.
  1. ;;^DD(354.1,.09,1,1,"DT")
  1. ;;=2930204
  1. ;;^DD(354.1,.09,3)
  1. ;;=
  1. ;;^DD(354.1,.09,21,0)
  1. ;;=^^1^1^2921209^
  1. ;;^DD(354.1,.09,21,1,0)
  1. ;;=Future use.
  1. ;;^DD(354.1,.09,21,2,0)
  1. ;;=An alert or mail message may be posted in association with the creation
  1. ;;^DD(354.1,.09,21,3,0)
  1. ;;=or editing of an exemption record. If Alerts are used, then this field
  1. ;;^DD(354.1,.09,21,4,0)
  1. ;;=will store the pointer to the alert entry. Once an alert has been
  1. ;;^DD(354.1,.09,21,5,0)
  1. ;;=resolved it will be deleted.
  1. ;;^DD(354.1,.09,"DT")
  1. ;;=2930204
  1. ;;^DD(354.1,.1,0)
  1. ;;=ACTIVE^R*S^1:ACTIVE;0:INACTIVE;^0;10^Q
  1. ;;^DD(354.1,.1,.1)
  1. ;;=CURRENTLY ACTIVE
  1. ;;^DD(354.1,.1,1,0)
  1. ;;=^.1^^-1
  1. ;;^DD(354.1,.1,1,1,0)
  1. ;;=354.1^AA
  1. ;;^DD(354.1,.1,1,1,1)
  1. ;;=S ^IBA(354.1,"AA",$E(X,1,30),DA)=""
  1. ;;^DD(354.1,.1,1,1,2)
  1. ;;=K ^IBA(354.1,"AA",$E(X,1,30),DA)
  1. ;;^DD(354.1,.1,1,1,"%D",0)
  1. ;;=^^1^1^2921110^
  1. ;;^DD(354.1,.1,1,1,"%D",1,0)
  1. ;;=Cross-reference of Active Records.
  1. ;;^DD(354.1,.1,1,1,"DT")
  1. ;;=2921110
  1. ;;^DD(354.1,.1,1,2,0)
  1. ;;=354.1^AIVDT1^MUMPS
  1. ;;^DD(354.1,.1,1,2,1)
  1. ;;=N IBX S IBX=^IBA(354.1,DA,0) I +X,$P(IBX,U,2),$P(IBX,U,3),$P(IBX,U,4)'="" S ^IBA(354.1,"AIVDT",+$P(IBX,U,3),+$P(IBX,U,2),-($P(IBX,U)),DA)=""
  1. ;;^DD(354.1,.1,1,2,2)
  1. ;;=N IBX S IBX=^IBA(354.1,DA,0) K ^IBA(354.1,"AIVDT",+$P(IBX,U,3),+$P(IBX,U,2),-($P(IBX,U)),DA)
  1. ;;^DD(354.1,.1,1,2,"%D",0)
  1. ;;=^^4^4^2930430^^^^
  1. ;;^DD(354.1,.1,1,2,"%D",1,0)
  1. ;;=If this is the active record, patient has been entered, type has been
  1. ;;^DD(354.1,.1,1,2,"%D",2,0)
  1. ;;=entered, status has been entered; set up an inverse cross reference.
  1. ;;^DD(354.1,.1,1,2,"%D",3,0)
  1. ;;=
  1. ;;^DD(354.1,.1,1,2,"%D",4,0)
  1. ;;=^iba(354.1,"aivdt",type,patient,inverse effective date,da)=""
  1. ;;^DD(354.1,.1,1,2,"DT")
  1. ;;=2921110
  1. ;;^DD(354.1,.1,1,3,0)
  1. ;;=354.1^ACY2^MUMPS
  1. ;;^DD(354.1,.1,1,3,1)
  1. ;;=I X,+$P(^IBA(354.1,DA,0),U,2),+$P(^(0),U,3),+^(0) S ^IBA(354.1,"ACY",+$P(^(0),U,3),+$P(^(0),U,2),+$E($P(^(0),U),1,3),DA)=""
  1. ;;^DD(354.1,.1,1,3,2)
  1. ;;=K ^IBA(354.1,"ACY",+$P(^IBA(354.1,DA,0),U,3),+$P(^(0),U,2),+$E($P(^(0),U),1,3),DA)
  1. ;;^DD(354.1,.1,1,3,"%D",0)
  1. ;;=^^2^2^2940213^^^^
  1. ;;^DD(354.1,.1,1,3,"%D",1,0)
  1. ;;=Cross-reference of all ACTIVE entries for a patient by calendar