source: WorldVistAEHR/trunk/r/MEDICINE-MC/MCARORL1.m@ 1154

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

initial load of WorldVistAEHR

File size: 4.1 KB
Line 
1MCARORL1 ; GENERATED FROM 'MCRHLAB' PRINT TEMPLATE (#1009) ; 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>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,13)) ^(13) K DIP K:DN Y
15 D N:$X>39 Q:'DN W ?39 W "VDRL"
16 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,561)) ^(561) K DIP K:DN Y
17 D N:$X>0 Q:'DN W ?0 W "Uric acid"
18 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,11)) ^(11) K DIP K:DN Y
19 D T Q:'DN D N D N D N:$X>0 Q:'DN W ?0 W "A D D I T I O N A L"
20 D N:$X>0 Q:'DN W ?0 W "C H E M I S T R Y :"
21 D N:$X>39 Q:'DN W ?39 W "U R I N E "
22 D N:$X>0 Q:'DN W ?0 W "Salicylate"
23 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,45)) ^(45) K DIP K:DN Y
24 D N:$X>39 Q:'DN W ?39 W "UR Glucose"
25 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,690)) ^(690) K DIP K:DN Y
26 D N:$X>0 Q:'DN W ?0 W "T-4"
27 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,771)) ^(771) K DIP K:DN Y
28 D N:$X>39 Q:'DN W ?39 W "UR Protein"
29 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,691)) ^(691) K DIP K:DN Y
30 D N:$X>0 Q:'DN W ?0 W "T-3"
31 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,738)) ^(738) K DIP K:DN Y
32 D N:$X>39 Q:'DN W ?39 W "RBC/HPF"
33 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,694)) ^(694) K DIP K:DN Y
34 D N:$X>0 Q:'DN W ?0 W "TSH"
35 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,741)) ^(741) K DIP K:DN Y
36 D N:$X>39 Q:'DN W ?39 W "WBC/HPF"
37 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,693)) ^(693) K DIP K:DN Y
38 D N:$X>0 Q:'DN W ?0 W "Sodium"
39 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,5)) ^(5) K DIP K:DN Y
40 D N:$X>39 Q:'DN W ?39 W "Granular/cast/lpf"
41 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,703)) ^(703) K DIP K:DN Y
42 D N:$X>0 Q:'DN W ?0 W "Choloride"
43 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,7)) ^(7) K DIP K:DN Y
44 D N:$X>39 Q:'DN W ?39 W "WBC/CASTS/LPF"
45 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,700)) ^(700) K DIP K:DN Y
46 D N:$X>0 Q:'DN W ?0 W "Bicarbonate"
47 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,454)) ^(454) K DIP K:DN Y
48 D N:$X>39 Q:'DN W ?39 W "Creatinine Clearance"
49 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,96)) ^(96) K DIP K:DN Y
50 D T Q:'DN D N D N D N:$X>0 Q:'DN W ?0 W "H E M A T O L O G Y :"
51 D N:$X>0 Q:'DN W ?0 W "WBC"
52 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,384)) ^(384) K DIP K:DN Y
53 D N:$X>0 Q:'DN W ?0 W "HGB"
54 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,386)) ^(386) K DIP K:DN Y
55 D N:$X>0 Q:'DN W ?0 W "HCT"
56 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,387)) ^(387) K DIP K:DN Y
57 D N:$X>0 Q:'DN W ?0 W "Neutrophil"
58 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,468)) ^(468) K DIP K:DN Y
59 D N:$X>0 Q:'DN W ?0 W "Bands"
60 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,395)) ^(395) K DIP K:DN Y
61 D N:$X>0 Q:'DN W ?0 W "Lymphs"
62 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,396)) ^(396) K DIP K:DN Y
63 D N:$X>0 Q:'DN W ?0 W "Monocytes"
64 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,397)) ^(397) K DIP K:DN Y
65 D N:$X>0 Q:'DN W ?0 W "Eosino"
66 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,398)) ^(398) K DIP K:DN Y
67 D N:$X>0 Q:'DN W ?0 W "Baso"
68 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,399)) ^(399) K DIP K:DN Y
69 D N:$X>0 Q:'DN W ?0 W "Platelet"
70 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,649)) ^(649) K DIP K:DN Y
71 D N:$X>0 Q:'DN W ?0 W "Reticulocytes"
72 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,428)) ^(428) K DIP K:DN Y
73 D N:$X>0 Q:'DN W ?0 W "Westergren ESR"
74 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,469)) ^(469) K DIP K:DN Y
75 G ^MCARORL2
Note: See TracBrowser for help on using the repository browser.