source: WorldVistAEHR/trunk/r/IFCAP-PRC-PRX--PRCA--PRCN/PRCEOPN.m@ 642

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

initial load of WorldVistAEHR

File size: 734 bytes
Line 
1PRCEOPN ;WISC/LDB-LIST OPEN 1358'S ;1/23/98 1230
2V ;;5.1;IFCAP;;Oct 20, 2000
3 ;Per VHA Directive 10-93-142, this routine should not be modified.
4OPN ;LIST OF OPEN (INCOMPLETE) 1358'S
5 D EN^PRCSUT G W2^PRCSP1B:'$D(PRC("SITE")),EXIT^PRCSP1B:Y<0 S PRCSZZ=PRC("SITE")_"-"_PRC("FY")_"-"_PRC("QTR")_"-"_$P(PRC("CP")," ")
6 S DHD="1358'S WITH OPEN AUTHORIZATIONS",L=0,DIC="^PRC(424,"
7 S FLDS=".01,.05,.1",BY="[PRCEC OPN1358]"
8 S DIS(0)="I $P($G(^PRC(424,D0,0)),""-"")=PRC(""SITE""),$P($G(^PRC(424,D0,0)),U,2),+$P($G(^PRC(442,$P(^(0),U,2),0)),U,3)=+PRC(""CP"")"
9 S DIS(1)="S PRCSZZ1=$P($G(^PRC(442,$P(^PRC(424,D0,0),U,2),0)),U,12) I $P($P($G(^PRCS(410,PRCSZZ1,0)),U,1),""-"",1,4)=PRCSZZ"
10 D EN1^DIP K PRCSZZ,PRCSZZ1,DHD,L,DIC,FLDS,BY,FR,TO Q
Note: See TracBrowser for help on using the repository browser.