INPUT TRANSFORM: S %DT="E" D ^%DT S X=Y K:3101001>X X
LAST EDITED: MAR 28, 2012
HELP-PROMPT: Enter a date, not earlier than Oct 1, 2010.
DESCRIPTION:
This is the date that the name or title became effective.
CROSS-REFERENCE: 757.332^B
1)= S ^LEX(757.033,DA(1),2,"B",$E(X,1,30),DA)=""
2)= K ^LEX(757.033,DA(1),2,"B",$E(X,1,30),DA)
^LEX(757.033,IEN1,2,"B",DATE,IEN2) - Where IEN1 is the file level internal entry number, DATE is the effective date of the Name/Title, and IEN2 is the NAME/TITLE sub-file internal entry number where the Name or Title is
HELP-PROMPT: Enter a name or title, 1-245 characters in length.
FIELD INDEX: NAME (#1141) REGULAR IR LOOKUP & SORTING WHOLE FILE (#757.033)
Short Descr: NAME
Description: ^LEX(757.033,"NAME",NAME,IEN1,IEN2) - Where NAME is the 63-character uppercase Name or Title of a character position, IEN1 is the file level internal entry number and IEN2 is the NAME/TITLE sub-file internal entry
number where the Name or Title is stored.
Set Logic: S ^LEX(757.033,"NAME",$E(X,1,63),DA(1),DA)=""
Kill Logic: K ^LEX(757.033,"NAME",$E(X,1,63),DA(1),DA)
FIELD INDEX: C (#1143) REGULAR IR LOOKUP & SORTING
Short Descr: Name or Title
Description: ^LEX(757.033,IEN1,2,"C",NAME,IEN2) - Where IEN1 is the file level internal entry number, NAME is a 63 character, uppercase Name or Title for the character position, and IEN2 is the NAME/TITLE sub-file internal entry
number where the Name or Title is stored.
Set Logic: S ^LEX(757.033,DA(1),2,"C",$E(X,1,63),DA)=""
Kill Logic: K ^LEX(757.033,DA(1),2,"C",$E(X,1,63),DA)