ESPUCP4 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/93
;;1.0;POLICE & SECURITY;**11**;Mar 31, 1994
EN Q ;CALLED FROM ESPUCP3
PRT ;PRINT REPORT CONTINUED- PRINTS 4TH PAGE
D HDR Q:END
W !!?25,"VANDALISM"
W !!,"Total # : ",$G(^UTILITY("DIQ1",$J,912.41,DA,152,"E"))
W !,"Total $ : ",$G(^UTILITY("DIQ1",$J,912.41,DA,158,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,153,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,154,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,155,"E"))
W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.41,DA,156,"E"))
W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.41,DA,157,"E"))
W !!!?25,"VICE SOLICITING Total # : ",$G(^UTILITY("DIQ1",$J,912.41,DA,159,"E"))
W !!,"Bribery : ",$G(^UTILITY("DIQ1",$J,912.41,DA,160,"E"))
W ?40,"Forgery : ",$G(^UTILITY("DIQ1",$J,912.41,DA,161,"E"))
W !,"Fraud : ",$G(^UTILITY("DIQ1",$J,912.41,DA,162,"E"))
W ?40,"Gambling : ",$G(^UTILITY("DIQ1",$J,912.41,DA,163,"E"))
W !,"Solicitation/Prostitution : ",$G(^UTILITY("DIQ1",$J,912.41,DA,164,"E"))
W ?40,"Sexual Misconduct : ",$G(^UTILITY("DIQ1",$J,912.41,DA,165,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,166,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,167,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,168,"E"))
W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.41,DA,169,"E"))
W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.41,DA,170,"E"))
I $Y+15>IOSL D HDR1 Q:END
W !!!?25,"VIOLATION CHARGES Total # : ",$G(^UTILITY("DIQ1",$J,912.41,DA,171,"E"))
W !!,"Courtesy Warnings Total # : ",$G(^UTILITY("DIQ1",$J,912.41,DA,172,"E"))
W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.41,DA,173,"E"))
W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.41,DA,174,"E"))
W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.41,DA,175,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,176,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,177,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,178,"E"))
W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.41,DA,179,"E"))
I $Y+10>IOSL D HDR1 Q:END
W !!,"USDC Notice Total # : ",$G(^UTILITY("DIQ1",$J,912.41,DA,180,"E"))
W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.41,DA,181,"E"))
W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.41,DA,182,"E"))
W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.41,DA,183,"E"))
W !!,?15,"Offender"
W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,184,"E"))
W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,185,"E"))
W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,186,"E"))
W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.41,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)
W !!,"VA Facility ",$P(^ESP(912.4,ESPIEN,1,1,0),U)
BDT W ?45,"BEGINNING DATE: ",$G(^UTILITY("DIQ1",$J,912.4,ESPIEN,.01,"E"))
EDT W !,"Date/Time Printed",?45,"ENDING DATE: ",$G(^UTILITY("DIQ1",$J,912.4,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,!?70,"PAGE ",$J(PAGE,3)
QUIT
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HESPUCP4 3653 printed Dec 13, 2024@02:30:44 Page 2
ESPUCP4 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/93
+1 ;;1.0;POLICE & SECURITY;**11**;Mar 31, 1994
EN ;CALLED FROM ESPUCP3
QUIT
PRT ;PRINT REPORT CONTINUED- PRINTS 4TH PAGE
+1 DO HDR
if END
QUIT
+2 WRITE !!?25,"VANDALISM"
+3 WRITE !!,"Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,152,"E"))
+4 WRITE !,"Total $ : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,158,"E"))
+5 WRITE !!,?15,"Offender"
+6 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,153,"E"))
+7 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,154,"E"))
+8 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,155,"E"))
+9 WRITE ?30,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,156,"E"))
+10 WRITE !?10,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,157,"E"))
+11 WRITE !!!?25,"VICE SOLICITING Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,159,"E"))
+12 WRITE !!,"Bribery : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,160,"E"))
+13 WRITE ?40,"Forgery : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,161,"E"))
+14 WRITE !,"Fraud : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,162,"E"))
+15 WRITE ?40,"Gambling : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,163,"E"))
+16 WRITE !,"Solicitation/Prostitution : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,164,"E"))
+17 WRITE ?40,"Sexual Misconduct : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,165,"E"))
+18 WRITE !!,?15,"Offender"
+19 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,166,"E"))
+20 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,167,"E"))
+21 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,168,"E"))
+22 WRITE ?30,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,169,"E"))
+23 WRITE !?10,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,170,"E"))
+24 IF $Y+15>IOSL
DO HDR1
if END
QUIT
+25 WRITE !!!?25,"VIOLATION CHARGES Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,171,"E"))
+26 WRITE !!,"Courtesy Warnings Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,172,"E"))
+27 WRITE !!,"Non-Traffic : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,173,"E"))
+28 WRITE !,"Moving : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,174,"E"))
+29 WRITE !,"Parking : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,175,"E"))
+30 WRITE !!,?15,"Offender"
+31 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,176,"E"))
+32 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,177,"E"))
+33 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,178,"E"))
+34 WRITE ?30,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,179,"E"))
+35 IF $Y+10>IOSL
DO HDR1
if END
QUIT
+36 WRITE !!,"USDC Notice Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,180,"E"))
+37 WRITE !!,"Non-Traffic : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,181,"E"))
+38 WRITE !,"Moving : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,182,"E"))
+39 WRITE !,"Parking : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,183,"E"))
+40 WRITE !!,?15,"Offender"
+41 WRITE !!?10,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,184,"E"))
+42 WRITE ?30,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,185,"E"))
+43 WRITE !?10,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,186,"E"))
+44 WRITE ?30,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,187,"E"))
+45 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 WRITE !!,"VA Facility ",$PIECE(^ESP(912.4,ESPIEN,1,1,0),U)
BDT WRITE ?45,"BEGINNING DATE: ",$GET(^UTILITY("DIQ1",$JOB,912.4,ESPIEN,.01,"E"))
EDT WRITE !,"Date/Time Printed",?45,"ENDING DATE: ",$GET(^UTILITY("DIQ1",$JOB,912.4,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,!?70,"PAGE ",$JUSTIFY(PAGE,3)
+2 QUIT