1 | OCXDI038 ;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 ^OCXDI039
|
---|
15 | ;
|
---|
16 | Q
|
---|
17 | ;
|
---|
18 | DATA ;
|
---|
19 | ;
|
---|
20 | ;;D^SIMPLE DEFINITION
|
---|
21 | ;;R^"860.2:","860.21:7",1,"E"
|
---|
22 | ;;D^CONSULT FINAL RESULTS
|
---|
23 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
24 | ;;D^1
|
---|
25 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
26 | ;;D^ORDER FLAGGED FOR RESULTS AND (LAB RESULT OR IMAGING RESULT OR CONSULT RESULT)
|
---|
27 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
28 | ;;D^ORDERER-FLAGGED RESULTS
|
---|
29 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
30 | ;;D^Requested results available: |ORDERABLE ITEM NAME|
|
---|
31 | ;;EOR^
|
---|
32 | ;;KEY^860.2:^STAT ORDER PLACED
|
---|
33 | ;;R^"860.2:",.01,"E"
|
---|
34 | ;;D^STAT ORDER PLACED
|
---|
35 | ;;R^"860.2:","860.21:3",.01,"E"
|
---|
36 | ;;D^NEW OBR STAT
|
---|
37 | ;;R^"860.2:","860.21:3",1,"E"
|
---|
38 | ;;D^NEW OBR STAT ORDER
|
---|
39 | ;;R^"860.2:","860.21:4",.01,"E"
|
---|
40 | ;;D^NEW ORC STAT
|
---|
41 | ;;R^"860.2:","860.21:4",1,"E"
|
---|
42 | ;;D^NEW ORC STAT ORDER
|
---|
43 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
44 | ;;D^1
|
---|
45 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
46 | ;;D^NEW OBR STAT OR NEW ORC STAT
|
---|
47 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
48 | ;;D^STAT ORDER
|
---|
49 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
50 | ;;D^STAT order: |ORDERABLE ITEM NAME|
|
---|
51 | ;;EOR^
|
---|
52 | ;;KEY^860.2:^PATIENT TRANSFERRED FROM PSYCHIATRY TO ANOTHER UNIT
|
---|
53 | ;;R^"860.2:",.01,"E"
|
---|
54 | ;;D^PATIENT TRANSFERRED FROM PSYCHIATRY TO ANOTHER UNIT
|
---|
55 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
56 | ;;D^FROM PSYCH WARD
|
---|
57 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
58 | ;;D^PATIENT TRANSFERRED FROM PSYCH WARD
|
---|
59 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
60 | ;;D^1
|
---|
61 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
62 | ;;D^FROM PSYCH WARD
|
---|
63 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
64 | ;;D^TRANSFER FROM PSYCHIATRY
|
---|
65 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
66 | ;;D^Transfer from Psych ward: |PATIENT MOVEMENT WARD PREVIOUS| to ward: |PATIENT MOVEMENT WARD CURRENT|
|
---|
67 | ;;EOR^
|
---|
68 | ;;KEY^860.2:^GLUCOPHAGE - LAB RESULTS
|
---|
69 | ;;R^"860.2:",.01,"E"
|
---|
70 | ;;D^GLUCOPHAGE - LAB RESULTS
|
---|
71 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
72 | ;;D^GLUCOPHAGE ORDER
|
---|
73 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
74 | ;;D^SIMPLE DEFINITION
|
---|
75 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
76 | ;;D^GLUCOPHAGE ORDER
|
---|
77 | ;;R^"860.2:","860.21:2",.01,"E"
|
---|
78 | ;;D^GLUCOPHAGE CREATININE > 1.5
|
---|
79 | ;;R^"860.2:","860.21:2",.02,"E"
|
---|
80 | ;;D^SIMPLE DEFINITION
|
---|
81 | ;;R^"860.2:","860.21:2",1,"E"
|
---|
82 | ;;D^GLUCOPHAGE CREATININE > 1.5
|
---|
83 | ;;R^"860.2:","860.21:3",.01,"E"
|
---|
84 | ;;D^NO GLUCOPHAGE CREATININE
|
---|
85 | ;;R^"860.2:","860.21:3",.02,"E"
|
---|
86 | ;;D^SIMPLE DEFINITION
|
---|
87 | ;;R^"860.2:","860.21:3",1,"E"
|
---|
88 | ;;D^NO GLUCOPHAGE CREATININE
|
---|
89 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
90 | ;;D^1
|
---|
91 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
92 | ;;D^GLUCOPHAGE ORDER AND GLUCOPHAGE CREATININE > 1.5
|
---|
93 | ;;R^"860.2:","860.22:1",2,"E"
|
---|
94 | ;;D^GLUCOPHAGE-LAB RESULTS
|
---|
95 | ;;R^"860.2:","860.22:1",6,"E"
|
---|
96 | ;;D^Glucophage - Creatinine results: |RECENT GLUCOPHAGE CREATININE TEXT|
|
---|
97 | ;;R^"860.2:","860.22:2",.01,"E"
|
---|
98 | ;;D^2
|
---|
99 | ;;R^"860.2:","860.22:2",1,"E"
|
---|
100 | ;;D^GLUCOPHAGE ORDER AND NO GLUCOPHAGE CREATININE
|
---|
101 | ;;R^"860.2:","860.22:2",2,"E"
|
---|
102 | ;;D^GLUCOPHAGE-LAB RESULTS
|
---|
103 | ;;R^"860.2:","860.22:2",6,"E"
|
---|
104 | ;;D^Glucophage - no serum creatinine within past |RECENT GLUCOPHAGE CREATININE DAYS| days.
|
---|
105 | ;;EOR^
|
---|
106 | ;;KEY^860.2:^LAB ORDER CANCELLED
|
---|
107 | ;;R^"860.2:",.01,"E"
|
---|
108 | ;;D^LAB ORDER CANCELLED
|
---|
109 | ;;R^"860.2:","860.21:6",.01,"E"
|
---|
110 | ;;D^CANCEL
|
---|
111 | ;;R^"860.2:","860.21:6",1,"E"
|
---|
112 | ;;D^HL7 LAB ORDER CANCELLED
|
---|
113 | ;;R^"860.2:","860.21:7",.01,"E"
|
---|
114 | ;;D^REQCANCEL
|
---|
115 | ;;R^"860.2:","860.21:7",1,"E"
|
---|
116 | ;;D^HL7 LAB REQUEST CANCELLED
|
---|
117 | ;;R^"860.2:","860.21:8",.01,"E"
|
---|
118 | ;;D^CANCELED BY NON-ORIG ORDERER
|
---|
119 | ;;R^"860.2:","860.21:8",.02,"E"
|
---|
120 | ;;D^SIMPLE DEFINITION
|
---|
121 | ;;R^"860.2:","860.21:8",1,"E"
|
---|
122 | ;;D^CANCELED BY NON-ORIG ORDERING PROVIDER
|
---|
123 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
124 | ;;D^1
|
---|
125 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
126 | ;;D^(CANCEL OR REQCANCEL) AND CANCELED BY NON-ORIG ORDERER
|
---|
127 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
128 | ;;D^LAB ORDER CANCELED
|
---|
129 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
130 | ;;D^Lab order canceled: |ORDER TEXT (51 CHARS)|
|
---|
131 | ;;EOR^
|
---|
132 | ;;KEY^860.2:^NEW ORDER PLACED
|
---|
133 | ;;R^"860.2:",.01,"E"
|
---|
134 | ;;D^NEW ORDER PLACED
|
---|
135 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
136 | ;;D^NEW
|
---|
137 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
138 | ;;D^HL7 NEW OERR ORDER
|
---|
139 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
140 | ;;D^1
|
---|
141 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
142 | ;;D^NEW
|
---|
143 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
144 | ;;D^NEW ORDER
|
---|
145 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
146 | ;;D^New order(s) placed.
|
---|
147 | ;;EOR^
|
---|
148 | ;;KEY^860.2:^ABNORMAL LAB RESULTS
|
---|
149 | ;;R^"860.2:",.01,"E"
|
---|
150 | ;;D^ABNORMAL LAB RESULTS
|
---|
151 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
152 | ;;D^ABNORMAL LAB ORDER
|
---|
153 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
154 | ;;D^SIMPLE DEFINITION
|
---|
155 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
156 | ;;D^HL7 LAB ORDER RESULTS ABNORMAL
|
---|
157 | ;;R^"860.2:","860.21:2",.01,"E"
|
---|
158 | ;;D^ABNORMAL LAB TEST
|
---|
159 | ;;R^"860.2:","860.21:2",.02,"E"
|
---|
160 | ;;D^SIMPLE DEFINITION
|
---|
161 | ;;R^"860.2:","860.21:2",1,"E"
|
---|
162 | ;;D^HL7 LAB TEST RESULTS ABNORMAL
|
---|
163 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
164 | ;;D^1
|
---|
165 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
166 | ;;D^ABNORMAL LAB ORDER
|
---|
167 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
168 | ;;D^ABNORMAL LAB RESULTS (ACTION)
|
---|
169 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
170 | ;;D^Abnormal labs - [|ORDERABLE ITEM NAME|]
|
---|
171 | ;;R^"860.2:","860.22:2",.01,"E"
|
---|
172 | ;;D^2
|
---|
173 | ;;R^"860.2:","860.22:2",1,"E"
|
---|
174 | ;;D^ABNORMAL LAB TEST
|
---|
175 | ;;R^"860.2:","860.22:2",3,"E"
|
---|
176 | ;1;
|
---|
177 | ;
|
---|