source: WorldVistAEHR/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBXSC111.m@ 1581

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

revised back to 6/30/08 version

File size: 667 bytes
RevLine 
[623]1IBXSC111 ; ;12/27/07
2 S X=DG(DQ),DIC=DIE
[613]3 S A1B2TAG="PAT" D ^A1B2XFR
[623]4 S X=DG(DQ),DIC=DIE
[613]5 D EVENT^IVMPLOG(DA)
[623]6 S X=DG(DQ),DIC=DIE
7 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
8 S X=DG(DQ),DIC=DIE
[613]9 S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
[623]10 S X=DG(DQ),DIC=DIE
11 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".114;" D AVAFC^VAFCDD01(DA)
12 S X=DG(DQ),DIC=DIE
13 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
14 I $D(DE(6))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.