Sun Adapter for TCP/IP HL7 Tutorial

Importing a Schematron XML File

This tutorial includes a JAR file, checkprofileid.jar. which includes the sample schematron validation file described above. Follow this procedure if you want to create your own validation file and package it for the JCD.

ProcedureTo Import a Schematron XML and Add it to the JCD

  1. Create a JAR file containing the schematron validation file in XML format.

  2. Do the following to import the JAR file:

    1. Right-click the schematron project, point to Import, and then select File.

    2. Navigate to and select the JAR file.

    3. Click Select, and then click Import.

      The file now appears in the Projects window beneath the schematron project.

  3. Open the Collaboration in the Collaboration Editor.

  4. On the Collaboration Editor toolbar, click Add JAR.

  5. On the Add/Remove Jar Files dialog box, click Add.

  6. Navigate to and select he JAR file to add, and then click Import.

  7. On the Add/Remove Jar Files dialog box, click Close.