source: WorldVistAEHR/trunk/r/MEDICINE-MC/MCARORL.m@ 1078

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

initial load of WorldVistAEHR

File size: 4.1 KB
Line 
1MCARORL ; GENERATED FROM 'MCRHLAB' PRINT TEMPLATE (#1009) ; 10/04/96 ; (FILE 701, MARGIN=80)
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 F Y=0:0 Q:$Y>-1 W !
15 D N:$X>0 Q:'DN W ?0 W "PATIENT LABORATORY INFORMATION"
16 D T Q:'DN D N D N:$X>0 Q:'DN W ?0 W "C H E M I S T R Y :"
17 D N:$X>39 Q:'DN W ?39 W "S E R O L O G Y :"
18 D N:$X>0 Q:'DN W ?0 W "Aldolase"
19 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,63)) ^(63) K DIP K:DN Y
20 D N:$X>39 Q:'DN W ?39 W "Anti-DNA Antibody"
21 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,563)) ^(563) K DIP K:DN Y
22 D N:$X>0 Q:'DN W ?0 W "Albumin"
23 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,14)) ^(14) K DIP K:DN Y
24 D N:$X>39 Q:'DN W ?39 W "Anti-skeletal muscle"
25 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,595)) ^(595) K DIP K:DN Y
26 D N:$X>0 Q:'DN W ?0 W "Alkaline phosphatase"
27 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,17)) ^(17) K DIP K:DN Y
28 D N:$X>39 Q:'DN W ?39 W "Anti-RNP"
29 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,594)) ^(594) K DIP K:DN Y
30 D N:$X>0 Q:'DN W ?0 W "Urea nitrogen"
31 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,3)) ^(3) K DIP K:DN Y
32 D N:$X>39 Q:'DN W ?39 W "Hepatitis B Antibody"
33 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,581)) ^(581) K DIP K:DN Y
34 D N:$X>0 Q:'DN W ?0 W "Calcium"
35 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,9)) ^(9) K DIP K:DN Y
36 D N:$X>39 Q:'DN W ?39 W "Hepatitis B Antigen"
37 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,553)) ^(553) K DIP K:DN Y
38 D N:$X>0 Q:'DN W ?0 W "Cholesterol"
39 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,12)) ^(12) K DIP K:DN Y
40 D N:$X>39 Q:'DN W ?39 W "Complement CH50"
41 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,587)) ^(587) K DIP K:DN Y
42 D N:$X>0 Q:'DN W ?0 W "CPK"
43 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,41)) ^(41) K DIP K:DN Y
44 D N:$X>39 Q:'DN W ?39 W "Cryoglobulins"
45 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,549)) ^(549) K DIP K:DN Y
46 D N:$X>0 Q:'DN W ?0 W "Creatinine"
47 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,4)) ^(4) K DIP K:DN Y
48 D N:$X>39 Q:'DN W ?39 W "Complement"
49 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,547)) ^(547) K DIP K:DN Y
50 D N:$X>0 Q:'DN W ?0 W "Glucose"
51 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,2)) ^(2) K DIP K:DN Y
52 D N:$X>39 Q:'DN W ?39 W "Complement C4"
53 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,548)) ^(548) K DIP K:DN Y
54 D N:$X>0 Q:'DN W ?0 W "LDH"
55 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,18)) ^(18) K DIP K:DN Y
56 D N:$X>39 Q:'DN W ?39 W "HLA B27"
57 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,174)) ^(174) K DIP K:DN Y
58 D N:$X>0 Q:'DN W ?0 W "PO4"
59 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,10)) ^(10) K DIP K:DN Y
60 D N:$X>39 Q:'DN W ?39 W "IGA"
61 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,625)) ^(625) K DIP K:DN Y
62 D N:$X>0 Q:'DN W ?0 W "SGOT"
63 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,19)) ^(19) K DIP K:DN Y
64 D N:$X>39 Q:'DN W ?39 W "IGG"
65 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,627)) ^(627) K DIP K:DN Y
66 D N:$X>0 Q:'DN W ?0 W "SPGT"
67 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,20)) ^(20) K DIP K:DN Y
68 D N:$X>39 Q:'DN W ?39 W "IGM"
69 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,DA,631)) ^(631) K DIP K:DN Y
70 D N:$X>0 Q:'DN W ?0 W "Bilirubin, total"
71 D N:$X>27 Q:'DN W ?27 W:$D(^UTILITY("DIQ1",$J,63.04,DA,15)) ^(15) K DIP K:DN Y
72 D N:$X>39 Q:'DN W ?39 W "Latex fixation"
73 D N:$X>69 Q:'DN W ?69 W:$D(^UTILITY("DIQ1",$J,63.04,639)) ^(639) K DIP K:DN Y
74 D N:$X>0 Q:'DN W ?0 W "Protein, total"
75 G ^MCARORL1
Note: See TracBrowser for help on using the repository browser.