source: FOIAVistA/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBXSC112.m@ 1306

Last change on this file since 1306 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 799 bytes
Line 
1IBXSC112 ; ;09/05/07
2 S X=DE(7),DIC=DIE
3 K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^DPT(D0,.11)):^(.11),1:""),Y=$P(Y(1),U,7) X:$D(^DD(2,.117,2)) ^(2) S X=Y S DIU=X K Y S X=DIV S X="" X ^DD(2,.115,1,1,2.4)
4 S X=DE(7),DIC=DIE
5 S A1B2TAG="PAT" D ^A1B2XFR
6 S X=DE(7),DIC=DIE
7 D EVENT^IVMPLOG(DA)
8 S X=DE(7),DIC=DIE
9 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
10 S X=DE(7),DIC=DIE
11 S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
12 S X=DE(7),DIC=DIE
13 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".115;" D AVAFC^VAFCDD01(DA)
14 S X=DE(7),DIC=DIE
15 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
16 S X=DE(7),DIIX=2_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.