source: WorldVistAEHR/trunk/r/GEN_MED_OTHER-GMV/GMVHPN1.m@ 824

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

initial load of WorldVistAEHR

File size: 1.8 KB
Line 
1GMVHPN1 ;HIOFO/YH,FT-HP LASER PAIN CHART - FORM ;11/6/01 15:16
2 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
3 ;
4 ; This routine uses the following IAs:
5 ; <None>
6 ;
7EN1 ;RESET PRINTER, SET PAGE SIZE (PORTRAIT) AND PCL PICTURE FRAME 8 1/2"*11"
8EN2 ;
9 W !,$CHAR(27),"E",$CHAR(27),"&l1E",$CHAR(27),"*c5952x7920Y",$CHAR(27),"%0B"
10 W !,"IN;SP1;IP;SC-3,18,-16,12,1;PW.3;PA0,0;FT3,1;RR16,12;PW.3;PA0,-1;EA16,12;PA-3,-1;EA16,0;PW.15;PU;"
11 S I(1)="" F I=1:1:5 S I(1)=I(1)_"PU"_(1.6*I)_",12;PD"_(1.6*I)_",-1;"
12 W !,I(1)
13 S I(1)="" F I=6:1:9 S I(1)=I(1)_"PU"_(1.6*I)_",12;PD"_(1.6*I)_",-1;"
14 W !,I(1) K I
15 ;PRINT LABEL
16 W !,"PU;DT#,1;"
17 W !,"SD1,277,2,1,4,10,5,1,6,5,7,4;SS;LO12;PA-2,11.6;LBDate/Time#;"
18 W !,"PA-2,10.8;LBPain Scale#;PA-0.6,10;LB10#;PU0,11;PD16,11;PU16,10;PD0,10;PU-0.4,9;LB9#;"
19 W !,"PU0,9;PD16,9;PU16,8;PD0,8;PU-0.4,8;LB8#;PU0,7;PD16,7;PU16,6;PD0,6;"
20 W !,"PU-0.4,7;LB7#PU0,5;PD16,5;PU16,4;PD0,4;PU-0.4,6;LB6#;"
21 W !,"PU-0.4,5;LB5#;PU-0.4,4;LB4#;PU0,3;PD16,3;PU16,2;PD0,2;"
22 W !,"PU-0.4,3;LB3#;PU0,1;PD16,1;PU-0.4,2;LB2#;PU-0.4,1;LB1#;"
23 ;LABEL THE LOWER BOX
24 W !,"SS;LO11;PA-1,-0.9;LBPain#;"
25 W !,"PA0,-2;LB0 - No pain 10 - Worst imaginable pain 99 - Unable to respond#;"
26 W !,"SD1,277,2,1,4,11,5,1,6,5,7,4;SS;PA12,-11.5;LBMedical Record#;PA12,-12;LBPain Chart#;"
27 W !,"PA12,-12.5;LBSF 512#;"
28 I GTNM=0 W !,"PA3,10;LBTHERE IS NO DATA FOR THIS PERIOD#;"
29 W "PW.3;SD1,277,2,1,4,8,5,1,6,5,7,4;SS;LO7;PU;" S I=0 F S I=$O(GRAPHR(I)) Q:I'>0 W !,GRAPHR(I)
30 W !,"PU;LO1;"
31 ;PRINT DATE
32 W !,"SD1,277,2,1,4,9,5,1,6,5,7,4;SS;"
33 S J=11.5,J(1)=1 D WRTLN^GMVHPN2
34 ;PRINT TIME
35 S J=11.2,J(1)=17 D WRTLN^GMVHPN2
36 ;PRINT PAIN
37 S J=-0.8,J(1)=332 D WRTLN^GMVHPN2
38 D PTID^GMVHPN2
39 ;ENTER PCL MODE, RESET PRINTER AND EJECT PAGE
40Q1 ;
41 W !,"PA-3,22;",$CHAR(27),"&r0F",$CHAR(27),"%0A" K I Q
Note: See TracBrowser for help on using the repository browser.