============================================================================= Run Date: FEB 13, 2003 Designation: XU*8*276 Package : XU - KERNEL Priority: Mandatory Version : 8 SEQ #235 Status: Released Compliance Date: MAR 16, 2003 ============================================================================= Subject: INFORMATIONAL PATCH FOR NEW EMPLOYEE WITH ONE NAME Category: - Informational - Enhancement (Mandatory) Description: ============ NOIS: MIN 1201-41368, PAL-0501-62575 Test sites: Black Hills Health Care System This information patch provides the two short-term solutions to input a new person who does not have a first name for NEW PERSON file (#200) or PAID EMPLOYEE file (#450). The first short-term solution: ============================== We can put any kind of mnemonic in the First Name field to satisfy the required field. For examples: 'NFN' for No First Name, 'DR' for a Physician, 'RN' for a Nurse, etc... The second short-term solution: ============================== We may create a new first name for persons who have no first name, then we delete the first name. To delete the first name, we can use VA FileMan's Modify File Attributes option, select NAME COMPONENTS file (#20), Given (First) Name field (#2), and then change the field's Mandatory attribute to 'NO'. Then use FM's Edit option, select NAME COMPONENTS file (#20), select the person with one name, be sure the person's name is in the Family Name field and delete any entry in the Given Name field. Then set the Source Name Format Flags to 'L'. Finally, set back the Mandatory attribute on the Given Name field to 'YES'. 1) Change the field's Mandatory attribute to 'NO': ---------------------------------------------- Select MODIFY FILE ATTRIBUTES from VA FileMan Option menu. Select VA FileMan Option: MODIFY FILE ATTRIBUTES ^ -----ENTER A 'M' OR ENTIRE LINE Do you want to use the screen-mode version? YES// NO (I answer 'NO' for this question, but you can answer 'YES' if you are familiar with the screen-mode.) MODIFY WHAT FILE: NAME COMPONENTS// 20 NAME COMPONENTS (94 entries) ^ ----- ENTER 20 Select FIELD: 2 GIVEN (FIRST) NAME ^ ----- ENTER 2 LABEL: GIVEN (FIRST) NAME// (HIT ENTER KEY) TITLE: FIRST NAME// (HIT ENTER KEY) AUDIT: (HIT ENTER KEY) AUDIT CONDITION: (HIT ENTER KEY) READ ACCESS (OPTIONAL): (HIT ENTER KEY) DELETE ACCESS (OPTIONAL): (HIT ENTER KEY) WRITE ACCESS (OPTIONAL): (HIT ENTER KEY) SOURCE: (HIT ENTER KEY) Select DESTINATION: (HIT ENTER KEY) Select GROUP: (HIT ENTER KEY) DESCRIPTION: Answer with the person's given (first) name. It must begin with an upper-case letter and can contain only upper-case letters, numbers, and punctuation, excluding circumflexes (^) and grave accents (`). Edit? NO// (HIT ENTER KEY) TECHNICAL DESCRIPTION: No existing text Edit? NO// (HIT ENTER KEY) DATA TYPE OF GIVEN (FIRST) NAME: FREE TEXT (FIELD DEFINITION IS NOT EDITABLE) IS GIVEN (FIRST) NAME ENTRY MANDATORY (Y/N): Y// N NO .... ^ ----- ANSWER 'NO' 'HELP'-PROMPT: Answer must be 1-25 characters in length. Answer '??' for more help. Replace (HIT ENTER KEY) EXECUTABLE 'HELP': (HIT ENTER KEY) SINCE YOU HAVE CHANGED THE FIELD DEFINITION, EXISTING 'GIVEN (FIRST) NAME' DATA WILL NOW BE CHECKED FOR INCONSISTENCIES OK? Yes// (Yes) <----- Answer 'Yes' for this question. DEVICE: HOME// VIRTUAL CONNECTION VERIFY FIELDS REPORT NAME COMPONENTS FILE (#20) JAN 30, 2003 14:20 PAGE 1 -------------------------------------------------------------------------- (CHECKING CROSS-REFERENCE) NO PROBLEMS (It may list entries, files number and types of errors here.) 2) Delete any entry in the Given Name field: ----------------------------------------- Select ENTER OR EDIT FILE ENTRIES from VA FileMan Option menu. Select VA FileMan Option: ENTER OR EDIT FILE ENTRIES ^ ----- ENTER AN 'E' OR ENTIRE LINE INPUT TO WHAT FILE: NAME COMPONENTS// 20 NAME COMPONENTS ^ ----- ENTER 20 EDIT WHICH FIELD: ALL// 2 GIVEN (FIRST) NAME ^ ---- ENTER 2 THEN EDIT FIELD: (HIT ENTER KEY) Select NAME COMPONENTS FILE: TEST,CASE 200 .01 11389, TEST,CASE ^ ----- ENTER A PERSON'S NAME GIVEN (FIRST) NAME: CASE// @ ^ ---- ENTER AN '@' SIGN SURE YOU WANT TO DELETE? Y (Yes) ^ ----- ENTER A 'Y' FOR 'YES' 3) Then set the Source Name Format Flags to 'L': --------------------------------------------- Select ENTER OR EDIT FILE ENTRIES from VA FileMan Option menu. Select VA FileMan Option: ENTER OR EDIT FILE ENTRIES INPUT TO WHAT FILE: NAME COMPONENTS// 20 NAME COMPONENTS ^ ----- ENTER 20 EDIT WHICH FIELD: ALL// SOURCE NAME FORMAT FLAGS ^ ----- ENTER THE WORD 'SOURCE' OR ENTIRE LINE THEN EDIT FIELD: (HIT ENTER KEY) Select NAME COMPONENTS FILE: TEST 200 .01 11389, TEST ^ ----- ENTER THE PERSON'S NAME SOURCE NAME FORMAT FLAGS: ?? <-- You may enter '??' for more information. When the name fields in the Name Components file are edited, the "ANAME" cross-reference updates the corresponding name field in the source file. This SOURCE NAME FORMAT FLAGS field can be used to control the format of the name placed in the source name field. Answer with the flags used in $$NAMEFMT^XLFNAME API. For example, C : Return a Comma between the Family (Last) and Given (First) Names. L : Truncate the returned name to the maximum length as specified by the data type of the source name field. L# : Truncate the returned name to a maximum length of # characters, where # is an integer between 1 and 256. S : Standardize the name components before building the formatted name. If this field is null (i.e., no flags are specified), the default is "CLS". SOURCE NAME FORMAT FLAGS: L ^ -----ENTER A 'L' 4) Set back the Mandatory attribute on the Given Name field to 'YES': ------------------------------------------------------------------ Repeat step (1), but answer 'Y' on the question: DATA TYPE OF GIVEN (FIRST) NAME: FREE TEXT (FIELD DEFINITION IS NOT EDITABLE) IS GIVEN (FIRST) NAME ENTRY MANDATORY (Y/N): N// Y YES .... ^ ----- ANSWER 'YES' *************** DONE **************** Routine Information: ==================== ============================================================================= User Information: Entered By : TRAN,BA D Date Entered : DEC 17, 2002 Completed By: SINGH,GURBIR Date Completed: JAN 31, 2003 Released By : TILLIS,LEWIS Date Released : FEB 13, 2003 ============================================================================= Packman Mail Message: ===================== No routines included