source: WorldVistAEHR/trunk/r/GEN_MED_REC_VITALS-GMRV/GMRVKPN1.m@ 1240

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

initial load of WorldVistAEHR

File size: 2.3 KB
RevLine 
[613]1GMRVKPN1 ;HCIOFO/YH-KYOCERA PAIN CHART MACRO-1 ;2/12/99
2 ;;4.0;Vitals/Measurements;**9**;Apr 25, 1997
3EN1 W !,"!R! RES; DAM;"
4BOX W !,"MCRO BOX;"
5 W !,"UNIT C; SLM 3; STM 1; MAP 0,0; SPD 0.05; BOX 16,13;"
6 W !,"FONT 40; MAP -2,0.5; TEXT 'Date/Time';"
7 W !,"SPD 0.01; MAP -0.5,2; TEXT '10'; MAP 0,1; DAP 16,1;MAP 16,1; DAP 0,1;"
8 W !,"MAP -0.5,3; TEXT '9'; MAP 0,2; DAP 16.2,2;"
9 W !,"MAP -0.5,4; TEXT '8'; MAP 0,3; DAP 16,3;"
10 W:GTNM=0 "MAP 2,5; TEXT 'THERE IS NO DATA FOR THIS PERIOD';"
11 W !,"MAP -0.5,5; TEXT '7'; MAP 0,4; DAP 16,4;"
12 W !,"MAP -0.5,6; TEXT '6';MAP 0,5; DAP 16,5;"
13 W !,"MAP -0.5,7; TEXT '5'; MAP 0,6; DAP 16,6;"
14 W !,"MAP -0.5,8; TEXT '4'; MAP 0,7; DAP 16,7;"
15 W !,"MAP -0.5,9; TEXT '3'; MAP 0,8; DAP 16,8;"
16 W !,"MAP -0.5,10; TEXT '2'; MAP -0.5,11; TEXT '1'; MAP 0,9; DAP 16,9;"
17 W !,"MAP 0,10; DAP 16,10;"
18 W !,"MAP 0,11; DAP 16,11;"
19 W !,"MAP -1,12.7; TEXT 'Pain';"
20VERT W !,"SPD 0.05;" S I(1)="" F I=1:1:9 S I(1)=I(1)_"MAP "_(1.6*I)_",0; DAP "_(1.6*I)_",13;"
21 W !,I(1) W !,"MAP 16,12; DAP 0,12;"
22 W !,"MAP 0,13.5; TEXT '0 - No pain 10 - Worst imaginable pain 99 - Unable to respond';"
23FORM W !,"MAP 12,22.4; TEXT 'Medical Record'; MAP 12,22.8; TEXT 'Pain Chart'; MAP 12,23.2; TEXT 'SF 512';"
24 W !,"ENDM;"
25DATE W !,"MCRO DATE; FONT 56;" S J=0.4 D WRTEXT^GMRVBP2
26 W !,"ENDM;"
27TIME W !,"MCRO TIME;" S J=0.8 D WRTEXT^GMRVBP2
28 W !,"ENDM;"
29RPG W !,"MCRO RPG; SPD 0.03; MAP %1, %2; DAP 2, %3; DAP 3.6, %4; DAP 5.2, %5; DAP 6.8, %6; DAP 8.4, %7; DAP 10, %8; DAP 11.6, %9;"
30 W !,"DAP 13.2, %10; DAP 14.8, %11;"
31 W !,"ENDM;"
32RESP W !,"MCRO RSP;" S J=12.7 D
33 . S I(1)="" F I=1:1:5 S I(1)=I(1)_$S(I(1)="":"",1:" ")_"MAP "_(1.6*(I-1)+0.2)_","_J_"; TEXT %"_I_";"
34 . W !,I(1)
35 . S I(1)="" F I=6:1:10 S I(1)=I(1)_$S(I(1)="":"",1:" ")_"MAP "_(1.6*(I-1)+0.2)_","_J_"; TEXT %"_I_";"
36 . W !,I(1)
37 W !,"ENDM;"
38PID W !,"MCRO PID; MAP -2,21.6; TEXT %1; MAP -2,22; TEXT %2; MAP 2.5,22; TEXT %3; MAP -2,22.4; TEXT %4; MAP 6,23.2; TEXT %5; MAP 6,22.8; TEXT %6; MAP -2,22.8; TEXT %7; MAP -2,23.2; TEXT %8;"
39 W !,"ENDM;"
40RS1 W !,"MCRO RS1; MAP %1,%2; TEXT %3; MAP 2.0,%4; TEXT %5; MAP 3.6,%6; TEXT %7; MAP 5.2,%8; TEXT %9; MAP 6.8,%10; TEXT %11; MAP 8.4,%12; TEXT %13; MAP 10,%14; TEXT %15; MAP 11.6,%16; TEXT %17; MAP 13.2,%18; TEXT %19;"
41 W !,"ENDM;"
42RS2 W !,"MCRO RS2; MAP 14.8,%1; TEXT %2;"
43 W !,"ENDM;"
44 Q
Note: See TracBrowser for help on using the repository browser.