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

FBUCOUT.m

Go to the documentation of this file.
  1. FBUCOUT ;ALBISC/TET - OUTPUTS ;7/18/2001
  1. ;;3.5;FEE BASIS;**32**;JAN 30, 1995
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ASK ;ask search/sort questions
  1. ; ask if report for just mill-bill (1725) or just non-mill bill claims
  1. S FB1725R=$$ASKMB^FBUCUTL9 I FB1725R="" G END
  1. S DIR(0)="SM^1:PATIENT;2:VENDOR",DIR("A")="Sort by" D ^DIR K DIR G END:$D(DIRUT),ASK:'+Y!($G(Y(0))']"") S FLDS="[FBUC STATUS BY "_Y(0)_"]"
  1. D DISP92^FBUCUTL5,DISPX^FBUCUTL1(1) ;set array,display
  1. G END:FBOUT,ASK:'+FBARY S FBI=0 F S FBI=$O(^TMP("FBARY",$J,FBI)) Q:'FBI S FBARY(+$G(^TMP("FBARY",$J,FBI)))=""
  1. S DIS(0)="I $D(FBARY(+$P($G(^FB583(D0,0)),U,24)))"
  1. ; if just mill bill or non-mill bill then set screen and title
  1. I FB1725R="M" D
  1. . S DIS(1)="I $P($G(^FB583(D0,0)),U,28)=1"
  1. . S DHD="STATUS LISTING OF MILL BILL (1725) CLAIMS"
  1. I FB1725R="N" D
  1. . S DIS(1)="I $P($G(^FB583(D0,0)),U,28)'=1"
  1. . S DHD="STATUS LISTING OF UNAUTH. NON-MILL BILL CLAIMS"
  1. S L=0,DIC="^FB583(",BY=FLDS,FR="?,@,@,,@,@,@",TO="?,,,,,,"
  1. S FBDT=DT,FBZLOW=FBDT,FBZHI=$$CDTC^FBUCUTL(FBDT,30)
  1. D EN1^DIP
  1. ;set up variable fbexp
  1. ;set up dip variables, call dip
  1. END ;kill and quit
  1. K FBARY,FBDT,FBEXP,FBI,FBOUT,FBZLOW,FBZHI,BY,DIC,DIR,DIRUT,DIS,DTOUT,DUOUT,FLDS,FR,L,TO,Y,^TMP("FBAR",$J),^TMP("FBARY",$J),FB1725R,DHD
  1. Q
  1. CODE(X) ;dispostion code of disposition if status order is 40,70 or 90
  1. ; 40=dispositioned,70=appeal dispositioned,90=bva appeal dispositioned
  1. I '+X Q ""
  1. Q $P($$PTR^FBUCUTL("^FB(162.91,",X),U,3)
  1. ;