source: WorldVistAEHR/trunk/r/SURGERY-SR/SRONAN.m@ 1259

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

initial load of WorldVistAEHR

File size: 904 bytes
Line 
1SRONAN ;B'HAM ISC/MAM - ANNUAL REPORT FOR NON-O.R. PROCEDURES ; [ 09/22/98 11:34 AM ]
2 ;;3.0; Surgery ;**77,50**;24 Jun 93
3 S SRSOUT=0 W @IOF,!,"Annual Report of Non-O.R. Procedures",!
4DATE D DATE^SROUTL(.SRSD,.SRED,.SRSOUT) G:SRSOUT END
5 W ! K IOP,%ZIS,POP,IO("Q") S %ZIS("A")="Print the report on which Device: ",%ZIS="QM" D ^%ZIS I POP S SRSOUT=1 G END
6 I $D(IO("Q")) K IO("Q") S ZTDESC="ANNUAL REPORT OF NON-O.R. PROCEDURES",ZTRTN="EN^SRONAN",(ZTSAVE("SRSD"),ZTSAVE("SRED"),ZTSAVE("SRSITE*"))="" D ^%ZTLOAD S SRSOUT=1 G END
7EN ; entry when queued
8 U IO N SRFRTO S Y=SRSD X ^DD("DD") S SRFRTO="FROM: "_Y_" TO: ",Y=SRED X ^DD("DD") S SRFRTO=SRFRTO_Y,SRSD=SRSD-.0001,SRED=SRED+.9999,SRINST=SRSITE("SITE")
9 D ^SRONAN1
10 W:$E(IOST)="P" @IOF I $D(ZTQUEUED) K ^TMP("SR",$J) Q:$G(ZTSTOP) S ZTREQ="@" Q
11END D ^%ZISC
12 I $E(IOST)'="P",'SRSOUT W !!,"Press RETURN to continue " R X:DTIME
13 D ^SRSKILL W @IOF
14 Q
Note: See TracBrowser for help on using the repository browser.