OCXDI037 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^OCXDIAG
;
;
K REMOTE,LOCAL,OPCODE,REF
F LINE=1:1:500 S TEXT=$P($T(DATA+LINE),";",2,999) Q:TEXT I $L(TEXT) D Q:QUIT
.S ^TMP("OCXDIAG",$J,$O(^TMP("OCXDIAG",$J,"A"),-1)+1)=TEXT
;
G ^OCXDI038
;
Q
;
DATA ;
;
;;R^"860.2:","860.21:1",1,"E"
;;D^RADIOLOGY ORDER CANCELLED
;;R^"860.2:","860.21:2",.01,"E"
;;D^DISCONTINUED
;;R^"860.2:","860.21:2",1,"E"
;;D^RADIOLOGY ORDER DISCONTINUED
;;R^"860.2:","860.21:3",.01,"E"
;;D^ON HOLD
;;R^"860.2:","860.21:3",1,"E"
;;D^RADIOLOGY ORDER PUT ON-HOLD
;;R^"860.2:","860.21:4",.01,"E"
;;D^CANCELED BY NON-ORIG ORDERER
;;R^"860.2:","860.21:4",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:4",1,"E"
;;D^CANCELED BY NON-ORIG ORDERING PROVIDER
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^CANCELLED AND CANCELED BY NON-ORIG ORDERER
;;R^"860.2:","860.22:1",3,"E"
;;D^IMAGING REQUEST CANCEL/HELD
;;R^"860.2:","860.22:1",5,"E"
;;D^Imaging request canceled: |ORDER TEXT (51 CHARS)|
;;R^"860.2:","860.22:2",.01,"E"
;;D^2
;;R^"860.2:","860.22:2",1,"E"
;;D^ON HOLD AND CANCELED BY NON-ORIG ORDERER
;;R^"860.2:","860.22:2",3,"E"
;;D^IMAGING REQUEST CANCEL/HELD
;;R^"860.2:","860.22:2",5,"E"
;;D^Imaging request held: |ORDER TEXT (51 CHARS)|
;;R^"860.2:","860.22:3",.01,"E"
;;D^3
;;R^"860.2:","860.22:3",1,"E"
;;D^DISCONTINUED AND CANCELED BY NON-ORIG ORDERER
;;R^"860.2:","860.22:3",3,"E"
;;D^IMAGING REQUEST CANCEL/HELD
;;R^"860.2:","860.22:3",5,"E"
;;D^Imaging request discontinued: |ORDER TEXT (51 CHARS)|
;;EOR^
;;KEY^860.2:^SERVICE ORDER REQUIRES CHART SIGNATURE
;;R^"860.2:",.01,"E"
;;D^SERVICE ORDER REQUIRES CHART SIGNATURE
;;R^"860.2:","860.21:1",.01,"E"
;;D^SERVICE
;;R^"860.2:","860.21:1",1,"E"
;;D^SERVICE ORDER REQUIRES CHART SIGNATURE
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^SERVICE
;;R^"860.2:","860.22:1",3,"E"
;;D^SERVICE ORDER REQ CHART SIGN
;;R^"860.2:","860.22:1",5,"E"
;;D^Service order - requires chart signature.
;;EOR^
;;KEY^860.2:^STAT RESULTS AVAILABLE
;;R^"860.2:",.01,"E"
;;D^STAT RESULTS AVAILABLE
;;R^"860.2:","860.21:1",.01,"E"
;;D^STAT IMAGING RESULT
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^STAT IMAGING RESULT
;;R^"860.2:","860.21:2",.01,"E"
;;D^STAT LAB RESULT
;;R^"860.2:","860.21:2",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:2",1,"E"
;;D^STAT LAB RESULT
;;R^"860.2:","860.21:3",.01,"E"
;;D^STAT CONSULT RESULT
;;R^"860.2:","860.21:3",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:3",1,"E"
;;D^STAT CONSULT RESULT
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^STAT LAB RESULT
;;R^"860.2:","860.22:1",3,"E"
;;D^STAT RESULTS
;;R^"860.2:","860.22:1",5,"E"
;;D^STAT lab results: [|ORDERABLE ITEM NAME|]
;;R^"860.2:","860.22:2",.01,"E"
;;D^2
;;R^"860.2:","860.22:2",1,"E"
;;D^STAT IMAGING RESULT
;;R^"860.2:","860.22:2",3,"E"
;;D^STAT RESULTS
;;R^"860.2:","860.22:2",5,"E"
;;D^STAT imaging results: |ORDERABLE ITEM LOCAL TEXT|
;;R^"860.2:","860.22:3",.01,"E"
;;D^3
;;R^"860.2:","860.22:3",1,"E"
;;D^STAT CONSULT RESULT
;;R^"860.2:","860.22:3",3,"E"
;;D^STAT RESULTS
;;R^"860.2:","860.22:3",5,"E"
;;D^STAT consult results: |ORDERABLE ITEM LOCAL TEXT|
;;EOR^
;;KEY^860.2:^PATIENT DISCHARGE
;;R^"860.2:",.01,"E"
;;D^PATIENT DISCHARGE
;;R^"860.2:","860.21:1",.01,"E"
;;D^DISCHARGE
;;R^"860.2:","860.21:1",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:1",1,"E"
;;D^PATIENT DISCHARGE
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^DISCHARGE
;;R^"860.2:","860.22:1",3,"E"
;;D^DISCHARGE
;;R^"860.2:","860.22:1",5,"E"
;;D^Discharged on |PATIENT MOVEMENT DATE CURRENT|
;;EOR^
;;KEY^860.2:^ORDER REQUIRES CO-SIGNATURE
;;R^"860.2:",.01,"E"
;;D^ORDER REQUIRES CO-SIGNATURE
;;R^"860.2:","860.21:1",.01,"E"
;;D^COSIG
;;R^"860.2:","860.21:1",1,"E"
;;D^ORDER REQUIRES CO-SIGNATURE
;;R^"860.2:","860.22:1",.01,"E"
;;D^1
;;R^"860.2:","860.22:1",1,"E"
;;D^COSIG
;;R^"860.2:","860.22:1",3,"E"
;;D^ORDER REQUIRES CO-SIGNATURE
;;R^"860.2:","860.22:1",5,"E"
;;D^Order requires a co-signature
;;EOR^
;;KEY^860.2:^ORDERER FLAGGED RESULTS AVAILABLE
;;R^"860.2:",.01,"E"
;;D^ORDERER FLAGGED RESULTS AVAILABLE
;;R^"860.2:","860.21:3",.01,"E"
;;D^ORDER FLAGGED FOR RESULTS
;;R^"860.2:","860.21:3",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:3",1,"E"
;;D^ORDER FLAGGED FOR RESULTS
;;R^"860.2:","860.21:4",.01,"E"
;;D^LAB RESULT
;;R^"860.2:","860.21:4",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:4",1,"E"
;;D^HL7 FINAL LAB RESULT
;;R^"860.2:","860.21:6",.01,"E"
;;D^IMAGING RESULT
;;R^"860.2:","860.21:6",.02,"E"
;;D^SIMPLE DEFINITION
;;R^"860.2:","860.21:6",1,"E"
;;D^HL7 FINAL IMAGING RESULT
;;R^"860.2:","860.21:7",.01,"E"
;;D^CONSULT RESULT
;;R^"860.2:","860.21:7",.02,"E"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI037 5262 printed Dec 13, 2024@02:24:20 Page 2
OCXDI037 ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:30
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**32**;Dec 17,1997
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^OCXDIAG
+3 ;
+4 ;
+5 KILL REMOTE,LOCAL,OPCODE,REF
+6 FOR LINE=1:1:500
SET TEXT=$PIECE($TEXT(DATA+LINE),";",2,999)
if TEXT
QUIT
IF $LENGTH(TEXT)
Begin DoDot:1
+7 SET ^TMP("OCXDIAG",$JOB,$ORDER(^TMP("OCXDIAG",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
if QUIT
QUIT
+8 ;
+9 GOTO ^OCXDI038
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"860.2:","860.21:1",1,"E"
+3 ;;D^RADIOLOGY ORDER CANCELLED
+4 ;;R^"860.2:","860.21:2",.01,"E"
+5 ;;D^DISCONTINUED
+6 ;;R^"860.2:","860.21:2",1,"E"
+7 ;;D^RADIOLOGY ORDER DISCONTINUED
+8 ;;R^"860.2:","860.21:3",.01,"E"
+9 ;;D^ON HOLD
+10 ;;R^"860.2:","860.21:3",1,"E"
+11 ;;D^RADIOLOGY ORDER PUT ON-HOLD
+12 ;;R^"860.2:","860.21:4",.01,"E"
+13 ;;D^CANCELED BY NON-ORIG ORDERER
+14 ;;R^"860.2:","860.21:4",.02,"E"
+15 ;;D^SIMPLE DEFINITION
+16 ;;R^"860.2:","860.21:4",1,"E"
+17 ;;D^CANCELED BY NON-ORIG ORDERING PROVIDER
+18 ;;R^"860.2:","860.22:1",.01,"E"
+19 ;;D^1
+20 ;;R^"860.2:","860.22:1",1,"E"
+21 ;;D^CANCELLED AND CANCELED BY NON-ORIG ORDERER
+22 ;;R^"860.2:","860.22:1",3,"E"
+23 ;;D^IMAGING REQUEST CANCEL/HELD
+24 ;;R^"860.2:","860.22:1",5,"E"
+25 ;;D^Imaging request canceled: |ORDER TEXT (51 CHARS)|
+26 ;;R^"860.2:","860.22:2",.01,"E"
+27 ;;D^2
+28 ;;R^"860.2:","860.22:2",1,"E"
+29 ;;D^ON HOLD AND CANCELED BY NON-ORIG ORDERER
+30 ;;R^"860.2:","860.22:2",3,"E"
+31 ;;D^IMAGING REQUEST CANCEL/HELD
+32 ;;R^"860.2:","860.22:2",5,"E"
+33 ;;D^Imaging request held: |ORDER TEXT (51 CHARS)|
+34 ;;R^"860.2:","860.22:3",.01,"E"
+35 ;;D^3
+36 ;;R^"860.2:","860.22:3",1,"E"
+37 ;;D^DISCONTINUED AND CANCELED BY NON-ORIG ORDERER
+38 ;;R^"860.2:","860.22:3",3,"E"
+39 ;;D^IMAGING REQUEST CANCEL/HELD
+40 ;;R^"860.2:","860.22:3",5,"E"
+41 ;;D^Imaging request discontinued: |ORDER TEXT (51 CHARS)|
+42 ;;EOR^
+43 ;;KEY^860.2:^SERVICE ORDER REQUIRES CHART SIGNATURE
+44 ;;R^"860.2:",.01,"E"
+45 ;;D^SERVICE ORDER REQUIRES CHART SIGNATURE
+46 ;;R^"860.2:","860.21:1",.01,"E"
+47 ;;D^SERVICE
+48 ;;R^"860.2:","860.21:1",1,"E"
+49 ;;D^SERVICE ORDER REQUIRES CHART SIGNATURE
+50 ;;R^"860.2:","860.22:1",.01,"E"
+51 ;;D^1
+52 ;;R^"860.2:","860.22:1",1,"E"
+53 ;;D^SERVICE
+54 ;;R^"860.2:","860.22:1",3,"E"
+55 ;;D^SERVICE ORDER REQ CHART SIGN
+56 ;;R^"860.2:","860.22:1",5,"E"
+57 ;;D^Service order - requires chart signature.
+58 ;;EOR^
+59 ;;KEY^860.2:^STAT RESULTS AVAILABLE
+60 ;;R^"860.2:",.01,"E"
+61 ;;D^STAT RESULTS AVAILABLE
+62 ;;R^"860.2:","860.21:1",.01,"E"
+63 ;;D^STAT IMAGING RESULT
+64 ;;R^"860.2:","860.21:1",.02,"E"
+65 ;;D^SIMPLE DEFINITION
+66 ;;R^"860.2:","860.21:1",1,"E"
+67 ;;D^STAT IMAGING RESULT
+68 ;;R^"860.2:","860.21:2",.01,"E"
+69 ;;D^STAT LAB RESULT
+70 ;;R^"860.2:","860.21:2",.02,"E"
+71 ;;D^SIMPLE DEFINITION
+72 ;;R^"860.2:","860.21:2",1,"E"
+73 ;;D^STAT LAB RESULT
+74 ;;R^"860.2:","860.21:3",.01,"E"
+75 ;;D^STAT CONSULT RESULT
+76 ;;R^"860.2:","860.21:3",.02,"E"
+77 ;;D^SIMPLE DEFINITION
+78 ;;R^"860.2:","860.21:3",1,"E"
+79 ;;D^STAT CONSULT RESULT
+80 ;;R^"860.2:","860.22:1",.01,"E"
+81 ;;D^1
+82 ;;R^"860.2:","860.22:1",1,"E"
+83 ;;D^STAT LAB RESULT
+84 ;;R^"860.2:","860.22:1",3,"E"
+85 ;;D^STAT RESULTS
+86 ;;R^"860.2:","860.22:1",5,"E"
+87 ;;D^STAT lab results: [|ORDERABLE ITEM NAME|]
+88 ;;R^"860.2:","860.22:2",.01,"E"
+89 ;;D^2
+90 ;;R^"860.2:","860.22:2",1,"E"
+91 ;;D^STAT IMAGING RESULT
+92 ;;R^"860.2:","860.22:2",3,"E"
+93 ;;D^STAT RESULTS
+94 ;;R^"860.2:","860.22:2",5,"E"
+95 ;;D^STAT imaging results: |ORDERABLE ITEM LOCAL TEXT|
+96 ;;R^"860.2:","860.22:3",.01,"E"
+97 ;;D^3
+98 ;;R^"860.2:","860.22:3",1,"E"
+99 ;;D^STAT CONSULT RESULT
+100 ;;R^"860.2:","860.22:3",3,"E"
+101 ;;D^STAT RESULTS
+102 ;;R^"860.2:","860.22:3",5,"E"
+103 ;;D^STAT consult results: |ORDERABLE ITEM LOCAL TEXT|
+104 ;;EOR^
+105 ;;KEY^860.2:^PATIENT DISCHARGE
+106 ;;R^"860.2:",.01,"E"
+107 ;;D^PATIENT DISCHARGE
+108 ;;R^"860.2:","860.21:1",.01,"E"
+109 ;;D^DISCHARGE
+110 ;;R^"860.2:","860.21:1",.02,"E"
+111 ;;D^SIMPLE DEFINITION
+112 ;;R^"860.2:","860.21:1",1,"E"
+113 ;;D^PATIENT DISCHARGE
+114 ;;R^"860.2:","860.22:1",.01,"E"
+115 ;;D^1
+116 ;;R^"860.2:","860.22:1",1,"E"
+117 ;;D^DISCHARGE
+118 ;;R^"860.2:","860.22:1",3,"E"
+119 ;;D^DISCHARGE
+120 ;;R^"860.2:","860.22:1",5,"E"
+121 ;;D^Discharged on |PATIENT MOVEMENT DATE CURRENT|
+122 ;;EOR^
+123 ;;KEY^860.2:^ORDER REQUIRES CO-SIGNATURE
+124 ;;R^"860.2:",.01,"E"
+125 ;;D^ORDER REQUIRES CO-SIGNATURE
+126 ;;R^"860.2:","860.21:1",.01,"E"
+127 ;;D^COSIG
+128 ;;R^"860.2:","860.21:1",1,"E"
+129 ;;D^ORDER REQUIRES CO-SIGNATURE
+130 ;;R^"860.2:","860.22:1",.01,"E"
+131 ;;D^1
+132 ;;R^"860.2:","860.22:1",1,"E"
+133 ;;D^COSIG
+134 ;;R^"860.2:","860.22:1",3,"E"
+135 ;;D^ORDER REQUIRES CO-SIGNATURE
+136 ;;R^"860.2:","860.22:1",5,"E"
+137 ;;D^Order requires a co-signature
+138 ;;EOR^
+139 ;;KEY^860.2:^ORDERER FLAGGED RESULTS AVAILABLE
+140 ;;R^"860.2:",.01,"E"
+141 ;;D^ORDERER FLAGGED RESULTS AVAILABLE
+142 ;;R^"860.2:","860.21:3",.01,"E"
+143 ;;D^ORDER FLAGGED FOR RESULTS
+144 ;;R^"860.2:","860.21:3",.02,"E"
+145 ;;D^SIMPLE DEFINITION
+146 ;;R^"860.2:","860.21:3",1,"E"
+147 ;;D^ORDER FLAGGED FOR RESULTS
+148 ;;R^"860.2:","860.21:4",.01,"E"
+149 ;;D^LAB RESULT
+150 ;;R^"860.2:","860.21:4",.02,"E"
+151 ;;D^SIMPLE DEFINITION
+152 ;;R^"860.2:","860.21:4",1,"E"
+153 ;;D^HL7 FINAL LAB RESULT
+154 ;;R^"860.2:","860.21:6",.01,"E"
+155 ;;D^IMAGING RESULT
+156 ;;R^"860.2:","860.21:6",.02,"E"
+157 ;;D^SIMPLE DEFINITION
+158 ;;R^"860.2:","860.21:6",1,"E"
+159 ;;D^HL7 FINAL IMAGING RESULT
+160 ;;R^"860.2:","860.21:7",.01,"E"
+161 ;;D^CONSULT RESULT
+162 ;;R^"860.2:","860.21:7",.02,"E"
+163 ;1;
+164 ;