Eclipse CDA Editor quick start guide

From Hl7book

Jump to: navigation, search

This page contains a description of how the Eclipse CDA Editor can be used to validate (and edit) a CDA instance.

Contents

Loading the CDA instance

Image:Eclipse_import.gif

To validate a CDA instance, it should be imported into the project.

  1. Right-click the Examples directory in the project (1) and selected the Import (2) option.
  2. Select "General / Filesystem" in the pop-up screen, followed by "Next>"
  3. Select the directory (near the top) and subsequently the files to import (right hand side). Finish.
  4. The files should now show up in the Examples directory (1). Double-click an example to select (and validate) it.

Validation and Editing

Image:Eclipse_main_view.gif

After a file has been selected, it is displayed in the main view window. There are basically two possible views of the instance (see W in the figure above):

  1. Source - the XML source is shown, with highlighted errors
  2. Design - an hierarchical view of the data is shown.

Errors are identified and shown in multiple ways:

  • On the left hand side of the window pane (see E1)
  • Through a red underline at the location of the error (E1)
  • If the cursor is placed on top of the error location, a pop-up screen shows the error details (E1).
  • The right hand side of the window pane shows all error locations in the XML instance (E2)
  • The errors found in ALL selected files in the project are listed in the window pane below (E3)
  • Should you want a validation report (in HTML format), use the validation icon (V)

The instance can be edited in the main window. After making the changes, do a File / Save. This will autmatically re-validate the instance.

Bugs

Bugs should be reported via this site (Bugzilla). The project name (within Bugzilla) is OHF, the Component name is H3ET.

See also

Personal tools