Files > EXECUTE CODE

name
EXECUTE CODE
number
62.07
location
^LAB(62.07,
description
The execute code file is used to store a variety of program instuctions that are used in various programs in the lab package. The best way to see what they areand what they do is to sort them out by type. This may only be of academic interest, since these codes are rarely changed. The 'execute code' type entries have been moved from this file to the routine LRX. All of the 'execute code' type entries will be deleted (with the exception of the ERROR TRAP entry) when version 5 of lab is released. Cross-reference description: ^LAB("X",'SUBSCRIPT NAME')=EXECUTE CODE Note: With the exception of the Error Trap execute code this x-ref has been replaced with the program LRX. Example: X ^LAB("X","PT") is now D PT^LRX
Fields
#NameLocationTypeDetailsIndexDescription
.01name(+)0;1FREE TEXTBThe user given name of the code.
1execute code.1;E1,220FREE TEXTThe MUMPS code. EXAMPLE: For the SMAC name the code is S CUP=CUP+1 I CUP>8 S CUP=1,TRAY=TRAY+1.
2purge control0;2SET OF CODESDAILY:D
MONTHLY:M
QUARTERLY:Q
YEARLY:Y
This field contains the time interval to purge. Set of codes for Daily, Monthly, Quarterly, or Yearly.
3type(+)0;3SET OF CODESI:IDENTITY
V:VERIFICATION
A:ACCESSION
L:LOADLIST
E:EDIT
C:COMMENT
X:XECUTE
D:DATA
W:WORKLOAD
The type of code as categorized by the set of codes. Identity, verfication, accession, loadlist, edit, or comment.
4help prompt.2;1FREE TEXTThe user entered help prompt for the execute code name.
5subscript name0;4FREE TEXTIf the entry is type "X", eXecute, this is used in the "X" cross-reference. Otherwise, nothing should be placed in this field.
6description1;0WORD-PROCESSINGThis field contains information about how the execute code is used, or what it does.
500execute wkld code9;0MULTIPLE62.09College of American Pathologists Workload codes associated with the execute code are stored here.
501site notes date2;0MULTIPLE62.7501 The date of this particular note.

Referenced by 4 types

  1. LABORATORY TEST (60) -- edit code, *batch data code, execute on data review, required comment
  2. ACCESSION (68) -- accession transform, verification code, *identity control
  3. LOAD/WORK LIST (68.2) -- load transform, initial setup, auto micro edit template
  4. PROTOCOL (101) -- file link