1 | OCXDI039 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
|
---|
2 | ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
|
---|
3 | ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
|
---|
4 | ;
|
---|
5 | S ;
|
---|
6 | ;
|
---|
7 | D DOT^OCXDIAG
|
---|
8 | ;
|
---|
9 | ;
|
---|
10 | K REMOTE,LOCAL,OPCODE,REF
|
---|
11 | F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
|
---|
12 | .S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
|
---|
13 | ;
|
---|
14 | G ^OCXDI03A
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^ABNORMAL LAB RESULT (INFO)
|
---|
21 | ;;R^"860.2:","860.22:2",5,"E"
|
---|
22 | ;;D^Abnormal lab: |LAB TEST PRINT NAME| |LAB RESULT| |LAB COLLECTION D/T|
|
---|
23 | ;;EOR^
|
---|
24 | ;;KEY^860.2:^ORDER REQUIRES ELECTRONIC SIGNATURE
|
---|
25 | ;;R^"860.2:",.01,"E"
|
---|
26 | ;;D^ORDER REQUIRES ELECTRONIC SIGNATURE
|
---|
27 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
28 | ;;D^ELECTRONIC SIGNATURE
|
---|
29 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
30 | ;;D^ORDER REQUIRES ELECTRONIC SIGNATURE
|
---|
31 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
32 | ;;D^1
|
---|
33 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
34 | ;;D^ELECTRONIC SIGNATURE
|
---|
35 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
36 | ;;D^ORDER REQUIRES ELEC SIGNATURE
|
---|
37 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
38 | ;;D^Order requires electronic signature.
|
---|
39 | ;;EOR^
|
---|
40 | ;;KEY^860.2:^SITE FLAGGED ORDER
|
---|
41 | ;;R^"860.2:",.01,"E"
|
---|
42 | ;;D^SITE FLAGGED ORDER
|
---|
43 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
44 | ;;D^NEW SITE FLAGGED ORDER
|
---|
45 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
46 | ;;D^SIMPLE DEFINITION
|
---|
47 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
48 | ;;D^NEW SITE FLAGGED ORDER
|
---|
49 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
50 | ;;D^1
|
---|
51 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
52 | ;;D^NEW SITE FLAGGED ORDER
|
---|
53 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
54 | ;;D^SITE-FLAGGED ORDER
|
---|
55 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
56 | ;;D^Site-flagged order placed: |ORDERABLE ITEM NAME| |ORDER ST D/T|
|
---|
57 | ;;EOR^
|
---|
58 | ;;KEY^860.2:^SITE FLAGGED RESULT
|
---|
59 | ;;R^"860.2:",.01,"E"
|
---|
60 | ;;D^SITE FLAGGED RESULT
|
---|
61 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
62 | ;;D^SITE FLAGGED LAB RESULT
|
---|
63 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
64 | ;;D^SIMPLE DEFINITION
|
---|
65 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
66 | ;;D^SITE FLAGGED FINAL LAB RESULT
|
---|
67 | ;;R^"860.2:","860.21:2",.01,"E"
|
---|
68 | ;;D^SITE FLAGGED IMAGING RESULT
|
---|
69 | ;;R^"860.2:","860.21:2",.02,"E"
|
---|
70 | ;;D^SIMPLE DEFINITION
|
---|
71 | ;;R^"860.2:","860.21:2",1,"E"
|
---|
72 | ;;D^SITE FLAGGED FINAL IMAGING RESULT
|
---|
73 | ;;R^"860.2:","860.21:3",.01,"E"
|
---|
74 | ;;D^SITE FLAGGED CONSULT RESULT
|
---|
75 | ;;R^"860.2:","860.21:3",.02,"E"
|
---|
76 | ;;D^SIMPLE DEFINITION
|
---|
77 | ;;R^"860.2:","860.21:3",1,"E"
|
---|
78 | ;;D^SITE FLAGGED FINAL CONSULT RESULT
|
---|
79 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
80 | ;;D^1
|
---|
81 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
82 | ;;D^SITE FLAGGED LAB RESULT OR SITE FLAGGED IMAGING RESULT OR SITE FLAGGED CONSULT RESULT
|
---|
83 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
84 | ;;D^SITE-FLAGGED RESULTS
|
---|
85 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
86 | ;;D^Site-flagged result available: |ORDERABLE ITEM NAME| |ORDER ST D/T|
|
---|
87 | ;;EOR^
|
---|
88 | ;;KEY^860.2:^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
|
---|
89 | ;;R^"860.2:",.01,"E"
|
---|
90 | ;;D^BIOCHEM ABNORMALITIES/CONTRAST MEDIA CHECK
|
---|
91 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
92 | ;;D^RENAL-CONTR MED COMP
|
---|
93 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
94 | ;;D^RENAL/CONTRAST MEDIA COMPLICATIONS
|
---|
95 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
96 | ;;D^1
|
---|
97 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
98 | ;;D^RENAL-CONTR MED COMP
|
---|
99 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
100 | ;;D^BIOCHEM ABNORMALITY FOR CONTRAST MEDIA
|
---|
101 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
102 | ;;D^Procedure uses non-barium contrast media - abnormal biochem result: |ABNORMAL RENAL BIOCHEM RESULTS|
|
---|
103 | ;;EOR^
|
---|
104 | ;;KEY^860.2:^RECENT CHOLECYSTOGRAM ORDER
|
---|
105 | ;;R^"860.2:",.01,"E"
|
---|
106 | ;;D^RECENT CHOLECYSTOGRAM ORDER
|
---|
107 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
108 | ;;D^RECENT CHOLECGRM
|
---|
109 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
110 | ;;D^PATIENT HAS RECENT CHOLECYSTOGRAM
|
---|
111 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
112 | ;;D^1
|
---|
113 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
114 | ;;D^RECENT CHOLECGRM
|
---|
115 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
116 | ;;D^RECENT ORAL CHOLECYSTOGRAM
|
---|
117 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
118 | ;;D^Recent Cholecystogram: |RECENT CHOLECYSTOGRAM TEXT| [|RECENT CHOLECYSTOGRAM ORDER STATUS|]
|
---|
119 | ;;EOR^
|
---|
120 | ;;KEY^860.2:^RENAL FUNCTIONS OVER AGE 65 CHECK
|
---|
121 | ;;R^"860.2:",.01,"E"
|
---|
122 | ;;D^RENAL FUNCTIONS OVER AGE 65 CHECK
|
---|
123 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
124 | ;;D^PHARM PAT OVER 65
|
---|
125 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
126 | ;;D^PHARMACY PATIENT OVER 65
|
---|
127 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
128 | ;;D^1
|
---|
129 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
130 | ;;D^PHARM PAT OVER 65
|
---|
131 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
132 | ;;D^RENAL FUNCTIONS OVER AGE 65
|
---|
133 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
134 | ;;D^Patient >65. Renal Results: |FORMATTED RENAL LAB RESULTS|
|
---|
135 | ;;EOR^
|
---|
136 | ;;KEY^860.2:^CONCURRENT LAB ORDERS FOR ANGIOGRAM, CATH - PERIPHERAL
|
---|
137 | ;;R^"860.2:",.01,"E"
|
---|
138 | ;;D^CONCURRENT LAB ORDERS FOR ANGIOGRAM, CATH - PERIPHERAL
|
---|
139 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
140 | ;;D^ANGIOGRAM
|
---|
141 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
142 | ;;D^SESSION ORDER FOR ANGIOGRAM
|
---|
143 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
144 | ;;D^1
|
---|
145 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
146 | ;;D^ANGIOGRAM
|
---|
147 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
148 | ;;D^MISSING LAB TESTS FOR ANGIOGRAM PROCEDURE
|
---|
149 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
150 | ;;D^Missing Labs for Angiogram: |MISSING ANGIOGRAM, CATH PERIF LAB TESTS|
|
---|
151 | ;;EOR^
|
---|
152 | ;;KEY^860.2:^ALLERGY - CONTRAST MEDIA REACTION
|
---|
153 | ;;R^"860.2:",.01,"E"
|
---|
154 | ;;D^ALLERGY - CONTRAST MEDIA REACTION
|
---|
155 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
156 | ;;D^ALLERGY
|
---|
157 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
158 | ;;D^CONTRAST MEDIA ALLERGY
|
---|
159 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
160 | ;;D^1
|
---|
161 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
162 | ;;D^ALLERGY
|
---|
163 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
164 | ;;D^ALLERGY-CONTRAST MEDIA INTERACTION
|
---|
165 | ;1;
|
---|
166 | ;
|
---|