source: WorldVistAEHR/trunk/r/DIETETICS-FH/FHNO4.m@ 767

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

initial load of WorldVistAEHR

File size: 590 bytes
Line 
1FHNO4 ; HISC/REL - Bulk Nourishments ;4/25/93 19:01
2 ;;5.5;DIETETICS;;Jan 28, 2005
3EN1 ; Enter/Edit Bulk Nourishments
4 D WRD G:'WRD KIL S DA=WRD,DR="20" D ^DIE G EN1
5EN2 ; List Bulk Nourishments
6 D WRD G:'WRD KIL S CT=0 W !
7 F K=0:0 S K=$O(^FH(119.6,WRD,"BN",K)) Q:K<1 S X=^(K,0),X1=$P(X,"^",1),X2=$P(X,"^",2) I X1,$D(^FH(118,X1,0)) W !,$J(X2,6)," ",$P(^(0),"^",1) S CT=CT+1
8 I 'CT W !,"No Bulk Nourishment Order entered for this Ward."
9 G EN2
10WRD K DIC S (DIC,DIE)="^FH(119.6,",DIC(0)="AEQM",WRD=0
11 S DIC("DR")=".01" W ! D ^DIC Q:U[X!$D(DTOUT) G:Y<1 WRD S WRD=+Y Q
12KIL G KILL^XUSCLEAN
Note: See TracBrowser for help on using the repository browser.