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

BARDMV.m

Go to the documentation of this file.
BARDMV ;IHS/OIT/FCJ - VAR DESCRIPTION FOR DEBT MANAGEMENT
 ;;1.8;IHS ACCOUNTS RECEIVABLE;**22**;OCT 26, 2005;Build 38
 ;New routine 5-12-2011 for Debt Letter Management
 ;
 ;PARAMETERS
 ;BARPSDI=START DATE INTERNAL FORMAT
 ;BARPLDX=START DATE EXTERNAL FORMAT
 ;BARPWO=WRITE OFF
 ;BARPNPI=NPI LOCATION OR PROVIDER
 ;BARPDOB=DOB YES OR NO
 ;BARPCL(1)=LETTER 1
 ;BARPCD(1)=CYCLE DAYS
 ;BARPCP(1)=CYCLE POINTER
 ;BARPCL(2)=LETTER 2
 ;BARPCD(2)=CYCLE DAYS
 ;BARPCP(2)=CYCLE POINTER
 ;BARPCL(3)=LETTER 3
 ;BARPCD(3)=CYCLE DAYS
 ;BARPCP(3)=CYCLE POINTER
 ;BARPCL(4)=LETTER 4
 ;BARPCD(4)=CYCLE DAYS
 ;BARPCP(4)=CYCLE POINTER
 ;BARDMDT=CYCLE ONE DATE
 ;BARDRDT=RUN DATE
 ;BARPMX=MAX LETTERS TO PRINT
INSTYP ;ACCOUNT .01 VAR POINTER;GLOBAL
 ; BARDACI ;$P($P(^BARAC(DUZ(2),BARDAC,0),U),";") ;ACCT .01 VAR POINTER
 ; BARDACG ;$P($P(^BARAC(DUZ(2),BARDAC,0),U),";",2) ;ACCT .01 VAR GLB
 ; BARDIT=INS TYPE
 ; BARDACG="AUTNINS(" S BARDITY=$P(^AUTNINS(BARDACI,2),U,1),BARDIT=$$VAL^XBDIQ1(9999999.18,BARDACI,.21)
 ; BARDIT=$S(BARDACG="VA(":"NEW PERSON",BARDACG="AUPNPAT(":"PATIENT","AUTTVNDR(":"VENDOR",1:"OTHER")
  ;BARDMC=CYCLE IEN
  ;BARDM=BILL IEN FROM DEBT MAN FILE
  ;BARAMTB=BILL AMT
  ;BARDAC=ACCOUNT
  ;BARAMTO=BILL AMT OUTSTANDING
  ;BARBILN=BILL NUMBER