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

IB2P562A.m

Go to the documentation of this file.
  1. IB2P562A ;ALB/BG - SPECIAL INP BILLING MENU OPTION;3/21/16
  1. ;;2.0;INTEGRATED BILLING;**562**;21-MAR-94;Build 10
  1. ;;Per VA Directive 6402, this routine should not be modified
  1. ;
  1. Q
  1. ;
  1. ;updating discharge dates missing in file IBE(351.2)
  1. ;
  1. UPDATE ;file update
  1. N IBCT,IBPTF,IBDPTF,IBDDT
  1. S IBCT=0 F S IBCT=$O(^IBE(351.2,IBCT)) Q:'IBCT I $P($G(^IBE(351.2,IBCT,0)),"^",5)'=2 D
  1. .S IBPTF=$P($G(^IBE(351.2,IBCT,0)),"^",2) Q:'IBPTF
  1. .Q:$P($G(^DGPM(IBPTF,0)),"^",17)=""
  1. .S IBDPTF=$P($G(^DGPM(IBPTF,0)),"^",17),IBDDT=$P($G(^DGPM(IBDPTF,0)),"^")
  1. .N DA,DIE,DR
  1. .S DR=".05////2;.06////"_IBDDT_";2.03////"_DUZ_";2.04///NOW"
  1. .S DA=IBCT,DIE="^IBE(351.2," D ^DIE
  1. W !,"File Update Complete"
  1. W !,"Please review records using the List Special Inpatient Billing Cases Menu Option",!!
  1. Q
  1. ;