OCXDI00W ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
;;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 ^OCXDI00X
;
Q
;
DATA ;
;
;;R^"863.8:","863.84:4",1,"E"
;;D^YES NO
;;EOR^
;;KEY^863.8:^DATE INPUT FORMAT
;;R^"863.8:",.01,"E"
;;D^DATE INPUT FORMAT
;;R^"863.8:",.02,"E"
;;D^DATE INPUT
;;R^"863.8:",1,1
;;D^Can numeric input format (MMDDYY) be used? "N"=NO
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter 'N' if numeric date input (MMDDYY) cannot be used
;;R^"863.8:","863.84:8",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:8",1,"E"
;;D^N:NO
;;R^"863.8:","863.84:9",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:9",1,"E"
;;D^SET OF CODES
;;EOR^
;;KEY^863.8:^DATE TIME
;;R^"863.8:",.01,"E"
;;D^DATE TIME
;;R^"863.8:",.02,"E"
;;D^DATE TIME
;;R^"863.8:",1,1
;;D^Can time be entered along with the date? "T"=TIME ALLOWED, "R"=TIME REQUIRED
;;R^"863.8:","863.84:10",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:10",1,"E"
;;D^SET OF CODES
;;R^"863.8:","863.84:11",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:11",1,"E"
;;D^DTIME^OCXF6
;;R^"863.8:","863.84:7",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:7",1,"E"
;;D^Time parameter
;;R^"863.8:","863.84:9",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:9",1,"E"
;;D^T:TIME ALLOWED;R:TIME REQUIRED
;;EOR^
;;KEY^863.8:^DATE SECONDS
;;R^"863.8:",.01,"E"
;;D^DATE SECONDS
;;R^"863.8:",.02,"E"
;;D^DATE SEC
;;R^"863.8:",1,1
;;D^Seconds allowed and returned. "S"=SECONDS RETURNED
;;R^"863.8:","863.84:10",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:10",1,"E"
;;D^S:SECONDS RETURNED
;;R^"863.8:","863.84:11",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:11",1,"E"
;;D^DSEC^OCXF6
;;R^"863.8:","863.84:7",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:7",1,"E"
;;D^Enter 'S' if you want seconds returned
;;R^"863.8:","863.84:9",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:9",1,"E"
;;D^SET OF CODES
;;EOR^
;;KEY^863.8:^DATE EXACT
;;R^"863.8:",.01,"E"
;;D^DATE EXACT
;;R^"863.8:",.02,"E"
;;D^DATE X
;;R^"863.8:",1,1
;;D^Exact date required. "X"=EXACT DATE REQUIRED
;;R^"863.8:","863.84:10",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:10",1,"E"
;;D^DEX^OCXF6
;;R^"863.8:","863.84:11",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:11",1,"E"
;;D^SET OF CODES
;;R^"863.8:","863.84:7",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:7",1,"E"
;;D^Enter an'X' if exact date is required
;;R^"863.8:","863.84:9",.01,"E"
;;D^SET CODES
;;R^"863.8:","863.84:9",1,"E"
;;D^X:EXACT DATE REQUIRED
;;EOR^
;;KEY^863.8:^DATE SPECIAL OUTPUT FORMAT
;;R^"863.8:",.01,"E"
;;D^DATE SPECIAL OUTPUT FORMAT
;;R^"863.8:",.02,"E"
;;D^DATE OUT
;;R^"863.8:",1,1
;;D^M code which transforms internal FM date format to external format
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Output format code
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^MUMPS CODE
;;EOR^
;;KEY^863.8:^DATE LIMIT
;;R^"863.8:",.01,"E"
;;D^DATE LIMIT
;;R^"863.8:",.02,"E"
;;D^DATE LIM
;;R^"863.8:",1,1
;;D^Equivalent to %DT(0); e.g., 2940101=MUst be > or = to 1/1/94, -2940101=
;;R^"863.8:",1,2
;;D^Must be < or = 1/1/94
;;R^"863.8:",2,"E"
;;D^
;;R^"863.8:","863.84:4",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:4",1,"E"
;;D^Max or min date allowed [(-)yyymmdd]
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FILEMAN DATE INTERNAL FORMAT
;;EOR^
;;KEY^863.8:^DATE MINIMUM
;;R^"863.8:",.01,"E"
;;D^DATE MINIMUM
;;R^"863.8:",.02,"E"
;;D^DATE MIN
;;R^"863.8:",1,1
;;D^Earliest date allowed
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter earliest date allowed
;;R^"863.8:","863.84:7",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:7",1,"E"
;;D^FILEMAN DATE INTERNAL FORMAT
;;R^"863.8:","863.84:8",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:8",1,"E"
;;D^DMIN^OCXF6
;;EOR^
;;KEY^863.8:^DATE MAXIMUM
;;R^"863.8:",.01,"E"
;;D^DATE MAXIMUM
;;R^"863.8:",.02,"E"
;;D^DATE MAX
;;R^"863.8:",1,1
;;D^Maximum date allowed in internal FM format
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Maximum date
;;R^"863.8:","863.84:7",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:7",1,"E"
;;D^FILEMAN DATE INTERNAL FORMAT
;;R^"863.8:","863.84:8",.01,"E"
;;D^FM MASK
;;R^"863.8:","863.84:8",1,"E"
;;D^DMAX^OCXF6
;;EOR^
;;KEY^863.8:^DATA TYPE
;;R^"863.8:",.01,"E"
;;D^DATA TYPE
;;R^"863.8:",.02,"E"
;;D^DATA TYPE
;;R^"863.8:",1,1
;;D^An MDD data type; i.e., an entry in the OCX MDD DATA TYPE file.
;;R^"863.8:","863.84:6",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:6",1,"E"
;;D^Enter the datatype
;;R^"863.8:","863.84:7",.01,"E"
;;D^DIC
;;R^"863.8:","863.84:7",1,"E"
;;D^864.1
;;R^"863.8:","863.84:8",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:8",1,"E"
;;D^POINTER TO A FILEMAN FILE
;;R^"863.8:","863.84:9",.01,"E"
;;D^DIC LOOKUP INDEX STRING
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HOCXDI00W 5433 printed Oct 16, 2024@18:23:39 Page 2
OCXDI00W ;SLC/RJS,CLA - OCX PACKAGE DIAGNOSTIC ROUTINES ;SEP 7,1999 at 10:29
+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 ^OCXDI00X
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:","863.84:4",1,"E"
+3 ;;D^YES NO
+4 ;;EOR^
+5 ;;KEY^863.8:^DATE INPUT FORMAT
+6 ;;R^"863.8:",.01,"E"
+7 ;;D^DATE INPUT FORMAT
+8 ;;R^"863.8:",.02,"E"
+9 ;;D^DATE INPUT
+10 ;;R^"863.8:",1,1
+11 ;;D^Can numeric input format (MMDDYY) be used? "N"=NO
+12 ;;R^"863.8:","863.84:6",.01,"E"
+13 ;;D^QUERY
+14 ;;R^"863.8:","863.84:6",1,"E"
+15 ;;D^Enter 'N' if numeric date input (MMDDYY) cannot be used
+16 ;;R^"863.8:","863.84:8",.01,"E"
+17 ;;D^SET CODES
+18 ;;R^"863.8:","863.84:8",1,"E"
+19 ;;D^N:NO
+20 ;;R^"863.8:","863.84:9",.01,"E"
+21 ;;D^DATA TYPE
+22 ;;R^"863.8:","863.84:9",1,"E"
+23 ;;D^SET OF CODES
+24 ;;EOR^
+25 ;;KEY^863.8:^DATE TIME
+26 ;;R^"863.8:",.01,"E"
+27 ;;D^DATE TIME
+28 ;;R^"863.8:",.02,"E"
+29 ;;D^DATE TIME
+30 ;;R^"863.8:",1,1
+31 ;;D^Can time be entered along with the date? "T"=TIME ALLOWED, "R"=TIME REQUIRED
+32 ;;R^"863.8:","863.84:10",.01,"E"
+33 ;;D^DATA TYPE
+34 ;;R^"863.8:","863.84:10",1,"E"
+35 ;;D^SET OF CODES
+36 ;;R^"863.8:","863.84:11",.01,"E"
+37 ;;D^FM MASK
+38 ;;R^"863.8:","863.84:11",1,"E"
+39 ;;D^DTIME^OCXF6
+40 ;;R^"863.8:","863.84:7",.01,"E"
+41 ;;D^QUERY
+42 ;;R^"863.8:","863.84:7",1,"E"
+43 ;;D^Time parameter
+44 ;;R^"863.8:","863.84:9",.01,"E"
+45 ;;D^SET CODES
+46 ;;R^"863.8:","863.84:9",1,"E"
+47 ;;D^T:TIME ALLOWED;R:TIME REQUIRED
+48 ;;EOR^
+49 ;;KEY^863.8:^DATE SECONDS
+50 ;;R^"863.8:",.01,"E"
+51 ;;D^DATE SECONDS
+52 ;;R^"863.8:",.02,"E"
+53 ;;D^DATE SEC
+54 ;;R^"863.8:",1,1
+55 ;;D^Seconds allowed and returned. "S"=SECONDS RETURNED
+56 ;;R^"863.8:","863.84:10",.01,"E"
+57 ;;D^SET CODES
+58 ;;R^"863.8:","863.84:10",1,"E"
+59 ;;D^S:SECONDS RETURNED
+60 ;;R^"863.8:","863.84:11",.01,"E"
+61 ;;D^FM MASK
+62 ;;R^"863.8:","863.84:11",1,"E"
+63 ;;D^DSEC^OCXF6
+64 ;;R^"863.8:","863.84:7",.01,"E"
+65 ;;D^QUERY
+66 ;;R^"863.8:","863.84:7",1,"E"
+67 ;;D^Enter 'S' if you want seconds returned
+68 ;;R^"863.8:","863.84:9",.01,"E"
+69 ;;D^DATA TYPE
+70 ;;R^"863.8:","863.84:9",1,"E"
+71 ;;D^SET OF CODES
+72 ;;EOR^
+73 ;;KEY^863.8:^DATE EXACT
+74 ;;R^"863.8:",.01,"E"
+75 ;;D^DATE EXACT
+76 ;;R^"863.8:",.02,"E"
+77 ;;D^DATE X
+78 ;;R^"863.8:",1,1
+79 ;;D^Exact date required. "X"=EXACT DATE REQUIRED
+80 ;;R^"863.8:","863.84:10",.01,"E"
+81 ;;D^FM MASK
+82 ;;R^"863.8:","863.84:10",1,"E"
+83 ;;D^DEX^OCXF6
+84 ;;R^"863.8:","863.84:11",.01,"E"
+85 ;;D^DATA TYPE
+86 ;;R^"863.8:","863.84:11",1,"E"
+87 ;;D^SET OF CODES
+88 ;;R^"863.8:","863.84:7",.01,"E"
+89 ;;D^QUERY
+90 ;;R^"863.8:","863.84:7",1,"E"
+91 ;;D^Enter an'X' if exact date is required
+92 ;;R^"863.8:","863.84:9",.01,"E"
+93 ;;D^SET CODES
+94 ;;R^"863.8:","863.84:9",1,"E"
+95 ;;D^X:EXACT DATE REQUIRED
+96 ;;EOR^
+97 ;;KEY^863.8:^DATE SPECIAL OUTPUT FORMAT
+98 ;;R^"863.8:",.01,"E"
+99 ;;D^DATE SPECIAL OUTPUT FORMAT
+100 ;;R^"863.8:",.02,"E"
+101 ;;D^DATE OUT
+102 ;;R^"863.8:",1,1
+103 ;;D^M code which transforms internal FM date format to external format
+104 ;;R^"863.8:","863.84:3",.01,"E"
+105 ;;D^QUERY
+106 ;;R^"863.8:","863.84:3",1,"E"
+107 ;;D^Output format code
+108 ;;R^"863.8:","863.84:4",.01,"E"
+109 ;;D^DATA TYPE
+110 ;;R^"863.8:","863.84:4",1,"E"
+111 ;;D^MUMPS CODE
+112 ;;EOR^
+113 ;;KEY^863.8:^DATE LIMIT
+114 ;;R^"863.8:",.01,"E"
+115 ;;D^DATE LIMIT
+116 ;;R^"863.8:",.02,"E"
+117 ;;D^DATE LIM
+118 ;;R^"863.8:",1,1
+119 ;;D^Equivalent to %DT(0); e.g., 2940101=MUst be > or = to 1/1/94, -2940101=
+120 ;;R^"863.8:",1,2
+121 ;;D^Must be < or = 1/1/94
+122 ;;R^"863.8:",2,"E"
+123 ;;D^
+124 ;;R^"863.8:","863.84:4",.01,"E"
+125 ;;D^QUERY
+126 ;;R^"863.8:","863.84:4",1,"E"
+127 ;;D^Max or min date allowed [(-)yyymmdd]
+128 ;;R^"863.8:","863.84:5",.01,"E"
+129 ;;D^DATA TYPE
+130 ;;R^"863.8:","863.84:5",1,"E"
+131 ;;D^FILEMAN DATE INTERNAL FORMAT
+132 ;;EOR^
+133 ;;KEY^863.8:^DATE MINIMUM
+134 ;;R^"863.8:",.01,"E"
+135 ;;D^DATE MINIMUM
+136 ;;R^"863.8:",.02,"E"
+137 ;;D^DATE MIN
+138 ;;R^"863.8:",1,1
+139 ;;D^Earliest date allowed
+140 ;;R^"863.8:","863.84:6",.01,"E"
+141 ;;D^QUERY
+142 ;;R^"863.8:","863.84:6",1,"E"
+143 ;;D^Enter earliest date allowed
+144 ;;R^"863.8:","863.84:7",.01,"E"
+145 ;;D^DATA TYPE
+146 ;;R^"863.8:","863.84:7",1,"E"
+147 ;;D^FILEMAN DATE INTERNAL FORMAT
+148 ;;R^"863.8:","863.84:8",.01,"E"
+149 ;;D^FM MASK
+150 ;;R^"863.8:","863.84:8",1,"E"
+151 ;;D^DMIN^OCXF6
+152 ;;EOR^
+153 ;;KEY^863.8:^DATE MAXIMUM
+154 ;;R^"863.8:",.01,"E"
+155 ;;D^DATE MAXIMUM
+156 ;;R^"863.8:",.02,"E"
+157 ;;D^DATE MAX
+158 ;;R^"863.8:",1,1
+159 ;;D^Maximum date allowed in internal FM format
+160 ;;R^"863.8:","863.84:6",.01,"E"
+161 ;;D^QUERY
+162 ;;R^"863.8:","863.84:6",1,"E"
+163 ;;D^Maximum date
+164 ;;R^"863.8:","863.84:7",.01,"E"
+165 ;;D^DATA TYPE
+166 ;;R^"863.8:","863.84:7",1,"E"
+167 ;;D^FILEMAN DATE INTERNAL FORMAT
+168 ;;R^"863.8:","863.84:8",.01,"E"
+169 ;;D^FM MASK
+170 ;;R^"863.8:","863.84:8",1,"E"
+171 ;;D^DMAX^OCXF6
+172 ;;EOR^
+173 ;;KEY^863.8:^DATA TYPE
+174 ;;R^"863.8:",.01,"E"
+175 ;;D^DATA TYPE
+176 ;;R^"863.8:",.02,"E"
+177 ;;D^DATA TYPE
+178 ;;R^"863.8:",1,1
+179 ;;D^An MDD data type; i.e., an entry in the OCX MDD DATA TYPE file.
+180 ;;R^"863.8:","863.84:6",.01,"E"
+181 ;;D^QUERY
+182 ;;R^"863.8:","863.84:6",1,"E"
+183 ;;D^Enter the datatype
+184 ;;R^"863.8:","863.84:7",.01,"E"
+185 ;;D^DIC
+186 ;;R^"863.8:","863.84:7",1,"E"
+187 ;;D^864.1
+188 ;;R^"863.8:","863.84:8",.01,"E"
+189 ;;D^DATA TYPE
+190 ;;R^"863.8:","863.84:8",1,"E"
+191 ;;D^POINTER TO A FILEMAN FILE
+192 ;;R^"863.8:","863.84:9",.01,"E"
+193 ;;D^DIC LOOKUP INDEX STRING
+194 ;1;
+195 ;