source: WorldVistAEHR/trunk/r/VA_FILEMAN-ARJT-DI-DD-DM-DT-%DT-%RCR/DIS3.m@ 1361

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

initial load of WorldVistAEHR

File size: 902 bytes
RevLine 
[613]1DIS3 ;SFISC/SEARCH - PROGRAMMER ENTRY POINT ;12/16/93 13:16
2 ;;22.0;VA FileMan;;Mar 30, 1999
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4EN ;
5 N DIQUIET,DIFM S L=$G(L),DIFM=+L D CLEAN^DIEFU,INIT^DIP
6 S:$G(DIC) DIC=$G(^DIC(DIC,0,"GL")) G QER1:$G(DIC)="" N DK S DK=+$P($G(@(DIC_"0)")),U,2) G QER1:'DK
7 N DISV,Y D S DISV=+Y I Y<0 S DIC="DISTEMP" G QER
8 .N DIC,X,DIS S Y=-1,DIS=$G(DISTEMP) Q:DIS=""
9 .S X=$S($E(DIS)="[":$P($E(DIS,2,99),"]"),1:DIS),DIC="^DIBT(",DIC(0)="Q",DIC("S")="I '$P(^(0),U,8),$P(^(0),U,4)=DK,$P(^(0),U,5)=DUZ!'$P(^(0),U,5),$D(^(""DIS""))"
10 .D ^DIC Q
11 N DISTXT S %X="^DIBT(DISV,""DIS"",",%Y="DIS(" D %XY^%RCR
12 S %X="^DIBT(DISV,""O"",",%Y="DISTXT(" D %XY^%RCR
13 K ^DIBT(DISV,1)
14 D EN1^DIP G EXIT
15 ;
16QER1 S DIC="DIC"
17QER D BLD^DIALOG(201,DIC) D:'$G(DIQUIET) MSG^DIALOG()
18 D Q^DIP
19EXIT K DIC,DISTEMP Q
20 ;DIALOG #201 'The input variable...is missing or invalid.'
Note: See TracBrowser for help on using the repository browser.