OCXDI01Z ;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 ^OCXDI020
;
Q
;
DATA ;
;
;;R^"863.3:",.05,"E"
;;D^HL7 LOCAL OI TEXT
;;R^"863.3:",.06,"E"
;;D^35
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXODATA("OBR",4)
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^5
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:5",1,"E"
;;D^HL7
;;EOR^
;;KEY^863.3:^PATIENT.MOVE_TYPE_CURRENT
;;R^"863.3:",.01,"E"
;;D^PATIENT.MOVE_TYPE_CURRENT
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^DGPM
;;R^"863.3:",.05,"E"
;;D^MOVEMENT TYPE
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^DGPMA
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^2
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:5",1,"E"
;;D^405.3
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:6",1,"E"
;;D^DGPM
;;EOR^
;;KEY^863.3:^PATIENT.MOV_DATE_CUR
;;R^"863.3:",.01,"E"
;;D^PATIENT.MOV_DATE_CUR
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^DGPM
;;R^"863.3:",.05,"E"
;;D^MOVEMENT DATE
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^DGPMA
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^1
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:6",1,"E"
;;D^DGPM
;;EOR^
;;KEY^863.3:^PATIENT.OERR_ORDER_FLAGGED
;;R^"863.3:",.01,"E"
;;D^PATIENT.OERR_ORDER_FLAGGED
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OERR
;;R^"863.3:",.05,"E"
;;D^ORDER FLAGGED
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXORD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^4
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:6",1,"E"
;;D^ORD
;;EOR^
;;KEY^863.3:^PATIENT.OERR_ORD_REQ_CHART_SIG
;;R^"863.3:",.01,"E"
;;D^PATIENT.OERR_ORD_REQ_CHART_SIG
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OERR
;;R^"863.3:",.05,"E"
;;D^ORDER REQ CHART SIG
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXORD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^5
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:6",1,"E"
;;D^ORD
;;EOR^
;;KEY^863.3:^PATIENT.SERV_ORD_REQ_SIG
;;R^"863.3:",.01,"E"
;;D^PATIENT.SERV_ORD_REQ_SIG
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OERR
;;R^"863.3:",.05,"E"
;;D^SERVICE ORD. REQ. SIG.
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXORD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^6
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:6",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;R^"863.3:","863.32:6",1,"E"
;;D^ORD
;;EOR^
;;KEY^863.3:^PATIENT.ORD_REQ_CO_SIG
;;R^"863.3:",.01,"E"
;;D^PATIENT.ORD_REQ_CO_SIG
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^OERR
;;R^"863.3:",.05,"E"
;;D^ORDER REQ. CO-SIG.
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:1",1,"E"
;;D^OCXORD
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;R^"863.3:","863.32:3",1,"E"
;;D^7
;;R^"863.3:","863.32:4",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:5",.01,"E"
;;D^OCXO FILE POINTER
;;R^"863.3:","863.32:6",.01,"E"
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI01Z 5473 printed Dec 13, 2024@02:23:39 Page 2
OCXDI01Z ;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 ^OCXDI020
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.3:",.05,"E"
+3 ;;D^HL7 LOCAL OI TEXT
+4 ;;R^"863.3:",.06,"E"
+5 ;;D^35
+6 ;;R^"863.3:","863.32:1",.01,"E"
+7 ;;D^OCXO VARIABLE NAME
+8 ;;R^"863.3:","863.32:1",1,"E"
+9 ;;D^OCXODATA("OBR",4)
+10 ;;R^"863.3:","863.32:2",.01,"E"
+11 ;;D^OCXO VT-BAR PIECE NUMBER
+12 ;;R^"863.3:","863.32:3",.01,"E"
+13 ;;D^OCXO UP-ARROW PIECE NUMBER
+14 ;;R^"863.3:","863.32:3",1,"E"
+15 ;;D^5
+16 ;;R^"863.3:","863.32:4",.01,"E"
+17 ;;D^OCXO HL7 SEGMENT ID
+18 ;;R^"863.3:","863.32:5",.01,"E"
+19 ;;D^OCXO DATA DRIVE SOURCE
+20 ;;R^"863.3:","863.32:5",1,"E"
+21 ;;D^HL7
+22 ;;EOR^
+23 ;;KEY^863.3:^PATIENT.MOVE_TYPE_CURRENT
+24 ;;R^"863.3:",.01,"E"
+25 ;;D^PATIENT.MOVE_TYPE_CURRENT
+26 ;;R^"863.3:",.02,"E"
+27 ;;D^PATIENT
+28 ;;R^"863.3:",.04,"E"
+29 ;;D^DGPM
+30 ;;R^"863.3:",.05,"E"
+31 ;;D^MOVEMENT TYPE
+32 ;;R^"863.3:",.06,"E"
+33 ;;D^99
+34 ;;R^"863.3:","863.32:1",.01,"E"
+35 ;;D^OCXO VARIABLE NAME
+36 ;;R^"863.3:","863.32:1",1,"E"
+37 ;;D^DGPMA
+38 ;;R^"863.3:","863.32:2",.01,"E"
+39 ;;D^OCXO VT-BAR PIECE NUMBER
+40 ;;R^"863.3:","863.32:3",.01,"E"
+41 ;;D^OCXO UP-ARROW PIECE NUMBER
+42 ;;R^"863.3:","863.32:3",1,"E"
+43 ;;D^2
+44 ;;R^"863.3:","863.32:4",.01,"E"
+45 ;;D^OCXO HL7 SEGMENT ID
+46 ;;R^"863.3:","863.32:5",.01,"E"
+47 ;;D^OCXO FILE POINTER
+48 ;;R^"863.3:","863.32:5",1,"E"
+49 ;;D^405.3
+50 ;;R^"863.3:","863.32:6",.01,"E"
+51 ;;D^OCXO DATA DRIVE SOURCE
+52 ;;R^"863.3:","863.32:6",1,"E"
+53 ;;D^DGPM
+54 ;;EOR^
+55 ;;KEY^863.3:^PATIENT.MOV_DATE_CUR
+56 ;;R^"863.3:",.01,"E"
+57 ;;D^PATIENT.MOV_DATE_CUR
+58 ;;R^"863.3:",.02,"E"
+59 ;;D^PATIENT
+60 ;;R^"863.3:",.04,"E"
+61 ;;D^DGPM
+62 ;;R^"863.3:",.05,"E"
+63 ;;D^MOVEMENT DATE
+64 ;;R^"863.3:",.06,"E"
+65 ;;D^99
+66 ;;R^"863.3:","863.32:1",.01,"E"
+67 ;;D^OCXO VARIABLE NAME
+68 ;;R^"863.3:","863.32:1",1,"E"
+69 ;;D^DGPMA
+70 ;;R^"863.3:","863.32:2",.01,"E"
+71 ;;D^OCXO VT-BAR PIECE NUMBER
+72 ;;R^"863.3:","863.32:3",.01,"E"
+73 ;;D^OCXO UP-ARROW PIECE NUMBER
+74 ;;R^"863.3:","863.32:3",1,"E"
+75 ;;D^1
+76 ;;R^"863.3:","863.32:4",.01,"E"
+77 ;;D^OCXO HL7 SEGMENT ID
+78 ;;R^"863.3:","863.32:5",.01,"E"
+79 ;;D^OCXO FILE POINTER
+80 ;;R^"863.3:","863.32:6",.01,"E"
+81 ;;D^OCXO DATA DRIVE SOURCE
+82 ;;R^"863.3:","863.32:6",1,"E"
+83 ;;D^DGPM
+84 ;;EOR^
+85 ;;KEY^863.3:^PATIENT.OERR_ORDER_FLAGGED
+86 ;;R^"863.3:",.01,"E"
+87 ;;D^PATIENT.OERR_ORDER_FLAGGED
+88 ;;R^"863.3:",.02,"E"
+89 ;;D^PATIENT
+90 ;;R^"863.3:",.04,"E"
+91 ;;D^OERR
+92 ;;R^"863.3:",.05,"E"
+93 ;;D^ORDER FLAGGED
+94 ;;R^"863.3:",.06,"E"
+95 ;;D^99
+96 ;;R^"863.3:","863.32:1",.01,"E"
+97 ;;D^OCXO VARIABLE NAME
+98 ;;R^"863.3:","863.32:1",1,"E"
+99 ;;D^OCXORD
+100 ;;R^"863.3:","863.32:2",.01,"E"
+101 ;;D^OCXO VT-BAR PIECE NUMBER
+102 ;;R^"863.3:","863.32:3",.01,"E"
+103 ;;D^OCXO UP-ARROW PIECE NUMBER
+104 ;;R^"863.3:","863.32:3",1,"E"
+105 ;;D^4
+106 ;;R^"863.3:","863.32:4",.01,"E"
+107 ;;D^OCXO HL7 SEGMENT ID
+108 ;;R^"863.3:","863.32:5",.01,"E"
+109 ;;D^OCXO FILE POINTER
+110 ;;R^"863.3:","863.32:6",.01,"E"
+111 ;;D^OCXO DATA DRIVE SOURCE
+112 ;;R^"863.3:","863.32:6",1,"E"
+113 ;;D^ORD
+114 ;;EOR^
+115 ;;KEY^863.3:^PATIENT.OERR_ORD_REQ_CHART_SIG
+116 ;;R^"863.3:",.01,"E"
+117 ;;D^PATIENT.OERR_ORD_REQ_CHART_SIG
+118 ;;R^"863.3:",.02,"E"
+119 ;;D^PATIENT
+120 ;;R^"863.3:",.04,"E"
+121 ;;D^OERR
+122 ;;R^"863.3:",.05,"E"
+123 ;;D^ORDER REQ CHART SIG
+124 ;;R^"863.3:",.06,"E"
+125 ;;D^99
+126 ;;R^"863.3:","863.32:1",.01,"E"
+127 ;;D^OCXO VARIABLE NAME
+128 ;;R^"863.3:","863.32:1",1,"E"
+129 ;;D^OCXORD
+130 ;;R^"863.3:","863.32:2",.01,"E"
+131 ;;D^OCXO VT-BAR PIECE NUMBER
+132 ;;R^"863.3:","863.32:3",.01,"E"
+133 ;;D^OCXO UP-ARROW PIECE NUMBER
+134 ;;R^"863.3:","863.32:3",1,"E"
+135 ;;D^5
+136 ;;R^"863.3:","863.32:4",.01,"E"
+137 ;;D^OCXO HL7 SEGMENT ID
+138 ;;R^"863.3:","863.32:5",.01,"E"
+139 ;;D^OCXO FILE POINTER
+140 ;;R^"863.3:","863.32:6",.01,"E"
+141 ;;D^OCXO DATA DRIVE SOURCE
+142 ;;R^"863.3:","863.32:6",1,"E"
+143 ;;D^ORD
+144 ;;EOR^
+145 ;;KEY^863.3:^PATIENT.SERV_ORD_REQ_SIG
+146 ;;R^"863.3:",.01,"E"
+147 ;;D^PATIENT.SERV_ORD_REQ_SIG
+148 ;;R^"863.3:",.02,"E"
+149 ;;D^PATIENT
+150 ;;R^"863.3:",.04,"E"
+151 ;;D^OERR
+152 ;;R^"863.3:",.05,"E"
+153 ;;D^SERVICE ORD. REQ. SIG.
+154 ;;R^"863.3:",.06,"E"
+155 ;;D^99
+156 ;;R^"863.3:","863.32:1",.01,"E"
+157 ;;D^OCXO VARIABLE NAME
+158 ;;R^"863.3:","863.32:1",1,"E"
+159 ;;D^OCXORD
+160 ;;R^"863.3:","863.32:2",.01,"E"
+161 ;;D^OCXO VT-BAR PIECE NUMBER
+162 ;;R^"863.3:","863.32:3",.01,"E"
+163 ;;D^OCXO UP-ARROW PIECE NUMBER
+164 ;;R^"863.3:","863.32:3",1,"E"
+165 ;;D^6
+166 ;;R^"863.3:","863.32:4",.01,"E"
+167 ;;D^OCXO HL7 SEGMENT ID
+168 ;;R^"863.3:","863.32:5",.01,"E"
+169 ;;D^OCXO FILE POINTER
+170 ;;R^"863.3:","863.32:6",.01,"E"
+171 ;;D^OCXO DATA DRIVE SOURCE
+172 ;;R^"863.3:","863.32:6",1,"E"
+173 ;;D^ORD
+174 ;;EOR^
+175 ;;KEY^863.3:^PATIENT.ORD_REQ_CO_SIG
+176 ;;R^"863.3:",.01,"E"
+177 ;;D^PATIENT.ORD_REQ_CO_SIG
+178 ;;R^"863.3:",.02,"E"
+179 ;;D^PATIENT
+180 ;;R^"863.3:",.04,"E"
+181 ;;D^OERR
+182 ;;R^"863.3:",.05,"E"
+183 ;;D^ORDER REQ. CO-SIG.
+184 ;;R^"863.3:",.06,"E"
+185 ;;D^99
+186 ;;R^"863.3:","863.32:1",.01,"E"
+187 ;;D^OCXO VARIABLE NAME
+188 ;;R^"863.3:","863.32:1",1,"E"
+189 ;;D^OCXORD
+190 ;;R^"863.3:","863.32:2",.01,"E"
+191 ;;D^OCXO VT-BAR PIECE NUMBER
+192 ;;R^"863.3:","863.32:3",.01,"E"
+193 ;;D^OCXO UP-ARROW PIECE NUMBER
+194 ;;R^"863.3:","863.32:3",1,"E"
+195 ;;D^7
+196 ;;R^"863.3:","863.32:4",.01,"E"
+197 ;;D^OCXO HL7 SEGMENT ID
+198 ;;R^"863.3:","863.32:5",.01,"E"
+199 ;;D^OCXO FILE POINTER
+200 ;;R^"863.3:","863.32:6",.01,"E"
+201 ;1;
+202 ;