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

IBINI044.m

Go to the documentation of this file.
  1. IBINI044 ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(354.4) 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(354.4,0,"GL")
  1. ;;=^IBA(354.4,
  1. ;;^DIC("B","BILLING ALERTS",354.4)
  1. ;;=
  1. ;;^DIC(354.4,"%D",0)
  1. ;;=^^17^17^2940214^^^^
  1. ;;^DIC(354.4,"%D",1,0)
  1. ;;=This file will only be populated if a site chooses to use the
  1. ;;^DIC(354.4,"%D",2,0)
  1. ;;=Alert functionality available in Kernel v7 instead of receiving
  1. ;;^DIC(354.4,"%D",3,0)
  1. ;;=mail messages This is determined by the field USE ALERTS in the
  1. ;;^DIC(354.4,"%D",4,0)
  1. ;;=IB SITE PARAMETERS file.
  1. ;;^DIC(354.4,"%D",5,0)
  1. ;;=
  1. ;;^DIC(354.4,"%D",6,0)
  1. ;;=The entries will contain the name of the alert and after it has been
  1. ;;^DIC(354.4,"%D",7,0)
  1. ;;=resolved, who resolved the alert. The entries in this file will
  1. ;;^DIC(354.4,"%D",8,0)
  1. ;;=automatically be deleted by the nightly background job, IB MT NIGHT COMP.
  1. ;;^DIC(354.4,"%D",9,0)
  1. ;;=Resolved alerts will be deleted after 30 days, unresolved alerts will be
  1. ;;^DIC(354.4,"%D",10,0)
  1. ;;=deleted after 60 days.
  1. ;;^DIC(354.4,"%D",11,0)
  1. ;;=
  1. ;;^DIC(354.4,"%D",12,0)
  1. ;;=The data in the file is automatically entered by the system when
  1. ;;^DIC(354.4,"%D",13,0)
  1. ;;=either a detectable error occurs or when an action occurs that
  1. ;;^DIC(354.4,"%D",14,0)
  1. ;;=requires automatic notification for fiscal integrity (such as
  1. ;;^DIC(354.4,"%D",15,0)
  1. ;;=giving a hardship notification).
  1. ;;^DIC(354.4,"%D",16,0)
  1. ;;=
  1. ;;^DIC(354.4,"%D",17,0)
  1. ;;=Per VHA Directive 10-93-142, this file definition should not be modified.
  1. ;;^DD(354.4,0)
  1. ;;=FIELD^^.04^4
  1. ;;^DD(354.4,0,"DDA")
  1. ;;=N
  1. ;;^DD(354.4,0,"DT")
  1. ;;=2930204
  1. ;;^DD(354.4,0,"IX","AC",354.4,.02)
  1. ;;=
  1. ;;^DD(354.4,0,"IX","B",354.4,.01)
  1. ;;=
  1. ;;^DD(354.4,0,"NM","BILLING ALERTS")
  1. ;;=
  1. ;;^DD(354.4,0,"PT",354.1,.09)
  1. ;;=
  1. ;;^DD(354.4,.01,0)
  1. ;;=BILLING ALERT^RP354.5'^IBE(354.5,^0;1^Q
  1. ;;^DD(354.4,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(354.4,.01,1,1,0)
  1. ;;=354.4^B
  1. ;;^DD(354.4,.01,1,1,1)
  1. ;;=S ^IBA(354.4,"B",$E(X,1,30),DA)=""
  1. ;;^DD(354.4,.01,1,1,2)
  1. ;;=K ^IBA(354.4,"B",$E(X,1,30),DA)
  1. ;;^DD(354.4,.01,3)
  1. ;;=
  1. ;;^DD(354.4,.01,21,0)
  1. ;;=^^2^2^2930204^
  1. ;;^DD(354.4,.01,21,1,0)
  1. ;;=This is a pointer to the type of Billing Alert associated with this
  1. ;;^DD(354.4,.01,21,2,0)
  1. ;;=Alert.
  1. ;;^DD(354.4,.01,"DT")
  1. ;;=2930204
  1. ;;^DD(354.4,.02,0)
  1. ;;=DATE/TIME OF ALERT^D^^0;2^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(354.4,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(354.4,.02,1,1,0)
  1. ;;=354.4^AC
  1. ;;^DD(354.4,.02,1,1,1)
  1. ;;=S ^IBA(354.4,"AC",$E(X,1,30),DA)=""
  1. ;;^DD(354.4,.02,1,1,2)
  1. ;;=K ^IBA(354.4,"AC",$E(X,1,30),DA)
  1. ;;^DD(354.4,.02,1,1,"%D",0)
  1. ;;=^^2^2^2930209^
  1. ;;^DD(354.4,.02,1,1,"%D",1,0)
  1. ;;=Cross reference by date, used by purge. Will purge all entries over
  1. ;;^DD(354.4,.02,1,1,"%D",2,0)
  1. ;;=60 days old and resolved entries over 30 days old.
  1. ;;^DD(354.4,.02,1,1,"DT")
  1. ;;=2930209
  1. ;;^DD(354.4,.02,21,0)
  1. ;;=^^1^1^2930204^
  1. ;;^DD(354.4,.02,21,1,0)
  1. ;;=This is the date time the alert occured.
  1. ;;^DD(354.4,.02,"DT")
  1. ;;=2930209
  1. ;;^DD(354.4,.03,0)
  1. ;;=RESOLVED BY^P200'^VA(200,^0;3^Q
  1. ;;^DD(354.4,.03,21,0)
  1. ;;=^^1^1^2930204^^
  1. ;;^DD(354.4,.03,21,1,0)
  1. ;;=This is the person who resolved the alert.
  1. ;;^DD(354.4,.03,"DT")
  1. ;;=2930204
  1. ;;^DD(354.4,.04,0)
  1. ;;=WHEN RESOLVED^D^^0;4^S %DT="ESTXR" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(354.4,.04,21,0)
  1. ;;=^^1^1^2930210^^
  1. ;;^DD(354.4,.04,21,1,0)
  1. ;;=This is the date/time when the alert was resolved.
  1. ;;^DD(354.4,.04,"DT")
  1. ;;=2930204