source: WorldVistAEHR/trunk/r/ZZREGIONAL-A1C-A5C-CRHD-RGED-RGUT-RGWB-RG/A1CKC1.m@ 1578

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

revised back to 6/30/08 version

File size: 520 bytes
RevLine 
[623]1A1CKC1 ; ;04/21/06
2 S X=DG(DQ),DIC=DIE
3 X "S DFN=DA D EN^DGMTR K DGREQF"
4 S X=DG(DQ),DIC=DIE
5 K DIV S DIV=X,D0=DA,DIV(0)=D0 X ^DD(2,.361,1,2,89.4) S Y(102)=$S($D(^DPT(D0,"E",D1,0)):^(0),1:"") S X=$S('$D(^DIC(8,+$P(Y(102),U,1),0)):"",1:$P(^(0),U,1)) S D0=I(0,0) S D1=I(1,0) S DIU=X K Y S X=DIV S X=DIV,X=X X ^DD(2,.361,1,2,1.4)
6 S X=DG(DQ),DIC=DIE
[613]7 ;
[623]8 S X=DG(DQ),DIC=DIE
9 S ^DPT("AEL",DA,+X)=""
10 S X=DG(DQ),DIC=DIE
[613]11 D AUTOUPD^DGENA2(DA)
[623]12 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.