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