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

IBY794PO.m

Go to the documentation of this file.
  1. IBY794PO ;AITC/CKB - Post-Installation for IB patch 794; JUN 12, 2024
  1. ;;2.0;INTEGRATED BILLING;**794**;21-MAR-94;Build 9
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. ; Reference to ^XPDUTL in ICR #10141
  1. Q
  1. ;
  1. POST ; POST-INSTALL
  1. N IBXPD,SITE,XPDIDTOT
  1. ; total number of work items
  1. S XPDIDTOT=1
  1. ;
  1. D MES^XPDUTL("")
  1. ;
  1. ; Correct the ENTRY ACTION field (#20) for several entries in the PROTOCOL FILE (#101)
  1. D FIXEA(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*794 Completed.")
  1. Q
  1. ;============================
  1. ;
  1. FIXEA(IBXPD) ; Fix the ENTRY ACTION field (#20), in file #101
  1. ;
  1. S IBXPD=$G(IBXPD),XPDIDTOT=$G(XPDIDTOT)
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT)
  1. D MES^XPDUTL("-------------")
  1. N DA,DR,IBERR,IBIEN,IBACT,IBPRO
  1. S IBACT="K IBFASTXT S VALMBCK=""R"""
  1. ;
  1. S IBPRO="IBJT CLAIM SCREEN MENU"
  1. S IBIEN=$$FIND1^DIC(101,,"MX",IBPRO,"","","IBERR")
  1. I 'IBIEN D
  1. . D BMES^XPDUTL("The protocol "_IBPRO_" in file #101 was not found. No change made.")
  1. I IBIEN'="" D UPDEA
  1. ;
  1. S IBPRO="IBJT NS VIEW EXP POL MENU"
  1. K IBEIN,IBERR
  1. S IBIEN=$$FIND1^DIC(101,,"MX",IBPRO,"","","IBERR")
  1. I 'IBIEN D
  1. . D BMES^XPDUTL("The protocol "_IBPRO_" in file #101 was not found. No change made.")
  1. I IBIEN D UPDEA
  1. ;
  1. S IBPRO="IBJT NS VIEW INS CO MENU"
  1. K IBEIN,IBERR
  1. S IBIEN=$$FIND1^DIC(101,,"MX",IBPRO,"","","IBERR")
  1. I 'IBIEN D
  1. . D BMES^XPDUTL("The protocol "_IBPRO_" in file #101 was not found. No change made.")
  1. I IBIEN D UPDEA
  1. ;
  1. S IBPRO="IBJT EDI STATUS MENU"
  1. K IBIEN,IBERR
  1. S IBIEN=$$FIND1^DIC(101,,"MX",IBPRO,"","","IBERR")
  1. I 'IBIEN D
  1. . D BMES^XPDUTL("The protocol "_IBPRO_" in file #101 was not found. No change made.")
  1. I IBIEN D UPDEA
  1. ;
  1. FIXEAX ; FIXEA exit
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT_" Complete")
  1. D MES^XPDUTL("-------------")
  1. Q
  1. ;
  1. UPDEA ; update the ENTRY ACTION field (#101,20)
  1. N DR,DA,DIE
  1. S DR="20///"_IBACT
  1. S DA=IBIEN,DIE="^ORD(101," D ^DIE
  1. D BMES^XPDUTL("The protocol "_IBPRO_" in file #101 has been modified")
  1. Q