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

IB20P646.m

Go to the documentation of this file.
  1. IB20P646 ;SAB/Albany - IB*2.0*646 POST INSTALL;12/11/17 2:10pm
  1. ;;2.0;Integrated Billing;**646**;Mar 20, 1995;Build 5
  1. ;Per VA Directive 6402, this routine should not be modified.
  1. Q
  1. ;
  1. POSTINIT ;Post Install for IB*2.0*618
  1. D BMES^XPDUTL(" >> Starting the Post-Initialization routine for IB*2.0*618 ")
  1. ; Adding AR CATEGORIES and REVENUE SOURCE CODES
  1. D IBUPD
  1. D BMES^XPDUTL(" >> End of the Post-Initialization routine for IB*2.0*618")
  1. Q
  1. ;
  1. IBUPD ; Inactivate FEE Service Entries
  1. ;
  1. N LOOP,LIEN,IBDATA
  1. N X,Y,DIE,DA,DR,DTOUT,DATA
  1. ;
  1. ; Grab all of the entries to update
  1. D MES^XPDUTL(" -> Activating DG FEE SERVICE (OPT) Action Types (350.1).")
  1. F LOOP=1:1:3 D
  1. . ;Extract the new ACTION TYPE to be added.
  1. . S IBDATA=$T(IBDDAT+LOOP)
  1. . S IBDATA=$P(IBDATA,";;",2)
  1. . ;Store in array for adding to the file (#350.1).
  1. . Q:IBDATA="" ;go to next entry if Category is not to be updated.
  1. . S LIEN=$O(^IBE(350.1,"B",IBDATA,"")) ; find ACTION TYPE entry
  1. . Q:LIEN=""
  1. . ;
  1. . ; File the update along with inactivate the ACTION TYPE
  1. . S DR=".12////0"
  1. . I IBDATA="DG FEE SERVICE (OPT) NEW" S DR=DR_";.08////CC URGENT CARE;20////S IBDESC="_$C(34)_"CC URGENT CARE"_$C(34)
  1. . S DIE="^IBE(350.1,",DA=LIEN
  1. . D ^DIE
  1. . K DR ;Clear update array before next use
  1. ;
  1. S DR=""
  1. Q
  1. ;
  1. IBDDAT ; Fee Service to inactivate
  1. ;;DG FEE SERVICE (OPT) CANCEL
  1. ;;DG FEE SERVICE (OPT) NEW
  1. ;;DG FEE SERVICE (OPT) UPDATE
  1. Q