Changeset 636 for FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (15 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 12 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/PRCACM.m
r628 r636 1 1 PRCACM ;WASH-ISC@ALTOONA,PA/RGY-COMMENT ADJUSTMENT TRANSACTION ;6/2/95 2:41 PM 2 ;;4.5;Accounts Receivable;**8,67,125,169,254**;Mar 20, 1995;Build 2 3 ;;Per VHA Directive 2004-038, this routine should not be modified. 4 ; DBIA 3820-A used for direct global read into file 399. 5 ; 2 V ;;4.5;Accounts Receivable;**8,67,125,169**;Mar 20, 1995 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 6 4 ;This is a routine for adjustment transaction. 7 5 NEW PRCABN,PRCAEN,PRCAA1,DR,DIE,DA,D0,PRCAD,RCASK,PRCAA2,DIROUT,DIRUT,DIR,DUOUT,PRCA,PRCATY … … 57 55 S %DT="AERX",%DT(0)=% D ^%DT 58 56 Q Y 59 BEGIN K PRCATERM,PRCABN,PRCAEN,PRCA("CKSITE"),PRCAIBS D BILL^PRCAUTL Q:('$D(PRCABN)) 60 S PRCAIBS=$P($G(^DGCR(399,PRCABN,0)),U,13) ; IB claim status - DBIA3820-A 61 I PRCAIBS=1 W !!,"** You cannot add AR Comments to an Entered/Not Reviewed claim. **",!,*7 G BEGIN 62 I PRCAIBS=2 W !!,"** You cannot add AR Comments to an MRA Request claim. **",!,*7 G BEGIN 63 I '$D(^PRCA(430,PRCABN,2,0)),PRCAIBS=7 W !!,"** You cannot add AR Comments to a claim Cancelled/not passed to AR. **",!,*7 G BEGIN 57 BEGIN K PRCATERM,PRCABN,PRCAEN,PRCA("CKSITE") D BILL^PRCAUTL Q:('$D(PRCABN)) 58 I '$D(^PRCA(430,PRCABN,2,0)) W !!,"** This bill was cancelled in IB before it was passed to AR. **",!,*7 G BEGIN 64 59 I $P($G(^PRCA(430,PRCABN,0)),"^",8)=49 W !!,"** Comments CANNOT be entered on an ARCHIVED bill. **",!,*7 G BEGIN 65 60 D SETTR^PRCAUTL,PATTR^PRCAUTL S DIC="^PRCA(433," K PRCAMT,PRCAD("DELETE") Q -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/PRCAGST.m
r628 r636 1 1 PRCAGST ;WASH-ISC@ALTOONA,PA/CMS-Print Patient Statement ;12/12/96 9:39 AM 2 V ;;4.5;Accounts Receivable;**34,181,190 ,249**;Mar 20, 1995;Build 22 V ;;4.5;Accounts Receivable;**34,181,190**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 ;ENTRY WITH DEBTOR PRINT STATEMENT … … 12 12 S X=X+1,ADD(X)=$P(ADD,U,7) 13 13 W @IOF 14 W !!,"Department of Veterans Affairs",?50,"Acct No.: ", $P($$SITE^VASITE(),U,3)_"/"_$E(SSN,6,9)14 W !!,"Department of Veterans Affairs",?50,"Acct No.: ",SSN 15 15 W !,$G(ADD(1)) 16 16 S Y=$$FPS^RCAMFN01($S($G(LDT)>0:$E(LDT,1,5),1:$E(DT,1,5))_$TR($J($$PST^RCAMFN01(DEB),2)," ",0),$S(+$E($G(LDT),6,7)>$$STD^RCCPCFN:2,1:1)) D DD^%DT -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/PRCAGST1.m
r628 r636 1 1 PRCAGST1 ;WASH-ISC@ALTOONA,PA/CMS-Print Patient Statement Bottom ;10/16/96 11:13 AM 2 V ;;4.5;Accounts Receivable;**2,48,104,176 ,249**;Mar 20, 1995;Build 22 V ;;4.5;Accounts Receivable;**2,48,104,176**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 ;ENTRY FROM PRCAGST PAGE 1 … … 59 59 S PAGE=$G(PAGE)+1 60 60 I PAGE>1 W @IOF I $G(^RC(342,1,5))]"" F I=1:1:18 W ! 61 W !,"Department of Veterans Affairs",?50,"Acct No.: ",$P($$SITE^VASITE(),U,3)_"/"_$E(SSN,6,9)61 W !,"Department of Veterans Affairs",?50,"Acct No.: ",SSN 62 62 W !,NAM,?50,"Page ",PAGE 63 63 S Y="",$P(Y,"_",80)="" W !,Y -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/PRCASVC.m
r628 r636 1 1 PRCASVC ;SF-ISC/YJK-ACCEPT, AMMEND AND CANCEL AR BILL ;9/6/95 2:09 PM 2 V ;;4.5;Accounts Receivable;**1,21,48,90,136,138 ,249**;Mar 20, 1995;Build 22 V ;;4.5;Accounts Receivable;**1,21,48,90,136,138**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 REL ;Accept bill into AR … … 9 9 Q3 K PRCAT,PRCAORA,PRCADEBT,DIE,DR,% 10 10 ; set the fund for the bill (set in routine rcxfmsuf) 11 S :'$G(DA) DA=PRCASV("ARREC") S%=$$GETFUNDB^RCXFMSUF(DA)11 S %=$$GETFUNDB^RCXFMSUF(DA) 12 12 I "^27^28^"[("^"_PRCASV("CAT")_"^") D 13 13 .N P -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCDPEM.m
r628 r636 1 1 RCDPEM ;ALB/TMK - POST EFT, ERA MATCHING TO EFT ;05-NOV-02 2 ;;4.5;Accounts Receivable;**173 ,255**;Mar 20, 1995;Build 12 ;;4.5;Accounts Receivable;**173**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 ; IA 4050 covers call to SPL1^IBCEOBAR … … 25 25 ; 'Unposted' EFTs have a 0 in AMOUNT POSTED field 26 26 S ^TMP($J,"RCTOT","EFT_DEP")=0 27 S RCZ=0 F S RCZ=$O(^RCY(344.3,"APOST",0,RCZ)) Q:'RCZ S RC0=$G(^RCY(344.3,RCZ,0)) I RC0'="",$ P(RC0,U,8),($E($P(RC0,U,6),1,3)="469")!($E($P(RC0,U,6),1,3)="569") D27 S RCZ=0 F S RCZ=$O(^RCY(344.3,"APOST",0,RCZ)) Q:'RCZ S RC0=$G(^RCY(344.3,RCZ,0)) I RC0'="",$E($P(RC0,U,6),1,3)="469",$P(RC0,U,8) D 28 28 . S ^TMP($J,"RCTOT","EFT_DEP")=^TMP($J,"RCTOT","EFT_DEP")+1 29 29 . ; Verify check sums -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCDPESR3.m
r628 r636 1 1 RCDPESR3 ;ALB/TMK - Server auto-update utilities - EDI Lockbox ;06/06/02 2 ;;4.5;Accounts Receivable;**173,214,208 ,255**;Mar 20, 1995;Build 12 ;;4.5;Accounts Receivable;**173,214,208**;Mar 20, 1995 3 3 Q 4 4 ; … … 72 72 S (RCERR,RCTDA)="" 73 73 ; 74 I $E($P(RCTXN,U,6),1,3)'="469",$E($P(RCTXN,U,6),1,3)'=" 569",$E($P(RCTXN,U,6),1,3)'="HAC" D G ADDQ ; Invalid EFT deposit number74 I $E($P(RCTXN,U,6),1,3)'="469",$E($P(RCTXN,U,6),1,3)'="HAC" D G ADDQ ; Invalid EFT deposit number 75 75 . N RCDXM,RCCT 76 76 . S RCCT=0 -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCDPEX32.m
r628 r636 1 1 RCDPEX32 ;ALB/TMK - ELECTRONIC EOB EXCEPTION PROCESSING - FILE 344.4 ;10-OCT-02 2 ;;4.5;Accounts Receivable;**173 ,249**;Mar 20, 1995;Build 22 ;;4.5;Accounts Receivable;**173**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 ; … … 48 48 .. S ^TMP($J,"RCDP-EOB",1,Q,0)=Q0 49 49 . S ^TMP($J,"RCDP-EOB",1,.5,0)="835ERA" 50 . S RCEOB=$$DUP^IBCEOB( "^TMP("_$J_",""RCDP-EOB"",1)",RCBILL) ; IA 404250 . S RCEOB=$$DUP^IBCEOB(RCBILL,"^TMP("_$J_",""RCDP-EOB"",1)") ; IA 4042 51 51 . K ^TMP($J,"RCDP-EOB",1,.5,0) 52 52 . I RCEOB D Q -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCFMOBR.m
r628 r636 1 1 RCFMOBR ;WASH-ISC@ALTOONA,PA/RWT-BILL RECONCILIATIONS LIST ;11/20/96 2:30 PM 2 V ;;4.5;Accounts Receivable;**2,20,40,53 ,249**;Mar 20, 1995;Build 22 V ;;4.5;Accounts Receivable;**2,20,40,53**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 EN ;Creates report from OBR data in file 423.6 … … 75 75 EN3 ;Deletes OBRs over 60 days old 76 76 N A0,A1,A2,DA,DIK,X,X1,X2 77 S A0="OBR-" F S A0=$O(^PRCF(423.6,"B",A0)) Q:A0=""!(A0'["OBR-") S A1= $E($P(A0,"-",2),1,8),A2=0 F S A2=$O(^PRCF(423.6,"B",A0,A2)) Q:+A2=0 D78 .S X1=DT,X2= $$RCDT(A1)D ^%DTC I X>60 S DIK="^PRCF(423.6,",DA=A2 D ^DIK77 S A0="OBR-" F S A0=$O(^PRCF(423.6,"B",A0)) Q:A0=""!(A0'["OBR-") S A1=2_$E($P(A0,"-",2),3,8),A2=0 F S A2=$O(^PRCF(423.6,"B",A0,A2)) Q:+A2=0 D 78 .S X1=DT,X2=A1 D ^%DTC I X>60 S DIK="^PRCF(423.6,",DA=A2 D ^DIK 79 79 Q 80 RCDT(A1) ;Convert yyyymmdd to FM date81 N X,Y82 S X=A1,X=$E(X,5,6)_" "_$E(X,7,8)_", "_$E(X,1,4)83 D ^%DT84 Q Y85 80 PURGE ;purge unprocessed document file 86 81 N DIR,Y,X,X1,X2,RCDT -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCRCXM1.m
r628 r636 1 1 RCRCXM1 ;ALB/CMS - AR/RC ORIGINAL TRANSMISSION SET ;09/08/97 2 V ;;4.5;Accounts Receivable;**63,122,189 ,249**;Mar 20, 1995;Build 22 V ;;4.5;Accounts Receivable;**63,122,189**;Mar 20, 1995 3 3 ;;Per VHA Directive 10-93-142, this routine should not be modified. 4 4 ; … … 40 40 S ^TMP("RCRCVL",$J,"XM",PRCABN,2,1)="BINS^"_$P($G(RCIB("PIN")),U,5)_U_$P($G(RCIB("PIN")),U,6)_U_$P($G(RCIB("PIN")),U,7)_U_$S($G(RCIB("CRE"))]"":RCIB("CRE"),$G(RCIB("CRA"))]"":RCIB("CRA"),$G(RCIB("CRO"))]"":RCIB("CRO"),1:"") 41 41 S ^TMP("RCRCVL",$J,"XM",PRCABN,3,1)="PAT^"_$E($G(VADM(1),RCUNK),1,30)_U_$P($G(VADM(2)),U,1)_U_$P($G(VADM(3)),U,1)_U_$P($G(VADM(5)),U)_U_$G(RCIB("SR"))_U_$G(VAPA(1))_U_$G(VAPA(2))_U_$G(VAPA(3))_U_$G(VAPA(4))_U_$P($G(VAPA(5)),U,2)_U_+$G(VAPA(6)) 42 S ^TMP("RCRCVL",$J,"XM",PRCABN,4,1)="INS^"_$P($G(RCIB("PIN")),U,1)_U_$G(RCIB("PIN","MMA"))_U_$P($G(RCIB("PIN")), U,2,4)42 S ^TMP("RCRCVL",$J,"XM",PRCABN,4,1)="INS^"_$P($G(RCIB("PIN")),U,1)_U_$G(RCIB("PIN","MMA"))_U_$P($G(RCIB("PIN")),2,4) 43 43 ; 44 44 ; - set multiples if defined -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCXVDC.m
r628 r636 1 1 RCXVDC ;DAOU/ALA-AR Data Extraction Data Creation ;02-JUL-03 2 ;;4.5;Accounts Receivable;**201,228,256**;Mar 20, 1995;Build 6 3 ;;Per VHA Directive 2004-038, this routine should not be modified. 2 ;;4.5;Accounts Receivable;**201,228**;Mar 20, 1995 4 3 ; 5 4 Q … … 29 28 S RCXVPC=0 30 29 F S RCXVPC=$O(^TMP($J,RCXVBLN,"4-399A",RCXVPC)) Q:'RCXVPC D 31 . I $G(^TMP($J,RCXVBLN,"4-399A",RCXVPC))'="" D 32 .. W "399.0304:" 33 .. W $G(^TMP($J,RCXVBLN,"4-399A",RCXVPC)) 34 .. W RCXVU 35 .. F RCXVCP=1:1 Q:('$D(^TMP($J,RCXVBLN,"4-399A",RCXVPC,RCXVCP))) D 36 ... I RCXVCP>1 W "~" 37 ... W $G(^TMP($J,RCXVBLN,"4-399A",RCXVPC,RCXVCP)) 38 ... Q 39 .. W ! 40 . I $G(^TMP($J,RCXVBLN,"4-399B",RCXVPC))'="" W "399.042:"_$G(^TMP($J,RCXVBLN,"4-399B",RCXVPC)),! 30 . W "399.0304:" 31 . W $G(^TMP($J,RCXVBLN,"4-399A",RCXVPC)) 32 . W RCXVU 33 . F RCXVCP=1:1 Q:('$D(^TMP($J,RCXVBLN,"4-399A",RCXVPC,RCXVCP))) D 34 . . I RCXVCP>1 W "~" 35 . . W $G(^TMP($J,RCXVBLN,"4-399A",RCXVPC,RCXVCP)) 36 . . Q 37 . W ! 38 . I $D(^TMP($J,RCXVBLN,"4-399B",RCXVPC)) W "399.042:"_$G(^TMP($J,RCXVBLN,"4-399B",RCXVPC)),! 41 39 . Q 42 40 S RCXVI="" -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCXVDC4.m
r628 r636 1 1 RCXVDC4 ;DAOU/ALA-AR Data Extraction Data Creation ;02-JUL-03 2 ;;4.5;Accounts Receivable;**201,227,228,248,251 ,256**;Mar 20, 1995;Build 62 ;;4.5;Accounts Receivable;**201,227,228,248,251**;Mar 20, 1995;Build 21 3 3 ;;Per VHA Directive 2004-038, this routine should not be modified. 4 4 ; … … 8 8 I RCXVD0="" Q 9 9 N RCXVD,RCXVDA,RCXVB,RCXVPC,RCXVP1,RCXVP2,RCXVP3,RCXVMULT 10 N RCXVDT3,RCXVCP,RCXVPCDT,RCXVPS1,RCXVPS2,RCXVPS,RCXVPSER,RCXVNPI ,RCXVCNT,RCXVMH10 N RCXVDT3,RCXVCP,RCXVPCDT,RCXVPS1,RCXVPS2,RCXVPS,RCXVPSER,RCXVNPI 11 11 ;RCXVPC=PROC. CODE IEN, RCXVCP=CPT CODE IEN 12 12 ; LOOP THRU PROC. 13 S RCXV MH="",(RCXVPC,RCXVCNT)=013 S RCXVPC=0 14 14 F S RCXVPC=$O(^DGCR(399,RCXVD0,"CP",RCXVPC)) Q:'RCXVPC D D399PCA 15 S RCXVPC=016 F S RCXVPC=$O(^DGCR(399,RCXVD0,"RC",RCXVPC)) Q:'RCXVPC D D3994217 15 Q 18 16 D399PCA ; … … 43 41 ;provider^provider npi^specialty^service/section 44 42 S RCXVDA=RCXVDA_RCXVU_RCXVP2_RCXVU_RCXVNPI_RCXVU_RCXVPS_RCXVU_RCXVPSER 45 S RCXVCNT=RCXVCNT+1,^TMP($J,RCXVBLN,"4-399A",RCXVCNT)=RCXVDA43 S ^TMP($J,RCXVBLN,"4-399A",RCXVPC)=RCXVDA 46 44 ; LOOP THRU CPT 47 45 S RCXVCP=0,RCXVMULT=0 … … 54 52 . S RCXVMULT=RCXVMULT+1 55 53 . S RCXVP2=$P($G(^DIC(81.3,RCXVP1,0)),U,1) 56 . S ^TMP($J,RCXVBLN,"4-399A",RCXV CNT,RCXVMULT)=RCXVP254 . S ^TMP($J,RCXVBLN,"4-399A",RCXVPC,RCXVMULT)=RCXVP2 57 55 . Q 58 ; 59 ; *256 - loop through 399.042 to find CPT procedure 60 MATCH N RCXVCPT1,RCXVFND,X 61 S RCXVCPT1=$P(RCXVD,";",1) ;proc 62 S (RCXVFND,RCXVCP)=0 63 F S RCXVCP=$O(^DGCR(399,RCXVD0,"RC",RCXVCP)) Q:'RCXVCP!RCXVFND D 64 . Q:$F(RCXVMH,";"_RCXVCP) ;quit if CPT proc match 65 . S RCXVD1=$G(^DGCR(399,RCXVD0,"RC",RCXVCP,0)) 66 . Q:RCXVD1="" 67 . S X=$P(RCXVD1,U,6) ;CPT proc 68 . I RCXVCPT1'="",X'="",RCXVCPT1=X D 69 .. S RCXVFND=1 70 .. S X=$P(RCXVD1,U) 71 .. S RCXVDB=RCXVBLNA_RCXVU_$$GET1^DIQ(399.2,X_",",.01,"E") ; Revenue Code 72 .. S X=$P(RCXVD1,U,6) 73 .. S RCXVDB=RCXVDB_RCXVU_$$GET1^DIQ(81,X_",",.01,"E") ; Procedures [P] 74 .. S RCXVDB=RCXVDB_RCXVU_RCXVPCDT ; PROC. DT 75 .. S RCXVDB=RCXVDB_RCXVU_$P(RCXVD1,U,2) ; Charges 76 .. S ^TMP($J,RCXVBLN,"4-399B",RCXVCNT)=RCXVDB 77 .. S RCXVMH=RCXVMH_";"_RCXVCP 78 I 'RCXVFND S ^TMP($J,RCXVBLN,"4-399B",RCXVCNT)="" 79 Q 80 ; 81 D39942 ; charge 56 D39942 ; CHARGES FROM 399.042 57 ; LOOP THRU 399.042 82 58 N X 83 Q:$F(RCXVMH,";"_RCXVPC)84 59 S RCXVD1=$G(^DGCR(399,RCXVD0,"RC",RCXVPC,0)) 85 Q:RCXVD1=""60 I RCXVD1="" Q 86 61 S X=$P(RCXVD1,U) 87 62 S RCXVDB=RCXVBLNA_RCXVU_$$GET1^DIQ(399.2,X_",",.01,"E") ; Revenue Code 88 S RCXVDB=RCXVDB_RCXVU_"" ;No CPT proc 89 S RCXVDB=RCXVDB_RCXVU_"" ; No proc dt 63 S X=$P(RCXVD1,U,6) 64 S RCXVDB=RCXVDB_RCXVU_$$GET1^DIQ(81,X_",",.01,"E") ; Procedures [P] 65 S RCXVDB=RCXVDB_RCXVU_RCXVPCDT ; PROC. DT 90 66 S RCXVDB=RCXVDB_RCXVU_$P(RCXVD1,U,2) ; Charges 91 S RCXVCNT=RCXVCNT+1 92 S ^TMP($J,RCXVBLN,"4-399A",RCXVCNT)="" 93 S ^TMP($J,RCXVBLN,"4-399B",RCXVCNT)=RCXVDB 67 S ^TMP($J,RCXVBLN,"4-399B",RCXVPC)=RCXVDB 94 68 Q 95 69 ; -
FOIAVistA/tag/r/ACCOUNTS_RECEIVABLE-PRCA-PRY-RC/RCXVFTP.m
r628 r636 1 1 RCXVFTP ;DAOU/ALA-FTP AR Data Extract Batch Files ;08-SEP-03 2 ;;4.5;Accounts Receivable;**201 ,256**;Mar 20, 1995;Build 62 ;;4.5;Accounts Receivable;**201**;Mar 20, 1995 3 3 ; 4 4 ;**Program Description** … … 32 32 I $$GET1^DIQ(342,"1,",20.06,"I")'="P" D 33 33 . S RCXVIP="MORPHEUS.ARC.MED.VA.GOV" 34 . S RCXVUSR="cbotest 1"34 . S RCXVUSR="cbotest" 35 35 . S RCXVPAS="1qaz2wsx" 36 36 ;
Note:
See TracChangeset
for help on using the changeset viewer.