ORY53902 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*539) ;JAN 13,2021 at 11:13
;;3.0;ORDER ENTRY/RESULTS REPORTING;**539**;Dec 17,1997;Build 41
;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
;
S ;
;
D DOT^ORY539ES
;
;
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("OCXRULE",$J,$O(^TMP("OCXRULE",$J,"A"),-1)+1)=TEXT
;
G ^ORY53903
;
Q
;
DATA ;
;
;;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^QUERY
;;R^"863.8:","863.84:2",1,"E"
;;D^Enter the query (free text string)
;;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 repetitively 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 repetitively enter a value.
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Is the query repetitive
;;EOR^
;;KEY^863.8:^TERMINATOR
;;R^"863.8:",.01,"E"
;;D^TERMINATOR
;;R^"863.8:",.02,"E"
;;D^TERMINATOR
;;R^"863.8:",1,1
;;D^A text string terminator; e.g., '?', ': ', '=>'
;;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^Enter text string terminator
;;R^"863.8:","863.84:5",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:5",1,"E"
;;D^FREE TEXT
;;R^"863.8:","863.84:6",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"863.8:","863.84:6",1,"E"
;;D^9
;;EOR^
;;KEY^863.8:^VALUE CALL
;;R^"863.8:",.01,"E"
;;D^VALUE CALL
;;R^"863.8:",.02,"E"
;;D^VAL CALL
;;R^"863.8:",.03,"E"
;;D^NO
;;R^"863.8:",1,1
;;D^tag^routine which manages the dialogue for collecting and validating a value
;;R^"863.8:","863.84:3",.01,"E"
;;D^QUERY
;;R^"863.8:","863.84:3",1,"E"
;;D^Enter tag^routine
;;R^"863.8:","863.84:4",.01,"E"
;;D^DATA TYPE
;;R^"863.8:","863.84:4",1,"E"
;;D^LINE TAG
;;EOR^
;;EOF^OCXS(863.8)^1
;;SOF^864.1 OCX MDD DATATYPE
;;KEY^864.1:^BOOLEAN
;;R^"864.1:",.01,"E"
;;D^BOOLEAN
;;R^"864.1:",.02,"E"
;;D^BOOL
;;EOR^
;;KEY^864.1:^FREE TEXT
;;R^"864.1:",.01,"E"
;;D^FREE TEXT
;;R^"864.1:",.02,"E"
;;D^FT
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^FT^OCXFDFT
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a free text string
;;R^"864.1:","864.11:3",.01,"E"
;;D^FREE TEXT MAXIMUM LENGTH
;;R^"864.1:","864.11:3",1,"E"
;;D^240
;;R^"864.1:","864.11:4",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:4",1,"E"
;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
;;R^"864.1:","864.11:5",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:5",1,"E"
;;D^Enter another free text string
;;R^"864.1:","864.11:6",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:6",1,"E"
;;D^0
;;EOR^
;;KEY^864.1:^GENERIC
;;R^"864.1:",.01,"E"
;;D^GENERIC
;;R^"864.1:",.02,"E"
;;D^GENERIC
;;R^"864.1:","864.11:11",.01,"E"
;;D^MANDATORY MESSAGE
;;R^"864.1:","864.11:11",1,"E"
;;D^This answer is mandatory. Enter a response or press '^' to exit.
;;R^"864.1:","864.11:12",.01,"E"
;;D^TERMINATOR
;;R^"864.1:","864.11:12",1,"E"
;;D^:
;;R^"864.1:","864.11:13",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:13",1,"E"
;;D^Enter another value
;;R^"864.1:","864.11:7",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:7",1,"E"
;;D^GEN^OCXFDMOM
;;R^"864.1:","864.11:8",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:8",1,"E"
;;D^Enter a value
;;R^"864.1:","864.11:9",.01,"E"
;;D^HELP MESSAGE
;;R^"864.1:","864.11:9",1,"E"
;;D^
;;EOR^
;;KEY^864.1:^NUMERIC
;;R^"864.1:",.01,"E"
;;D^NUMERIC
;;R^"864.1:",.02,"E"
;;D^NUMERIC
;;R^"864.1:",2,"E"
;;D^GENERIC
;;R^"864.1:","864.11:1",.01,"E"
;;D^VALUE CALL
;;R^"864.1:","864.11:1",1,"E"
;;D^NU^OCXFDNU
;;R^"864.1:","864.11:2",.01,"E"
;;D^QUERY
;;R^"864.1:","864.11:2",1,"E"
;;D^Enter a number
;;R^"864.1:","864.11:3",.01,"E"
;;D^LOOP QUERY
;;R^"864.1:","864.11:3",1,"E"
;;D^Enter another number
;;R^"864.1:","864.11:4",.01,"E"
;;D^REPEAT THE QUERY
;;R^"864.1:","864.11:4",1,"E"
;;D^0
;;EOR^
;;EOF^OCXS(864.1)^1
;;SOF^863.7 OCX MDD PUBLIC FUNCTION
;;KEY^863.7:^GCC BOOLEAN LOGICAL FALSE
;;R^"863.7:",.01,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",3,"E"
;;D^FALSE^OCXF23
;;R^"863.7:","863.74:1",.01,"E"
;;D^PRIMARY DATA FIELD
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;EOR^
;;KEY^863.7:^GCC BOOLEAN LOGICAL TRUE
;;R^"863.7:",.01,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.7:",.02,"E"
;;D^EXTRINSIC FUNCTION
;;R^"863.7:",3,"E"
;;D^TRUE^OCXF23
;;R^"863.7:","863.74:1",.01,"E"
;;D^PRIMARY DATA FIELD
;;R^"863.7:","863.74:1",1.1,"E"
;;D^1
;;EOR^
;;EOF^OCXS(863.7)^1
;;SOF^863.9 OCX MDD CONDITION/FUNCTION
;;KEY^863.9:^LOGICAL FALSE
;;R^"863.9:",.01,"E"
;;D^LOGICAL FALSE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;;R^"863.9:",.04,"E"
;;D^IS FALSE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC BOOLEAN LOGICAL FALSE
;;R^"863.9:","863.92:1",.01,"E"
;;D^FALSE
;;EOR^
;;KEY^863.9:^LOGICAL TRUE
;;R^"863.9:",.01,"E"
;;D^LOGICAL TRUE
;;R^"863.9:",.02,"E"
;;D^BOOLEAN
;;R^"863.9:",.03,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:",.04,"E"
;;D^IS TRUE
;;R^"863.9:","863.91:1",.01,"E"
;;D^OCXO GENERATE CODE FUNCTION
;;R^"863.9:","863.91:1",1,"E"
;;D^GCC BOOLEAN LOGICAL TRUE
;;R^"863.9:","863.92:1",.01,"E"
;;D^TRUE
;;EOR^
;;EOF^OCXS(863.9)^1
;;SOF^863.4 OCX MDD ATTRIBUTE
;;KEY^863.4:^DATE/TIME
;;R^"863.4:",.01,"E"
;;D^DATE/TIME
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^FREE TEXT
;;EOR^
;;KEY^863.4:^IEN
;;R^"863.4:",.01,"E"
;;D^IEN
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;KEY^863.4:^ORDER FLAGGED
;;R^"863.4:",.01,"E"
;;D^ORDER FLAGGED
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^BOOLEAN
;;EOR^
;;KEY^863.4:^ORDER PATIENT
;;R^"863.4:",.01,"E"
;;D^ORDER PATIENT
;;R^"863.4:","863.41:1",.01,"E"
;;D^DATA TYPE
;;R^"863.4:","863.41:1",1,"E"
;;D^NUMERIC
;;EOR^
;;EOF^OCXS(863.4)^1
;;SOF^863.2 OCX MDD SUBJECT
;;KEY^863.2:^PATIENT
;;R^"863.2:",.01,"E"
;;D^PATIENT
;;R^"863.2:","863.21:1",.01,"E"
;;D^FILE
;;R^"863.2:","863.21:1",1,"E"
;;D^2
;;EOR^
;;EOF^OCXS(863.2)^1
;;SOF^863.3 OCX MDD LINK
;;KEY^863.3:^CURRENT_DATE/TIME
;;R^"863.3:",.01,"E"
;;D^CURRENT_DATE/TIME
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^DATE/TIME
;;R^"863.3:",.06,"E"
;;D^999
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO EXTERNAL FUNCTION CALL
;;R^"863.3:","863.32:1",1,"E"
;;D^INT2DT($$DT2INT("N"),0)
;;EOR^
;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
;;R^"863.3:",.01,"E"
;;D^PATIENT.HL7_PATIENT_ID
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.04,"E"
;;D^HL7
;;R^"863.3:",.05,"E"
;;D^IEN
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO HL7 SEGMENT ID
;;R^"863.3:","863.32:2",.01,"E"
;;D^OCXO VT-BAR PIECE NUMBER
;;R^"863.3:","863.32:3",.01,"E"
;;D^OCXO VARIABLE NAME
;;R^"863.3:","863.32:3",1,"E"
;;D^OCXODATA("PID",3)
;;EOR^
;;KEY^863.3:^PATIENT.IEN
;;R^"863.3:",.01,"E"
;;D^PATIENT.IEN
;;R^"863.3:",.02,"E"
;;D^PATIENT
;;R^"863.3:",.05,"E"
;;D^IEN
;;R^"863.3:",.06,"E"
;;D^99
;;R^"863.3:","863.32:1",.01,"E"
;;D^OCXO VARIABLE NAME
;1;
;
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY53902 8087 printed Oct 16, 2024@18:43:05 Page 2
ORY53902 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*539) ;JAN 13,2021 at 11:13
+1 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**539**;Dec 17,1997;Build 41
+2 ;; ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
+3 ;
S ;
+1 ;
+2 DO DOT^ORY539ES
+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("OCXRULE",$JOB,$ORDER(^TMP("OCXRULE",$JOB,"A"),-1)+1)=TEXT
End DoDot:1
if QUIT
QUIT
+8 ;
+9 GOTO ^ORY53903
+10 ;
+11 QUIT
+12 ;
DATA ;
+1 ;
+2 ;;R^"863.8:","863.84:1",.01,"E"
+3 ;;D^DATA TYPE
+4 ;;R^"863.8:","863.84:1",1,"E"
+5 ;;D^FREE TEXT
+6 ;;R^"863.8:","863.84:2",.01,"E"
+7 ;;D^QUERY
+8 ;;R^"863.8:","863.84:2",1,"E"
+9 ;;D^Enter the query (free text string)
+10 ;;EOR^
+11 ;;KEY^863.8:^REPEAT THE QUERY
+12 ;;R^"863.8:",.01,"E"
+13 ;;D^REPEAT THE QUERY
+14 ;;R^"863.8:",.02,"E"
+15 ;;D^LOOP
+16 ;;R^"863.8:",1,1
+17 ;;D^Set this = 1 to repetitively ask the user to enter a value
+18 ;;R^"863.8:","863.84:1",.01,"E"
+19 ;;D^DATA TYPE
+20 ;;R^"863.8:","863.84:1",1,"E"
+21 ;;D^YES NO
+22 ;;R^"863.8:","863.84:2",.01,"E"
+23 ;;D^HELP MESSAGE
+24 ;;R^"863.8:","863.84:2",1,"E"
+25 ;;D^Answer 'YES' if you want the user to repetitively enter a value.
+26 ;;R^"863.8:","863.84:3",.01,"E"
+27 ;;D^QUERY
+28 ;;R^"863.8:","863.84:3",1,"E"
+29 ;;D^Is the query repetitive
+30 ;;EOR^
+31 ;;KEY^863.8:^TERMINATOR
+32 ;;R^"863.8:",.01,"E"
+33 ;;D^TERMINATOR
+34 ;;R^"863.8:",.02,"E"
+35 ;;D^TERMINATOR
+36 ;;R^"863.8:",1,1
+37 ;;D^A text string terminator; e.g., '?', ': ', '=>'
+38 ;;R^"863.8:",2,"E"
+39 ;;D^:
+40 ;;R^"863.8:","863.84:4",.01,"E"
+41 ;;D^QUERY
+42 ;;R^"863.8:","863.84:4",1,"E"
+43 ;;D^Enter text string terminator
+44 ;;R^"863.8:","863.84:5",.01,"E"
+45 ;;D^DATA TYPE
+46 ;;R^"863.8:","863.84:5",1,"E"
+47 ;;D^FREE TEXT
+48 ;;R^"863.8:","863.84:6",.01,"E"
+49 ;;D^FREE TEXT MAXIMUM LENGTH
+50 ;;R^"863.8:","863.84:6",1,"E"
+51 ;;D^9
+52 ;;EOR^
+53 ;;KEY^863.8:^VALUE CALL
+54 ;;R^"863.8:",.01,"E"
+55 ;;D^VALUE CALL
+56 ;;R^"863.8:",.02,"E"
+57 ;;D^VAL CALL
+58 ;;R^"863.8:",.03,"E"
+59 ;;D^NO
+60 ;;R^"863.8:",1,1
+61 ;;D^tag^routine which manages the dialogue for collecting and validating a value
+62 ;;R^"863.8:","863.84:3",.01,"E"
+63 ;;D^QUERY
+64 ;;R^"863.8:","863.84:3",1,"E"
+65 ;;D^Enter tag^routine
+66 ;;R^"863.8:","863.84:4",.01,"E"
+67 ;;D^DATA TYPE
+68 ;;R^"863.8:","863.84:4",1,"E"
+69 ;;D^LINE TAG
+70 ;;EOR^
+71 ;;EOF^OCXS(863.8)^1
+72 ;;SOF^864.1 OCX MDD DATATYPE
+73 ;;KEY^864.1:^BOOLEAN
+74 ;;R^"864.1:",.01,"E"
+75 ;;D^BOOLEAN
+76 ;;R^"864.1:",.02,"E"
+77 ;;D^BOOL
+78 ;;EOR^
+79 ;;KEY^864.1:^FREE TEXT
+80 ;;R^"864.1:",.01,"E"
+81 ;;D^FREE TEXT
+82 ;;R^"864.1:",.02,"E"
+83 ;;D^FT
+84 ;;R^"864.1:",2,"E"
+85 ;;D^GENERIC
+86 ;;R^"864.1:","864.11:1",.01,"E"
+87 ;;D^VALUE CALL
+88 ;;R^"864.1:","864.11:1",1,"E"
+89 ;;D^FT^OCXFDFT
+90 ;;R^"864.1:","864.11:2",.01,"E"
+91 ;;D^QUERY
+92 ;;R^"864.1:","864.11:2",1,"E"
+93 ;;D^Enter a free text string
+94 ;;R^"864.1:","864.11:3",.01,"E"
+95 ;;D^FREE TEXT MAXIMUM LENGTH
+96 ;;R^"864.1:","864.11:3",1,"E"
+97 ;;D^240
+98 ;;R^"864.1:","864.11:4",.01,"E"
+99 ;;D^HELP MESSAGE
+100 ;;R^"864.1:","864.11:4",1,"E"
+101 ;;D^Enter a free text string. Do not use control characters. |FTMM HELP|
+102 ;;R^"864.1:","864.11:5",.01,"E"
+103 ;;D^LOOP QUERY
+104 ;;R^"864.1:","864.11:5",1,"E"
+105 ;;D^Enter another free text string
+106 ;;R^"864.1:","864.11:6",.01,"E"
+107 ;;D^REPEAT THE QUERY
+108 ;;R^"864.1:","864.11:6",1,"E"
+109 ;;D^0
+110 ;;EOR^
+111 ;;KEY^864.1:^GENERIC
+112 ;;R^"864.1:",.01,"E"
+113 ;;D^GENERIC
+114 ;;R^"864.1:",.02,"E"
+115 ;;D^GENERIC
+116 ;;R^"864.1:","864.11:11",.01,"E"
+117 ;;D^MANDATORY MESSAGE
+118 ;;R^"864.1:","864.11:11",1,"E"
+119 ;;D^This answer is mandatory. Enter a response or press '^' to exit.
+120 ;;R^"864.1:","864.11:12",.01,"E"
+121 ;;D^TERMINATOR
+122 ;;R^"864.1:","864.11:12",1,"E"
+123 ;;D^:
+124 ;;R^"864.1:","864.11:13",.01,"E"
+125 ;;D^LOOP QUERY
+126 ;;R^"864.1:","864.11:13",1,"E"
+127 ;;D^Enter another value
+128 ;;R^"864.1:","864.11:7",.01,"E"
+129 ;;D^VALUE CALL
+130 ;;R^"864.1:","864.11:7",1,"E"
+131 ;;D^GEN^OCXFDMOM
+132 ;;R^"864.1:","864.11:8",.01,"E"
+133 ;;D^QUERY
+134 ;;R^"864.1:","864.11:8",1,"E"
+135 ;;D^Enter a value
+136 ;;R^"864.1:","864.11:9",.01,"E"
+137 ;;D^HELP MESSAGE
+138 ;;R^"864.1:","864.11:9",1,"E"
+139 ;;D^
+140 ;;EOR^
+141 ;;KEY^864.1:^NUMERIC
+142 ;;R^"864.1:",.01,"E"
+143 ;;D^NUMERIC
+144 ;;R^"864.1:",.02,"E"
+145 ;;D^NUMERIC
+146 ;;R^"864.1:",2,"E"
+147 ;;D^GENERIC
+148 ;;R^"864.1:","864.11:1",.01,"E"
+149 ;;D^VALUE CALL
+150 ;;R^"864.1:","864.11:1",1,"E"
+151 ;;D^NU^OCXFDNU
+152 ;;R^"864.1:","864.11:2",.01,"E"
+153 ;;D^QUERY
+154 ;;R^"864.1:","864.11:2",1,"E"
+155 ;;D^Enter a number
+156 ;;R^"864.1:","864.11:3",.01,"E"
+157 ;;D^LOOP QUERY
+158 ;;R^"864.1:","864.11:3",1,"E"
+159 ;;D^Enter another number
+160 ;;R^"864.1:","864.11:4",.01,"E"
+161 ;;D^REPEAT THE QUERY
+162 ;;R^"864.1:","864.11:4",1,"E"
+163 ;;D^0
+164 ;;EOR^
+165 ;;EOF^OCXS(864.1)^1
+166 ;;SOF^863.7 OCX MDD PUBLIC FUNCTION
+167 ;;KEY^863.7:^GCC BOOLEAN LOGICAL FALSE
+168 ;;R^"863.7:",.01,"E"
+169 ;;D^GCC BOOLEAN LOGICAL FALSE
+170 ;;R^"863.7:",.02,"E"
+171 ;;D^EXTRINSIC FUNCTION
+172 ;;R^"863.7:",3,"E"
+173 ;;D^FALSE^OCXF23
+174 ;;R^"863.7:","863.74:1",.01,"E"
+175 ;;D^PRIMARY DATA FIELD
+176 ;;R^"863.7:","863.74:1",1.1,"E"
+177 ;;D^1
+178 ;;EOR^
+179 ;;KEY^863.7:^GCC BOOLEAN LOGICAL TRUE
+180 ;;R^"863.7:",.01,"E"
+181 ;;D^GCC BOOLEAN LOGICAL TRUE
+182 ;;R^"863.7:",.02,"E"
+183 ;;D^EXTRINSIC FUNCTION
+184 ;;R^"863.7:",3,"E"
+185 ;;D^TRUE^OCXF23
+186 ;;R^"863.7:","863.74:1",.01,"E"
+187 ;;D^PRIMARY DATA FIELD
+188 ;;R^"863.7:","863.74:1",1.1,"E"
+189 ;;D^1
+190 ;;EOR^
+191 ;;EOF^OCXS(863.7)^1
+192 ;;SOF^863.9 OCX MDD CONDITION/FUNCTION
+193 ;;KEY^863.9:^LOGICAL FALSE
+194 ;;R^"863.9:",.01,"E"
+195 ;;D^LOGICAL FALSE
+196 ;;R^"863.9:",.02,"E"
+197 ;;D^BOOLEAN
+198 ;;R^"863.9:",.03,"E"
+199 ;;D^GCC BOOLEAN LOGICAL FALSE
+200 ;;R^"863.9:",.04,"E"
+201 ;;D^IS FALSE
+202 ;;R^"863.9:","863.91:1",.01,"E"
+203 ;;D^OCXO GENERATE CODE FUNCTION
+204 ;;R^"863.9:","863.91:1",1,"E"
+205 ;;D^GCC BOOLEAN LOGICAL FALSE
+206 ;;R^"863.9:","863.92:1",.01,"E"
+207 ;;D^FALSE
+208 ;;EOR^
+209 ;;KEY^863.9:^LOGICAL TRUE
+210 ;;R^"863.9:",.01,"E"
+211 ;;D^LOGICAL TRUE
+212 ;;R^"863.9:",.02,"E"
+213 ;;D^BOOLEAN
+214 ;;R^"863.9:",.03,"E"
+215 ;;D^GCC BOOLEAN LOGICAL TRUE
+216 ;;R^"863.9:",.04,"E"
+217 ;;D^IS TRUE
+218 ;;R^"863.9:","863.91:1",.01,"E"
+219 ;;D^OCXO GENERATE CODE FUNCTION
+220 ;;R^"863.9:","863.91:1",1,"E"
+221 ;;D^GCC BOOLEAN LOGICAL TRUE
+222 ;;R^"863.9:","863.92:1",.01,"E"
+223 ;;D^TRUE
+224 ;;EOR^
+225 ;;EOF^OCXS(863.9)^1
+226 ;;SOF^863.4 OCX MDD ATTRIBUTE
+227 ;;KEY^863.4:^DATE/TIME
+228 ;;R^"863.4:",.01,"E"
+229 ;;D^DATE/TIME
+230 ;;R^"863.4:","863.41:1",.01,"E"
+231 ;;D^DATA TYPE
+232 ;;R^"863.4:","863.41:1",1,"E"
+233 ;;D^FREE TEXT
+234 ;;EOR^
+235 ;;KEY^863.4:^IEN
+236 ;;R^"863.4:",.01,"E"
+237 ;;D^IEN
+238 ;;R^"863.4:","863.41:1",.01,"E"
+239 ;;D^DATA TYPE
+240 ;;R^"863.4:","863.41:1",1,"E"
+241 ;;D^NUMERIC
+242 ;;EOR^
+243 ;;KEY^863.4:^ORDER FLAGGED
+244 ;;R^"863.4:",.01,"E"
+245 ;;D^ORDER FLAGGED
+246 ;;R^"863.4:","863.41:1",.01,"E"
+247 ;;D^DATA TYPE
+248 ;;R^"863.4:","863.41:1",1,"E"
+249 ;;D^BOOLEAN
+250 ;;EOR^
+251 ;;KEY^863.4:^ORDER PATIENT
+252 ;;R^"863.4:",.01,"E"
+253 ;;D^ORDER PATIENT
+254 ;;R^"863.4:","863.41:1",.01,"E"
+255 ;;D^DATA TYPE
+256 ;;R^"863.4:","863.41:1",1,"E"
+257 ;;D^NUMERIC
+258 ;;EOR^
+259 ;;EOF^OCXS(863.4)^1
+260 ;;SOF^863.2 OCX MDD SUBJECT
+261 ;;KEY^863.2:^PATIENT
+262 ;;R^"863.2:",.01,"E"
+263 ;;D^PATIENT
+264 ;;R^"863.2:","863.21:1",.01,"E"
+265 ;;D^FILE
+266 ;;R^"863.2:","863.21:1",1,"E"
+267 ;;D^2
+268 ;;EOR^
+269 ;;EOF^OCXS(863.2)^1
+270 ;;SOF^863.3 OCX MDD LINK
+271 ;;KEY^863.3:^CURRENT_DATE/TIME
+272 ;;R^"863.3:",.01,"E"
+273 ;;D^CURRENT_DATE/TIME
+274 ;;R^"863.3:",.02,"E"
+275 ;;D^PATIENT
+276 ;;R^"863.3:",.05,"E"
+277 ;;D^DATE/TIME
+278 ;;R^"863.3:",.06,"E"
+279 ;;D^999
+280 ;;R^"863.3:","863.32:1",.01,"E"
+281 ;;D^OCXO EXTERNAL FUNCTION CALL
+282 ;;R^"863.3:","863.32:1",1,"E"
+283 ;;D^INT2DT($$DT2INT("N"),0)
+284 ;;EOR^
+285 ;;KEY^863.3:^PATIENT.HL7_PATIENT_ID
+286 ;;R^"863.3:",.01,"E"
+287 ;;D^PATIENT.HL7_PATIENT_ID
+288 ;;R^"863.3:",.02,"E"
+289 ;;D^PATIENT
+290 ;;R^"863.3:",.04,"E"
+291 ;;D^HL7
+292 ;;R^"863.3:",.05,"E"
+293 ;;D^IEN
+294 ;;R^"863.3:",.06,"E"
+295 ;;D^99
+296 ;;R^"863.3:","863.32:1",.01,"E"
+297 ;;D^OCXO HL7 SEGMENT ID
+298 ;;R^"863.3:","863.32:2",.01,"E"
+299 ;;D^OCXO VT-BAR PIECE NUMBER
+300 ;;R^"863.3:","863.32:3",.01,"E"
+301 ;;D^OCXO VARIABLE NAME
+302 ;;R^"863.3:","863.32:3",1,"E"
+303 ;;D^OCXODATA("PID",3)
+304 ;;EOR^
+305 ;;KEY^863.3:^PATIENT.IEN
+306 ;;R^"863.3:",.01,"E"
+307 ;;D^PATIENT.IEN
+308 ;;R^"863.3:",.02,"E"
+309 ;;D^PATIENT
+310 ;;R^"863.3:",.05,"E"
+311 ;;D^IEN
+312 ;;R^"863.3:",.06,"E"
+313 ;;D^99
+314 ;;R^"863.3:","863.32:1",.01,"E"
+315 ;;D^OCXO VARIABLE NAME
+316 ;1;
+317 ;