source: FOIAVistA/trunk/r/POLICE_AND_SECURITY-ES/ESPUCM2.m@ 1704

Last change on this file since 1704 was 628, checked in by George Lilly, 15 years ago

initial load of FOIAVistA 6/30/08 version

File size: 4.0 KB
Line 
1ESPUCM2 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 3/93
2 ;;1.0;POLICE & SECURITY;;Mar 31, 1994
3EN Q ;CALLED FROM ESPUCM1
4PRT ;PRINT REPORT CONTINUED- PRINTS 2ND PAGE
5 D HDR
6 S TOT=$G(^UTILITY("DIQ1",$J,912.41,DA,37,"E"))+$G(^UTILITY("DIQ1",$J,912.41,DA,38,"E"))+$G(^UTILITY("DIQ1",$J,912.41,DA,39,"E"))+$G(^UTILITY("DIQ1",$J,912.41,DA,40,"E"))
7 S ESPX=" " D MSG S ESPX="Weapons Total # : "_TOT D MSG
8 S ESPX=" " D MSG S ESPX="Firearms : "_$G(^UTILITY("DIQ1",$J,912.41,DA,37,"E")) D MSG
9 S ESPX="Knives/Hatchets/Clubs : "_$G(^UTILITY("DIQ1",$J,912.41,DA,38,"E")) D MSG
10 S ESPX="Explosives : "_$G(^UTILITY("DIQ1",$J,912.41,DA,39,"E")) D MSG
11 S ESPX="Other : "_$G(^UTILITY("DIQ1",$J,912.41,DA,40,"E")) D MSG
12 S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
13 S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,41,"E")) D MSG
14 S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,42,"E")) D MSG
15 S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,43,"E")) D MSG
16 S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,44,"E")) D MSG
17 S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,45,"E")) D MSG
18 S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"DISTURBANCES Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,46,"E")) D MSG
19 S ESPX=" " D MSG S ESPX="Bomb Threats : "_$G(^UTILITY("DIQ1",$J,912.41,DA,47,"E")) D MSG
20 S ESPX="Demonstrations : "_$G(^UTILITY("DIQ1",$J,912.41,DA,48,"E")) D MSG
21 S ESPX="Disorderly Conduct : "_$G(^UTILITY("DIQ1",$J,912.41,DA,49,"E")) D MSG
22 S ESPX="Employee Threat : "_$G(^UTILITY("DIQ1",$J,912.41,DA,50,"E")) D MSG
23 S ESPX="Other Threat : "_$G(^UTILITY("DIQ1",$J,912.41,DA,51,"E")) D MSG
24 S ESPX="Smoking Violation : "_$G(^UTILITY("DIQ1",$J,912.41,DA,52,"E")) D MSG
25 S ESPX="Trespassing : "_$G(^UTILITY("DIQ1",$J,912.41,DA,53,"E")) D MSG
26 S ESPX="Unauthorized Photograph : "_$G(^UTILITY("DIQ1",$J,912.41,DA,54,"E")) D MSG
27 S ESPX="Unauth/Poss/Use/Keys/Cards : "_$G(^UTILITY("DIQ1",$J,912.41,DA,55,"E")) D MSG
28 S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
29 S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,56,"E")) D MSG
30 S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,57,"E")) D MSG
31 S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,58,"E")) D MSG
32 S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,59,"E")) D MSG
33 S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,60,"E")) D MSG
34 S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"MANSLAUGHTER/MURDER Total # : "_($G(^UTILITY("DIQ1",$J,912.41,DA,61,"E"))+$G(^UTILITY("DIQ1",$J,912.41,DA,62,"E"))) D MSG
35 S ESPX=" " D MSG S ESPX="Manslaughter/Murder/Negligent : "_$G(^UTILITY("DIQ1",$J,912.41,DA,61,"E")) D MSG
36 S ESPX="Manslaughter/Murder/Non-Neg. : "_$G(^UTILITY("DIQ1",$J,912.41,DA,62,"E")) D MSG
37 S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender"_$E(SPACES,1,20)_"Victim" D MSG
38 S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,63,"E"))_$E(SPACES,1,20)_"Employee : "_$G(^UTILITY("DIQ1",$J,912.41,DA,68,"E")) D MSG
39 S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,64,"E"))_$E(SPACES,1,20)_"Outsider : "_$G(^UTILITY("DIQ1",$J,912.41,DA,69,"E")) D MSG
40 S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,65,"E"))_$E(SPACES,1,20)_"Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,70,"E")) D MSG
41 S ESPX="Unknown : "_$G(^UTILITY("DIQ1",$J,912.41,DA,66,"E"))_$E(SPACES,1,20)_"Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,71,"E")) D MSG
42 S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,67,"E")) D MSG
43 D PRT^ESPUCM3
44 QUIT
45HDR ;PRINT HEADING
46 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
47 S ESPX=$E(SPACES,1,35)_"VA POLICE" D MSG S ESPX=$E(SPACES,1,33)_"UNIFORM CRIME REPORT" D MSG
48 S ESPX=" " D MSG S ESPX="VA Facility "_$P(^ESP(912.4,ESPIEN,1,1,0),U) D MSG
49 QUIT
50MSG S ^TMP($J,"UCM",ESPL)=ESPX,ESPL=ESPL+1
51 QUIT
Note: See TracBrowser for help on using the repository browser.