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

IBY737PO.m

Go to the documentation of this file.
  1. IBY737PO ;AITC/TAZ - Post-Installation for IB patch 737; JUL 25, 2022
  1. ;;2.0;INTEGRATED BILLING;**737**;MAR 21,1994;Build 19
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. ; Reference to ^XPDUTL in ICR #10141
  1. ; Reference to ^%ZTLOAD in ICR #10063
  1. ; Reference to ^XLFDT in ICR #10103
  1. Q
  1. ;
  1. POST ; POST-INSTALL
  1. N IBINSTLD,IBXPD,SITE,SITENAME,SITENUM,XPDIDTOT
  1. ; total number of work items
  1. S XPDIDTOT=1
  1. ;
  1. S SITE=$$SITE^VASITE,SITENAME=$P(SITE,U,2),SITENUM=$P(SITE,U,3)
  1. ;
  1. S IBINSTLD=$$INSTALDT^XPDUTL("IB*2.0*737","")
  1. D MES^XPDUTL("")
  1. ;
  1. D NEWINDX(1) ; populate new index 'BB' to PAYER file (#365.12) field .01 for full payer name.
  1. ;
  1. ;
  1. D MES^XPDUTL("") ; Displays the 'Done' message and finishes the progress bar
  1. D BMES^XPDUTL("POST-Install for IB*2.0*737 Completed.")
  1. Q
  1. ;============================
  1. ;
  1. NEWINDX(IBXPD) ; populate .01 field new BB index in file #365.12
  1. ;
  1. S IBXPD=$G(IBXPD),XPDIDTOT=$G(XPDIDTOT)
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT)
  1. D MES^XPDUTL("-------------")
  1. N DIK,X,Y
  1. S DIK(1)=".01^BB",DIK="^IBE(365.12,"
  1. D BMES^XPDUTL("Initializing the PAYER file (#365.12) .01 field 'BB' index")
  1. D ENALL2^DIK
  1. D MES^XPDUTL("The 'BB' index for PAYER file (#365.12) .01 field has been initialized")
  1. D BMES^XPDUTL("Populating the 'BB' index for the .01 field in the PAYER file (#365.12).")
  1. S DIK(1)=".01^BB",DIK="^IBE(365.12,"
  1. D ENALL^DIK
  1. D MES^XPDUTL("The .01 field 'BB' index in the PAYER file (#365.12) has been populated.")
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT_" Complete")
  1. D MES^XPDUTL("-------------")
  1. Q