Documentation updates and clarifications

This section contains updates and clarifications to the EDI Products documentation.


ECMAP User Guide

This section describes updates to the ECMAP User Guide.


Zero fill for the Decimal Implicit (DI) and Signed Decimal (SD)

[CR# 431174] In “Working with fields,” in “Performing field-related activities,” in Chapter 9, “Working with Records and Tables” in the ECMAP User Guide, step 4 of the procedure for “Adding a new field to a record” should be modified. The references to zero fill for the Decimal Implicit (DI) and Signed Decimal (SD) field types are incorrect. Step 4 should be:

Enter the following information under Edits on the Options tab:

[CR# 431174] In “Option 2 tab,” in “Running an inbound map,” in Chapter 17, “Running Maps” in the ECMAP User Guide, a note on the Decimal Implicit (DI) and Signed Decimal (SD) field types should be added for the first option—Zero Handling Options. The description for Zero Handling Options is:

Zero Handling Options – choose one of the following:


Repeat groups

In “Transaction mapping,” in Chapter 13, “Mapping” in the ECMAP User Guide, the following sections on mapping repeat groups for NCPDP data should be included at the end of the “Transaction mapping” section.


Mapping repeat groups

To map your NCPDP data, follow the instructions in Chapter 13, “Mapping.” Some differences apply when mapping NCPDP data as repeat groups. These differences are described in the following sections.You can map each repeat group uniquely or in the same way. Mapping each repeat group uniquely allows you to perform simple mapping. However, the repeat group procedure you use may depend on applications at your site.In general, the procedure for mapping repeat groups is the same for both inbound and outbound maps. However, the outbound implementation differs if the repeat group data is contained in a separate record. In this instance, split out repeat groups to separate levels so that you can map them more easily. See “Mapping repeat groups for some outbound maps”.


Mapping repeat groups uniquely

When repeat groups are mapped uniquely, each element is mapped individually to its corresponding field, and each repeat group displays on the Mapping screen. If a nested repeat group exists, it displays in the same manner as the parent repeat group. An occurrence number keeps track of the number of repeat groups.You can copy or delete a repeat group. When you copy a repeat group, the occurrence number increments; when you delete a repeat group, the occurrence number decrements. You cannot delete the last repeat group.

StepsMapping repeat groups uniquely

  1. Display the NCPDP source or destination on the Mapping screen.

  2. Right-click the desired repeat group and select Map Each Loop Uniquely.


Mapping each repeat group in the same way

When you map each repeat group in the same way, you assume that all repeat groups are mapped iteratively to the same fields. When you select this option, only one repeat group displays on the Mapping screen.When choosing this option, map developers must take care to ensure that data is mapped correctly. He or she must add rules to move the data after each loop or the data is overwritten with the next iteration of the loop. You cannot copy or delete a repeat group when repeat groups are mapped in the same way. However, you can copy or delete elements in a repeat group.

StepsMapping each repeat group the same way

  1. Display the NCPDP source or destination on the Mapping screen.

  2. Right-click the desired repeat group and select the Map Each Loop the Same option. ECMAP displays a single instance of the repeat group.


Mapping repeat groups for some outbound maps

If data for a repeat group is contained in the same record as other data, repeat groups can be mapped as described in “Mapping repeat groups uniquely” or “Mapping each repeat group in the same way”. If the data for a repeat group is contained in a separate record, you must split segments that contain repeat groups so that you can map each element in the repeat group. Splitting segments places each split group on a separate level.

These restrictions apply to the creation of split segments:

StepsSplitting a segment

  1. Display the NCPDP source or destination on the Mapping screen.

  2. Right-click the segment you want to split and select Split. The Split Count for Segment window displays.

  3. Enter the number of groups into which you want to split the segment and click OK. The Split Segment window displays so that you can create Split Group 1.Highlight the elements you want to place in a split group.

  4. Click the right-arrow key. The highlighted elements move to the Split Group pane on the right.

  5. Repeat steps 4 and 5 until you have completed Split Group 1. Click Next when you completed Split Group 1.An empty Split Group window displays so that you can create the next split group.

  6. Repeat steps 4, 5, and 6 until you have created the specified number of split groups.

  7. Click Finish. ECMAP displays the numbered split groups on the Destination pane of the Mapping window.

  8. You can now map repeat groups as described in “Mapping repeat groups uniquely” or “Mapping each repeat group in the same way.”