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

IBY759PO.m

Go to the documentation of this file.
  1. IBY759PO ;EDE/WCJ - POST-INSTALL FOR IB*2.0*759 ;13-JUL-2018
  1. ;;2.0;INTEGRATED BILLING;**759**;21-MAR-94;Build 24
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;
  1. ; IA# 10141 - MES^XPDUTL
  1. ;
  1. EN ;Entry Point
  1. N IBA
  1. S IBA(2)="IB*2*759 Post-Install...",(IBA(1),IBA(3))=" " D MES^XPDUTL(.IBA) K IBA
  1. D UPDERR
  1. ;;JWS;7/11/22;reset PCR query date to enable all sites to catchup with PCR data collection
  1. S $P(^IBE(350.9,1,8),"^",22)=""
  1. S IBA(2)="IB*2*759 Post-Install Complete.",(IBA(1),IBA(3))=" " D MES^XPDUTL(.IBA) K IBA
  1. Q
  1. ;
  1. UPDERR ; Update existing error code message for 350.8
  1. N IBCODE,IBMESN,IBIEN,DIE,DIC,DA,DR,X,Y
  1. S IBCODE="IB400",IBMESN="The destination payer is not authorized to receive Medicare"
  1. S IBIEN=$O(^IBE(350.8,"C",IBCODE,0)) I 'IBIEN D CREATE
  1. S IBCODE="IB401",IBMESN="excluded services electronically."
  1. S IBIEN=$O(^IBE(350.8,"C",IBCODE,0)) I 'IBIEN D CREATE
  1. Q
  1. ;
  1. CREATE ;Create entry for IB error file in D350.8 if not there
  1. S DIC="^IBE(350.8,",DIC(0)="",X=IBCODE D FILE^DICN K DIC,X
  1. I Y=-1 D MES^XPDUTL(">> IB ERROR - Entry '"_IBCODE_"' was unable to be created <<") Q
  1. S IBIEN=+Y
  1. S DIE="^IBE(350.8,",DA=IBIEN,DR=".02////"_IBMESN_";.03////"_IBCODE_";.04////1;.05////1" D ^DIE K DIE,DIC,DA,DR
  1. Q
  1. ;