source: FOIAVistA/tag/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCHUPT.m@ 1158

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

initial load of FOIAVistA 6/30/08 version

File size: 1.0 KB
Line 
1PRCHUPT ;WISC/AKS-Unposted Dietetic cost report ;
2 ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4 N PRCHFR,PRCHTO,FR,TO,L,DIC,BY,FLDS,Y,FROM,LASTTO,DIS,PRCF
5 S PRCF("X")="S" D ^PRCFSITE Q:'$D(PRC("SITE"))
6 S DIR(0)="F",DIR("?")="This is the valid Fund Control Point."
7 S DIR("A")="START WITH FCP",DIR("B")="FIRST" D ^DIR Q:X["^"
8 S (FROM,PRCHFR)=Y I Y?1.N S PRCHFR=Y_" "
9 I Y="FIRST" S PRCHFR="" K DIR,X
10 S (PRCHTO,LASTTO)="" I $G(Y)'="FIRST" D LAST Q:X["^"
11PRINT I FROM]LASTTO S PRCHTO=LASTTO
12 S FR=","_PRCHFR_",?",TO=","_PRCHTO_",?"
13 S L=0,DIC=442,BY="[PRCH UNPOSTED DIETETIC SORT]"
14 S DIS(0)="I PRC(""SITE"")=$P($P(^PRC(442,D0,0),U),""-"")&('$P($G(^PRC(442,D0,18)),U,8))"
15 S FLDS="[PRCH UNPOSTED DIETETIC PRINT]" D EN1^DIP
16 I PRCHFR]"",PRCHTO]"",FROM]LASTTO D LAST Q:X["^" G PRINT
17 QUIT
18LAST S DIR(0)="F",DIR("?")="This is the valid Fund Control Point."
19 S DIR("A")="GO TO FCP",DIR("B")="LAST" D ^DIR Q:X["^"
20 S (LASTTO,PRCHTO)=Y
21 I Y?1.N S PRCHTO=Y_"z"
22 I Y="LAST" S PRCHTO="" K DIR
23 Q
Note: See TracBrowser for help on using the repository browser.