ORY22102 ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*221) ;AUG 30,2005 at 11:41
 ;;3.0;ORDER ENTRY/RESULTS REPORTING;**221**;Dec 17,1997
 ;;  ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
 ;
S ;
 ;
 D DOT^ORY221ES
 ;
 ;
 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 ^ORY22103
 ;
 Q
 ;
DATA ;
 ;
 ;;D^SET CODES
 ;;R^"863.8:","863.84:9",1,"E"
 ;;D^T:TIME ALLOWED;R:TIME REQUIRED
 ;;EOR^
 ;;KEY^863.8:^DIC
 ;;R^"863.8:",.01,"E"
 ;;D^DIC
 ;;R^"863.8:",.02,"E"
 ;;D^DIC
 ;;R^"863.8:",1,1
 ;;D^An open reference used to specify the file in a DIC lookup
 ;;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^DIC
 ;;R^"863.8:","863.84:2",1,"E"
 ;;D^1
 ;;R^"863.8:","863.84:3",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:3",1,"E"
 ;;D^Enter the name of the file you are pointing to
 ;;EOR^
 ;;KEY^863.8:^DIC LOOKUP INDEX STRING
 ;;R^"863.8:",.01,"E"
 ;;D^DIC LOOKUP INDEX STRING
 ;;R^"863.8:",.02,"E"
 ;;D^DICIX
 ;;R^"863.8:",1,1
 ;;D^Contains the names of indices to be used in a DIC lookup in a comma
 ;;R^"863.8:",1,2
 ;;D^delimited 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^QUERY
 ;;R^"863.8:","863.84:2",1,"E"
 ;;D^Enter a DIC lookup index string
 ;;R^"863.8:","863.84:3",.01,"E"
 ;;D^HELP MESSAGE
 ;;R^"863.8:","863.84:3",1,"E"
 ;;D^This is an '^' delimited string which contains the names of indices which are to be used in a DIC lookup; e.g., B^C^DOB.
 ;;EOR^
 ;;KEY^863.8:^FILE
 ;;R^"863.8:",.01,"E"
 ;;D^FILE
 ;;R^"863.8:",.02,"E"
 ;;D^FILE
 ;;R^"863.8:",1,1
 ;;D^The internal entry number of a file.
 ;;R^"863.8:","863.84:6",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:6",1,"E"
 ;;D^File
 ;;R^"863.8:","863.84:7",.01,"E"
 ;;D^DATA TYPE
 ;;R^"863.8:","863.84:7",1,"E"
 ;;D^POINTER TO A FILEMAN FILE
 ;;R^"863.8:","863.84:8",.01,"E"
 ;;D^DIC
 ;;R^"863.8:","863.84:8",1,"E"
 ;;D^1
 ;;EOR^
 ;;KEY^863.8:^FM MASK
 ;;R^"863.8:",.01,"E"
 ;;D^FM MASK
 ;;R^"863.8:",.02,"E"
 ;;D^FM MASK
 ;;R^"863.8:",1,1
 ;;D^Tag^routine where code is located to parse the FM DD and override the parameter value
 ;;R^"863.8:","863.84:4",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:4",1,"E"
 ;;D^Enter tag^routine where the FM MASK parser is located
 ;;R^"863.8:","863.84:5",.01,"E"
 ;;D^DATA TYPE
 ;;R^"863.8:","863.84:5",1,"E"
 ;;D^LINE TAG
 ;;EOR^
 ;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
 ;;R^"863.8:",.01,"E"
 ;;D^FREE TEXT MAXIMUM LENGTH
 ;;R^"863.8:",.02,"E"
 ;;D^FMAX
 ;;R^"863.8:",1,1
 ;;D^Maximum string length allowed
 ;;R^"863.8:",2,"E"
 ;;D^245
 ;;R^"863.8:","863.84:3",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:3",1,"E"
 ;;D^Maximum text string length allowed
 ;;R^"863.8:","863.84:4",.01,"E"
 ;;D^FM MASK
 ;;R^"863.8:","863.84:4",1,"E"
 ;;D^FMAX^OCXF6
 ;;R^"863.8:","863.84:5",.01,"E"
 ;;D^DATA TYPE
 ;;R^"863.8:","863.84:5",1,"E"
 ;;D^POSITIVE INTEGER
 ;;EOR^
 ;;KEY^863.8:^HELP FRAME MESSAGE
 ;;R^"863.8:",.01,"E"
 ;;D^HELP FRAME MESSAGE
 ;;R^"863.8:",.02,"E"
 ;;D^HF MSG
 ;;R^"863.8:",1,1
 ;;D^Message to the user that, in addition to the normal help text, a help
 ;;R^"863.8:",1,2
 ;;D^frame is available.
 ;;R^"863.8:",2,"E"
 ;;D^Do you want to view a more detailed help message
 ;;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^Help frame request message
 ;;EOR^
 ;;KEY^863.8:^HELP MESSAGE
 ;;R^"863.8:",.01,"E"
 ;;D^HELP MESSAGE
 ;;R^"863.8:",.02,"E"
 ;;D^HELP
 ;;R^"863.8:",1,1
 ;;D^A text string 1-250 characters long which overrides the Fileman help
 ;;R^"863.8:",1,2
 ;;D^message.
 ;;R^"863.8:","863.84:10",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:10",1,"E"
 ;;D^Enter a brief help message
 ;;R^"863.8:","863.84:8",.01,"E"
 ;;D^DATA TYPE
 ;;R^"863.8:","863.84:8",1,"E"
 ;;D^FREE TEXT
 ;;R^"863.8:","863.84:9",.01,"E"
 ;;D^FM MASK
 ;;R^"863.8:","863.84:9",1,"E"
 ;;D^HELP^OCXF6
 ;;EOR^
 ;;KEY^863.8:^LOOP QUERY
 ;;R^"863.8:",.01,"E"
 ;;D^LOOP QUERY
 ;;R^"863.8:",.02,"E"
 ;;D^LOOP QUERY
 ;;R^"863.8:",1,1
 ;;D^Alternate query used when repeated answers are required
 ;;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 loop query text
 ;;R^"863.8:","863.84:3",.01,"E"
 ;;D^HELP MESSAGE
 ;;R^"863.8:","863.84:3",1,"E"
 ;;D^This is the query text for all entries after the first one
 ;;EOR^
 ;;KEY^863.8:^MANDATORY MESSAGE
 ;;R^"863.8:",.01,"E"
 ;;D^MANDATORY MESSAGE
 ;;R^"863.8:",.02,"E"
 ;;D^MAND MSG
 ;;R^"863.8:",1,1
 ;;D^Message sent to user telling him that his entry is mandatory
 ;;R^"863.8:",2,"E"
 ;;D^Mandatory answer.  You must enter a value or '^' to exit.
 ;;R^"863.8:","863.84:4",.01,"E"
 ;;D^QUERY
 ;;R^"863.8:","863.84:4",1,"E"
 ;;D^Enter message
 ;;R^"863.8:","863.84:5",.01,"E"
 ;;D^DATA TYPE
 ;;R^"863.8:","863.84:5",1,"E"
 ;;D^FREE TEXT
 ;;EOR^
 ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
 ;;R^"863.8:",.01,"E"
 ;;D^OCXO DATA DRIVE SOURCE
 ;;EOR^
 ;;KEY^863.8:^OCXO EXTERNAL FUNCTION CALL
 ;;R^"863.8:",.01,"E"
 ;;D^OCXO EXTERNAL FUNCTION CALL
 ;;EOR^
 ;;KEY^863.8:^OCXO FILE POINTER
 ;;R^"863.8:",.01,"E"
 ;;D^OCXO FILE POINTER
 ;;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:^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 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 UP-ARROW PIECE NUMBER
 ;;R^"863.8:",.01,"E"
 ;;D^OCXO UP-ARROW PIECE NUMBER
 ;;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:^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:^QUERY
 ;;R^"863.8:",.01,"E"
 ;;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:^SET CODES
 ;;R^"863.8:",.01,"E"
 ;;D^SET CODES
 ;;R^"863.8:",.02,"E"
 ;;D^CODES
 ;;R^"863.8:",1,1
 ;;D^A set of codes string in FM format.
 ;;R^"863.8:","863.84:2",.01,"E"
 ;;D^FM MASK
 ;;R^"863.8:","863.84:2",1,"E"
 ;;D^SET^OCXF6
 ;;R^"863.8:","863.84:3",.01,"E"
 ;1;
 ;
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HORY22102   7962     printed  Sep 23, 2025@20:15:37                                                                                                                                                                                                    Page 2
ORY22102  ;SLC/RJS,CLA - OCX PACKAGE RULE TRANSPORT ROUTINE (Delete after Install of OR*3*221) ;AUG 30,2005 at 11:41
 +1       ;;3.0;ORDER ENTRY/RESULTS REPORTING;**221**;Dec 17,1997
 +2       ;;  ;;ORDER CHECK EXPERT version 1.01 released OCT 29,1998
 +3       ;
