Before you can run a map, you must define the map’s properties to the runtime engine. In general, these properties include the map’s name, associated attributes and other items that relate to a particular standard.
Defining a map includes three parts:
Map Properties provide general information about the map, which includes the map’s name, type, underlying standard and transaction set/message.
Map Directories tell ECRTP/TP where to find information about the map, including the standards directory.
Map DSN tells ECRTP/TP how to connect to the Trading Partner and Log databases.
Procedures in this section are organized as they appear on Map Definition window.
Defining
an Any-to-Any map
Click .
– Or –
In the ECRTP/TP window, select File > Map > New.
In the Map Definition window, choose Any-to-Any as the Map Type; then type the map name in the Map box.
Create a name that describes the map. Use CAPITAL letters and a maximum of 60 characters.
In the Options group, type a value in the Century Minimum box.
The Century Minimum value defines the year used in the conversion of 6-digit dates (with 2-digit years) to 8-digit dates (with 4-digit years). Every year after the Century Minimum is presumed to be in the current century; every year before and including the Century Minimum is presumed to be in the next century. This year is the global century minimum for this map.
In the Description box, describe the map.
Bring the Map Directories tab into focus, click Change All, then choose the map directory from the Directory selection dialog.
If you store your Trading Partner and Log information in an ODBC database, bring the Map DSN tab into focus. Otherwise, skip the following step.
In the Map DSN tab, do the following:
If you have a DSN to the trading partner database
Click the arrow next to the Data Source Name box in the Trade Partner group.
Choose the DSN from the list of Data Source Names
If you have a DSN to the Log database
Click the arrow next to the Data Source Name box in the Log group.
Choose the DSN from the list of Data Source Names.
If you need to create a DSN to the trading partner database, click Configure Data Source in the Trade Partner group. If you need help, click the help button on the ODBC Data Source Administrator dialog in Windows.
If you want to test the connections to your databases, click Test Trade Partner Connection or Test Log File Connection. ECRTP/TP starts the database and tests the connection.
Defining
an EDIFACT map
Click .
– Or –
In the ECRTP/TP window, select File > Map > New.
When the Map Definition window appears, the Map Properties tab is in focus. ECRTP/TP associates the new map with the current project, which appears in the Project name box.
Choose the appropriate EDIFACT syntax from the Map Type. In the Map box, type the map name.
Create a name that describes the map. Use CAPITAL letters and a maximum of 60 characters.
In the Message box, type the identifier for the EDIFACT message you want to map.
From the Direction box, choose the maps direction.Direction determines whether the data in the map is input or output. If the data is the input, the direction is IN (inbound). If the data is the output, the direction is OUT (outbound).
From the Version drop-down box, choose the map’s EDIFACT version.
Projects can contain maps with different standards and versions of standards. ECRTP/TP comes with multiple versions of each standard.
In the Options group, type a value in the Century Minimum box.
The Century Minimum value defines the year used in the conversion of 6-digit dates (with 2-digit years) to 8-digit dates (with 4-digit years). Every year after the Century Minimum is presumed to be in the current century; every year before and including the Century Minimum is presumed to be in the next century. This year is the global century minimum for this map.
In the Description box, describe the map.
Bring the Map Directories tab into focus, click Change All. From the Directory selection dialog, choose the map directory.
If you store your Trading Partner and Log information in an ODBC database, bring the Map DSN tab into focus. Otherwise, skip the next step.
In the Map DSN tab, do the following:
If you have a DSN to the trading partner database
Click the arrow next to the Data Source Name box in the Trade Partner group.
Choose the DSN from the list of Data Source Names
If you have a DSN to the Log database
Click the arrow next to the Data Source Name box in the Log group.
Choose the DSN from the list of Data Source Names.
If you need to create a DSN to the trading partner database, click Configure Data Source in the Trade Partner group. If you need help, click the help button on the ODBC Data Source Administrator dialog in Windows.
If you want to test the connections to your databases, click Test Trade Partner Connection or Test Log File Connection. ECRTP/TP starts the database and tests the connection.
Defining an
HL7 map
Click .
– Or –
In the ECRTP/TP window, select File > Map > New.
When the Map Definition window appears, the Map Properties tab is in focus. ECRTP/TP associates the new map with the current project, which appears in the Project name box.
Choose HL7 from the Map Type, then type the map’s name of the map in the Map box.
Create a name that describes the map. Use CAPITAL letters and a maximum of 60 characters.
In the Message/Type box, type the identifier for the HL7 message you want to map.
From the Direction drop-down box, choose the map’s direction.
Direction refers to whether HL7 data is the input to or the output of the map. If HL7 data is the input, the direction is IN (inbound). If HL7 data is the output, the direction is OUT (outbound).
In the Options group, type a value in the Century Minimum box.
The Century Minimum value defines the year used in the conversion of 6-digit dates (with 2-digit years) to 8-digit dates (with 4-digit years). Every year after the Century Minimum is presumed to be in the current century; every year before and including the Century Minimum is presumed to be in the next century. This year is the global century minimum for this map.
From the Version drop-down box, choose the HL7 version you want to use to create the map.
Projects can contain maps with different standards and versions of standards. ECMap comes with multiple versions of each standard.
In the Description box, describe the map.
Bring the Map Directories tab into focus, click Change All. From the Directory selection dialog, choose the map directory.
If you store your Trading Partner and Log information in an ODBC database, bring the Map DSN tab into focus. Otherwise, skip this step.
In the Map DSN tab, do the following:
If you have a DSN to the trading partner database
Click the arrow next to the Data Source Name box in the Trade Partner group.
Choose the DSN from the list of Data Source Names
If you have a DSN to the Log database
Click the arrow next to the Data Source Name box in the Log group.
Choose the DSN from the list of Data Source Names.
If you need to create a DSN to the trading partner database, click Configure Data Source in the Trade Partner group. If you need help, click the help button on the ODBC Data Source Administrator dialog in Windows.
If you want to test the connections to your databases, click Test Trade Partner Connection or Test Log File Connection. ECRTP/TP starts the database and tests the connection.
Defining an
NCPDP map
Click .
– Or –
In the ECRTP/TP window, select File > Map > New.
When the Map Definition window appears, the Map Properties tab is in focus. ECRTP/TP associates the new map with the current project, which appears in the Project name box.
Choose NCPDP from the Map Type. In the Map box, type the map’s name.
Create a name that describes the map. Use CAPITAL letters and a maximum of 60 characters.
In the Transaction box, type the identifier for the message you want to map.
From the Direction box, choose the map’s direction.
Direction determines whether the data is the map's input or output. If the data is the input, the direction is IN (inbound). If the data is the output, the direction is OUT (outbound).
From the Version drop-down box, choose the map’s version.
Projects can contain maps with different standards and versions of standards. ECRTP/TP comes with multiple versions of each standard.
In the Options group, type a value in the Century Minimum box.
The Century Minimum value defines the year used in the conversion of 6-digit dates (with 2-digit years) to 8-digit dates (with 4-digit years). Every year after the Century Minimum is presumed to be in the current century; every year before and including the Century Minimum is presumed to be in the next century. This year is the global century minimum for this map.
In the Description box, describe the map.
Bring the Map Directories tab into focus, click Change All. From the Directory selection dialog, choose the map directory.
If you store your Trading Partner and Log information in an ODBC database, bring the Map DSN tab into focus. Otherwise, skip the next step.
In the Map DSN tab, do the following:
If you have a DSN to the trading partner database
Click the arrow next to the Data Source Name box in the Trade Partner group.
Choose the DSN from the list of Data Source Names
If you have a DSN to the Log database
Click the arrow next to the Data Source Name box in the Log group.
Choose the DSN from the list of Data Source Names.
If you need to create a DSN to the trading partner database, click Configure Data Source in the Trade Partner group. If you need help, click the help button on the ODBC Data Source Administrator dialog in Windows.
If you want to test the connections to your databases, click Test Trade Partner Connection or Test Log File Connection. ECRTP/TP starts the database and tests the connection.
Defining an
X12 map
Click .
– Or –
In the ECRTP/TP window, select File > Map > New.
When the Map Definition window appears, the Map Properties tab is in focus. ECRTP/TP associates the new map with the current project, which appears in the Project name box.
Choose X12 from the Map Type. In the Map box, type the map’s name.
Create a name that describes the map. Use CAPITAL letters and a maximum of 60 characters.
In the Transaction box, type the identifier for the X12 message you want to map.
From the Direction box, choose the maps direction.
Direction determines whether X12 data is the map’s input or output. If X12 data is the input, the direction is IN (inbound). If X12 data is the output, the direction is OUT (outbound).
From the Version drop-down box, choose the map’s version.
Projects can contain maps with different standards and versions of standards. ECRTP/TP comes with multiple versions of each standard.
In the Options group, type a value in the Century Minimum box.
The Century Minimum value defines the year used in the conversion of 6-digit dates (with 2-digit years) to 8-digit dates (with 4-digit years). Every year after the Century Minimum is presumed to be in the current century; every year before and including the Century Minimum is presumed to be in the next century. This year is the global century minimum for this map.
In the 8-digit Date in X12 Envelope box, specify whether refers to whether the date in the X12 GS segment has 6 digits (N) or 8 digits (Y).
Some earlier versions of the standard required a 6-digit date, while later versions accept 8-digit dates. The version of the standard being used in the map is specified in GS 08 (the date in ISA 09 always has 6 digits).
In the Description box, describe the map.
Bring the Map Directories tab into focus, click Change All. From the Directory selection dialog, then choose the map directory.
If you store your Trading Partner and Log information in an ODBC database, bring the Map DSN tab into focus. Otherwise, skip the next step.
In the Map DSN tab, do the following:
If you have a DSN to the trading partner database
Click the arrow next to the Data Source Name box in the Trade Partner group.
Choose the DSN from the list of Data Source Names
If you have a DSN to the Log database
Click the arrow next to the Data Source Name box in the Log group.
Choose the DSN from the list of Data Source Names.
If you need to create a DSN to the trading partner database, click Configure Data Source in the Trade Partner group. If you need help, click the help button on the ODBC Data Source Administrator dialog in Windows.
If you want to test the connections to your databases, click Test Trade Partner Connection or Test Log File Connection. ECRTP/TP starts the database and tests the connection.