source: WorldVistAEHR/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGRPTX2.m@ 1297

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

revised back to 6/30/08 version

File size: 663 bytes
RevLine 
[623]1DGRPTX2 ; ;04/21/06
2 S X=DE(9),DIC=DIE
3 X "S DGXRF=.112 D ^DGDDC Q"
4 S X=DE(9),DIC=DIE
[613]5 S A1B2TAG="PAT" D ^A1B2XFR
[623]6 S X=DE(9),DIC=DIE
[613]7 D EVENT^IVMPLOG(DA)
[623]8 S X=DE(9),DIC=DIE
[613]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
[623]10 S X=DE(9),DIC=DIE
[613]11 S IVMX=X,X="IVMPXFR" X ^%ZOSF("TEST") D:$T DPT^IVMPXFR S X=IVMX K IVMX
[623]12 S X=DE(9),DIC=DIE
[613]13 I ($T(AVAFC^VAFCDD01)'="") S VAFCF=".112;" D AVAFC^VAFCDD01(DA)
[623]14 S X=DE(9),DIC=DIE
[613]15 D:($T(ADGRU^DGRUDD01)'="") ADGRU^DGRUDD01(DA)
[623]16 S X=DE(9),DIIX=2_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.