STANDARD DATA DICTIONARY #100.22 -- OE/RR PRINT FIELDS FILE 3/24/25 PAGE 1 STORED IN ^ORD(100.22, (78 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 3.0) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- Entries in this file with an internal number >1000 have been exported with the OE/RR package. Everytime a new version of OE/RR is installed the entries above 1000 are removed and overwritten. If you want to use one of these exported entries, transfer the entry to a number less than 1000 and give it a new name so that it can be differentiated from exported entry. POINTED TO BY: FIELDS field (#.01) of the FIELDS sub-field (#100.231) of the OE/RR PRINT FORMATS File (#100.23) CROSS REFERENCED BY: NAME(B) 100.22,.001 NUMBER NUMBER INPUT TRANSFORM: K:+X'=X!(X>99999)!(X>$S(DUZ(0)["@":99999,1:1000))!(X?.E1"."1N.N) X LAST EDITED: MAY 03, 1991 HELP-PROMPT: Type a Number between 1 and 1000, 0 Decimal Digits. >1000 are reserved. DESCRIPTION: This is the record number associated with the OE/RR PRINT FIELD entry. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 100.22,.01 NAME 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X LAST EDITED: APR 30, 1991 HELP-PROMPT: Answer must be 3-30 characters in length. DESCRIPTION: This is the name of the OE/RR PRINT FIELD entry. CROSS-REFERENCE: 100.22^B 1)= S ^ORD(100.22,"B",$E(X,1,30),DA)="" 2)= K ^ORD(100.22,"B",$E(X,1,30),DA) 100.22,.02 DEFAULT CAPTION 0;2 FREE TEXT INPUT TRANSFORM: K:$L(X)>20!($L(X)<1) X LAST EDITED: FEB 05, 1991 HELP-PROMPT: Answer must be 1-20 characters in length. DESCRIPTION: This is the caption to be used for printing this field, when no other is offered. 100.22,.03 EXAMPLE ENTRY 0;3 FREE TEXT INPUT TRANSFORM: K:$L(X)>132!($L(X)<1) X LAST EDITED: FEB 18, 1991 HELP-PROMPT: Answer must be 1-132 characters in length. DESCRIPTION: This field is used to store sample data for this OE/RR PRINT FIELDS entry. It should be representative of the raw data to which the VARIABLE field will be set (i.e., if ORSTDT=2910430.0700 is a possible value of the VARIABLE for the START DATE/TIME field, then the example entry for that field might be set to 2910430.0700. 100.22,.04 VARIABLE 0;4 FREE TEXT INPUT TRANSFORM: K:$L(X)>20!($L(X)<1) X LAST EDITED: FEB 05, 1991 HELP-PROMPT: Answer must be 1-20 characters in length. DESCRIPTION: This is the variable which will be printed for this OE/RR PRINT FIELD in each record. If it is NOT an environmental variable (e.g., DT), then it will be SET by executing the CODE FOR SETTING VARIABLE node. 100.22,.05 FORMATTING FUNCTION 0;5 FREE TEXT INPUT TRANSFORM: K:$L(X)>8!($L(X)<1) X I @("$T("_X_"^ORU)']""""") K X LAST EDITED: OCT 03, 1991 HELP-PROMPT: Enter the formatting function name (e.g., NAME, or DATE). DESCRIPTION: This field names the extrinsic function, currently found in ^ORU, which is used for formatting the output of a given OE/RR PRINT FIELD (e.g., NAME^ORU, or DATE^ORU). Enter the line tag only, omitting the routine name. NOTES: XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER 100.22,.06 TYPE 0;6 SET '0' FOR COMPILE; '1' FOR EXECUTE; LAST EDITED: MAY 29, 1996 HELP-PROMPT: This field determines if the print field will be compiled or executed. DESCRIPTION: When a print field in used in a print format it is generally compiled based on the variable and the code for setting the variable. This is the default for most print fields. For more complex print fields it is also possible to execute code directly to do the printing. Setting this field to EXECUTE (1) will allow this functionality. It will use the code in the field: CODE FOR SETTING VARIABLE to perform its function. When this field is used there is generally just one print field for the print format being defined. The code for this print field does all the printing/writing for the entire format. The code should check for the variable ORTEST when executing. ORTEST is a flag that is used to test a print format, used by the Clinical Coordinator when defining print formats. e.g.: I $G(ORTEST) W !,"This is an example" Q ...else do the real thing TECHNICAL DESCR: Print fields that have a type of EXECUTE need to be able to respond to the print formats utilities. The code needs to check for the existance of the variable ORTEST. If this variable is around then the code should print out an example or description of what the execute code will print, and then quit. If ORTEST does not exist then the execute code should be allowed to continue. If the execute code prints more than one line, the appropriate checks for bottom of page and doing form feeds should be done. 100.22,.07 PACKAGE RESTRICTION 0;7 POINTER TO PACKAGE FILE (#9.4) LAST EDITED: JAN 27, 1999 HELP-PROMPT: Don't make an entry here, unless this is a package specific print field. DESCRIPTION: This field should only have a value if this print field is for package specific code. This would be fields like Lab Accession # or Consult Urgency. Entries with this field set will be compared to the package value of the order being printed. If it doesn't match this print field will be skipped for that order. 100.22,1 CODE FOR SETTING VARIABLE 1;E1,245 MUMPS INPUT TRANSFORM: K:$L(X)>245 X D:$D(X) ^DIM LAST EDITED: FEB 14, 1991 HELP-PROMPT: This is Standard MUMPS code. DESCRIPTION: This is the Standard MUMPS code used for SETTING the VARIABLE printed in each record for this OE/RR PRINT FIELDS entry. DELETE AUTHORITY: @ WRITE AUTHORITY: @ 100.22,2 WORD PROCESSING 2;0 WORD-PROCESSING #100.222 DESCRIPTION: If present, the word-processing type data in this field will be presented in lieu of the EXAMPLE ENTRY data, when the FORMATTING FUNCTION is specified to be WORD (e.g., REASON FOR REQUEST). LAST EDITED: JUL 12, 1991 FILES POINTED TO FIELDS PACKAGE (#9.4) PACKAGE RESTRICTION (#.07) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):