[613] | 1 | OCXDI036 ;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 ^OCXDI037
|
---|
| 15 | ;
|
---|
| 16 | Q
|
---|
| 17 | ;
|
---|
| 18 | DATA ;
|
---|
| 19 | ;
|
---|
| 20 | ;;D^CLOZAPINE NO ANC W/IN 7 DAYS
|
---|
| 21 | ;;R^"860.3:",.02,"E"
|
---|
| 22 | ;;D^CPRS ORDER PRESCAN
|
---|
| 23 | ;;R^"860.3:","860.31:6",.01,"E"
|
---|
| 24 | ;;D^6
|
---|
| 25 | ;;R^"860.3:","860.31:6",1,"E"
|
---|
| 26 | ;;D^CLOZAPINE ANC W/IN 7 FLAG
|
---|
| 27 | ;;R^"860.3:","860.31:6",2,"E"
|
---|
| 28 | ;;D^LOGICAL FALSE
|
---|
| 29 | ;;EOR^
|
---|
| 30 | ;;KEY^860.3:^CLOZAPINE NO WBC W/IN 7 DAYS
|
---|
| 31 | ;;R^"860.3:",.01,"E"
|
---|
| 32 | ;;D^CLOZAPINE NO WBC W/IN 7 DAYS
|
---|
| 33 | ;;R^"860.3:",.02,"E"
|
---|
| 34 | ;;D^CPRS ORDER PRESCAN
|
---|
| 35 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
| 36 | ;;D^4
|
---|
| 37 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
| 38 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
| 39 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
| 40 | ;;D^LOGICAL FALSE
|
---|
| 41 | ;;EOR^
|
---|
| 42 | ;;KEY^860.3:^CLOZAPINE WBC < 3.0
|
---|
| 43 | ;;R^"860.3:",.01,"E"
|
---|
| 44 | ;;D^CLOZAPINE WBC < 3.0
|
---|
| 45 | ;;R^"860.3:",.02,"E"
|
---|
| 46 | ;;D^CPRS ORDER PRESCAN
|
---|
| 47 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
| 48 | ;;D^4
|
---|
| 49 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
| 50 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
| 51 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
| 52 | ;;D^LESS THAN
|
---|
| 53 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
| 54 | ;;D^3.0
|
---|
| 55 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
| 56 | ;;D^5
|
---|
| 57 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
| 58 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
| 59 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
| 60 | ;;D^LOGICAL TRUE
|
---|
| 61 | ;;EOR^
|
---|
| 62 | ;;KEY^860.3:^CLOZAPINE WBC >= 3.0 & < 3.5
|
---|
| 63 | ;;R^"860.3:",.01,"E"
|
---|
| 64 | ;;D^CLOZAPINE WBC >= 3.0 & < 3.5
|
---|
| 65 | ;;R^"860.3:",.02,"E"
|
---|
| 66 | ;;D^CPRS ORDER PRESCAN
|
---|
| 67 | ;;R^"860.3:","860.31:4",.01,"E"
|
---|
| 68 | ;;D^4
|
---|
| 69 | ;;R^"860.3:","860.31:4",1,"E"
|
---|
| 70 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
| 71 | ;;R^"860.3:","860.31:4",2,"E"
|
---|
| 72 | ;;D^GREATER THAN
|
---|
| 73 | ;;R^"860.3:","860.31:4",3,"E"
|
---|
| 74 | ;;D^2.999
|
---|
| 75 | ;;R^"860.3:","860.31:5",.01,"E"
|
---|
| 76 | ;;D^5
|
---|
| 77 | ;;R^"860.3:","860.31:5",1,"E"
|
---|
| 78 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
| 79 | ;;R^"860.3:","860.31:5",2,"E"
|
---|
| 80 | ;;D^LESS THAN
|
---|
| 81 | ;;R^"860.3:","860.31:5",3,"E"
|
---|
| 82 | ;;D^3.5
|
---|
| 83 | ;;R^"860.3:","860.31:6",.01,"E"
|
---|
| 84 | ;;D^6
|
---|
| 85 | ;;R^"860.3:","860.31:6",1,"E"
|
---|
| 86 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
| 87 | ;;R^"860.3:","860.31:6",2,"E"
|
---|
| 88 | ;;D^LOGICAL TRUE
|
---|
| 89 | ;;EOR^
|
---|
| 90 | ;;KEY^860.3:^CLOZAPINE WBC >= 3.5
|
---|
| 91 | ;;R^"860.3:",.01,"E"
|
---|
| 92 | ;;D^CLOZAPINE WBC >= 3.5
|
---|
| 93 | ;;R^"860.3:",.02,"E"
|
---|
| 94 | ;;D^CPRS ORDER PRESCAN
|
---|
| 95 | ;;R^"860.3:","860.31:1",.01,"E"
|
---|
| 96 | ;;D^1
|
---|
| 97 | ;;R^"860.3:","860.31:1",1,"E"
|
---|
| 98 | ;;D^CLOZAPINE WBC W/IN 7 RESULT
|
---|
| 99 | ;;R^"860.3:","860.31:1",2,"E"
|
---|
| 100 | ;;D^GREATER THAN
|
---|
| 101 | ;;R^"860.3:","860.31:1",3,"E"
|
---|
| 102 | ;;D^3.499
|
---|
| 103 | ;;R^"860.3:","860.31:2",.01,"E"
|
---|
| 104 | ;;D^2
|
---|
| 105 | ;;R^"860.3:","860.31:2",1,"E"
|
---|
| 106 | ;;D^CLOZAPINE WBC W/IN 7 FLAG
|
---|
| 107 | ;;R^"860.3:","860.31:2",2,"E"
|
---|
| 108 | ;;D^LOGICAL TRUE
|
---|
| 109 | ;;EOR^
|
---|
| 110 | ;;EOF^OCXS(860.3)^1
|
---|
| 111 | ;;SOF^860.2 ORDER CHECK RULE
|
---|
| 112 | ;;KEY^860.2:^CRITICAL LAB RESULTS
|
---|
| 113 | ;;R^"860.2:",.01,"E"
|
---|
| 114 | ;;D^CRITICAL LAB RESULTS
|
---|
| 115 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
| 116 | ;;D^CRITICAL LAB TEST
|
---|
| 117 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
| 118 | ;;D^SIMPLE DEFINITION
|
---|
| 119 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
| 120 | ;;D^HL7 LAB TEST RESULTS CRITICAL
|
---|
| 121 | ;;R^"860.2:","860.21:2",.01,"E"
|
---|
| 122 | ;;D^CRITICAL LAB ORDER
|
---|
| 123 | ;;R^"860.2:","860.21:2",.02,"E"
|
---|
| 124 | ;;D^SIMPLE DEFINITION
|
---|
| 125 | ;;R^"860.2:","860.21:2",1,"E"
|
---|
| 126 | ;;D^HL7 LAB ORDER RESULTS CRITICAL
|
---|
| 127 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
| 128 | ;;D^1
|
---|
| 129 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
| 130 | ;;D^CRITICAL LAB TEST
|
---|
| 131 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
| 132 | ;;D^CRITICAL LAB RESULT (INFO)
|
---|
| 133 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
| 134 | ;;D^Critical lab: |LAB TEST PRINT NAME| |LAB RESULT| |LAB COLLECTION D/T|
|
---|
| 135 | ;;R^"860.2:","860.22:2",.01,"E"
|
---|
| 136 | ;;D^2
|
---|
| 137 | ;;R^"860.2:","860.22:2",1,"E"
|
---|
| 138 | ;;D^CRITICAL LAB ORDER
|
---|
| 139 | ;;R^"860.2:","860.22:2",3,"E"
|
---|
| 140 | ;;D^CRITICAL LAB RESULTS (ACTION)
|
---|
| 141 | ;;R^"860.2:","860.22:2",5,"E"
|
---|
| 142 | ;;D^Critical labs - [|ORDERABLE ITEM NAME|]
|
---|
| 143 | ;;EOR^
|
---|
| 144 | ;;KEY^860.2:^ORDER FLAGGED FOR CLARIFICATION
|
---|
| 145 | ;;R^"860.2:",.01,"E"
|
---|
| 146 | ;;D^ORDER FLAGGED FOR CLARIFICATION
|
---|
| 147 | ;;R^"860.2:","860.21:2",.01,"E"
|
---|
| 148 | ;;D^FLAGGED
|
---|
| 149 | ;;R^"860.2:","860.21:2",1,"E"
|
---|
| 150 | ;;D^ORDER FLAGGED
|
---|
| 151 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
| 152 | ;;D^1
|
---|
| 153 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
| 154 | ;;D^FLAGGED
|
---|
| 155 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
| 156 | ;;D^FLAGGED ORDERS
|
---|
| 157 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
| 158 | ;;D^Order(s) needing clarification: Flagged |CURRENT DATE/TIME|.
|
---|
| 159 | ;;EOR^
|
---|
| 160 | ;;KEY^860.2:^ORDER REQUIRES CHART SIGNATURE
|
---|
| 161 | ;;R^"860.2:",.01,"E"
|
---|
| 162 | ;;D^ORDER REQUIRES CHART SIGNATURE
|
---|
| 163 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
| 164 | ;;D^SIGNATURE
|
---|
| 165 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
| 166 | ;;D^ORDER REQUIRES CHART SIGNATURE
|
---|
| 167 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
| 168 | ;;D^1
|
---|
| 169 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
| 170 | ;;D^SIGNATURE
|
---|
| 171 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
| 172 | ;;D^ORDER REQUIRES CHART SIGNATURE
|
---|
| 173 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
| 174 | ;;D^Order released - requires chart signature.
|
---|
| 175 | ;;EOR^
|
---|
| 176 | ;;KEY^860.2:^PATIENT ADMISSION
|
---|
| 177 | ;;R^"860.2:",.01,"E"
|
---|
| 178 | ;;D^PATIENT ADMISSION
|
---|
| 179 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
| 180 | ;;D^ADMISSION
|
---|
| 181 | ;;R^"860.2:","860.21:1",.02,"E"
|
---|
| 182 | ;;D^SIMPLE DEFINITION
|
---|
| 183 | ;;R^"860.2:","860.21:1",1,"E"
|
---|
| 184 | ;;D^PATIENT ADMISSION
|
---|
| 185 | ;;R^"860.2:","860.22:1",.01,"E"
|
---|
| 186 | ;;D^1
|
---|
| 187 | ;;R^"860.2:","860.22:1",1,"E"
|
---|
| 188 | ;;D^ADMISSION
|
---|
| 189 | ;;R^"860.2:","860.22:1",3,"E"
|
---|
| 190 | ;;D^ADMISSION
|
---|
| 191 | ;;R^"860.2:","860.22:1",5,"E"
|
---|
| 192 | ;;D^Admitted on |PATIENT MOVEMENT DATE CURRENT| to |PATIENT WARD ROOM-BED|
|
---|
| 193 | ;;EOR^
|
---|
| 194 | ;;KEY^860.2:^IMAGING REQUEST CANCELLED/HELD
|
---|
| 195 | ;;R^"860.2:",.01,"E"
|
---|
| 196 | ;;D^IMAGING REQUEST CANCELLED/HELD
|
---|
| 197 | ;;R^"860.2:","860.21:1",.01,"E"
|
---|
| 198 | ;;D^CANCELLED
|
---|
| 199 | ;1;
|
---|
| 200 | ;
|
---|