ESPUCM3 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 4/93
;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN Q ;CALLED FROM ESPUCM2
PRT ;PRINT REPORT CONTINUED- PRINTS 3RD PAGE
D HDR
S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"NON-CRIMINAL INVESTIGATIONS Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,72,"E")) D MSG
S ESPX=" " D MSG S ESPX="Missing Patient Reaction : "_$G(^UTILITY("DIQ1",$J,912.41,DA,73,"E")) D MSG
S ESPX="Government Veh. Accident : "_$G(^UTILITY("DIQ1",$J,912.41,DA,75,"E")) D MSG
S ESPX="Personal Veh. Accident : "_$G(^UTILITY("DIQ1",$J,912.41,DA,76,"E")) D MSG
S ESPX="Assist Law Officer : "_$G(^UTILITY("DIQ1",$J,912.41,DA,77,"E")) D MSG
S ESPX="Staff Assist : "_$G(^UTILITY("DIQ1",$J,912.41,DA,78,"E")) D MSG
S ESPX="Alarm Response : "_$G(^UTILITY("DIQ1",$J,912.41,DA,79,"E")) D MSG
S ESPX="Safety Hazard : "_$G(^UTILITY("DIQ1",$J,912.41,DA,80,"E")) D MSG
S ESPX="Information Only : "_$G(^UTILITY("DIQ1",$J,912.41,DA,188,"E")) D MSG
S ESPX=$E(SPACES,1,25)_"OTHER OFFENSES Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,81,"E")) D MSG
S ESPX=" " D MSG S ESPX="Arson : "_$G(^UTILITY("DIQ1",$J,912.41,DA,82,"E")) D MSG
S ESPX="Arson $ Damage : "_$G(^UTILITY("DIQ1",$J,912.41,DA,83,"E")) D MSG
S ESPX="Possession of Stolen Property : "_$G(^UTILITY("DIQ1",$J,912.41,DA,84,"E")) D MSG
S ESPX="Receive/Sell Stolen Property : "_$G(^UTILITY("DIQ1",$J,912.41,DA,85,"E")) D MSG
S ESPX="Suicide : "_$G(^UTILITY("DIQ1",$J,912.41,DA,86,"E")) D MSG
S ESPX="Suicide Attempt : "_$G(^UTILITY("DIQ1",$J,912.41,DA,87,"E")) D MSG
S ESPX=$E(SPACES,1,25)_"RAPES Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,88,"E")) D MSG
S ESPX=" " D MSG S ESPX="Attempted Rape : "_$G(^UTILITY("DIQ1",$J,912.41,DA,89,"E")) D MSG
S ESPX="Forcible Rape : "_$G(^UTILITY("DIQ1",$J,912.41,DA,90,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender"_$E(SPACES,1,25)_"Victim" D MSG
S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,91,"E"))_$E(SPACES,1,20)_"Employee : "_$G(^UTILITY("DIQ1",$J,912.41,DA,96,"E")) D MSG
S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,92,"E"))_$E(SPACES,1,20)_"Outsider : "_$G(^UTILITY("DIQ1",$J,912.41,DA,97,"E")) D MSG
S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,93,"E"))_$E(SPACES,1,20)_"Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,98,"E")) D MSG
S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,94,"E"))_$E(SPACES,1,20)_"Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,99,"E")) D MSG
S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,95,"E")) D MSG
S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"ROBBERY Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,100,"E")) D MSG
S ESPX=" " D MSG S ESPX="Armed Robbery : "_$G(^UTILITY("DIQ1",$J,912.41,DA,101,"E")) D MSG
S ESPX=" " D MSG S ESPX="$100 & Above : "_$G(^UTILITY("DIQ1",$J,912.41,DA,102,"E")) D MSG
S ESPX="<$100 : "_$G(^UTILITY("DIQ1",$J,912.41,DA,103,"E")) D MSG
S ESPX=" " D MSG S ESPX="Strong Armed Robbery : "_$G(^UTILITY("DIQ1",$J,912.41,DA,104,"E")) D MSG
S ESPX=" " D MSG S ESPX="$100 & Above : "_$G(^UTILITY("DIQ1",$J,912.41,DA,105,"E")) D MSG
S ESPX="<$100 : "_$G(^UTILITY("DIQ1",$J,912.41,DA,106,"E")) D MSG
S ESPX=" " D MSG S ESPX="Drugs Only : "_$G(^UTILITY("DIQ1",$J,912.41,DA,107,"E")) D MSG
S ESPX=" " D MSG S ESPX="$100 & Above : "_$G(^UTILITY("DIQ1",$J,912.41,DA,108,"E")) D MSG
S ESPX="<$100 : "_$G(^UTILITY("DIQ1",$J,912.41,DA,109,"E")) D MSG
D PRT^ESPUCM4
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[HESPUCM3 4258 printed Dec 13, 2024@02:30:37 Page 2
ESPUCM3 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 4/93
+1 ;;1.0;POLICE & SECURITY;;Mar 31, 1994
EN ;CALLED FROM ESPUCM2
QUIT
PRT ;PRINT REPORT CONTINUED- PRINTS 3RD PAGE
+1 DO HDR
+2 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,25)_"NON-CRIMINAL INVESTIGATIONS Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,72,"E"))
DO MSG
+3 SET ESPX=" "
DO MSG
SET ESPX="Missing Patient Reaction : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,73,"E"))
DO MSG
+4 SET ESPX="Government Veh. Accident : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,75,"E"))
DO MSG
+5 SET ESPX="Personal Veh. Accident : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,76,"E"))
DO MSG
+6 SET ESPX="Assist Law Officer : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,77,"E"))
DO MSG
+7 SET ESPX="Staff Assist : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,78,"E"))
DO MSG
+8 SET ESPX="Alarm Response : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,79,"E"))
DO MSG
+9 SET ESPX="Safety Hazard : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,80,"E"))
DO MSG
+10 SET ESPX="Information Only : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,188,"E"))
DO MSG
+11 SET ESPX=$EXTRACT(SPACES,1,25)_"OTHER OFFENSES Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,81,"E"))
DO MSG
+12 SET ESPX=" "
DO MSG
SET ESPX="Arson : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,82,"E"))
DO MSG
+13 SET ESPX="Arson $ Damage : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,83,"E"))
DO MSG
+14 SET ESPX="Possession of Stolen Property : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,84,"E"))
DO MSG
+15 SET ESPX="Receive/Sell Stolen Property : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,85,"E"))
DO MSG
+16 SET ESPX="Suicide : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,86,"E"))
DO MSG
+17 SET ESPX="Suicide Attempt : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,87,"E"))
DO MSG
+18 SET ESPX=$EXTRACT(SPACES,1,25)_"RAPES Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,88,"E"))
DO MSG
+19 SET ESPX=" "
DO MSG
SET ESPX="Attempted Rape : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,89,"E"))
DO MSG
+20 SET ESPX="Forcible Rape : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,90,"E"))
DO MSG
+21 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,3)_"Offender"_$EXTRACT(SPACES,1,25)_"Victim"
DO MSG
+22 SET ESPX=" "
DO MSG
SET ESPX="Employee: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,91,"E"))_$EXTRACT(SPACES,1,20)_"Employee : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,96,"E"))
DO MSG
+23 SET ESPX="Outsider: "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,92,"E"))_$EXTRACT(SPACES,1,20)_"Outsider : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,97,"E"))
DO MSG
+24 SET ESPX="Patient : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,93,"E"))_$EXTRACT(SPACES,1,20)_"Patient : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,98,"E"))
DO MSG
+25 SET ESPX="Unknown : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,94,"E"))_$EXTRACT(SPACES,1,20)_"Visitor : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,99,"E"))
DO MSG
+26 SET ESPX="Visitor : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,95,"E"))
DO MSG
+27 SET ESPX=" "
DO MSG
SET ESPX=$EXTRACT(SPACES,1,25)_"ROBBERY Total # : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,100,"E"))
DO MSG
+28 SET ESPX=" "
DO MSG
SET ESPX="Armed Robbery : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,101,"E"))
DO MSG
+29 SET ESPX=" "
DO MSG
SET ESPX="$100 & Above : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,102,"E"))
DO MSG
+30 SET ESPX="<$100 : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,103,"E"))
DO MSG
+31 SET ESPX=" "
DO MSG
SET ESPX="Strong Armed Robbery : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,104,"E"))
DO MSG
+32 SET ESPX=" "
DO MSG
SET ESPX="$100 & Above : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,105,"E"))
DO MSG
+33 SET ESPX="<$100 : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,106,"E"))
DO MSG
+34 SET ESPX=" "
DO MSG
SET ESPX="Drugs Only : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,107,"E"))
DO MSG
+35 SET ESPX=" "
DO MSG
SET ESPX="$100 & Above : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,108,"E"))
DO MSG
+36 SET ESPX="<$100 : "_$GET(^UTILITY("DIQ1",$JOB,912.41,DA,109,"E"))
DO MSG
+37 DO PRT^ESPUCM4
+38 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