OCXDI016 ;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 ^OCXDI017
;
Q
;
DATA ;
;
;;D^32
;;EOR^
;;KEY^863.8:^MESSAGE
;;R^"863.8:",.01,"E"
;;D^MESSAGE
;;R^"863.8:",.02,"E"
;;D^MESSAGE
;;R^"863.8:",1,1
;;D^Free text string
;;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^This is a free text string which will be displayed for the user.
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Message
;;EOR^
;;KEY^863.8:^POINTER REFERENCE
;;R^"863.8:",.01,"E"
;;D^POINTER REFERENCE
;;R^"863.8:",.02,"E"
;;D^POINTER
;;R^"863.8:",1,1
;;D^This is a closed global reference which contains the free text value of
;;R^"863.8:",1,2
;;D^a pointer as the 1st piece of the zero node.
;;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^A closed global reference used for subscript indirection such that the 1st piece of the zero node contains the free text value of the pointer (e.g., '^DPT' is the closed reference for a patients name).
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Pointer reference
;;EOR^
;;KEY^863.8:^LOOKUP VALUE
;;R^"863.8:",.01,"E"
;;D^LOOKUP VALUE
;;R^"863.8:",.02,"E"
;;D^LOOK
;;R^"863.8:",1,1
;;D^A free text string used as a DIC lookup 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^A free text string used as a valid DIC lookup value
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Lookup value
;;R^"863.8:","863.84:4",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:4",1,"E"
;;D^32
;;EOR^
;;KEY^863.8:^INDEX STRING
;;R^"863.8:",.01,"E"
;;D^INDEX STRING
;;R^"863.8:",.02,"E"
;;D^ISTRING
;;R^"863.8:",1,1
;;D^A string of indexes to be used by DIC in FileMan format; e.g.,
;;R^"863.8:",1,2
;;D^'B^C^ADOB'. Lookup will follow the order of indexes specified in the string
;;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 string of index names separated by a '^' delimiter; e.g., 'B^C^ADOB'. The order of indexes determines the order of the lookup.
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Index string
;;EOR^
;;KEY^863.8:^PARAMETER IEN
;;R^"863.8:",.01,"E"
;;D^PARAMETER IEN
;;R^"863.8:",.02,"E"
;;D^PIEN
;;R^"863.8:",1,1
;;D^A parameter internal entry number
;;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 name of a parameter
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Parameter
;;R^"863.8:","863.84:4",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:4",1,"E"
;;D^863.8
;;EOR^
;;KEY^863.8:^METHOD
;;R^"863.8:",.01,"E"
;;D^METHOD
;;R^"863.8:",.02,"E"
;;D^METHOD
;;R^"863.8:",1,1
;;D^The IEN of a method
;;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 name of a method
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Method
;;R^"863.8:","863.84:4",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:4",1,"E"
;;D^863.6
;;EOR^
;;KEY^863.8:^OVERRIDE ARRAY
;;R^"863.8:",.01,"E"
;;D^OVERRIDE ARRAY
;;R^"863.8:",.02,"E"
;;D^OVRAY
;;R^"863.8:",1,1
;;D^The closed reference for the ^OCXM override array
;;R^"863.8:",2,"E"
;;D^OCXM
;;R^"863.8:","863.84:1",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:1",1,"E"
;;D^CLOSED REFERENCE
;;R^"863.8:","863.84:2",.01,"E"
;;D^HELP MESSAGE
;;R^"863.8:","863.84:2",1,"E"
;;D^A variable name, usually 'OCXM'
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Override array reference
;;EOR^
;;KEY^863.8:^TRANSFORM
;;R^"863.8:",.01,"E"
;;D^TRANSFORM
;;R^"863.8:",.02,"E"
;;D^TRANSFORM
;;R^"863.8:",1,1
;;D^If 'YES' do an output transform
;;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 do an output transform
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^OK to do an output transform
;;EOR^
;;KEY^863.8:^BRIEF NAME OK
;;R^"863.8:",.01,"E"
;1;
;
OCXDI016 ;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 ^OCXDI017
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;D^32
+3 ;;EOR^
+4 ;;KEY^863.8:^MESSAGE
+5 ;;R^"863.8:",.01,"E"
+6 ;;D^MESSAGE
+7 ;;R^"863.8:",.02,"E"
+8 ;;D^MESSAGE
+9 ;;R^"863.8:",1,1
+10 ;;D^Free text string
+11 ;;R^"863.8:","863.84:1",.01,"E"
+12 ;;D^DATA TYPE
+13 ;;R^"863.8:","863.84:1",1,"E"
+14 ;;D^FREE TEXT
+15 ;;R^"863.8:","863.84:2",.01,"E"
+16 ;;D^HELP MESSAGE
+17 ;;R^"863.8:","863.84:2",1,"E"
+18 ;;D^This is a free text string which will be displayed for the user.
+19 ;;R^"863.8:","863.84:3",.01,"E"
+20 ;;D^QUERY
+21 ;;R^"863.8:","863.84:3",1,"E"
+22 ;;D^Message
+23 ;;EOR^
+24 ;;KEY^863.8:^POINTER REFERENCE
+25 ;;R^"863.8:",.01,"E"
+26 ;;D^POINTER REFERENCE
+27 ;;R^"863.8:",.02,"E"
+28 ;;D^POINTER
+29 ;;R^"863.8:",1,1
+30 ;;D^This is a closed global reference which contains the free text value of
+31 ;;R^"863.8:",1,2
+32 ;;D^a pointer as the 1st piece of the zero node.
+33 ;;R^"863.8:","863.84:1",.01,"E"
+34 ;;D^DATA TYPE
+35 ;;R^"863.8:","863.84:1",1,"E"
+36 ;;D^FREE TEXT
+37 ;;R^"863.8:","863.84:2",.01,"E"
+38 ;;D^HELP MESSAGE
+39 ;;R^"863.8:","863.84:2",1,"E"
+40 ;;D^A closed global reference used for subscript indirection such that the 1st piece of the zero node contains the free text value of the pointer (e.g., '^DPT' is the closed reference for a patients name).
+41 ;;R^"863.8:","863.84:3",.01,"E"
+42 ;;D^QUERY
+43 ;;R^"863.8:","863.84:3",1,"E"
+44 ;;D^Pointer reference
+45 ;;EOR^
+46 ;;KEY^863.8:^LOOKUP VALUE
+47 ;;R^"863.8:",.01,"E"
+48 ;;D^LOOKUP VALUE
+49 ;;R^"863.8:",.02,"E"
+50 ;;D^LOOK
+51 ;;R^"863.8:",1,1
+52 ;;D^A free text string used as a DIC lookup value
+53 ;;R^"863.8:","863.84:1",.01,"E"
+54 ;;D^DATA TYPE
+55 ;;R^"863.8:","863.84:1",1,"E"
+56 ;;D^FREE TEXT
+57 ;;R^"863.8:","863.84:2",.01,"E"
+58 ;;D^HELP MESSAGE
+59 ;;R^"863.8:","863.84:2",1,"E"
+60 ;;D^A free text string used as a valid DIC lookup value
+61 ;;R^"863.8:","863.84:3",.01,"E"
+62 ;;D^QUERY
+63 ;;R^"863.8:","863.84:3",1,"E"
+64 ;;D^Lookup value
+65 ;;R^"863.8:","863.84:4",.01,"E"
+66 ;;D^FREE TEXT MAXIMUM LENGTH
+67 ;;R^"863.8:","863.84:4",1,"E"
+68 ;;D^32
+69 ;;EOR^
+70 ;;KEY^863.8:^INDEX STRING
+71 ;;R^"863.8:",.01,"E"
+72 ;;D^INDEX STRING
+73 ;;R^"863.8:",.02,"E"
+74 ;;D^ISTRING
+75 ;;R^"863.8:",1,1
+76 ;;D^A string of indexes to be used by DIC in FileMan format; e.g.,
+77 ;;R^"863.8:",1,2
+78 ;;D^'B^C^ADOB'. Lookup will follow the order of indexes specified in the string
+79 ;;R^"863.8:","863.84:1",.01,"E"
+80 ;;D^DATA TYPE
+81 ;;R^"863.8:","863.84:1",1,"E"
+82 ;;D^FREE TEXT
+83 ;;R^"863.8:","863.84:2",.01,"E"
+84 ;;D^HELP MESSAGE
+85 ;;R^"863.8:","863.84:2",1,"E"
+86 ;;D^Enter string of index names separated by a '^' delimiter; e.g., 'B^C^ADOB'. The order of indexes determines the order of the lookup.
+87 ;;R^"863.8:","863.84:3",.01,"E"
+88 ;;D^QUERY
+89 ;;R^"863.8:","863.84:3",1,"E"
+90 ;;D^Index string
+91 ;;EOR^
+92 ;;KEY^863.8:^PARAMETER IEN
+93 ;;R^"863.8:",.01,"E"
+94 ;;D^PARAMETER IEN
+95 ;;R^"863.8:",.02,"E"
+96 ;;D^PIEN
+97 ;;R^"863.8:",1,1
+98 ;;D^A parameter internal entry number
+99 ;;R^"863.8:","863.84:1",.01,"E"
+100 ;;D^DATA TYPE
+101 ;;R^"863.8:","863.84:1",1,"E"
+102 ;;D^POINTER TO A FILEMAN FILE
+103 ;;R^"863.8:","863.84:2",.01,"E"
+104 ;;D^HELP MESSAGE
+105 ;;R^"863.8:","863.84:2",1,"E"
+106 ;;D^Enter the name of a parameter
+107 ;;R^"863.8:","863.84:3",.01,"E"
+108 ;;D^QUERY
+109 ;;R^"863.8:","863.84:3",1,"E"
+110 ;;D^Parameter
+111 ;;R^"863.8:","863.84:4",.01,"E"
+112 ;;D^DIC
+113 ;;R^"863.8:","863.84:4",1,"E"
+114 ;;D^863.8
+115 ;;EOR^
+116 ;;KEY^863.8:^METHOD
+117 ;;R^"863.8:",.01,"E"
+118 ;;D^METHOD
+119 ;;R^"863.8:",.02,"E"
+120 ;;D^METHOD
+121 ;;R^"863.8:",1,1
+122 ;;D^The IEN of a method
+123 ;;R^"863.8:","863.84:1",.01,"E"
+124 ;;D^DATA TYPE
+125 ;;R^"863.8:","863.84:1",1,"E"
+126 ;;D^POINTER TO A FILEMAN FILE
+127 ;;R^"863.8:","863.84:2",.01,"E"
+128 ;;D^HELP MESSAGE
+129 ;;R^"863.8:","863.84:2",1,"E"
+130 ;;D^Enter the name of a method
+131 ;;R^"863.8:","863.84:3",.01,"E"
+132 ;;D^QUERY
+133 ;;R^"863.8:","863.84:3",1,"E"
+134 ;;D^Method
+135 ;;R^"863.8:","863.84:4",.01,"E"
+136 ;;D^DIC
+137 ;;R^"863.8:","863.84:4",1,"E"
+138 ;;D^863.6
+139 ;;EOR^
+140 ;;KEY^863.8:^OVERRIDE ARRAY
+141 ;;R^"863.8:",.01,"E"
+142 ;;D^OVERRIDE ARRAY
+143 ;;R^"863.8:",.02,"E"
+144 ;;D^OVRAY
+145 ;;R^"863.8:",1,1
+146 ;;D^The closed reference for the ^OCXM override array
+147 ;;R^"863.8:",2,"E"
+148 ;;D^OCXM
+149 ;;R^"863.8:","863.84:1",.01,"E"
+150 ;;D^DATA TYPE
+151 ;;R^"863.8:","863.84:1",1,"E"
+152 ;;D^CLOSED REFERENCE
+153 ;;R^"863.8:","863.84:2",.01,"E"
+154 ;;D^HELP MESSAGE
+155 ;;R^"863.8:","863.84:2",1,"E"
+156 ;;D^A variable name, usually 'OCXM'
+157 ;;R^"863.8:","863.84:3",.01,"E"
+158 ;;D^QUERY
+159 ;;R^"863.8:","863.84:3",1,"E"
+160 ;;D^Override array reference
+161 ;;EOR^
+162 ;;KEY^863.8:^TRANSFORM
+163 ;;R^"863.8:",.01,"E"
+164 ;;D^TRANSFORM
+165 ;;R^"863.8:",.02,"E"
+166 ;;D^TRANSFORM
+167 ;;R^"863.8:",1,1
+168 ;;D^If 'YES' do an output transform
+169 ;;R^"863.8:","863.84:1",.01,"E"
+170 ;;D^DATA TYPE
+171 ;;R^"863.8:","863.84:1",1,"E"
+172 ;;D^YES NO
+173 ;;R^"863.8:","863.84:2",.01,"E"
+174 ;;D^HELP MESSAGE
+175 ;;R^"863.8:","863.84:2",1,"E"
+176 ;;D^Answer 'YES' to do an output transform
+177 ;;R^"863.8:","863.84:3",.01,"E"
+178 ;;D^QUERY
+179 ;;R^"863.8:","863.84:3",1,"E"
+180 ;;D^OK to do an output transform
+181 ;;EOR^
+182 ;;KEY^863.8:^BRIEF NAME OK
+183 ;;R^"863.8:",.01,"E"
+184 ;1;
+185 ;