source: FOIAVistA/tag/r/DIETETICS-FH/FHREC7.m@ 1437

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

initial load of FOIAVistA 6/30/08 version

File size: 883 bytes
Line 
1FHREC7 ; HISC/NCA - Display Analyzed Recipes ;1/18/94 12:30
2 ;;5.5;DIETETICS;;Jan 28, 2005
3 W ! K IOP,%ZIS S %ZIS("A")="Select LIST Printer: ",%ZIS="MQ" D ^%ZIS K %ZIS,IOP G:POP KIL
4 I $D(IO("Q")) S FHPGM="Q1^FHREC7",FHLST="" D EN2^FH G KIL
5 U IO D Q1 D ^%ZISC K %ZIS,IOP G KIL
6Q1 ; Print Analyzed Recipes
7 D NOW^%DTC S DTP=% D DTP^FH S PG=0 D HDR
8 S NX="" F S NX=$O(^FH(114,"B",NX)) Q:NX="" F D0=0:0 S D0=$O(^FH(114,"B",NX,D0)) Q:D0<1 D CHK
9 D:$Y>(IOSL-10) HDR W !!,"'**' preceding a recipe name indicates recipe not analyzed.",! Q
10CHK D:$Y>(IOSL-8) HDR S X=$G(^FH(114,D0,0))
11 W ! W:'$P(X,"^",14) ?3,"** " W ?6,$P(X,"^",1)
12 Q
13HDR W:'($E(IOST,1,2)'="C-"&'PG) @IOF S PG=PG+1 W !,DTP,?20,"A N A L Y Z E D R E C I P E L I S T",?71,"Page ",PG
14 W !!?17,"RECIPE NAME"
15 W !,"--------------------------------------------------------------------------------",! Q
16KIL G KILL^XUSCLEAN
Note: See TracBrowser for help on using the repository browser.