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

ABPAOP4.m

Go to the documentation of this file.
ABPAOP4 ;POST FACILITY DATA TO AREA DATABASE;[ 03/17/91  7:15 AM ]
 ;;1.4;AO PVT-INS TRACKING;*0*;IHS-OKC/KJR;JULY 25, 1991
A0 W !,"NOT AN ENTRY POINT" Q
AZEND ;
 S $P(^ABPAPOST(1,"F",LOCCD,0),"^",5)=NVCNT
 S $P(^ABPAPOST(1,"F",LOCCD,0),"^",6)=NPCNT
 S $P(^ABPAPOST(1,"F",LOCCD,0),"^",7)=NCCNT
 D UPDATE G A5^ABPAOP0
ZEND ;
 S $P(^ABPAPOST(1,0),"^",2)=ZVCNT
 S $P(^ABPAPOST(1,0),"^",3)=ZPCNT
 S $P(^ABPAPOST(1,0),"^",4)=ZCCNT
 D UPDATE I ZCCNT>0 K ^ABPVGLOB("COUNT")
XIT ;
 L
KILL K ABPV2DFN,ABPVDFN,DOS,FAC,FACDFN,FACNAME,FINIT,HDRAFLG,HRN,I,INSDFN
 K INSNAME,INSNFLG,INSZIP,L2,LNAME,LOC,LOCCD,NAME,NCCNT,NPCNT,NVCNT
 K P3,PGNO,R,RCT,RR,X,XX,Y,ZCCNT,ZFINIT,ZLNAME,ZNAME,ZPCNT,ZVCNT
 K ABPAMLBL
 Q
 ;
WAIT W ! D WAIT^DICD W !!,"Compiling totals for new records added: "
UPDATE S DX=0,DY=15 X XY W ! D EOP^ABPAMAIN W !
 W "NEW INSURERS: ",ZVCNT,?22,"NEW PATIENTS: ",ZPCNT,?44
 W "NEW BILLS: ",ZCCNT,"   "
 Q