source: FOIAVistA/trunk/r/MEDICINE-MC/MCARORF2.m@ 1783

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

initial load of FOIAVistA 6/30/08 version

File size: 4.1 KB
Line 
1MCARORF2 ; GENERATED FROM 'MCRHPHYS' PRINT TEMPLATE (#1015) ; 10/04/96 ; (continued)
2 G BEGIN
3N W !
4T W:$X ! I '$D(DIOT(2)),DN,$D(IOSL),$S('$D(DIWF):1,$P(DIWF,"B",2):$P(DIWF,"B",2),1:1)+$Y'<IOSL,$D(^UTILITY($J,1))#2,^(1)?1U1P1E.E X ^(1)
5 S DISTP=DISTP+1,DILCT=DILCT+1 D:'(DISTP#100) CSTP^DIO2
6 Q
7DT I $G(DUZ("LANG"))>1,Y W $$OUT^DIALOGU(Y,"DD") Q
8 I Y W $P("JAN^FEB^MAR^APR^MAY^JUN^JUL^AUG^SEP^OCT^NOV^DEC",U,$E(Y,4,5))_" " W:Y#100 $J(Y#100\1,2)_"," W Y\10000+1700 W:Y#1 " "_$E(Y_0,9,10)_":"_$E(Y_"000",11,12) Q
9 W Y Q
10M D @DIXX
11 Q
12BEGIN ;
13 S:'$D(DN) DN=1 S DISTP=$G(DISTP),DILCT=$G(DILCT)
14 D N:$X>0 Q:'DN W ?0 W "Sub-Cutaneous Nodules"
15 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,4) W:Y]"" $J($S($D(DXS(44,Y)):DXS(44,Y),1:Y),8)
16 D N:$X>0 Q:'DN W ?0 W "Synovial (Baker's) Cyst"
17 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,5) W:Y]"" $J($S($D(DXS(45,Y)):DXS(45,Y),1:Y),8)
18 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "Heel Pain"
19 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,6) W:Y]"" $J($S($D(DXS(46,Y)):DXS(46,Y),1:Y),8)
20 D N:$X>0 Q:'DN W ?0 W "Tenosynovitis (Tendon Rubs)"
21 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,7) W:Y]"" $J($S($D(DXS(47,Y)):DXS(47,Y),1:Y),8)
22 D N:$X>0 Q:'DN W ?0 W "Temporal Artery Tenderness"
23 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,8) W:Y]"" $J($S($D(DXS(48,Y)):DXS(48,Y),1:Y),8)
24 D N:$X>0 Q:'DN W ?0 W "Costochondritis"
25 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,9) W:Y]"" $J($S($D(DXS(49,Y)):DXS(49,Y),1:Y),8)
26 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "F U N C T I O N A L A S S E S S M E N T :"
27 D N:$X>0 Q:'DN W ?0 W "Grip Strength - left"
28 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,10) W:Y]"" $J(Y,8,0)
29 D N:$X>40 Q:'DN W ?40 W " mmHg"
30 D N:$X>0 Q:'DN W ?0 W "Grip Strength - Right"
31 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,11) W:Y]"" $J(Y,8,0)
32 D N:$X>40 Q:'DN W ?40 W " mmHg"
33 D N:$X>0 Q:'DN W ?0 W "Schober Test (10 cm Base)"
34 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,12) W:Y]"" $J(Y,8,0)
35 D N:$X>40 Q:'DN W ?40 W " cm"
36 D N:$X>0 Q:'DN W ?0 W "Chest Expansion"
37 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,13) W:Y]"" $J(Y,8,0)
38 D N:$X>40 Q:'DN W ?40 W " cm"
39 D N:$X>0 Q:'DN W ?0 W "Occiput - Wall"
40 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,14) W:Y]"" $J(Y,8,0)
41 D N:$X>40 Q:'DN W ?40 W " cm"
42 D N:$X>0 Q:'DN W ?0 W "Finger-to-Palm Crease - left"
43 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,15) W:Y]"" $J(Y,8,1)
44 D N:$X>40 Q:'DN W ?40 W " cm"
45 D N:$X>0 Q:'DN W ?0 W "Finger-to-Palm Crease - Right"
46 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,16) W:Y]"" $J(Y,8,1)
47 D N:$X>40 Q:'DN W ?40 W " cm"
48 D N:$X>0 Q:'DN W ?0 W "Interincisor Distance"
49 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,17) W:Y]"" $J(Y,8,0)
50 D N:$X>40 Q:'DN W ?40 W " mm"
51 D N:$X>0 Q:'DN W ?0 W "Schirmer Test"
52 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,18) W:Y]"" $J(Y,8,0)
53 D N:$X>40 Q:'DN W ?40 W " mm"
54 D N:$X>0 Q:'DN W ?0 W "Walk Time (50 feet)"
55 D N:$X>32 Q:'DN W ?32 S Y=$P(X,U,19) W:Y]"" $J(Y,8,0)
56 D N:$X>40 Q:'DN W ?40 W " secs"
57 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "M I S C E L L A N E O U S :"
58 D N:$X>0 Q:'DN W ?0 W "Functional Class (ARA)"
59 D N:$X>63 Q:'DN W ?63 S Y=$P(X,U,20) W:Y]"" $J($S($D(DXS(50,Y)):DXS(50,Y),1:Y),16)
60 D N:$X>0 Q:'DN W ?0 W "Disease Severity - Patient Estimate"
61 D N:$X>63 Q:'DN W ?63 S Y=$P(X,U,21) W:Y]"" $J($S($D(DXS(51,Y)):DXS(51,Y),1:Y),16)
62 D N:$X>0 Q:'DN W ?0 W "Disease Severity - Physician Estimate"
63 D N:$X>63 Q:'DN W ?63 S Y=$P(X,U,52) W:Y]"" $J($S($D(DXS(52,Y)):DXS(52,Y),1:Y),16)
64 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "J O I N T E X A M I N A T I O N:"
65 D N:$X>0 Q:'DN W ?0 W "LEFT"
66 D N:$X>70 Q:'DN W ?70 W "RIGHT"
67 D N:$X>0 Q:'DN W ?0 W "----"
68 D N:$X>70 Q:'DN W ?70 W "-----"
69 D N:$X>0 Q:'DN W ?0 S Y=$P(X,U,22) W:Y]"" $S($D(DXS(53,Y)):DXS(53,Y),1:Y)
70 D N:$X>30 Q:'DN W ?30 W "Fingers - DIPs"
71 D N:$X>70 Q:'DN W ?70 S Y=$P(X,U,23) W:Y]"" $J($S($D(DXS(54,Y)):DXS(54,Y),1:Y),8)
72 D N:$X>0 Q:'DN W ?0 S Y=$P(X,U,24) W:Y]"" $S($D(DXS(55,Y)):DXS(55,Y),1:Y)
73 D N:$X>30 Q:'DN W ?30 W "Fingers - PIPs"
74 D N:$X>70 Q:'DN W ?70 S Y=$P(X,U,25) W:Y]"" $J($S($D(DXS(56,Y)):DXS(56,Y),1:Y),8)
75 D N:$X>0 Q:'DN W ?0 S Y=$P(X,U,26) W:Y]"" $S($D(DXS(57,Y)):DXS(57,Y),1:Y)
76 D N:$X>30 Q:'DN W ?30 W "MCPs"
77 D N:$X>70 Q:'DN W ?70 S Y=$P(X,U,27) W:Y]"" $J($S($D(DXS(58,Y)):DXS(58,Y),1:Y),8)
78 D N:$X>0 Q:'DN W ?0 S Y=$P(X,U,28) W:Y]"" $S($D(DXS(59,Y)):DXS(59,Y),1:Y)
79 G ^MCARORF3
Note: See TracBrowser for help on using the repository browser.