VistA-FOIAVistA/r/GEN_MED_OTHER-GMV/GMVHW2.m

32 lines
1015 B
Mathematica

GMVHW2 ;HIOFO/YH,FT-HP LASER WEIGHT CHART - BOX DATA ;11/6/01 15:23
;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
;
; This routine uses the following IAs:
; <None>
;
EN1 ;PRINT DATE
W !,"SD1,277,2,1,4,9,5,1,6,5,7,4;SS;"
S J=17.5,J(1)=1 D WRTLN^GMVHG3
;PRINT TIME
S J=17.1,J(1)=17 D WRTLN^GMVHG3
W !,"SD1,277,2,1,4,8,5,1,6,5,7,4;SS"
LB ;PRINT WEIGHT IN LB
S J=-.4,J(1)=101 D WRTLN^GMVHG3
KG ;PRINT WEIGHT IN KG
S J=-.9,J(1)=121 D WRTLN^GMVHG3
QUAL ;PRINT WEIGHT QUALIFIER
S J=-1.4,J(1)=181 D WRTLN^GMVHG3
BMI ;BODY MASS INDEX
S J=-1.9,J(1)=211 D WRTLN^GMVHG3
HT ;PRINT HEIGHT
S J=-2.4,J(1)=301 D WRTLN^GMVHG3
HTCM ;HEIGHT IN CM
S J=-2.9,J(1)=321 D WRTLN^GMVHG3
HTQ ;HEIGHT QUALIFIER
S J=-3.4,J(1)=341 D WRTLN^GMVHG3
PTID ;PRINT PATIENT ID
W !,"SD1,277,2,1,4,9,5,1,6,5,7,4;SS;PA-1,-5.6;LB"_GMVNM_"#;PA-1,-5.9;LB"_GMVDOB_" "_GMVGEN_"#;"
W !,"PA-1,-6.2;LB"_GMVWRD_"#;PA7,-6.2;LB"_GMVRMBD_"#;PA7,-6.5;LB"_^TMP($J,"GMRK","G199")_"#;"
W !,"PA-1,-6.5;LB"_GMRDIV_"#;"
W !,"PA-1,-6.8;LB"_GSTRFIN_"#;" Q