Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Details
Print Page as PDF
Sub-Field: .114

Package: VA FileMan

INDEX(#.11)-->.114

Sub-Field: .114


Information

Parent File Name Number Package
INDEX(#.11) CROSS-REFERENCE VALUES .114 VA FileMan

Details

Field # Name Loc Type Details
.01 ORDER NUMBER 0;1 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>125)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  APR 25, 2002
  • HELP-PROMPT:  Type a Number between 1 and 125, 0 Decimal Digits. Answer '??' for more help.
  • DESCRIPTION:  Answer must be the order number of this cross-reference value.
    FileMan evaluates cross-reference values by order of "Order Number" and places each value in the X(order#) array. The set and kill logic, for example, can use X(2) to refer to the cross-reference value with order number
    2.
  • DELETE TEST:  1,0)= I $P($G(DDS),U,2)="DIKC EDIT" D BLDLOG^DIKCFORM(DA(1)) S DIKCREB=1 I 0
  • CROSS-REFERENCE:  .114^B
    1)= S ^DD("IX",DA(1),11.1,"B",$E(X,1,30),DA)=""
    2)= K ^DD("IX",DA(1),11.1,"B",$E(X,1,30),DA)
  • FIELD INDEX:  BB (#.11401) REGULAR IR LOOKUP & SORTING
    Unique for: Key A (#.11401), File #.114
    Short Descr: The uniqueness index of the Cross-Reference Values multiple of the Index file
    Set Logic: S ^DD("IX",DA(1),11.1,"BB",X,DA)=""
    Kill Logic: K ^DD("IX",DA(1),11.1,"BB",X,DA)
    Whole Kill: K ^DD("IX",DA(1),11.1,"BB")
    X(1): ORDER NUMBER (.114,.01) (Subscr 1)
.5 SUBSCRIPT NUMBER 0;6 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>125)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  JUN 11, 1998
  • HELP-PROMPT:  Type a Number between 1 and 125, 0 Decimal Digits. Answer '??' for more help.
  • DESCRIPTION:  
    If this cross-reference value is used as a subscript in an index, enter the subscript position number. The first subscript to the right of the index name is subscript number 1.
  • FIELD INDEX:  AC (#.11402) REGULAR IR SORTING ONLY
    Short Descr: Lets FileMan find cross reference values by subscript
    Set Logic: S ^DD("IX",DA(1),11.1,"AC",X,DA)=""
    Kill Logic: K ^DD("IX",DA(1),11.1,"AC",X,DA)
    Whole Kill: K ^DD("IX",DA(1),11.1,"AC")
    X(1): SUBSCRIPT NUMBER (.114,.5) (Subscr 1) (forwards)
1 TYPE OF VALUE 0;2 SET
************************REQUIRED FIELD************************
  • 'F' FOR FIELD;
  • 'C' FOR COMPUTED VALUE;

  • LAST EDITED:  JAN 16, 1996
  • HELP-PROMPT:  Answer '??' for more help.
  • DESCRIPTION:  Answer 'F' if this cross-reference value is based on the value of a field.
    Answer 'C' if this cross-reference value should be determined by executing the COMPUTED CODE.
2 FILE 0;3 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."8N.N) X
  • LAST EDITED:  JAN 16, 1996
  • HELP-PROMPT:  Answer must be between 0 and 999999999999, with up to 7 decimal digits. Answer '??' for more help.
  • DESCRIPTION:  
    If this cross-reference value is a field value, answer with the number of the file or subfile in which this field is defined.
  • RECORD INDEXES:  F (#.11403) (WHOLE FILE #.11)
3 FIELD 0;4 NUMBER

  • INPUT TRANSFORM:  D ITFLD^DIKCDD I $D(X) K:+X'=X!(X>999999999999)!(X<0)!(X?.E1"."8N.N) X
  • LAST EDITED:  SEP 02, 1997
  • HELP-PROMPT:  Type a Number between 0 and 999999999999, 7 Decimal Digits. Answer '??' for more help.
  • DESCRIPTION:  
    If this cross-reference value is a field, answer with the field number.
  • EXECUTABLE HELP:  D EHFLD^DIKCDD
  • NOTES:  XXXX--CAN'T BE ALTERED EXCEPT BY PROGRAMMER
  • RECORD INDEXES:  F (#.11403) (WHOLE FILE #.11)
4 COMPUTED VALUE 1;1 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>245!($L(X)<1) X
  • LAST EDITED:  FEB 19, 1996
  • HELP-PROMPT:  Answer must be a valid FileMan computed expression. Answer '??' for more help.
  • DESCRIPTION:  
    If this cross-reference value is computed, answer with the computed expression that evaluates to it.
4.5 COMPUTED CODE 1.5;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  FEB 21, 1996
  • HELP-PROMPT:  This is Standard MUMPS code. Answer '??' for more help.
  • DESCRIPTION:  
    Answer with M code that sets X equal to the cross-reference value. The X(order#) array is available for those cross-reference values with lower Order Numbers, and the DA array describes the IEN of the current record.
    WRITE AUTHORITY: @
5 TRANSFORM FOR STORAGE 2;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 31, 1998
  • HELP-PROMPT:  This is Standard M code. Answer '??' for more help.
  • DESCRIPTION:  Used only when setting or killing an entry in the index.
    Answer should be M code that sets the variable X to a new value. X is the only input variable that is guaranteed to be defined and is equal to the internal value of the field.
    TRANSFORM FOR STORAGE can be used on field-type cross-reference values to transform the internal value of the field before it is stored as a subscript in the index.
    If a match is made on this index during a lookup, then in order to properly display the resulting index value to the user, the developer may need to enter code into the TRANSFORM FOR DISPLAY field to transform the index
    value back to a displayable format.
    WRITE AUTHORITY: @
5.3 TRANSFORM FOR LOOKUP 4;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JAN 05, 2000
  • HELP-PROMPT:  This is Standard MUMPS code. Answer '??' for more help.
  • DESCRIPTION:  Used only during lookup.
    Answer should be M code that sets the variable X to a new value. X is the only input variable that is guaranteed to be defined and is equal to the lookup value entered by the user.
    During lookup, if the lookup value is not found in the index, FileMan will execute the TRANSFORM FOR LOOKUP code to transform the lookup value X. It will then search this index looking for a match to the transformed
    lookup value.
    WRITE AUTHORITY: @
5.5 TRANSFORM FOR DISPLAY 3;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  JUL 31, 1998
  • HELP-PROMPT:  This is Standard MUMPS code. Answer '??' for more help.
  • DESCRIPTION:  Used only during lookup.
    Answer should be M code that sets the variable X to a new value. X is the only variable that is guaranteed to be defined and is equal to the value of the subscript from the index.
    TRANSFORM FOR DISPLAY should be set only for an index value that has been transformed using the code in the TRANSFORM FOR STORAGE prior to storing the value in the index.
    The code should take the internal value from the index subscript X, and convert it back to a format that can be displayed to an end user. During lookup, if a match or matches are made to a lookup value that was
    transformed using the TRANSFORM FOR LOOKUP code on this index, then FileMan will execute the TRANSFORM FOR DISPLAY code before displaying the index value(s) to the end user.
    WRITE AUTHORITY: @
6 MAXIMUM LENGTH 0;5 NUMBER

  • INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
  • LAST EDITED:  FEB 19, 1996
  • HELP-PROMPT:  Answer must be between 1 and 999, with no decimal digits. Answer '??' for more help.
  • DESCRIPTION:  Answer must be the maximum length this cross-reference value should have when stored as a subscript in the index. FileMan's lookup utilties account for lookup values longer than the maximum length.
    Specify a MAXIMUM LENGTH when an untruncated subscript may cause the length of a global reference in the index to exceed the M Portability Requirements.
7 COLLATION 0;7 SET
  • 'F' FOR forwards;
  • 'B' FOR backwards;

  • LAST EDITED:  FEB 13, 1997
  • HELP-PROMPT:  Answer '??' for more help.
  • DESCRIPTION:  Answer with the direction FileMan's lookup utilities should $ORDER through this subscript when entries are returned or displayed to the user. If for example, you have a compound index on a Date of Birth field and a Name
    field, and you specify a COLLATION of 'backwards' on the Date of Birth value, the Lister and the Finder will return entries in reverse-date order. Likewise, question mark (?) help and partial matches in interactive ^DIC
    lookups will display entries in reverse-date order.
8 LOOKUP PROMPT 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  MAY 06, 1997
  • HELP-PROMPT:  Answer must be 1-30 characters in length. Answer '??' for more help.
  • DESCRIPTION:  
    The text entered here will become a prompt for the user when this index is used for lookup (i.e., in the Classic FileMan calls to ^DIC.) If the text is missing, then the FIELD LABEL will be used as a default.
Info |  Details