XMap to pass repeating sets of details for doctors to the output.
Lesson Concepts
A mapping statement determines how to map data from the input XML document to the output XML document. When you drag a node from the input schema to the output schema, the XMap editor creates mapping statements in a grid. You can edit mapping statement fields in the grid to change the logic for a mapping statement.
A Repeating Group statement is a mapping statement that can occur multiple times. The Data Processor transformation performs the Repeating Group statement for each element or value that is a result of the Input XPath expression.
The Repeating Group input is an XPath expression that can evaluate to a sequence of elements or values. XPath is a query language used to select nodes in an XML document and perform computations.
Repeating Group statements can contain Map statements. A Map statement is the basic XMap object and maps a simple input value to a simple output value. The input is a single value or a constant value.
Lesson Objectives
In this lesson, you complete the following tasks:
Open an XMap in the XMap editor.
Create a Repeating Group statement to pass repeating sets of details for doctors to the output.
Create Map statements to pass a specific doctor detail to the output.
Validate the transformation.
Lesson Prerequisites
Before you start this lesson, verify the following prerequisites:
You have created a Data Processor transformation.
You have created the
Patient_Claims
XMap.
Lesson Timing
Set aside 15 to 20 minutes to complete the tasks in this lesson.