source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCHUPT.m@ 724

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

initial load of WorldVistAEHR

File size: 1.0 KB
RevLine 
[613]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.