ESPUCM5 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 4/93
;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN Q ;CALLED FROM ESPUCM4
PRT ;PRINT REPORT CONTINUED- PRINTS 5TH PAGE
D HDR
S ESPX=" " D MSG S ESPX="Motor Vehicles : "_$G(^UTILITY("DIQ1",$J,912.41,DA,142,"E")) D MSG
S ESPX=" " D MSG S ESPX="Government Motor Vehicle : "_$G(^UTILITY("DIQ1",$J,912.41,DA,143,"E")) D MSG
S ESPX="$ Loss : "_$G(^UTILITY("DIQ1",$J,912.41,DA,144,"E")) D MSG
S ESPX="$ Recovered : "_$G(^UTILITY("DIQ1",$J,912.41,DA,145,"E")) D MSG
S ESPX="Gov't Vehicles Recovered : "_$G(^UTILITY("DIQ1",$J,912.41,DA,146,"E")) D MSG
S ESPX=" " D MSG S ESPX="Private Motor Vehicle : "_$G(^UTILITY("DIQ1",$J,912.41,DA,147,"E")) D MSG
S ESPX="$ Loss : "_$G(^UTILITY("DIQ1",$J,912.41,DA,148,"E")) D MSG
S ESPX="$ Recovered : "_$G(^UTILITY("DIQ1",$J,912.41,DA,149,"E")) D MSG
S ESPX="Private Veh's Recovered : "_$G(^UTILITY("DIQ1",$J,912.41,DA,150,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"VANDALISM" D MSG
S ESPX="Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,152,"E")) D MSG
S ESPX="Total $ : "_$G(^UTILITY("DIQ1",$J,912.41,DA,158,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,153,"E")) D MSG
S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,154,"E")) D MSG
S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,155,"E")) D MSG
S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,156,"E")) D MSG
S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,157,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"VICE SOLICITING Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,159,"E")) D MSG
S ESPX=" " D MSG S ESPX="Bribery : "_$G(^UTILITY("DIQ1",$J,912.41,DA,160,"E")) D MSG
S ESPX="Forgery : "_$G(^UTILITY("DIQ1",$J,912.41,DA,161,"E")) D MSG
S ESPX="Fraud : "_$G(^UTILITY("DIQ1",$J,912.41,DA,162,"E")) D MSG
S ESPX="Gambling : "_$G(^UTILITY("DIQ1",$J,912.41,DA,163,"E")) D MSG
S ESPX="Solicitation/Prostitution : "_$G(^UTILITY("DIQ1",$J,912.41,DA,164,"E")) D MSG
S ESPX="Sexual Misconduct : "_$G(^UTILITY("DIQ1",$J,912.41,DA,165,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,166,"E")) D MSG
S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,167,"E")) D MSG
S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,168,"E")) D MSG
S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,169,"E")) D MSG
S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,170,"E")) D MSG
D PRT^ESPUCM6
QUIT
HDR ;PRINT HEADING
S PAGE=PAGE+1 S ESPX=$E(SPACES,1,25)_"DEPARTMENT OF VETERANS AFFAIRS"_$E(SPACES,1,(IOM-65))_"PAGE: "_$J(PAGE,3) D MSG
S ESPX=$E(SPACES,1,35)_"VA POLICE" D MSG S ESPX=$E(SPACES,1,33)_"UNIFORM CRIME REPORT" D MSG
S ESPX=" " D MSG S ESPX="VA Facility "_$P(^ESP(912.4,ESPIEN,1,1,0),U) D MSG
QUIT
MSG S ^TMP($J,"UCM",ESPL)=ESPX,ESPL=ESPL+1
QUIT
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HESPUCM5 3262 printed Oct 16, 2024@18:31:23 Page 2
ESPUCM5 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 4/93
+1 ;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN ;CALLED FROM ESPUCM4
QUIT
PRT ;PRINT REPORT CONTINUED- PRINTS 5TH PAGE
+1 DO HDR
+2 SET ESPX=" "
DO MSG
SET ESPX="Motor Vehicles : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,142,"E"))
DO MSG
+3 SET ESPX=" "
DO MSG
SET ESPX="Government Motor Vehicle : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,143,"E"))
DO MSG
+4 SET ESPX="$ Loss : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,144,"E"))
DO MSG
+5 SET ESPX="$ Recovered : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,145,"E"))
DO MSG
+6 SET ESPX="Gov't Vehicles Recovered : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,146,"E"))
DO MSG
+7 SET ESPX=" "
DO MSG
SET ESPX="Private Motor Vehicle : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,147,"E"))
DO MSG
+8 SET ESPX="$ Loss : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,148,"E"))
DO MSG
+9 SET ESPX="$ Recovered : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,149,"E"))
DO MSG
+10 SET ESPX="Private Veh's Recovered : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,150,"E"))
DO MSG
+11 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,25)_"VANDALISM"
DO MSG
+12 SET ESPX="Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,152,"E"))
DO MSG
+13 SET ESPX="Total $ : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,158,"E"))
DO MSG
+14 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,3)_"Offender"
DO MSG
+15 SET ESPX=" "
DO MSG
SET ESPX="Employee: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,153,"E"))
DO MSG
+16 SET ESPX="Outsider: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,154,"E"))
DO MSG
+17 SET ESPX="Patient : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,155,"E"))
DO MSG
+18 SET ESPX="Unknown : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,156,"E"))
DO MSG
+19 SET ESPX="Visitor : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,157,"E"))
DO MSG
+20 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,25)_"VICE SOLICITING Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,159,"E"))
DO MSG
+21 SET ESPX=" "
DO MSG
SET ESPX="Bribery : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,160,"E"))
DO MSG
+22 SET ESPX="Forgery : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,161,"E"))
DO MSG
+23 SET ESPX="Fraud : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,162,"E"))
DO MSG
+24 SET ESPX="Gambling : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,163,"E"))
DO MSG
+25 SET ESPX="Solicitation/Prostitution : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,164,"E"))
DO MSG
+26 SET ESPX="Sexual Misconduct : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,165,"E"))
DO MSG
+27 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,3)_"Offender"
DO MSG
+28 SET ESPX=" "
DO MSG
SET ESPX="Employee: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,166,"E"))
DO MSG
+29 SET ESPX="Outsider: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,167,"E"))
DO MSG
+30 SET ESPX="Patient : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,168,"E"))
DO MSG
+31 SET ESPX="Unknown : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,169,"E"))
DO MSG
+32 SET ESPX="Visitor : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,170,"E"))
DO MSG
+33 DO PRT^ESPUCM6
+34 QUIT
HDR ;PRINT HEADING
+1 SET PAGE=PAGE+1
SET ESPX=$EXTRACT(SPACES,1,25)_"DEPARTMENT OF VETERANS AFFAIRS"_$EXTRACT(SPACES,1,(IOM-65))_"PAGE: "_$JUSTIFY(PAGE,3)
DO MSG
+2 SET ESPX=$EXTRACT(SPACES,1,35)_"VA POLICE"
DO MSG
SET ESPX=$EXTRACT(SPACES,1,33)_"UNIFORM CRIME REPORT"
DO MSG
+3 SET ESPX=" "
DO MSG
SET ESPX="VA Facility "_$PIECE(^ESP(912.4,ESPIEN,1,1,0),U)
DO MSG
+4 QUIT
MSG SET ^TMP($JOB,"UCM",ESPL)=ESPX
SET ESPL=ESPL+1
+1 QUIT