SDM1T3 ; ;02/09/12
S X=DG(DQ),DIC=DIE;;;;;;Build 21
S A1B2TAG="PAT" D ^A1B2XFR
S X=DG(DQ),DIC=DIE
D EVENT^IVMPLOG(DA)
S X=DG(DQ),DIC=DIE
S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
S X=DG(DQ),DIC=DIE
I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".117;" D AVAFC^VAFCDD01(DA)
I $D(DE(9))'[0!(^DD(DP,DIFLD,"AUDIT")'="e") S X=DG(DQ),DIIX=3_U_DIFLD D AUDIT^DIET
SDM1T3 ; ;02/09/12
+1 ;;;;;;Build 21
SET X=DG(DQ)
SET DIC=DI
+2 SET A1B2TAG="PAT"
DO ^A1B2XFR
+3 SET X=DG(DQ)
SET DIC=DIE
+4 DO EVENT^IVMPLOG(DA)
+5 SET X=DG(DQ)
SET DIC=DIE
+6 SET IVMX=X
SET X="IVMPXFR"
XECUTE ^%ZOSF("TEST")
IF $TEST
DO DPT^IVMPXFR
SET X=IVMX
KILL IVMX
+7 SET X=DG(DQ)
SET DIC=DIE
+8 IF ($TEXT(AVAFC^VAFCDD01)'="")
SET VAFCF=".117;"
DO AVAFC^VAFCDD01(DA)
+9 IF $DATA(DE(9))'[0!(^DD(DP,DIFLD,"AUDIT")'="e")
SET X=DG(DQ)
SET DIIX=3_U_DIFLD
DO AUDIT^DIET