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

PRCAP376.m

Go to the documentation of this file.
PRCAP376 ;EDE/SAB - PRCA*4.5*376 POST INSTALL;11/20/20 2:10pm
 ;;4.5;Accounts Receivable;**376**;Mar 20, 1995;Build 9
 ;Per VA Directive 6402, this routine should not be modified.
 Q
 ;
POSTINIT ;Post Install for PRCA*4.5*372
 D BMES^XPDUTL(" >>  Starting the Post-Initialization routine for PRCA*4.5*376 ")
 ; Update the AR Category fields 
 D UPCAT106
 D BMES^XPDUTL(" >>  End of the Post-Initialization routine for PRCA*4.5*376")
 Q
 ;
UPCAT106 ; Update the 1.06 field in the AR Category file so bills will be auto-added to RPPs.  
 ;
 N LOOP,RCIEN,DATA
 D MES^XPDUTL("Updating the 1.06 field (ELIG FOR RPP) field for AR Categories ... ")
 ;
 F LOOP=2:1 S DATA=$T(ARCT106+LOOP) Q:$P(DATA,";",3)="END"  D
 . S RCIEN=$O(^PRCA(430.2,"B",$P(DATA,";",3),""))
 . I RCIEN D  Q
 . . N FDA,MESS,TSTAMP
 . . S FDA(430.2,+RCIEN_",",1.06)=$P(DATA,";",4)
 . . D FILE^DIE("","FDA","MESS")
 . . K FDA,MESS,TSTAMP
 . . D MES^XPDUTL("Updated field 1.06 for the "_$P(DATA,";",3)_" AR Category.")
 ;
 Q
ARCT106 ; Categories to update field 1.06
 ;;Category Name;Display on Bill Profile as
 ;;ADULT DAY HEALTH CARE;1
 ;;C (MEANS TEST);1
 ;;CC INPT;1
 ;;CC MTF INPT;1
 ;;CC MTF OPT;1
 ;;CC MTF RX CO-PAYMENT;1
 ;;CC MTF THIRD PARTY;0
 ;;CC NO-FAULT AUTO;0
 ;;CC NURSING HOME CARE - LTC;1
 ;;CC OPT;1
 ;;CC RESPITE CARE;1
 ;;CC RX CO-PAYMENT;1
 ;;CC THIRD PARTY;0
 ;;CC TORT FEASOR;0
 ;;CC URGENT CARE;1
 ;;CC WORKERS' COMP;0
 ;;CCN INPT;1
 ;;CCN NO-FAULT AUTO;0
 ;;CCN NURSING HOME CARE - LTC;1
 ;;CCN OPT;1
 ;;CCN RESPITE CARE;1
 ;;CCN RX CO-PAYMENT;1
 ;;CCN THIRD PARTY;0
 ;;CCN TORT FEASOR;0
 ;;CCN WORKERS' COMP;0
 ;;CHAMPVA;0
 ;;CHAMPVA SUBSISTENCE;0
 ;;CHAMPVA THIRD PARTY;0
 ;;CHOICE INPT;1
 ;;CHOICE NO-FAULT AUTO;0
 ;;CHOICE NURSING HOME CARE - LTC;1
 ;;CHOICE OPT;1
 ;;CHOICE RESPITE CARE;1
 ;;CHOICE RX CO-PAYMENT;1
 ;;CHOICE THIRD PARTY;0
 ;;CHOICE TORT FEASOR;0
 ;;CHOICE WORKERS' COMP;0
 ;;COMP & PEN PROCEEDS;0
 ;;CRIME OF PER.VIO.;0
 ;;CURRENT EMP.;1
 ;;CWT PROCEEDS;0
 ;;DOMICILIARY;1
 ;;EMERGENCY/HUMANITARIAN;1
 ;;EMERGENCY/HUMANITARIAN REIMB.;0
 ;;ENHANCED USE LEASE PROCEEDS;0
 ;;EX-EMPLOYEE;1
 ;;FEDERAL AGENCIES-REFUND;0
 ;;FEDERAL AGENCIES-REIMB.;0
 ;;FEE REIMB INS;0
 ;;GERIATRIC EVAL-INSTITUTIONAL;1
 ;;GERIATRIC EVAL-NON-INSTITUTION;1
 ;;HOSPITAL CARE (NSC);1
 ;;HOSPITAL CARE PER DIEM;1
 ;;INELIGIBLE HOSP.;1
 ;;INELIGIBLE HOSP. REIMB.;0
 ;;INTERAGENCY;0
 ;;MEDICARE;0
 ;;MILITARY;0
 ;;NO-FAULT AUTO ACC.;0
 ;;NURSING HOME CARE PER DIEM;1
 ;;NURSING HOME CARE(NSC);1
 ;;NURSING HOME CARE-LTC;1
 ;;NURSING HOME PROCEEDS;1
 ;;OUTPATIENT CARE(NSC);1
 ;;PARKING FEES;1
 ;;PREPAYMENT;0
 ;;REIMBURS.HEALTH INS.;0
 ;;RESPITE CARE-INSTITUTIONAL;1
 ;;RESPITE CARE-NON-INSTITUTIONAL;1
 ;;RX CO-PAYMENT/SC VET;1
 ;;RX CO-PAYMENT/NSC VET;1
 ;;SHARING AGREEMENTS;0
 ;;TORT FEASOR;0
 ;;TRICARE;0
 ;;TRICARE BLIND REHABILITATION;0
 ;;TRICARE DENTAL;0
 ;;TRICARE DES;0
 ;;TRICARE PATIENT;1
 ;;TRICARE PHARMACY;0
 ;;TRICARE SCI;0
 ;;TRICARE TBI;0
 ;;TRICARE THIRD PARTY;0
 ;;VENDOR;1
 ;;WORKMAN'S COMP.;0
 ;;END