NURSEPCP ;HIRMFO/MD,FT-C.E.PROGRAM ATTENDANCE SUMMARY,PRINT ;8/12/96 ;;4.0;NURSING SERVICE;;Apr 25, 1997 EN1 ; C.E PROGRAM ATTENDANCE SUMMARY S X=$G(^PRSE(452.7,1,"OFF")) Q:X=""!(X=1) S X=$G(^DIC(213.9,1,"OFF")) Q:X=""!(X=1) S (NURQUEUE,NURSW1,NURPAGE,NUROUT)=0 D EN1^NURSAUTL G QUIT:NUROUT I NURMDSW S DIC(0)="AEQMZ",NURPLSCR=0 D EN5^NURSAGSP G:$G(NUROUT) QUIT I NURMDSW=0,NURPLSW=1 S NURPLSCR=1 D PRD^NURSAGSP K NURPLSCR I $G(NUROUT) G QUIT ; ENTRY POINT FOR CONTINIUING EDUCATION PROGRAM W ! S NPGM=0,DIC("A")="Select CONTINUING EDUCATION PROGRAM (Press return for all Programs): ",DIC=452.1,DIC(0)="AFEQZ",DIC("S")="I $D(^PRSE(452.1,""C"",""C"",+Y))" D ^DIC K DIC I $D(DUOUT)!($D(DTOUT))!(X["^") S NUROUT=1 G QUIT I X="" S NPGM=1 G EN2 S NPGM1=$P(Y,U,2) EN2 ;ENTRY FOR LOCATION OF PROGRAM S NLOC=0 S DIR(0)="SO^L:Local CE Classes;N:Non-Local CE Classes",DIR("A")="Select Local or Non-Local CE PROGRAMS (Press Return for all classes)" D ^DIR K DIR I $D(DTOUT)!$D(DUOUT)!(X["^") S NUROUT=1 G QUIT I X="" S NLOC=1 G EN3 S NLOC1=Y EN3 ; ENTRY POINT FOR CLASS DATE W ! S X=U,NSP(1)=0,%DT("A")="Start With CLASS DATE (Press return for all dates): ",%DT="AE",X=U D ^%DT K %DT I X="" S NSP(1)=1 G DEV I Y'>0!(X=U) S NUROUT=1 G QUIT S YRST=Y W ! S X=U,NSPC(2)=0,%DT("A")="Go To CLASS DATE (Press return for all dates until present date): ",%DT="AE",X=U D ^%DT K %DT I X="" S X="T" D ^%DT S YREND=Y G DEV I Y'>0!(X=U) S NUROUT=1 G QUIT S YREND=Y DEV W ! S ZTRTN="START^NURSEPCP",NURS132=1 D EN7^NURSUT0 G:POP!($D(ZTSK)) QUIT START ; K ^TMP("NURE",$J) S X="",(HOLD,HOLD1)=1,(CONTHRS,ACOUNT,LCOUNT,NCOUNT)=0 F NDA=0:0 S NDA=$O(^NURSF(211.8,"C",NDA)) Q:NDA'>0 F NURNODE4=0:0 S NURNODE4=$O(^NURSF(211.8,"C",NDA,NURNODE4)) Q:NURNODE4'>0 D .F NURNODE5=0 F S NURNODE5=$O(^NURSF(211.8,"C",NDA,NURNODE4,NURNODE5)) Q:NURNODE5'>0 I $P($G(^NURSF(211.8,NURNODE4,1,NURNODE5,0)),U)'>DT&(('$P($G(^(0)),U,6))!($P($G(^(0)),U,6)'