source: FOIAVistA/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCPRCOM.m@ 1582

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

initial load of FOIAVistA 6/30/08 version

File size: 1.0 KB
Line 
1PRCPRCOM ;WISC/RFJ-comprehensive item list ;22 Jul 91
2 ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 D ^PRCPUSEL Q:'$G(PRCP("I"))
5 N %,PRCPDOT,PRCPINV,PRCPFCP,X S PRCPINV=$$INVNAME^PRCPUX1(PRCP("I")),PRCPFCP=$$FCPDA^PRCPUX1(PRC("SITE"),PRCP("I"))
6TOP ;called by 'print items for distribution point'
7 I PRCP("DPTYPE")="W" W !?2,"START WITH NSN: FIRST// @ <<-- ENTER '@' TO PRINT ITEMS WITHOUT A NSN"
8 E W !?2,"START WITH GROUP CATEGORY CODE: FIRST// @ <<-- ENTER '@' TO PRINT ITEMS",!?51,"WITHOUT A GROUP CATEGORY CODE"
9 S DIC="^PRCP(445,",L=0,FLDS="[PRCP REPORT:COMPREHENSIVE]",BY=".01,"_$S(PRCP("DPTYPE")'="W":"1,@.5,",1:"")_"1,@.01:5;""NSN"""
10 S FR=PRCPINV_","_$S(PRCP("DPTYPE")'="W":"?,@",1:"?"),TO=PRCPINV_","_$S(PRCP("DPTYPE")'="W":"?,",1:"?"),DIOEND="D END^PRCPUREP" D EN1^DIP Q
11 ;
12DISTPT ;print items for distribution point
13 D ^PRCPUSEL Q:'$G(PRCP("I"))
14 N %,PRCPDOT,PRCPINV,X
15 S %=+$$TO^PRCPUDPT(PRCP("I")) Q:'% S PRCPINV=$$INVNAME^PRCPUX1(%)
16 D TOP Q
Note: See TracBrowser for help on using the repository browser.