source: FOIAVistA/trunk/r/GEN_MED_OTHER-GMV/GMVHW1.m@ 1163

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

initial load of FOIAVistA 6/30/08 version

File size: 2.2 KB
Line 
1GMVHW1 ;HIOFO/YH,FT-HP LASER WEIGHT CHART - FORM AND GRAPH ;11/6/01 15:23
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"
8 W !,$CHAR(27),"E",$CHAR(27),"&l1E",$CHAR(27),"*c5952x7920Y",$CHAR(27),"%0B"
9 W !,"IN;SP1;IP;SC-3,18,-10,18,1;PW.15;PA0,0;FT3,1;RR16,18;PW.3;PA0,-3.5,EA16,18;PA-3,-3.5;EA16,0;PW.15;"
10 S I(1)="" F I=1:1:5 S I(1)=I(1)_"PU"_(1.6*I)_",18;PD"_(1.6*I)_",-3.5;"
11 W !,I(1) S I(1)="" F I=6:1:10 S I(1)=I(1)_"PU"_(1.6*I)_",18;PD"_(1.6*I)_",-3.5;"
12 W !,I(1),"PU;"
13 W !,"PA16,-3;PD-3,-3;PA-3,-2.5;PD16,-2.5;PU16,-2;PD-3,-2;PU-3,-1.5;PD16,-1.5;PU16,-1;PD-3,-1;PU-3,-0.5;PD16,-0.5;PU;"
14LABEL ;PRINT LABEL
15 W !,"DT#,1;"
16 W !,"PW.3;SD1,277,2,1,4,10,5,1,6,5,7,4;SS;LO12;PA-2,17.5;LBDate/Time#;PA-2,16.9;LBPounds/Kgs#;PA-2,16;LB"_GWT(8)_"#;PA0,16;PD16,16;PU;"
17 W !,"PA-.4,15;LB5#;PA-2,14;LB"_GWT(7)_"#;PA0,14;PD16,14;PU;;PA-.4,13;LB5#;PA-2,12;LB"_GWT(6)_"#;PA0,12;PD16,12;PU;"
18 W !,"PA-.4,11;LB5#;PA-2,10;LB"_GWT(5)_"#;PA0,10;PD16,10;PU;PA-.4,9;LB5#;"
19 W !,"PA-2,8;LB"_GWT(4)_"#;PA0,8;PD16,8;PU;PA-.4,7;LB5#;PA-2,6;LB"_GWT(3)_"#;PA0,6;PD16,6;PU;PA-.4,5;LB5#;"
20 W !,"PA-2,4;LB"_GWT(2)_"#;PA0,4;PD16,4;PU;PA-.4,3;LB5#;PA-2,2;LB"_GWT(1)_"#;PA0,2;PD16,2;PU;PA-.4,1;LB5#;"
21LBOX ;LABEL THE LOWER BOX
22 W !,"SD1,277,2,1,4,8,5,1,6,5,7,4;SS;LO11;PA-3,-0.5;LBWeight (lb)#;PA-3,-1;LB (kg)#;PA-3,-1.5;LB Qualifier#;"
23 W !,"PA-3,-2;LBBody Mass Index#;"
24 W !,"PA-3,-2.5;LBHeight (in)#;PA-3,-3;LB (cm)#;PA-3,-3.5;LB Qualifier#;"
25 W !,"SD1,277,2,1,4,8,5,1,6,5,7,4;SS;"
26 W !,"PA-3,-4;LBW: Weight ** - Value off of graph#;"
27 W !,"PA-3,-4.3;LB"_$E($G(GLINE(1)),1,100)_"#;" W !,"LB"_$E($G(GLINE(1)),101,180)_"#;"
28 W !,"PA-3,-5.1;LB"_$E($G(GLINE(2)),1,100)_"#;"
29 W !,"SD1,277,2,1,4,9,5,1,6,5,7,4;SS;PA12,-6;LBWEIGHT CHART#;"
30 W !,"PA12,-5.6;LBMEDICAL RECORD#;PA12,-6.4;LBVAF 10-2614f#;"
31 I GTNM=0 W !,"PA3,10;LBTHERE IS NO DATA FOR THIS PERIOD#;"
32 W "SD1,277,2,1,4,8,5,1,6,5,7,4;SS;PW.3;LO7;PU;" S I=0 F S I=$O(GRAPHW(I)) Q:I'>0 W !,GRAPHW(I)
33 W !,"PU;LO1;" D EN1^GMVHW2
34 ;ENTER PCL MODE, RESET PRINTER AND EJECT PAGE
35Q1 ;
36 W !,"PA-3,18;",$CHAR(27),"&r0F",$CHAR(27),"%0A" Q
Note: See TracBrowser for help on using the repository browser.