Sun HL7 Message Library User's Guide

ProcedureTo Add a Segment Message Library to a Message Library

You can also modify a Message Library by adding additional segment Message Libraries to your Message Library’s external template.

  1. On the Projects window, copy the Message Library you want to use for your Project from CAPS Components Library > Message Library > HL7 and paste it into the Project.


    Tip –

    To copy the Message Library segment, use the copy command from the Tools menu.


  2. Repeat the above step to copy any segment Message Libraries you want to import to your Project.

    This opens the Message Library in the Message Library Editor.

  3. Double-click the Message Library to which you want to add the segment.

    The Message Library Editor appears.

  4. On the Message Library Editor toolbar, click Import OTD From External Template.

    The Import dialog box appears.

  5. In the Look In field, navigate to the location of the Message Library that contains the segment that will replace the one you just deleted.

    This is one of the Message Libraries you pasted into a Project in step 2 above.

  6. Locate and select the Message Library you want to import to your Project file.

  7. Click Add button to add the Message Library to the Select OTD(s) to Import section.

  8. Click Import.

    The Message Library is added to the External tab of the Reference pane.

  9. Drag the imported segment reference from the External tab and drop it onto the root node of the Object Type Definition pane.

    The segment is added to the Object Type Definition tree.

  10. Right-click the segment and click Level Up to move the segment up the tree from the Object Type Definition tree.

    Repeat this step until the new segment is in the location you want it.

  11. Save the changes to the Repository.