XMap Getting Started Guide

XMap Getting Started Guide

Step 2. Create an XMap in the Data Processor Transformation

Step 2. Create an XMap in the Data Processor Transformation

Create a Data Processor transformation and then create an XMap for the transformation. When you create an XMap, you must have a schema that describes the input and the output XML documents. You select the element in the schema that is the root element for the input XML.
  1. In the Developer Data Processor transformation
    Objects
    view, click
    New.
  2. Select XMap and click
    Next.
  3. Enter the name
    Patient_Claims
    for the XMap.
  4. The XMap component is the first component to process data in the transformation, so ensure that
    Set as startup component
    is selected.
    A Data Processor transformation can contain multiple components to process data. Each component might contain other components. You must identify which component is the entry point for the transformation.
    Click
    Next.
  5. To import a schema and add it to the repository, click
    Create a new schema object
    and browse for the
    PatientInputSchema.xsd
    file in the following directory:
    <INSTALL_DIR>\clients\DeveloperClient\Tutorials
    To add a schema that is already in the repository, select
    Add a Schema Object
    , then select the schema. However, we are using a schema that is not in the repository.
  6. To add the sample XML file that you use to test the XMap, browse for and select the
    PatientCareListExample.xml
    file in the following directory:
    <INSTALL_DIR>\clients\DeveloperClient\Tutorials
  7. After you select both a schema and a sample XML file, the wizard identifies the root for the input hierarchy.
    In the
    Root Element Selection
    dialog box, the
    in:Input
    element in the schema is selected as the root element for the XML.
  8. To add the schema to the repository, click
    Create a new schema object
    and browse for the
    PatientOutputSchema.xsd
    file in the following directory:
    <INSTALL_DIR>\clients\DeveloperClient\Tutorials
    To add a schema that is already in the repository, select
    Add a Schema Object
    , then select the schema.
  9. Choose the root for the output hierarchy.
    In the
    Root Element Selection
    dialog box, select the
    out:Insurance
    element in the schema as the root element for the XML.
  10. Click
    Finish
    .
    The Developer tool creates a view for the
    Patient_Claims
    XMap that you created. Click the view to configure the XMap.

0 COMMENTS

We’d like to hear from you!