In the example below, the file and field specifications in the SELECTED EXPORT FIELDS template example (Figure 7) are combined with the 123 Import Numbers FOREIGN FORMAT: Figure 8: Import and Export Tools—Creating the Export template Select DATA EXPORT TO FOREIGN FORMAT OPTION: CREATE EXPORT TEMPLATE OUTPUT FROM WHAT FILE: PATIENT <Enter> (10 entries) Enter SELECTED EXPORT FIELDS Template: PATIENT TEST **SELECTED EXPORT FIELDS** (OCT 30, 1992@11:32) USER #7 FILE #99002 Do you want to see the fields stored in the PATIENT TEST template? Enter Yes or No: NO// YES FIRST PRINT FIELD: NAME// <Enter> THEN PRINT FIELD: INTERNAL(SEX)// <Enter> THEN PRINT FIELD: $E(RELIGION:CLASSIFICATION,1,5)// <Enter> THEN PRINT FIELD: DIAGNOSIS// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: DIAGNOSIS// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: AGE AT ONSET// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: // <Enter> THEN PRINT FIELD: // <Enter> Do you want to use this template? Enter Yes or No: YES// <Enter> Do you want to delete the PATIENT TEST template after the export template is created? Enter Yes or No: NO// <Enter> When asked if you want the SELECTED EXPORT FIELDS template deleted, answer YES only if you know you do need the template again. If an EXPORT template is successfully created, the not not SELECTED EXPORT FIELDS template is deleted. not Next, identify the FOREIGN FORMAT to use, and name the EXPORT template that you are creating. You overwrite an existing PRINT template: cannot Figure 9: Import and Export Tools—Identifying the Foreign Format and Export templates Select FOREIGN FORMAT: 123 IMPORT NUMBERS <Enter> **DISTRIBUTED BY VA FILEMAN** Enter name for EXPORT Template: PATIENT TO 123 Are you adding ‘PATIENT TO 123’ as a new PRINT TEMPLATE (the 197TH)? No// Y <Enter> (Yes)
In the example below, the file and field specifications in the SELECTED EXPORT FIELDS template example (Figure 7) are combined with the 123 Import Numbers FOREIGN FORMAT: Figure 8: Import and Export Tools—Creating the Export template Select DATA EXPORT TO FOREIGN FORMAT OPTION: CREATE EXPORT TEMPLATE OUTPUT FROM WHAT FILE: PATIENT <Enter> (10 entries) Enter SELECTED EXPORT FIELDS Template: PATIENT TEST **SELECTED EXPORT FIELDS** (OCT 30, 1992@11:32) USER #7 FILE #99002 Do you want to see the fields stored in the PATIENT TEST template? Enter Yes or No: NO// YES FIRST PRINT FIELD: NAME// <Enter> THEN PRINT FIELD: INTERNAL(SEX)// <Enter> THEN PRINT FIELD: $E(RELIGION:CLASSIFICATION,1,5)// <Enter> THEN PRINT FIELD: DIAGNOSIS// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: DIAGNOSIS// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: AGE AT ONSET// <Enter> THEN PRINT DIAGNOSIS SUB-FIELD: // <Enter> THEN PRINT FIELD: // <Enter> Do you want to use this template? Enter Yes or No: YES// <Enter> Do you want to delete the PATIENT TEST template after the export template is created? Enter Yes or No: NO// <Enter> When asked if you want the SELECTED EXPORT FIELDS template deleted, answer YES only if you know you do not need the template again. If an EXPORT template is not successfully created, the SELECTED EXPORT FIELDS template is not deleted. Next, identify the FOREIGN FORMAT to use, and name the EXPORT template that you are creating. You cannot overwrite an existing PRINT template: Figure 9: Import and Export Tools—Identifying the Foreign Format and Export templates Select FOREIGN FORMAT: 123 IMPORT NUMBERS <Enter> **DISTRIBUTED BY VA FILEMAN** Enter name for EXPORT Template: PATIENT TO 123 Are you adding ‘PATIENT TO 123’ as a new PRINT TEMPLATE (the 197TH)? No// Y <Enter> (Yes)
fm22_2um2.docx