VistA-WorldVistAEHR/r/INTEGRATED_BILLING-IB-PRQ--.../IBXSC111.m

15 lines
667 B
Mathematica
Raw Normal View History

2009-12-04 00:11:15 -05:00
IBXSC111 ; ;12/27/07
S X=DG(DQ),DIC=DIE
2009-11-29 13:37:14 -05:00
S A1B2TAG="PAT" D ^A1B2XFR
2009-12-04 00:11:15 -05:00
S X=DG(DQ),DIC=DIE
2009-11-29 13:37:14 -05:00
D EVENT^IVMPLOG(DA)
2009-12-04 00:11:15 -05:00
S X=DG(DQ),DIC=DIE
K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DPT(D0,.11)):^(.11),1:"") S X=$P(Y(1),U,13),X=X S DIU=X K Y S X=DIV S X=$$NOW^XLFDT() S DIH=$G(^DPT(DIV(0),.11)),DIV=X S $P(^(.11),U,13)=DIV,DIH=2,DIG=.118 D ^DICR
S X=DG(DQ),DIC=DIE
2009-11-29 13:37:14 -05:00
S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
2009-12-04 00:11:15 -05:00
S X=DG(DQ),DIC=DIE
I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".114;" D AVAFC^VAFCDD01(DA)
S X=DG(DQ),DIC=DIE
D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
I $D(DE(6))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET