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

BPS25PRE.m

Go to the documentation of this file.
  1. BPS25PRE ;AITC/CKB - Pre-install for BPS*1.0*25 ;10/10/2018
  1. ;;1.0;E CLAIMS MGMT ENGINE;**24**;;Build 4
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. ; MCCF EDI TAS ePharmacy - BPS*1*25 patch pre-install
  1. Q
  1. ;
  1. EN ; Entry Point for pre-install
  1. D MES^XPDUTL(" Starting pre-install for BPS*1*25")
  1. ;
  1. ; Update Reject code explanation for file #9002313.93
  1. D REJECTS
  1. ;
  1. EX ; Exit point
  1. D MES^XPDUTL(" Finished pre-install of BPS*1*25")
  1. Q
  1. ;
  1. REJECTS ; Update Reject Code with new explanation
  1. N LINE,DATA,NUM,NAME,DA,DIE,DR,CNT
  1. D MES^XPDUTL(" - Updating BPS NCPDP REJECT CODES")
  1. S CNT=0
  1. F LINE=1:1 S DATA=$P($T(URJCT+LINE),";;",2,99) Q:DATA="" D
  1. . S DIE=9002313.93,NUM=$P(DATA,";",1)
  1. . S DA=$O(^BPSF(DIE,"B",NUM,""))
  1. . I 'DA D MES^XPDUTL(" - No IEN found for entry "_NUM) Q
  1. . S NAME=$P(DATA,";",2),DR=".02////^S X=NAME",CNT=CNT+1
  1. . D ^DIE
  1. D MES^XPDUTL(" - "_CNT_" entries updated")
  1. D MES^XPDUTL(" - Done with BPS NCPDP REJECT CODES")
  1. D MES^XPDUTL(" ")
  1. Q
  1. ;
  1. URJCT ; Updated reject explanation
  1. ;;559;ID Excluded Is Associated With A Sanctioned Pharmacy
  1. ;;
  1. ;