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

IBY763PO.m

Go to the documentation of this file.
  1. IBY763PO ;AITC/CKB - Post-Installation for IB patch 763; JUN 12, 2023
  1. ;;2.0;INTEGRATED BILLING;**763**;MAR 21,1994;Build 29
  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 IBINSTLD,IBXPD,SITE,SITENAME,SITENUM,XPDIDTOT
  1. ; total number of work items
  1. S XPDIDTOT=2
  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*763","")
  1. D MES^XPDUTL("")
  1. ;
  1. ; Populate new index 'LAST' to PLAN COVERAGE LIMITATIONS file (#355.32) field 1.04
  1. D NEWINDX(1)
  1. ;
  1. ; Initialize the Insurance Import Enabled (#350.9,54.01) field.
  1. D INIT3509(2)
  1. ;
  1. D MES^XPDUTL("") ; Displays the 'Done' message and finishes the progress bar
  1. D BMES^XPDUTL("POST-Install for IB*2.0*763 Completed.")
  1. Q
  1. ;============================
  1. ;
  1. NEWINDX(IBXPD) ; populate 1.04 field new LAST index in file #355.32
  1. ;
  1. S IBXPD=$G(IBXPD),XPDIDTOT=$G(XPDIDTOT)
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT)
  1. D MES^XPDUTL("-------------")
  1. ; Only Initialize and Populate the 'LAST' index if the index doesn't exist
  1. I $D(^IBA(355.32,"LAST")) D G NEWEXIT
  1. . D MES^XPDUTL("The 'LAST' index in the PLAN COVERAGE LIMITATIONS file (#355.32) has already been populated.")
  1. ;
  1. N DIK,X,Y
  1. S DIK(1)="1.04^LAST",DIK="^IBA(355.32,"
  1. D BMES^XPDUTL("Initializing the 'LAST' index for PLAN COVERAGE LIMITATIONS file (#355.32) 1.04 field.")
  1. D ENALL2^DIK
  1. D MES^XPDUTL("The 'LAST' index for PLAN COVERAGE LIMITATIONS file (#355.32) 1.04 field has been initialized.")
  1. D BMES^XPDUTL("Populating the 'LAST' index for the PLAN COVERAGE LIMITATIONS file (#355.32) 1.04 field.")
  1. S DIK(1)="1.04^LAST",DIK="^IBA(355.32,"
  1. D ENALL^DIK
  1. D MES^XPDUTL("The 'LAST' index in the PLAN COVERAGE LIMITATIONS file (#355.32) 1.04 field has been populated.")
  1. ;
  1. NEWEXIT ;
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT_" Complete")
  1. D MES^XPDUTL("-------------")
  1. Q
  1. ;
  1. INIT3509(IBXPD) ;Initialize the Insurance Import Enabled (#350.9,54.01) field.
  1. S IBXPD=$G(IBXPD),XPDIDTOT=$G(XPDIDTOT)
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT)
  1. D MES^XPDUTL("-------------")
  1. N DA,DIE,DR
  1. ;
  1. I $$GET1^DIQ(350.9,"1,",54.01)'="" D G INIT3509X
  1. . D BMES^XPDUTL("Insurance Import Enabled (#350.9,54.01) field was previously initialized.")
  1. ;
  1. D BMES^XPDUTL("Initializing the Insurance Import Enabled (#350.9,54.01) field.")
  1. S DR="54.01///1",DA=1,DIE=350.9
  1. D ^DIE
  1. ;
  1. INIT3509X ;
  1. D BMES^XPDUTL(" STEP "_IBXPD_" of "_XPDIDTOT_" Complete")
  1. D MES^XPDUTL("-------------")
  1. Q
  1. ;