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: 757.0701

Package: Lexicon Utility

TOKENS(#757.07)-->757.0701

Sub-Field: 757.0701


Information

Parent File Name Number Package
TOKENS(#757.07) ORDER 757.0701 Lexicon Utility

Details

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

  • INPUT TRANSFORM:  K:+X'=X!(X>100)!(X<1)!(X?.E1"."1.N) X
  • LAST EDITED:  OCT 26, 2015
  • HELP-PROMPT:  Type a number between 1 and 100, no decimal digits.
  • DESCRIPTION:  
    This is a number indicating the order in which the rules are applied.
  • CROSS-REFERENCE:  757.0701^B
    1)= S ^LEX(757.07,DA(1),1,"B",$E(X,1,30),DA)=""
    2)= K ^LEX(757.07,DA(1),1,"B",$E(X,1,30),DA)
    ^LEX(757.07,IEN1,1,"B",ORD,IEN2) - Where ORD is the order in which the rule will be applied, IEN2 is the Internal Entry Number in the ORDER Sub-File 757.71 where the Order is stored and IEN1 is the Internal Entry Number
    in the TOKEN file 757.71 where the ordered rules are stored.
.02 CASE 0;2 SET
  • 'U' FOR UPPERCASE;
  • 'L' FOR lower case;
  • 'M' FOR Mixed Case;
  • 'S' FOR sPecial Case;

  • LAST EDITED:  OCT 26, 2015
  • HELP-PROMPT:  Enter the Case to use (Upper, Lower, Mixed or Special)
  • DESCRIPTION:  This is the case that the token should be displayed in based on the rule if one exist.
    U UPPERCASE COPD/HSRD/NASH
    L lower case must/that/with
    M Mixed Case Br/Jct/Hexa
    S Special case IgE/pH/pO2/rDNA
.03 EXAMPLE 0;3 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<1) X
  • LAST EDITED:  DEC 11, 2015
  • HELP-PROMPT:  Answer must be 1-30 characters in length.
  • DESCRIPTION:  
    This is an example of the token in the appropriate case.
  • RECORD INDEXES:  ABBR (#1459) (WHOLE FILE #757.07), AED (#1460) (WHOLE FILE #757.07)
.04 COMMENT/MEANING 0;4 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>200!($L(X)<2) X
  • LAST EDITED:  DEC 11, 2015
  • HELP-PROMPT:  Answer must be 2-200 characters in length.
  • DESCRIPTION:  
    This is a short comment describing the token. If the token is an abbreviation this field will contain the meaning for the abbreviation.
  • RECORD INDEXES:  ABBR (#1459) (WHOLE FILE #757.07), AED (#1460) (WHOLE FILE #757.07), D (#1462) (WHOLE FILE #757.07)
.05 ABBREVIATION 0;5 SET
  • '1' FOR Abbreviation;
  • '0' FOR Not an Abbreviation;

  • LAST EDITED:  DEC 11, 2015
  • HELP-PROMPT:  Enter 1 (abbreviation) or 0 (not an abbreviation).
  • DESCRIPTION:  This is a Boolean flag to indicate if the token is an abbreviation or NOT an abbreviation:
    1 Token is an abbreviation
    0 Token is NOT an abbreviation
  • RECORD INDEXES:  ABBR (#1459) (WHOLE FILE #757.07), AED (#1460) (WHOLE FILE #757.07)
1 TERM RULE 1;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  OCT 26, 2015
  • HELP-PROMPT:  Enter Standard MUMPS code (1 to 245 characters)
  • DESCRIPTION:  This is a rule that applies to the term and is expressed in the format of a MUMPS IF statement returning a truth value.
    Example:
    Token AS
    Order 1
    Case Upper Case
    Example as
    Comment American Samoa
    Term Rule I X["SAMOA"
    The rule checks to see if the term X contains the word SAMOA. If so, the token AS will be in uppercase.
    WRITE AUTHORITY: @
2 PREVIOUS WORD RULE 2;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  OCT 26, 2015
  • HELP-PROMPT:  Enter Standard MUMPS code (1 to 245 characters)
  • DESCRIPTION:  This is a rule that applies to the word that precedes the token in the term and is expressed in the format of a MUMPS IF statement returning a truth value.
    Token CM
    Order 2
    Case Lower Case
    Example cm
    Comment Centimeter
    Previous Word Rule
    I X?1N.N!(X?1N.N1"."1N.N)!(X="SQ")
    The rule checks to see if the previous word X is numeric or equal to "SQ." If so, the token CM will be in lower case (sq cm).
    WRITE AUTHORITY: @
3 NEXT WORD RULE 3;E1,245 MUMPS

  • INPUT TRANSFORM:  K:$L(X)>245 X D:$D(X) ^DIM
  • LAST EDITED:  OCT 26, 2015
  • HELP-PROMPT:  Enter Standard MUMPS code (1 to 245 characters)
  • DESCRIPTION:  This is a rule that applies to the word that follows the token in the term and is expressed in the format of a MUMPS IF statement returning a truth value.
    Token GREATER
    Order 1
    Case Lower
    Example greater
    Comment
    Next Word Rule I X["THAN"
    The rule checks to see if the next word X in the string is "THAN." If so, then the token GREATER will be in lower case ("greater than").
    WRITE AUTHORITY: @
Info |  Details