source: WorldVistAEHR/trunk/r/GEN_MED_OTHER-GMV/GMVWT4.m@ 1211

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

initial load of WorldVistAEHR

File size: 1.6 KB
RevLine 
[613]1GMVWT4 ;HIOFO/YH,FT-KYOCERA WEIGHT GRAPH - MACRO CALL ;11/6/01 14:50
2 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
3 ;
4 ; This routine uses the following IAs:
5 ; <None>
6 ;
7EN1 ;
8CALL W !,"CALL BOX, '"_GWT(1)_"', '"_GWT(2)_"', '"_GWT(3)_"', '"_GWT(4)_"', '"_GWT(5)_"', '"_GWT(6)_"', '"_GWT(7)_"', '"_GWT(8)_"';"
9 W !,"CALL DATE" S J(1)=1,J(2)=J(1)+9 D WRTCALL^GMVBP4
10 W !,"CALL TIME" S J(1)=17,J(2)=J(1)+9 D WRTCALL^GMVBP4
11 W !,"CALL WTG, "_GINI_", "_^TMP($J,"GMRK","G141")_", "_^("G142")_", "_^("G143")_", "_^("G144")_", "_^("G145")_", "_^("G146")
12 W ", "_^TMP($J,"GMRK","G147")_", "_^("G148")_", "_^("G149")_", "_^("G150")_";"
13 W !,"CALL PLS1, "_GINI_", "_^TMP($J,"GMRK","G141")_", '"_^("G161")_"', "_^("G142")_", '"_^("G162")_"', "_^("G143")_", '"_^("G163")_"', "_^("G144")_", '"_^("G164")_"', "_^("G145")_", '"_^("G165")_"', "_^("G146")_", '"_^("G166")_"', "
14 W ^TMP($J,"GMRK","G147")_", '"_^("G167")_"', "_^("G148")_", '"_^("G168")_"', "_^("G149")_", '"_^("G169")_"';"
15 W !,"CALL PLS2, "_^TMP($J,"GMRK","G150")_", '"_^("G170")_"';"
16WT W !,"CALL WTLB" S J(1)=101,J(2)=J(1)+9 D WRTCALL^GMVBP4
17 W !,"CALL WTKG" S J(1)=121,J(2)=J(1)+9 D WRTCALL^GMVBP4
18 W !,"CALL QUAL" S J(1)=181,J(2)=J(1)+9 D WRTCALL^GMVBP4
19 W !,"CALL BMI" S J(1)=211,J(2)=J(1)+9 D WRTCALL^GMVBP4
20HT W !,"CALL HT" S J(1)=301,J(2)=J(1)+9 D WRTCALL^GMVBP4
21HTCM W !,"CALL HTCM" S J(1)=321,J(2)=J(1)+9 D WRTCALL^GMVBP4
22 W !,"CALL HQ" S J(1)=341,J(2)=J(1)+9 D WRTCALL^GMVBP4
23 W !,"CALL ALLQ, '"_$G(GLINE(1))_"';" W !,"CALL ALL2, '"_$G(GLINE(2))_"';"
24PID W !,"CALL PID, """_GMVNM_""", '"_GMVDOB_"', '"_GMVGEN_"', '"_GMVWRD_"', '"_^TMP($J,"GMRK","G199")_"', '"_GMVRMBD_"', '"_GMRDIV_"', '"_GSTRFIN_"';"
25 W !,"RES; EXIT;"
26 Q
Note: See TracBrowser for help on using the repository browser.