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

IBCOC.m

Go to the documentation of this file.
  1. IBCOC ;ALB/AAS - INACTIVE INS. COMPANIES WITH PATIENTS ; 04-NOV-93
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. ;
  1. % ;
  1. ; -- fileman print in inactive ins. companies
  1. W !!,"Print List of Inactive Insurance Companies still listed as Insuring Patients"
  1. W !!,"You will need a 132 column printer for this report!",!!
  1. S DIC="^DIC(36,",FLDS="[IB INACTIVE INS CO]",BY="[IB INACTIVE INS CO]",FR="?,?",TO="?,?"
  1. S DIS(0)="I $D(^DPT(""AB"",D0))"
  1. D EN1^DIP
  1. W !
  1. I $D(ZTQUEUED) S ZTREQ="@" Q
  1. D ^%ZISC
  1. K D,I,J,X,Y,IBCNT,DIC,FLDS,BY,TO,FR,DIS
  1. Q
  1. ;
  1. CNT(D0) ; -- count number of entries
  1. N X,Y S X=0
  1. G:'$G(D0) CNTQ
  1. S Y=0 F S Y=$O(^DPT("AB",D0,Y)) Q:'Y S X=X+1
  1. CNTQ Q X