source: FOIAVistA/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCHFGRP.m@ 1671

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

initial load of FOIAVistA 6/30/08 version

File size: 694 bytes
Line 
1PRCHFGRP ;WISC/AKS-Updating of FOOD GROUP field in file 441 ;8-20-92/09:55
2 ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 ;
5 N X,Y,ITMZ,PRCPDESC
6ITEM W ! S DIC="^PRC(441,",DIC(0)="AEMQ",DIC("A")="Select Item no.: "
7 S DIC("S")="I '+$G(^(3))&($P($P(^(0),U,3)/100,""."")=89)"
8 S DIC("W")="S ITMZ=^PRC(441,+Y,0),PRCPDESC=$P(ITMZ,U,2) D WD^PRCHFGRP"
9 D ^DIC K DIC,DA I X']""!(X="^") G EXIT
10 W ! S DR="20//",DIE="^PRC(441,",DA=+Y D ^DIE K DIE,DA,DR
11 G ITEM
12EXIT QUIT
13WD S DESC=$E(PRCPDESC,1,30),DESC=DESC_$J("",30-$L(DESC))
14 W $E(" ",$L(X),5) S ZX=$X+1 W DESC_" NSN: "_$P(ITMZ,U,5) W:$L(PRCPDESC)>30 !,?ZX,$E(PRCPDESC,31,60) K ITMZ,ZX,DESC Q
Note: See TracBrowser for help on using the repository browser.