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

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

initial load of WorldVistAEHR

File size: 514 bytes
Line 
1DGRPX75 ; ;12/13/08
2 S X=DE(12),DIC=DIE
3 ;
4 S X=DE(12),DIC=DIE
5 K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(2,.361,1,2,2.2) I DIV(1)>0 S DIK(0)=DA,DIK="^DPT(DIV(0),""E"",",DA(1)=DIV(0),DA=DIV(1) D ^DIK S DA=DIK(0) K DIK
6 S X=DE(12),DIC=DIE
7 X "I $S('$D(^DIC(8,+X,0)):0,$P(^(0),""^"",1)[""DOM"":0,'$D(^DPT(DA,.36)):1,'$D(^DIC(8,+^(.36),0)):1,$P(^(0),""^"",1)'[""DOM"":1,1:0) S DGXRF=.361 D ^DGDDC Q"
8 S X=DE(12),DIC=DIE
9 K ^DPT("AEL",DA,+X)
10 S X=DE(12),DIC=DIE
11 D AUTOUPD^DGENA2(DA)
12 S X=DE(12),DIIX=2_U_DIFLD D AUDIT^DIET
Note: See TracBrowser for help on using the repository browser.