OCXDI017 ;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 ^OCXDI018
;
Q
;
DATA ;
;
;;D^BRIEF NAME OK
;;R^"863.8:",.02,"E"
;;D^BRIEF
;;R^"863.8:",1,1
;;D^OK to use the brief name of an object
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^YES NO
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Answer yes if it is ok to use a brief name
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^OK to use brief name
;;EOR^
;;KEY^863.8:^PARAMETER QUERY
;;R^"863.8:",.01,"E"
;;D^PARAMETER QUERY
;;R^"863.8:",.02,"E"
;;D^PQUERY
;;R^"863.8:",1,1
;;D^A query which asks for a valid parameter value
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter the text which asks a user for a parameter query
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Query
;;R^"863.8:","863.84:4",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:4",1,"E"
;;D^240
;;EOR^
;;KEY^863.8:^DATA TYPE IEN
;;R^"863.8:",.01,"E"
;;D^DATA TYPE IEN
;;R^"863.8:",.02,"E"
;;D^DTIEN
;;R^"863.8:",1,1
;;D^The IEN of a data type in the DATA TYPE file.
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^POINTER TO A FILEMAN FILE
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter the data type name
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Data type
;;R^"863.8:","863.84:4",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:4",1,"E"
;;D^864.1
;;EOR^
;;KEY^863.8:^NO DISPLAY
;;R^"863.8:",.01,"E"
;;D^NO DISPLAY
;;R^"863.8:",.02,"E"
;;D^NO DISP
;;R^"863.8:",1,1
;;D^Supress the display of results
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^YES NO
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Answer 'YES' to supress the display
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Supress display
;;EOR^
;;KEY^863.8:^OCXO VARIABLE NAME
;;R^"863.8:",.01,"E"
;;D^OCXO VARIABLE NAME
;;EOR^
;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
;;R^"863.8:",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;EOR^
;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
;;R^"863.8:",.01,"E"
;;D^OCXO UP-ARROW PIECE NUMBER
;;EOR^
;;KEY^863.8:^OCXO OPERATOR CODE TEMPLATE
;;R^"863.8:",.01,"E"
;;D^OCXO OPERATOR CODE TEMPLATE
;;EOR^
;;KEY^863.8:^OCXO HL7 SEGMENT ID
;;R^"863.8:",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.8:",.02,"E"
;;D^HL7SEGID
;;EOR^
;;KEY^863.8:^OCXO UNARY OPERATOR FLAG
;;R^"863.8:",.01,"E"
;;D^OCXO UNARY OPERATOR FLAG
;;EOR^
;;KEY^863.8:^OCXO OPERATOR CODE ROUTINE
;;R^"863.8:",.01,"E"
;;D^OCXO OPERATOR CODE ROUTINE
;;R^"863.8:",.02,"E"
;;D^CODE RTN
;;EOR^
;;KEY^863.8:^OCXO GENERATE CODE FUNCTION
;;R^"863.8:",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.8:",.02,"E"
;;D^GEN
;;EOR^
;;KEY^863.8:^PRIMARY DATA FIELD
;;R^"863.8:",.01,"E"
;;D^PRIMARY DATA FIELD
;;R^"863.8:",.02,"E"
;;D^PDFLD
;;R^"863.8:",1,1
;;D^
;;R^"863.8:",1,2
;;D^ Primary data field in a comparison expression that
;;R^"863.8:",1,3
;;D^ is to be tested.
;;R^"863.8:",1,4
;;D^
;;EOR^
;;KEY^863.8:^COMPARISON VALUE
;;R^"863.8:",.01,"E"
;;D^COMPARISON VALUE
;;R^"863.8:",.02,"E"
;;D^CVAL
;;R^"863.8:",1,1
;;D^
;;R^"863.8:",1,2
;;D^ This is a value to be compared with PRIMARY DATA FIELD
;;R^"863.8:",1,3
;;D^ in a truth conditional.
;;R^"863.8:",1,4
;;D^
;;EOR^
;;KEY^863.8:^COMPARISON LOW VALUE
;;R^"863.8:",.01,"E"
;;D^COMPARISON LOW VALUE
;;R^"863.8:",.02,"E"
;;D^CLVAL
;;R^"863.8:",1,1
;;D^
;;R^"863.8:",1,2
;;D^ This is the low value in a range that is compared
;;R^"863.8:",1,3
;;D^ to the PRIMARY DATA FIELD in a boolean expression.
;;R^"863.8:",1,4
;;D^
;;EOR^
;;KEY^863.8:^COMPARISON HIGH VALUE
;;R^"863.8:",.01,"E"
;;D^COMPARISON HIGH VALUE
;;R^"863.8:",.02,"E"
;;D^CHVAL
;;R^"863.8:",1,1
;;D^
;;R^"863.8:",1,2
;;D^ This is the high value in a range that is compared
;;R^"863.8:",1,3
;;D^ to the PRIMARY DATA FIELD in a boolean expression.
;;R^"863.8:",1,4
;;D^
;;EOR^
;;KEY^863.8:^OCXO NULL VALUE ALLOWED
;;R^"863.8:",.01,"E"
;;D^OCXO NULL VALUE ALLOWED
;;R^"863.8:",.02,"E"
;;D^NVAL
;;EOR^
;;KEY^863.8:^OCXO DATA DRIVE SOURCE
;;R^"863.8:",.01,"E"
;;D^OCXO DATA DRIVE SOURCE
;;EOR^
;;KEY^863.8:^REPEAT THE QUERY
;;R^"863.8:",.01,"E"
;;D^REPEAT THE QUERY
;;R^"863.8:",.02,"E"
;;D^LOOP
;;R^"863.8:",1,1
;;D^Set this = 1 to repetatively ask the user to enter a value
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^YES NO
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^Answer 'YES' if you want the user to repetaively enter a value.
;1;
;
OCXDI017 ;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 ^OCXDI018
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^BRIEF NAME OK
+3 ;;R^"863.8:",.02,"E"
+4 ;;D^BRIEF
+5 ;;R^"863.8:",1,1
+6 ;;D^OK to use the brief name of an object
+7 ;;R^"863.8:","863.84:1",.01,"E"
+8 ;;D^DATA TYPE
+9 ;;R^"863.8:","863.84:1",1,"E"
+10 ;;D^YES NO
+11 ;;R^"863.8:","863.84:2",.01,"E"
+12 ;;D^HELP MESSAGE
+13 ;;R^"863.8:","863.84:2",1,"E"
+14 ;;D^Answer yes if it is ok to use a brief name
+15 ;;R^"863.8:","863.84:3",.01,"E"
+16 ;;D^QUERY
+17 ;;R^"863.8:","863.84:3",1,"E"
+18 ;;D^OK to use brief name
+19 ;;EOR^
+20 ;;KEY^863.8:^PARAMETER QUERY
+21 ;;R^"863.8:",.01,"E"
+22 ;;D^PARAMETER QUERY
+23 ;;R^"863.8:",.02,"E"
+24 ;;D^PQUERY
+25 ;;R^"863.8:",1,1
+26 ;;D^A query which asks for a valid parameter value
+27 ;;R^"863.8:","863.84:1",.01,"E"
+28 ;;D^DATA TYPE
+29 ;;R^"863.8:","863.84:1",1,"E"
+30 ;;D^FREE TEXT
+31 ;;R^"863.8:","863.84:2",.01,"E"
+32 ;;D^HELP MESSAGE
+33 ;;R^"863.8:","863.84:2",1,"E"
+34 ;;D^Enter the text which asks a user for a parameter query
+35 ;;R^"863.8:","863.84:3",.01,"E"
+36 ;;D^QUERY
+37 ;;R^"863.8:","863.84:3",1,"E"
+38 ;;D^Query
+39 ;;R^"863.8:","863.84:4",.01,"E"
+40 ;;D^FREE TEXT MAXIMUM LENGTH
+41 ;;R^"863.8:","863.84:4",1,"E"
+42 ;;D^240
+43 ;;EOR^
+44 ;;KEY^863.8:^DATA TYPE IEN
+45 ;;R^"863.8:",.01,"E"
+46 ;;D^DATA TYPE IEN
+47 ;;R^"863.8:",.02,"E"
+48 ;;D^DTIEN
+49 ;;R^"863.8:",1,1
+50 ;;D^The IEN of a data type in the DATA TYPE file.
+51 ;;R^"863.8:","863.84:1",.01,"E"
+52 ;;D^DATA TYPE
+53 ;;R^"863.8:","863.84:1",1,"E"
+54 ;;D^POINTER TO A FILEMAN FILE
+55 ;;R^"863.8:","863.84:2",.01,"E"
+56 ;;D^HELP MESSAGE
+57 ;;R^"863.8:","863.84:2",1,"E"
+58 ;;D^Enter the data type name
+59 ;;R^"863.8:","863.84:3",.01,"E"
+60 ;;D^QUERY
+61 ;;R^"863.8:","863.84:3",1,"E"
+62 ;;D^Data type
+63 ;;R^"863.8:","863.84:4",.01,"E"
+64 ;;D^DIC
+65 ;;R^"863.8:","863.84:4",1,"E"
+66 ;;D^864.1
+67 ;;EOR^
+68 ;;KEY^863.8:^NO DISPLAY
+69 ;;R^"863.8:",.01,"E"
+70 ;;D^NO DISPLAY
+71 ;;R^"863.8:",.02,"E"
+72 ;;D^NO DISP
+73 ;;R^"863.8:",1,1
+74 ;;D^Supress the display of results
+75 ;;R^"863.8:","863.84:1",.01,"E"
+76 ;;D^DATA TYPE
+77 ;;R^"863.8:","863.84:1",1,"E"
+78 ;;D^YES NO
+79 ;;R^"863.8:","863.84:2",.01,"E"
+80 ;;D^HELP MESSAGE
+81 ;;R^"863.8:","863.84:2",1,"E"
+82 ;;D^Answer 'YES' to supress the display
+83 ;;R^"863.8:","863.84:3",.01,"E"
+84 ;;D^QUERY
+85 ;;R^"863.8:","863.84:3",1,"E"
+86 ;;D^Supress display
+87 ;;EOR^
+88 ;;KEY^863.8:^OCXO VARIABLE NAME
+89 ;;R^"863.8:",.01,"E"
+90 ;;D^OCXO VARIABLE NAME
+91 ;;EOR^
+92 ;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
+93 ;;R^"863.8:",.01,"E"
+94 ;;D^OCXO VT-BAR PIECE NUMBER
+95 ;;EOR^
+96 ;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
+97 ;;R^"863.8:",.01,"E"
+98 ;;D^OCXO UP-ARROW PIECE NUMBER
+99 ;;EOR^
+100 ;;KEY^863.8:^OCXO OPERATOR CODE TEMPLATE
+101 ;;R^"863.8:",.01,"E"
+102 ;;D^OCXO OPERATOR CODE TEMPLATE
+103 ;;EOR^
+104 ;;KEY^863.8:^OCXO HL7 SEGMENT ID
+105 ;;R^"863.8:",.01,"E"
+106 ;;D^OCXO HL7 SEGMENT ID
+107 ;;R^"863.8:",.02,"E"
+108 ;;D^HL7SEGID
+109 ;;EOR^
+110 ;;KEY^863.8:^OCXO UNARY OPERATOR FLAG
+111 ;;R^"863.8:",.01,"E"
+112 ;;D^OCXO UNARY OPERATOR FLAG
+113 ;;EOR^
+114 ;;KEY^863.8:^OCXO OPERATOR CODE ROUTINE
+115 ;;R^"863.8:",.01,"E"
+116 ;;D^OCXO OPERATOR CODE ROUTINE
+117 ;;R^"863.8:",.02,"E"
+118 ;;D^CODE RTN
+119 ;;EOR^
+120 ;;KEY^863.8:^OCXO GENERATE CODE FUNCTION
+121 ;;R^"863.8:",.01,"E"
+122 ;;D^OCXO GENERATE CODE FUNCTION
+123 ;;R^"863.8:",.02,"E"
+124 ;;D^GEN
+125 ;;EOR^
+126 ;;KEY^863.8:^PRIMARY DATA FIELD
+127 ;;R^"863.8:",.01,"E"
+128 ;;D^PRIMARY DATA FIELD
+129 ;;R^"863.8:",.02,"E"
+130 ;;D^PDFLD
+131 ;;R^"863.8:",1,1
+132 ;;D^
+133 ;;R^"863.8:",1,2
+134 ;;D^ Primary data field in a comparison expression that
+135 ;;R^"863.8:",1,3
+136 ;;D^ is to be tested.
+137 ;;R^"863.8:",1,4
+138 ;;D^
+139 ;;EOR^
+140 ;;KEY^863.8:^COMPARISON VALUE
+141 ;;R^"863.8:",.01,"E"
+142 ;;D^COMPARISON VALUE
+143 ;;R^"863.8:",.02,"E"
+144 ;;D^CVAL
+145 ;;R^"863.8:",1,1
+146 ;;D^
+147 ;;R^"863.8:",1,2
+148 ;;D^ This is a value to be compared with PRIMARY DATA FIELD
+149 ;;R^"863.8:",1,3
+150 ;;D^ in a truth conditional.
+151 ;;R^"863.8:",1,4
+152 ;;D^
+153 ;;EOR^
+154 ;;KEY^863.8:^COMPARISON LOW VALUE
+155 ;;R^"863.8:",.01,"E"
+156 ;;D^COMPARISON LOW VALUE
+157 ;;R^"863.8:",.02,"E"
+158 ;;D^CLVAL
+159 ;;R^"863.8:",1,1
+160 ;;D^
+161 ;;R^"863.8:",1,2
+162 ;;D^ This is the low value in a range that is compared
+163 ;;R^"863.8:",1,3
+164 ;;D^ to the PRIMARY DATA FIELD in a boolean expression.
+165 ;;R^"863.8:",1,4
+166 ;;D^
+167 ;;EOR^
+168 ;;KEY^863.8:^COMPARISON HIGH VALUE
+169 ;;R^"863.8:",.01,"E"
+170 ;;D^COMPARISON HIGH VALUE
+171 ;;R^"863.8:",.02,"E"
+172 ;;D^CHVAL
+173 ;;R^"863.8:",1,1
+174 ;;D^
+175 ;;R^"863.8:",1,2
+176 ;;D^ This is the high value in a range that is compared
+177 ;;R^"863.8:",1,3
+178 ;;D^ to the PRIMARY DATA FIELD in a boolean expression.
+179 ;;R^"863.8:",1,4
+180 ;;D^
+181 ;;EOR^
+182 ;;KEY^863.8:^OCXO NULL VALUE ALLOWED
+183 ;;R^"863.8:",.01,"E"
+184 ;;D^OCXO NULL VALUE ALLOWED
+185 ;;R^"863.8:",.02,"E"
+186 ;;D^NVAL
+187 ;;EOR^
+188 ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
+189 ;;R^"863.8:",.01,"E"
+190 ;;D^OCXO DATA DRIVE SOURCE
+191 ;;EOR^
+192 ;;KEY^863.8:^REPEAT THE QUERY
+193 ;;R^"863.8:",.01,"E"
+194 ;;D^REPEAT THE QUERY
+195 ;;R^"863.8:",.02,"E"
+196 ;;D^LOOP
+197 ;;R^"863.8:",1,1
+198 ;;D^Set this = 1 to repetatively ask the user to enter a value
+199 ;;R^"863.8:","863.84:1",.01,"E"
+200 ;;D^DATA TYPE
+201 ;;R^"863.8:","863.84:1",1,"E"
+202 ;;D^YES NO
+203 ;;R^"863.8:","863.84:2",.01,"E"
+204 ;;D^HELP MESSAGE
+205 ;;R^"863.8:","863.84:2",1,"E"
+206 ;;D^Answer 'YES' if you want the user to repetaively enter a value.
+207 ;1;
+208 ;