source: FOIAVistA/trunk/r/GEN_MED_OTHER-GMV/GMVBP4.m@ 811

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

initial load of FOIAVistA 6/30/08 version

File size: 2.3 KB
Line 
1GMVBP4 ;HIOFO/YH,FT-CALL KYOCERA B/P GRAPH MACRO ;11/6/01 14:36
2 ;;5.0;GEN. MED. REC. - VITALS;;Oct 31, 2002
3 ;
4 ; This routine uses the following IAs:
5 ; <None>
6 ;
7EN3 ;CONTINUATION OF GMVBP3
8CALL W !,"CALL BOX;"
9 W !,"CALL DATE" S J(1)=1,J(2)=J(1)+9 D WRTCALL
10 W !,"CALL TIME" S J(1)=17,J(2)=J(1)+9 D WRTCALL
11SYSG ;SYSTOLIC BP GRAPH
12 W !,"CALL PLSG, "_^TMP($J,"GMRK","G226M")_", "_^("G226")_", "_^("G227")_", "_^("G228")_", "_^("G229")_", "_^("G230")_", "_^("G231")_", "_^("G232")_", "
13 W ^TMP($J,"GMRK","G233")_", "_^("G234")_", "_^("G235")_";"
14 W !,"CALL PLS1, "_^TMP($J,"GMRK","G226M")_", "_^("G226")_", '"_^("G1201")_"', "_^("G227")_", '"_^("G1202")_"', "_^("G228")_", '"_^("G1203")_"', "_^("G229")_", '"_^("G1204")_"', "
15 W ^TMP($J,"GMRK","G230")_", '"_^("G1205")_"', "_^("G231")_", '"_^("G1206")_"', "_^("G232")_", '"_^("G1207")_"', "_^("G233")_", '"_^("G1208")_"', "_^("G234")_", '"_^("G1209")_"';"
16 W !,"CALL PLS2, "_^TMP($J,"GMRK","G235")_", '"_^("G1210")_"';"
17 ;DIASTOLIC B/P GRAPH
18 W !,"CALL PLSG, "_^TMP($J,"GMRK","G210M")_", "_^("G210")_", "_^("G211")_", "_^("G212")_", "_^("G213")_", "_^("G214")_", "_^("G215")_", "_^("G216")_", "
19 W ^TMP($J,"GMRK","G217")_", "_^("G218")_", "_^("G219")_";"
20 W !,"CALL PLS1, "_^TMP($J,"GMRK","G210M")_", "_^("G210")_", '"_^("G1101")_"', "_^("G211")_", '"_^("G1102")_"', "_^("G212")_", '"_^("G1103")_"', "_^("G213")_", '"_^("G1104")_"', "_^("G214")_", '"_^("G1105")
21 W "', "_^TMP($J,"GMRK","G215")_", '"_^("G1106")_"', "_^("G216")_", '"_^("G1107")_"', "_^("G217")_", '"_^("G1108")_"', "_^("G218")_", '"_^("G1109")_"';"
22 W !,"CALL PLS2, "_^TMP($J,"GMRK","G219")_", '"_^("G1110")_"';"
23PULSE W !,"CALL PULS" S J(1)=98,J(2)=J(1)+9 D WRTCALL
24 W !,"CALL PQU" S J(1)=1121,J(2)=J(1)+9 D WRTCALL
25 W !,"CALL BP" S J(1)=130,J(2)=J(1)+9 D WRTCALL
26 W !,"CALL BP3" S J(1)=1241,J(2)=J(1)+9 D WRTCALL
27 W !,"CALL BPQUA" S J(1)=451,J(2)=J(1)+9 D WRTCALL
28 W !,"CALL MEAN" S J(1)=1221,J(2)=J(1)+9 D WRTCALL
29 W !,"CALL QUA, '"_$G(GLINE(1))_"';"
30 W !,"CALL QU2, '"_$G(GLINE(2))_"';"
31 W !,"CALL QU3, '"_$G(GLINE(3))_"';"
32 W !,"CALL PID, """_^TMP($J,"GMRK","G194")_""", '"_^("G196")_"', '"_^("G197")_"', '"_^("G198")_"', '"_^("G199")_"', '"_^("G200")_"', '"_GMRDIV_"', '"_GSTRFIN_"';"
33 W !,"RES; EXIT;"
34 Q
35WRTCALL ;
36 S I(1)="" F I=J(1):1:J(2) S I(1)=I(1)_", '"_^TMP($J,"GMRK","G"_I)_"'"
37 W I(1)_";"
38 Q
Note: See TracBrowser for help on using the repository browser.