S         ;
 +1       ;
 +2        DO DOT^ORY221ES
 +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 ^ORY22103
 +10      ;
 +11       QUIT 
 +12      ;
DATA      ;
 +1       ;
 +2       ;;D^SET CODES
 +3       ;;R^"863.8:","863.84:9",1,"E"
 +4       ;;D^T:TIME ALLOWED;R:TIME REQUIRED
 +5       ;;EOR^
 +6       ;;KEY^863.8:^DIC
 +7       ;;R^"863.8:",.01,"E"
 +8       ;;D^DIC
 +9       ;;R^"863.8:",.02,"E"
 +10      ;;D^DIC
 +11      ;;R^"863.8:",1,1
 +12      ;;D^An open reference used to specify the file in a DIC lookup
 +13      ;;R^"863.8:","863.84:1",.01,"E"
 +14      ;;D^DATA TYPE
 +15      ;;R^"863.8:","863.84:1",1,"E"
 +16      ;;D^POINTER TO A FILEMAN FILE
 +17      ;;R^"863.8:","863.84:2",.01,"E"
 +18      ;;D^DIC
 +19      ;;R^"863.8:","863.84:2",1,"E"
 +20      ;;D^1
 +21      ;;R^"863.8:","863.84:3",.01,"E"
 +22      ;;D^QUERY
 +23      ;;R^"863.8:","863.84:3",1,"E"
 +24      ;;D^Enter the name of the file you are pointing to
 +25      ;;EOR^
 +26      ;;KEY^863.8:^DIC LOOKUP INDEX STRING
 +27      ;;R^"863.8:",.01,"E"
 +28      ;;D^DIC LOOKUP INDEX STRING
 +29      ;;R^"863.8:",.02,"E"
 +30      ;;D^DICIX
 +31      ;;R^"863.8:",1,1
 +32      ;;D^Contains the names of indices to be used in a DIC lookup in a comma
 +33      ;;R^"863.8:",1,2
 +34      ;;D^delimited string.
 +35      ;;R^"863.8:","863.84:1",.01,"E"
 +36      ;;D^DATA TYPE
 +37      ;;R^"863.8:","863.84:1",1,"E"
 +38      ;;D^FREE TEXT
 +39      ;;R^"863.8:","863.84:2",.01,"E"
 +40      ;;D^QUERY
 +41      ;;R^"863.8:","863.84:2",1,"E"
 +42      ;;D^Enter a DIC lookup index string
 +43      ;;R^"863.8:","863.84:3",.01,"E"
 +44      ;;D^HELP MESSAGE
 +45      ;;R^"863.8:","863.84:3",1,"E"
 +46      ;;D^This is an '^' delimited string which contains the names of indices which are to be used in a DIC lookup; e.g., B^C^DOB.
 +47      ;;EOR^
 +48      ;;KEY^863.8:^FILE
 +49      ;;R^"863.8:",.01,"E"
 +50      ;;D^FILE
 +51      ;;R^"863.8:",.02,"E"
 +52      ;;D^FILE
 +53      ;;R^"863.8:",1,1
 +54      ;;D^The internal entry number of a file.
 +55      ;;R^"863.8:","863.84:6",.01,"E"
 +56      ;;D^QUERY
 +57      ;;R^"863.8:","863.84:6",1,"E"
 +58      ;;D^File
 +59      ;;R^"863.8:","863.84:7",.01,"E"
 +60      ;;D^DATA TYPE
 +61      ;;R^"863.8:","863.84:7",1,"E"
 +62      ;;D^POINTER TO A FILEMAN FILE
 +63      ;;R^"863.8:","863.84:8",.01,"E"
 +64      ;;D^DIC
 +65      ;;R^"863.8:","863.84:8",1,"E"
 +66      ;;D^1
 +67      ;;EOR^
 +68      ;;KEY^863.8:^FM MASK
 +69      ;;R^"863.8:",.01,"E"
 +70      ;;D^FM MASK
 +71      ;;R^"863.8:",.02,"E"
 +72      ;;D^FM MASK
 +73      ;;R^"863.8:",1,1
 +74      ;;D^Tag^routine where code is located to parse the FM DD and override the parameter value
 +75      ;;R^"863.8:","863.84:4",.01,"E"
 +76      ;;D^QUERY
 +77      ;;R^"863.8:","863.84:4",1,"E"
 +78      ;;D^Enter tag^routine where the FM MASK parser is located
 +79      ;;R^"863.8:","863.84:5",.01,"E"
 +80      ;;D^DATA TYPE
 +81      ;;R^"863.8:","863.84:5",1,"E"
 +82      ;;D^LINE TAG
 +83      ;;EOR^
 +84      ;;KEY^863.8:^FREE TEXT MAXIMUM LENGTH
 +85      ;;R^"863.8:",.01,"E"
 +86      ;;D^FREE TEXT MAXIMUM LENGTH
 +87      ;;R^"863.8:",.02,"E"
 +88      ;;D^FMAX
 +89      ;;R^"863.8:",1,1
 +90      ;;D^Maximum string length allowed
 +91      ;;R^"863.8:",2,"E"
 +92      ;;D^245
 +93      ;;R^"863.8:","863.84:3",.01,"E"
 +94      ;;D^QUERY
 +95      ;;R^"863.8:","863.84:3",1,"E"
 +96      ;;D^Maximum text string length allowed
 +97      ;;R^"863.8:","863.84:4",.01,"E"
 +98      ;;D^FM MASK
 +99      ;;R^"863.8:","863.84:4",1,"E"
 +100     ;;D^FMAX^OCXF6
 +101     ;;R^"863.8:","863.84:5",.01,"E"
 +102     ;;D^DATA TYPE
 +103     ;;R^"863.8:","863.84:5",1,"E"
 +104     ;;D^POSITIVE INTEGER
 +105     ;;EOR^
 +106     ;;KEY^863.8:^HELP FRAME MESSAGE
 +107     ;;R^"863.8:",.01,"E"
 +108     ;;D^HELP FRAME MESSAGE
 +109     ;;R^"863.8:",.02,"E"
 +110     ;;D^HF MSG
 +111     ;;R^"863.8:",1,1
 +112     ;;D^Message to the user that, in addition to the normal help text, a help
 +113     ;;R^"863.8:",1,2
 +114     ;;D^frame is available.
 +115     ;;R^"863.8:",2,"E"
 +116     ;;D^Do you want to view a more detailed help message
 +117     ;;R^"863.8:","863.84:1",.01,"E"
 +118     ;;D^DATA TYPE
 +119     ;;R^"863.8:","863.84:1",1,"E"
 +120     ;;D^FREE TEXT
 +121     ;;R^"863.8:","863.84:2",.01,"E"
 +122     ;;D^QUERY
 +123     ;;R^"863.8:","863.84:2",1,"E"
 +124     ;;D^Help frame request message
 +125     ;;EOR^
 +126     ;;KEY^863.8:^HELP MESSAGE
 +127     ;;R^"863.8:",.01,"E"
 +128     ;;D^HELP MESSAGE
 +129     ;;R^"863.8:",.02,"E"
 +130     ;;D^HELP
 +131     ;;R^"863.8:",1,1
 +132     ;;D^A text string 1-250 characters long which overrides the Fileman help
 +133     ;;R^"863.8:",1,2
 +134     ;;D^message.
 +135     ;;R^"863.8:","863.84:10",.01,"E"
 +136     ;;D^QUERY
 +137     ;;R^"863.8:","863.84:10",1,"E"
 +138     ;;D^Enter a brief help message
 +139     ;;R^"863.8:","863.84:8",.01,"E"
 +140     ;;D^DATA TYPE
 +141     ;;R^"863.8:","863.84:8",1,"E"
 +142     ;;D^FREE TEXT
 +143     ;;R^"863.8:","863.84:9",.01,"E"
 +144     ;;D^FM MASK
 +145     ;;R^"863.8:","863.84:9",1,"E"
 +146     ;;D^HELP^OCXF6
 +147     ;;EOR^
 +148     ;;KEY^863.8:^LOOP QUERY
 +149     ;;R^"863.8:",.01,"E"
 +150     ;;D^LOOP QUERY
 +151     ;;R^"863.8:",.02,"E"
 +152     ;;D^LOOP QUERY
 +153     ;;R^"863.8:",1,1
 +154     ;;D^Alternate query used when repeated answers are required
 +155     ;;R^"863.8:","863.84:1",.01,"E"
 +156     ;;D^DATA TYPE
 +157     ;;R^"863.8:","863.84:1",1,"E"
 +158     ;;D^FREE TEXT
 +159     ;;R^"863.8:","863.84:2",.01,"E"
 +160     ;;D^QUERY
 +161     ;;R^"863.8:","863.84:2",1,"E"
 +162     ;;D^Enter loop query text
 +163     ;;R^"863.8:","863.84:3",.01,"E"
 +164     ;;D^HELP MESSAGE
 +165     ;;R^"863.8:","863.84:3",1,"E"
 +166     ;;D^This is the query text for all entries after the first one
 +167     ;;EOR^
 +168     ;;KEY^863.8:^MANDATORY MESSAGE
 +169     ;;R^"863.8:",.01,"E"
 +170     ;;D^MANDATORY MESSAGE
 +171     ;;R^"863.8:",.02,"E"
 +172     ;;D^MAND MSG
 +173     ;;R^"863.8:",1,1
 +174     ;;D^Message sent to user telling him that his entry is mandatory
 +175     ;;R^"863.8:",2,"E"
 +176     ;;D^Mandatory answer.  You must enter a value or '^' to exit.
 +177     ;;R^"863.8:","863.84:4",.01,"E"
 +178     ;;D^QUERY
 +179     ;;R^"863.8:","863.84:4",1,"E"
 +180     ;;D^Enter message
 +181     ;;R^"863.8:","863.84:5",.01,"E"
 +182     ;;D^DATA TYPE
 +183     ;;R^"863.8:","863.84:5",1,"E"
 +184     ;;D^FREE TEXT
 +185     ;;EOR^
 +186     ;;KEY^863.8:^OCXO DATA DRIVE SOURCE
 +187     ;;R^"863.8:",.01,"E"
 +188     ;;D^OCXO DATA DRIVE SOURCE
 +189     ;;EOR^
 +190     ;;KEY^863.8:^OCXO EXTERNAL FUNCTION CALL
 +191     ;;R^"863.8:",.01,"E"
 +192     ;;D^OCXO EXTERNAL FUNCTION CALL
 +193     ;;EOR^
 +194     ;;KEY^863.8:^OCXO FILE POINTER
 +195     ;;R^"863.8:",.01,"E"
 +196     ;;D^OCXO FILE POINTER
 +197     ;;EOR^
 +198     ;;KEY^863.8:^OCXO GENERATE CODE FUNCTION
 +199     ;;R^"863.8:",.01,"E"
 +200     ;;D^OCXO GENERATE CODE FUNCTION
 +201     ;;R^"863.8:",.02,"E"
 +202     ;;D^GEN
 +203     ;;EOR^
 +204     ;;KEY^863.8:^OCXO HL7 SEGMENT ID
 +205     ;;R^"863.8:",.01,"E"
 +206     ;;D^OCXO HL7 SEGMENT ID
 +207     ;;R^"863.8:",.02,"E"
 +208     ;;D^HL7SEGID
 +209     ;;EOR^
 +210     ;;KEY^863.8:^OCXO NULL VALUE ALLOWED
 +211     ;;R^"863.8:",.01,"E"
 +212     ;;D^OCXO NULL VALUE ALLOWED
 +213     ;;R^"863.8:",.02,"E"
 +214     ;;D^NVAL
 +215     ;;EOR^
 +216     ;;KEY^863.8:^OCXO UP-ARROW PIECE NUMBER
 +217     ;;R^"863.8:",.01,"E"
 +218     ;;D^OCXO UP-ARROW PIECE NUMBER
 +219     ;;EOR^
 +220     ;;KEY^863.8:^OCXO VARIABLE NAME
 +221     ;;R^"863.8:",.01,"E"
 +222     ;;D^OCXO VARIABLE NAME
 +223     ;;EOR^
 +224     ;;KEY^863.8:^OCXO VT-BAR PIECE NUMBER
 +225     ;;R^"863.8:",.01,"E"
 +226     ;;D^OCXO VT-BAR PIECE NUMBER
 +227     ;;EOR^
 +228     ;;KEY^863.8:^PRIMARY DATA FIELD
 +229     ;;R^"863.8:",.01,"E"
 +230     ;;D^PRIMARY DATA FIELD
 +231     ;;R^"863.8:",.02,"E"
 +232     ;;D^PDFLD
 +233     ;;R^"863.8:",1,1
 +234     ;;D^ 
 +235     ;;R^"863.8:",1,2
 +236     ;;D^  Primary data field in a comparison expression that
 +237     ;;R^"863.8:",1,3
 +238     ;;D^ is to be tested.
 +239     ;;R^"863.8:",1,4
 +240     ;;D^ 
 +241     ;;EOR^
 +242     ;;KEY^863.8:^QUERY
 +243     ;;R^"863.8:",.01,"E"
 +244     ;;D^QUERY
 +245     ;;R^"863.8:",.02,"E"
 +246     ;;D^QUERY
 +247     ;;R^"863.8:",1,1
 +248     ;;D^Used with methods that manage interactive dialogues.  Equivalent to DIC("A")
 +249     ;;R^"863.8:","863.84:1",.01,"E"
 +250     ;;D^DATA TYPE
 +251     ;;R^"863.8:","863.84:1",1,"E"
 +252     ;;D^FREE TEXT
 +253     ;;R^"863.8:","863.84:2",.01,"E"
 +254     ;;D^QUERY
 +255     ;;R^"863.8:","863.84:2",1,"E"
 +256     ;;D^Enter the query (free text string)
 +257     ;;EOR^
 +258     ;;KEY^863.8:^REPEAT THE QUERY
 +259     ;;R^"863.8:",.01,"E"
 +260     ;;D^REPEAT THE QUERY
 +261     ;;R^"863.8:",.02,"E"
 +262     ;;D^LOOP
 +263     ;;R^"863.8:",1,1
 +264     ;;D^Set this = 1 to repetitively ask the user to enter a value
 +265     ;;R^"863.8:","863.84:1",.01,"E"
 +266     ;;D^DATA TYPE
 +267     ;;R^"863.8:","863.84:1",1,"E"
 +268     ;;D^YES NO
 +269     ;;R^"863.8:","863.84:2",.01,"E"
 +270     ;;D^HELP MESSAGE
 +271     ;;R^"863.8:","863.84:2",1,"E"
 +272     ;;D^Answer 'YES' if you want the user to repetitively enter a value.
 +273     ;;R^"863.8:","863.84:3",.01,"E"
 +274     ;;D^QUERY
 +275     ;;R^"863.8:","863.84:3",1,"E"
 +276     ;;D^Is the query repetitive
 +277     ;;EOR^
 +278     ;;KEY^863.8:^SET CODES
 +279     ;;R^"863.8:",.01,"E"
 +280     ;;D^SET CODES
 +281     ;;R^"863.8:",.02,"E"
 +282     ;;D^CODES
 +283     ;;R^"863.8:",1,1
 +284     ;;D^A set of codes string in FM format.
 +285     ;;R^"863.8:","863.84:2",.01,"E"
 +286     ;;D^FM MASK
 +287     ;;R^"863.8:","863.84:2",1,"E"
 +288     ;;D^SET^OCXF6
 +289     ;;R^"863.8:","863.84:3",.01,"E"
 +290     ;1;
 +291     ;