source: WorldVistAEHR/trunk/r/POLICE_AND_SECURITY-ES/ESPUCFP4.m@ 1608

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

initial load of WorldVistAEHR

File size: 3.6 KB
Line 
1ESPUCFP4 ;DALISC/CKA -PRINT UNIFORM CRIME REPORT (CONT)- 3/99
2 ;;1.0;POLICE & SECURITY;**27**;Mar 31, 1994
3EN Q ;CALLED FROM ESPUCFP3
4PRT ;PRINT REPORT CONTINUED- PRINTS 4TH PAGE
5 I $Y+15>IOSL D HDR Q:END
6 W !!?25,"VANDALISM"
7 W !!,"Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,152,"E"))
8 W !,"Total $ : ",$G(^UTILITY("DIQ1",$J,912.31,DA,158,"E"))
9 W !!,?15,"Offender"
10 W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,153,"E"))
11 W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,154,"E"))
12 W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,155,"E"))
13 W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.31,DA,156,"E"))
14 W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,157,"E"))
15 I $Y+15>IOSL D HDR1 Q:END
16 W !!!?25,"VICE SOLICITING Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,159,"E"))
17 W !!,"Bribery : ",$G(^UTILITY("DIQ1",$J,912.31,DA,160,"E"))
18 W ?40,"Forgery : ",$G(^UTILITY("DIQ1",$J,912.31,DA,161,"E"))
19 W !,"Fraud : ",$G(^UTILITY("DIQ1",$J,912.31,DA,162,"E"))
20 W ?40,"Gambling : ",$G(^UTILITY("DIQ1",$J,912.31,DA,163,"E"))
21 W !,"Solicitation/Prostitution : ",$G(^UTILITY("DIQ1",$J,912.31,DA,164,"E"))
22 W ?40,"Sexual Misconduct : ",$G(^UTILITY("DIQ1",$J,912.31,DA,165,"E"))
23 W !!,?15,"Offender"
24 W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,166,"E"))
25 W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,167,"E"))
26 W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,168,"E"))
27 W ?30,"Unknown : ",$G(^UTILITY("DIQ1",$J,912.31,DA,169,"E"))
28 W !?10,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,170,"E"))
29 I $Y+15>IOSL D HDR1 Q:END
30 W !!!?25,"VIOLATION CHARGES Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,171,"E"))
31 W !!,"Courtesy Warnings Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,172,"E"))
32 W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.31,DA,173,"E"))
33 W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.31,DA,174,"E"))
34 W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.31,DA,175,"E"))
35 W !!,?15,"Offender"
36 W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,176,"E"))
37 W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,177,"E"))
38 W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,178,"E"))
39 W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,179,"E"))
40 I $Y+15>IOSL D HDR1 Q:END
41 W !!,"USDC Notice Total # : ",$G(^UTILITY("DIQ1",$J,912.31,DA,180,"E"))
42 W !!,"Non-Traffic : ",$G(^UTILITY("DIQ1",$J,912.31,DA,181,"E"))
43 W !,"Moving : ",$G(^UTILITY("DIQ1",$J,912.31,DA,182,"E"))
44 W !,"Parking : ",$G(^UTILITY("DIQ1",$J,912.31,DA,183,"E"))
45 W !!,?15,"Offender"
46 W !!?10,"Employee: ",$G(^UTILITY("DIQ1",$J,912.31,DA,184,"E"))
47 W ?30,"Outsider: ",$G(^UTILITY("DIQ1",$J,912.31,DA,185,"E"))
48 W !?10,"Patient : ",$G(^UTILITY("DIQ1",$J,912.31,DA,186,"E"))
49 W ?30,"Visitor : ",$G(^UTILITY("DIQ1",$J,912.31,DA,187,"E"))
50 QUIT
51EX W !!,"Done." Q
52HDR ;PRINT HEADING
53 I $E(IOST,1,2)="C-" W !,"Press RETURN to continue or '^' to exit: " R X:DTIME S END='$T!(X="^") Q:END
54 S PAGE=PAGE+1 W @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$J(PAGE,3)
55 S ESPFACI=$P(^ESP(912.3,ESPIEN,1,ESPN,0),U)
56 S ESPFACI=$P($G(^DG(40.8,ESPFACI,0)),U,1)
57 W !!,"VA Facility ",ESPFACI
58BDT W ?45,"BEGINNING DATE: ",$G(^UTILITY("DIQ1",$J,912.3,ESPIEN,.01,"E"))
59EDT W !,"Date/Time Printed",?45,"ENDING DATE: ",$G(^UTILITY("DIQ1",$J,912.3,ESPIEN,.02,"E"))
60 D NOW^%DTC S Y=% X ^DD("DD") W !,$P(Y,":",1,2)
61 QUIT
62HDR1 I $E(IOST,1,2)="C-" W !,"Press RETURN to continue or '^' to exit: " R X:DTIME S END='$T!(X="^") Q:END
63 S PAGE=PAGE+1 W @IOF,!?25,"UNIFORM CRIME REPORT",?70,"PAGE ",$J(PAGE,3)
64 QUIT
Note: See TracBrowser for help on using the repository browser.