ESPUCP5 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/93
;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN Q ;CALLED FROM ESPUCP4
PRT ;PRINT REPORT CONTINUED- PRINTS 5TH PAGE
D HDR Q:END
W !!,"Motor Vehicles : ",$G(^UTILITY("DIQ1",$J,912.41,DA,142,"E"))
W !!,"Government Motor Vehicle : ",$G(^UTILITY("DIQ1",$J,912.41,DA,143,"E"))
W !,"$ Loss : ",$G(^UTILITY("DIQ1",$J,912.41,DA,144,"E"))
W !,"$ Recovered : ",$G(^UTILITY("DIQ1",$J,912.41,DA,145,"E"))
W !,"Gov't Vehicles Recovered : ",$G(^UTILITY("DIQ1",$J,912.41,DA,146,"E"))
W !!,"Private Motor Vehicle : ",$G(^UTILITY("DIQ1",$J,912.41,DA,147,"E"))
W !,"$ Loss : ",$G(^UTILITY("DIQ1",$J,912.41,DA,148,"E"))
W !,"$ Recovered : ",$G(^UTILITY("DIQ1",$J,912.41,DA,149,"E"))
W !,"Private Veh's Recovered : ",$G(^UTILITY("DIQ1",$J,912.41,DA,150,"E"))
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 !!,?10,"Offender"
W !!,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,153,"E"))
W !,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,154,"E"))
W !,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,155,"E"))
W !,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.41,DA,156,"E"))
W !,"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 !,"Forgery : ",$G(^UTILITY("DIQ1",$J,912.41,DA,161,"E"))
W !,"Fraud : ",$G(^UTILITY("DIQ1",$J,912.41,DA,162,"E"))
W !,"Gambling : ",$G(^UTILITY("DIQ1",$J,912.41,DA,163,"E"))
W !,"Solicitation/Prostitution : ",$G(^UTILITY("DIQ1",$J,912.41,DA,164,"E"))
W !,"Sexual Misconduct : ",$G(^UTILITY("DIQ1",$J,912.41,DA,165,"E"))
W !!,?10,"Offender"
W !!,"Employee: ",$G(^UTILITY("DIQ1",$J,912.41,DA,166,"E"))
W !,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.41,DA,167,"E"))
W !,"Patient : ",$G(^UTILITY("DIQ1",$J,912.41,DA,168,"E"))
W !,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.41,DA,169,"E"))
W !,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.41,DA,170,"E"))
D PRT^ESPUCP6
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",?(IOM-10),"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
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HESPUCP5 2903 printed Oct 16, 2024@18:31:29 Page 2
ESPUCP5 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/93
+1 ;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN ;CALLED FROM ESPUCP4
QUIT
PRT ;PRINT REPORT CONTINUED- PRINTS 5TH PAGE
+1 DO HDR
if END
QUIT
+2 WRITE !!,"Motor Vehicles : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,142,"E"))
+3 WRITE !!,"Government Motor Vehicle : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,143,"E"))
+4 WRITE !,"$ Loss : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,144,"E"))
+5 WRITE !,"$ Recovered : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,145,"E"))
+6 WRITE !,"Gov't Vehicles Recovered : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,146,"E"))
+7 WRITE !!,"Private Motor Vehicle : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,147,"E"))
+8 WRITE !,"$ Loss : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,148,"E"))
+9 WRITE !,"$ Recovered : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,149,"E"))
+10 WRITE !,"Private Veh's Recovered : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,150,"E"))
+11 WRITE !!?25,"VANDALISM"
+12 WRITE !,"Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,152,"E"))
+13 WRITE !,"Total $ : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,158,"E"))
+14 WRITE !!,?10,"Offender"
+15 WRITE !!,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,153,"E"))
+16 WRITE !,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,154,"E"))
+17 WRITE !,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,155,"E"))
+18 WRITE !,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,156,"E"))
+19 WRITE !,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,157,"E"))
+20 WRITE !!?25,"VICE SOLICITING Total # : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,159,"E"))
+21 WRITE !!,"Bribery : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,160,"E"))
+22 WRITE !,"Forgery : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,161,"E"))
+23 WRITE !,"Fraud : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,162,"E"))
+24 WRITE !,"Gambling : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,163,"E"))
+25 WRITE !,"Solicitation/Prostitution : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,164,"E"))
+26 WRITE !,"Sexual Misconduct : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,165,"E"))
+27 WRITE !!,?10,"Offender"
+28 WRITE !!,"Employee: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,166,"E"))
+29 WRITE !,"Outsider: ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,167,"E"))
+30 WRITE !,"Patient : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,168,"E"))
+31 WRITE !,"Unknown : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,169,"E"))
+32 WRITE !,"Visitor : ",$GET(^UTILITY("DIQ1",$JOB,912.41,DA,170,"E"))
+33 DO PRT^ESPUCP6
+34 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",?(IOM-10),"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