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

IB20P387.m

Go to the documentation of this file.
  1. IB20P387 ;DAY/RRA - DSS CLINIC STOP CODES IB*2.0*378 PRE-INIT ; 3/13/07 12:55pm
  1. ;;2.0;INTEGRATED BILLING;**387**;21-MAR-94;Build 3
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. Q
  1. EN ;
  1. N U
  1. S U="^"
  1. D START,UPDATE,FINISH
  1. Q
  1. ;
  1. START D BMES^XPDUTL("DSS Clinic Stop Codes, Post-Install Starting")
  1. Q
  1. ;
  1. FINISH D BMES^XPDUTL("DSS Clinic Stop Codes, Post-Install Complete")
  1. Q
  1. ;
  1. ;
  1. UPDATE ;update an old code
  1. N IB1,IBT,IBX,IBCODE,IBY
  1. D BMES^XPDUTL(" Updating Stop Code entries 695 and 696 in file 352.5")
  1. F IBX=1:1 S IBT=$P($T(OCODE+IBX),";",3) Q:'$L(IBT) D
  1. . S IBCODE=+$P(IBT,U)
  1. . S IBY=3071001
  1. . S IB1=$O(^IBE(352.5,"AEFFDT",IBCODE,-IBY,0))
  1. . I 'IB1 D BMES^XPDUTL("No Stop Code Entry found for "_IBCODE_" with an efective date of 10/01/07") Q
  1. . S DIE="^IBE(352.5,",DA=IB1,DR=".05///1" D ^DIE K DA,DR,DIE
  1. . D BMES^XPDUTL(" "_IBCODE_" updated in file 352.5")
  1. Q
  1. ;
  1. OCODE ;;code^billable type^description^override flag
  1. ;;695
  1. ;;696
  1. ;
  1. Q