source: WorldVistAEHR/trunk/r/POLICE_AND_SECURITY-ES/ESPUCM6.m@ 1742

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

initial load of WorldVistAEHR

File size: 2.5 KB
Line 
1ESPUCM6 ;DALISC/CKA -UNIFORM CRIME REPORT IN MAIL MESSAGE (CONT)- 4/93
2 ;;1.0;POLICE & SECURITY;**13**;Mar 31, 1994
3EN Q ;CALLED FROM ESPUCM5
4PRT ;PRINT REPORT CONTINUED- PRINTS 6TH PAGE
5 D HDR
6 S ESPX=" " D MSG S ESPX=$E(SPACES,1,25)_"VIOLATION CHARGES Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,171,"E")) D MSG
7 S ESPX=" " D MSG S ESPX="Courtesy Warnings Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,172,"E")) D MSG
8 S ESPX=" " D MSG S ESPX="Non-Traffic : "_$G(^UTILITY("DIQ1",$J,912.41,DA,173,"E")) D MSG
9 S ESPX="Moving : "_$G(^UTILITY("DIQ1",$J,912.41,DA,174,"E")) D MSG
10 S ESPX="Parking : "_$G(^UTILITY("DIQ1",$J,912.41,DA,175,"E")) D MSG
11 S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
12 S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,176,"E")) D MSG
13 S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,177,"E")) D MSG
14 S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,178,"E")) D MSG
15 S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,179,"E")) D MSG
16 S ESPX=" " D MSG S ESPX="USDC Notice Total # : "_$G(^UTILITY("DIQ1",$J,912.41,DA,180,"E")) D MSG
17 S ESPX=" " D MSG S ESPX="Non-Traffic : "_$G(^UTILITY("DIQ1",$J,912.41,DA,181,"E")) D MSG
18 S ESPX="Moving : "_$G(^UTILITY("DIQ1",$J,912.41,DA,182,"E")) D MSG
19 S ESPX="Parking : "_$G(^UTILITY("DIQ1",$J,912.41,DA,183,"E")) D MSG
20 S ESPX=" " D MSG S ESPX=$E(SPACES,1,3)_"Offender" D MSG
21 S ESPX=" " D MSG S ESPX="Employee: "_$G(^UTILITY("DIQ1",$J,912.41,DA,184,"E")) D MSG
22 S ESPX="Outsider: "_$G(^UTILITY("DIQ1",$J,912.41,DA,185,"E")) D MSG
23 S ESPX="Patient : "_$G(^UTILITY("DIQ1",$J,912.41,DA,186,"E")) D MSG
24 S ESPX="Visitor : "_$G(^UTILITY("DIQ1",$J,912.41,DA,187,"E")) D MSG
25 W "..Done.",!!
26 I ESPFLG D
27 .W "The report will be forwarded to the national database. You may now enter"
28 .W !,"any additional people you would like to forward this report to.",!
29SEND ;SEND MAIL MESSAGE
30 S XMSUB="UNIFORM CRIME REPORT"
31 S XMTEXT="^TMP($J,""UCM"","
32 S XMDUN="Police & Security Package"
33 D ^XMD
34 I ESPFLG D VAPTX
35 QUIT
36HDR ;PRINT HEADING
37 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
38 S ESPX=$E(SPACES,1,35)_"VA POLICE" D MSG S ESPX=$E(SPACES,1,33)_"UNIFORM CRIME REPORT" D MSG
39 S ESPX=" " D MSG S ESPX="VA Facility "_$P(^ESP(912.4,ESPIEN,1,1,0),U) D MSG
40 QUIT
41MSG S ^TMP($J,"UCM",ESPL)=ESPX,ESPL=ESPL+1
42 QUIT
43 ;
44VAPTX S XMY("XXX@Q-VAP.VA.GOV")=""
45 D ENT1^XMD
46 W !,"...Forwarded to National Database.",!
47 Q
Note: See TracBrowser for help on using the repository browser.