ESPUCFP4 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/99
;;1.0;POLICE & SECURITY;**27**;Mar 31, 1994
EN Q ;CALLED FROM ESPUCFP3
PRT ;PRINT REPORT CONTINUED- PRINTS 4TH PAGE
I $Y+15>IOSL D HDR Q:END
W !!?25,"VANDALISM"
W !!,"Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,152,"E"))
W !,"Total $ : ",$G(^UTILITY("DIQ1",$J,912.31,DA,158,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,153,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,154,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,155,"E"))
W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.31,DA,156,"E"))
W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,157,"E"))
I $Y+15>IOSL D HDR1 Q:END
W !!!?25,"VICE SOLICITING Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,159,"E"))
W !!,"Bribery : ",$G(^UTILITY("DIQ1",$J,912.31,DA,160,"E"))
W ?40,"Forgery : ",$G(^UTILITY("DIQ1",$J,912.31,DA,161,"E"))
W !,"Fraud : ",$G(^UTILITY("DIQ1",$J,912.31,DA,162,"E"))
W ?40,"Gambling : ",$G(^UTILITY("DIQ1",$J,912.31,DA,163,"E"))
W !,"Solicitation/Prostitution : ",$G(^UTILITY("DIQ1",$J,912.31,DA,164,"E"))
W ?40,"Sexual Misconduct : ",$G(^UTILITY("DIQ1",$J,912.31,DA,165,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,166,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,167,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,168,"E"))
W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.31,DA,169,"E"))
W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,170,"E"))
I $Y+15>IOSL D HDR1 Q:END
W !!!?25,"VIOLATION CHARGES Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,171,"E"))
W !!,"Courtesy Warnings Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,172,"E"))
W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.31,DA,173,"E"))
W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.31,DA,174,"E"))
W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.31,DA,175,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,176,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,177,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,178,"E"))
W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,179,"E"))
I $Y+15>IOSL D HDR1 Q:END
W !!,"USDC Notice Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,180,"E"))
W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.31,DA,181,"E"))
W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.31,DA,182,"E"))
W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.31,DA,183,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,184,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,185,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,186,"E"))
W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,187,"E"))
QUIT
EX W !!,"Done." Q
HDR ;PRINT HEADING
I $E(IOST,1,2)="C-" W !,"Press RETURN to continue or '^' to exit: " R X:DTIME S END='$T!(X="^") Q:END
S PAGE=PAGE+1 W @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$J(PAGE,3)
S ESPFACI=$P(^ESP(912.3,ESPIEN,1,ESPN,0),U)
S ESPFACI=$P($G(^DG(40.8,ESPFACI,0)),U,1)
W !!,"VA Facility ",ESPFACI
BDT W ?45,"BEGINNING DATE: ",$G(^UTILITY("DIQ1",$J,912.3,ESPIEN,.01,"E"))
EDT W !,"Date/Time Printed",?45,"ENDING DATE: ",$G(^UTILITY("DIQ1",$J,912.3,ESPIEN,.02,"E"))
D NOW^%DTC S Y=% X ^DD("DD") W !,$P(Y,":",1,2)
QUIT
HDR1 I $E(IOST,1,2)="C-" W !,"Press RETURN to continue or '^' to exit: " R X:DTIME S END='$T!(X="^") Q:END
S PAGE=PAGE+1 W @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$J(PAGE,3)
QUIT
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HESPUCFP4 3790 printed Dec 13, 2024@02:30:33 Page 2
ESPUCFP4 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/99
+1 ;;1.0;POLICE & SECURITY;**27**;Mar 31, 1994
EN ;CALLED FROM ESPUCFP3
QUIT
PRT ;PRINT REPORT CONTINUED- PRINTS 4TH PAGE
+1 IF $Y+15>IOSL
DO HDR
if END
QUIT
+2 WRITE !!?25,"VANDALISM"
+3 WRITE !!,"Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,152,"E"))
+4 WRITE !,"Total $ : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,158,"E"))
+5 WRITE !!,?15,"Offender"
+6 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,153,"E"))
+7 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,154,"E"))
+8 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,155,"E"))
+9 WRITE ?30,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,156,"E"))
+10 WRITE !?10,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,157,"E"))
+11 IF $Y+15>IOSL
DO HDR1
if END
QUIT
+12 WRITE !!!?25,"VICE SOLICITING Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,159,"E"))
+13 WRITE !!,"Bribery : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,160,"E"))
+14 WRITE ?40,"Forgery : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,161,"E"))
+15 WRITE !,"Fraud : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,162,"E"))
+16 WRITE ?40,"Gambling : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,163,"E"))
+17 WRITE !,"Solicitation/Prostitution : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,164,"E"))
+18 WRITE ?40,"Sexual Misconduct : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,165,"E"))
+19 WRITE !!,?15,"Offender"
+20 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,166,"E"))
+21 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,167,"E"))
+22 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,168,"E"))
+23 WRITE ?30,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,169,"E"))
+24 WRITE !?10,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,170,"E"))
+25 IF $Y+15>IOSL
DO HDR1
if END
QUIT
+26 WRITE !!!?25,"VIOLATION CHARGES Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,171,"E"))
+27 WRITE !!,"Courtesy Warnings Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,172,"E"))
+28 WRITE !!,"Non-Traffic : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,173,"E"))
+29 WRITE !,"Moving : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,174,"E"))
+30 WRITE !,"Parking : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,175,"E"))
+31 WRITE !!,?15,"Offender"
+32 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,176,"E"))
+33 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,177,"E"))
+34 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,178,"E"))
+35 WRITE ?30,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,179,"E"))
+36 IF $Y+15>IOSL
DO HDR1
if END
QUIT
+37 WRITE !!,"USDC Notice Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,180,"E"))
+38 WRITE !!,"Non-Traffic : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,181,"E"))
+39 WRITE !,"Moving : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,182,"E"))
+40 WRITE !,"Parking : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,183,"E"))
+41 WRITE !!,?15,"Offender"
+42 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,184,"E"))
+43 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,185,"E"))
+44 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,186,"E"))
+45 WRITE ?30,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.31,DA,187,"E"))
+46 QUIT
EX WRITE !!,"Done."
QUIT
HDR ;PRINT HEADING
+1 IF $EXTRACT(IOST,1,2)="C-"
WRITE !,"Press RETURN to continue or '^' to exit: "
READ X:DTIME
SET END='$TEST!(X="^")
if END
QUIT
+2 SET PAGE=PAGE+1
WRITE @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$JUSTIFY(PAGE,3)
+3 SET ESPFACI=$PIECE(^ESP(912.3,ESPIEN,1,ESPN,0),U)
+4 SET ESPFACI=$PIECE($GET(^DG(40.8,ESPFACI,0)),U,1)
+5 WRITE !!,"VA Facility ",ESPFACI
BDT WRITE ?45,"BEGINNING DATE: ",$GET(^UTILITY("DIQ1",$JOB,912.3,ESPIEN,.01,"E"))
EDT WRITE !,"Date/Time Printed",?45,"ENDING DATE: ",$GET(^UTILITY("DIQ1",$JOB,912.3,ESPIEN,.02,"E"))
+1 DO NOW^%DTC
SET Y=%
XECUTE ^DD("DD")
WRITE !,$PIECE(Y,":",1,2)
+2 QUIT
HDR1 IF $EXTRACT(IOST,1,2)="C-"
WRITE !,"Press RETURN to continue or '^' to exit: "
READ X:DTIME
SET END='$TEST!(X="^")
if END
QUIT
+1 SET PAGE=PAGE+1
WRITE @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$JUSTIFY(PAGE,3)
+2 QUIT