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

IB20P496.m

Go to the documentation of this file.
  1. IB20P496 ;ALB/CXW - Source of Information Update ; 15-JAN-2013
  1. ;;2.0;INTEGRATED BILLING;**496**;21-MAR-94;Build 23
  1. ;;Per VHA Directive 2004-038, this routine should not be modified.
  1. Q
  1. ;
  1. POST ; Post-install of patch installation
  1. N DA,DIC,DO,X,Y,IBI,IBX,IBCT S U="^",IBCT=0
  1. D MES^XPDUTL("Patch Post-Install starts...")
  1. D MES^XPDUTL("Add a new Source of Information for Insurance ...")
  1. F IBI=1:1 S IBX=$P($T(SOI+IBI),";;",2) Q:IBX="" D
  1. . S X=$P(IBX,U,1)
  1. . ; quit if it exists
  1. . I $D(^IBE(355.12,"B",X)) Q
  1. . S DIC="^IBE(355.12,",DIC(0)="F"
  1. . S DIC("DR")=".02///"_$P(IBX,U,2)_";.03///"_$P(IBX,U,3)
  1. . D FILE^DICN
  1. . I Y=-1 D MES^XPDUTL("ERROR when adding a new Source of Information. Log a Remedy ticket!") Q
  1. . D MES^XPDUTL("Source of Information: "_$P(IBX,U,2)_" added successfully")
  1. . S IBCT=IBCT+1
  1. D MES^XPDUTL("Total "_IBCT_" code"_$S(IBCT'=1:"s",1:"")_" updated in the Source of Information file (#355.12)")
  1. ;
  1. D MES^XPDUTL("Patch Post-Install is complete.")
  1. Q
  1. SOI ; code^description^ib buffer acronym
  1. ;;11^KIOSK^KSK
  1. ;