Creating XSD and MAP files

The TIBCO Foresight® EDISIM® Standards Editor allows you to generate XSD and MAP files for translation. This section gives an example of how to use Standards Editor to generate an XSD file and a MAP file.

To generate XSD and MAP files, complete the following steps:

  1. Start TIBCO Foresight® EDISIM® Application Manager. Select Start > All Programs > TIBCO_HOME > EDISIM in Windows. The EDISIM Application Manager window appears.
  2. Create a guideline. Click the Creating Or Editing A Guideline item from the left-hand panel and then click the Creating A New Guideline item.

  3. Click the Standards Editor link on the right panel. The Empty Guideline - EDISIM window appears.
  4. Create a new standard. For example, create a new standard based on the HL7_26 guideline.

    a. Select File > New from the Empty Guideline - Edisim window. The New Guideline - Select Guideline dialog appears.

    b. Click the User Guideline tab. Select the guideline from the User Guideline tab. In this example, we select the HL7_26 item.

    c. Click the Next button. The New Guideline - Select Transaction Sets dialog appears.

    d. Select messages you want to include in your new guideline. For example, the ACK_A01 and ACK_A05 messages.

    e. Click the Open button.

  5. Edit the newly created guideline based on your requirements. For example, add Z segments, remove unused segments, or adjust optionality of fields in the guideline.
  6. Save the guideline. Select File > Save in the menu. The Save Guideline As dialog appears. Type a guideline name in the Name field and then click the Save button.
  7. Export the guideline as a schema.
    a. Select File > Export > Export Current Guideline > To Schema from the menu. The Export Standard dialog appears.
    Note: To enable the Export Current Guide function, you must save the guideline first

    b. Choose a path to save the guideline.

    c. In the Schema/Map Format panel, select the Custom radio button and then check the Full Enveloping (BC=No, BW=Yes) , Human Readable Element IDs (BC=No, BW=No, BW HL7=Yes) , and Include Segment Tags checkboxes.

    Uncheck Strict Schema (BC=Yes, BW=Yes, BW HL7=No)

    d. Check Generate Map Files.

    e. Click the Save button to save the file. An XSD file and a MAP file are generated.

For more information on how to use TIBCO Foresight® EDISIM® modules, see TIBCO Foresight® EDISIM® documentation.