source: WorldVistAEHR/trunk/r/GEN_MED_REC_VITALS-GMRV/GMRVHW1.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: 2.1 KB
Line 
1GMRVHW1 ;HIRMFO/YH-HP LASER WEIGHT CHART - FORM AND GRAPH ;5/15/97
2 ;;4.0;Vitals/Measurements;**1**;Apr 25, 1997
3EN1 ;RESET PRINTER, SET PAGE SIZE (PORTRAIT) AND PCL PICTURE FRAME 8 1/2"*11"
4 W !,$CHAR(27),"E",$CHAR(27),"&l1E",$CHAR(27),"*c5952x7920Y",$CHAR(27),"%0B"
5 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;"
6 S I(1)="" F I=1:1:5 S I(1)=I(1)_"PU"_(1.6*I)_",18;PD"_(1.6*I)_",-3.5;"
7 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;"
8 W !,I(1),"PU;"
9 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;"
10LABEL ;PRINT LABEL
11 W !,"DT#,1;"
12 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;"
13 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;"
14 W !,"PA-.4,11;LB5#;PA-2,10;LB"_GWT(5)_"#;PA0,10;PD16,10;PU;PA-.4,9;LB5#;"
15 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#;"
16 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#;"
17LBOX ;LABEL THE LOWER BOX
18 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#;"
19 W !,"PA-3,-2;LBBody Mass Index#;"
20 W !,"PA-3,-2.5;LBHeight (in)#;PA-3,-3;LB (cm)#;PA-3,-3.5;LB Qualifier#;"
21 W !,"SD1,277,2,1,4,8,5,1,6,5,7,4;SS;"
22 W !,"PA-3,-4;LBW: Weight ** - Value off of graph#;"
23 W !,"PA-3,-4.3;LB"_$E($G(GLINE(1)),1,100)_"#;" W !,"LB"_$E($G(GLINE(1)),101,180)_"#;"
24 W !,"PA-3,-5.1;LB"_$E($G(GLINE(2)),1,100)_"#;"
25 W !,"SD1,277,2,1,4,9,5,1,6,5,7,4;SS;PA12,-6;LBWEIGHT CHART#;"
26 W !,"PA12,-5.6;LBMEDICAL RECORD#;PA12,-6.4;LBVAF 10-2614f#;"
27 I GTNM=0 W !,"PA3,10;LBTHERE IS NO DATA FOR THIS PERIOD#;"
28 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)
29 W !,"PU;LO1;" D EN1^GMRVHW2
30 ;ENTER PCL MODE, RESET PRINTER AND EJECT PAGE
31Q1 ;
32 W !,"PA-3,18;",$CHAR(27),"&r0F",$CHAR(27),"%0A" Q
Note: See TracBrowser for help on using the repository browser.