Creating XSD and MAP files

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 EDISIM Application Manager. Select Start > All Programs > TIBCO_HOME > EDISIM in Windows. The EDISIM Application Manager window opens.
  2. Create a guideline. Click Creating Or Editing A Guideline from the left-hand panel and then click Creating A New Guideline.

  3. Click the Standards Editor link on the right panel. The Empty Guideline - EDISIM window opens.
  4. Create a new standard. For example, create a new standard based on the HL7_26 guideline.
    1. Select File > New from the Empty Guideline - Edisim window. The New Guideline - Select Guideline dialog box opens.
    2. Click the User Guideline tab and select the guideline. In this example, we have selected the HL7_26 item.

    3. Click Next. The New Guideline - Select Transaction Sets dialog box opens.
    4. Select messages you want to include in your new guideline. For example, the ACK_A01 and ACK_A05 messages.
    5. Click Open.

  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 box opens. Type a guideline name in the Name field and then click Save.
  7. Export the guideline as a schema.
    1. Select File > Export > Export Current Guideline > To Schema from the menu. The Export Standard dialog box opens.
      Note: To enable the Export Current Guide function, you must save the guideline first.

    2. Select a path to save the guideline.
    3. In the Schema/Map Format panel, select the Custom radio button and then select Full Enveloping (BC=No, BW=Yes), Human Readable Element IDs (BC=No, BW=No, BW HL7=Yes), and Include Segment Tags check boxes.

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

    4. Check Generate Map Files
    5. Click Save to save the file. An XSD file and a MAP file are generated.

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