Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Test Message Generator for the Eclipse Open Health Framework"

m (first version)
 
(Test Message Generator for the Eclipse Open Health Framework)
Line 1: Line 1:
 
== Test Message Generator for the Eclipse Open Health Framework ==
 
== Test Message Generator for the Eclipse Open Health Framework ==
A token-based XML generator that allows the mass generation of messages for test purposes, a project within the scope of the Open Health Framework (OHF). This project would extend the Message Instance Editor, an OHF tool produced by the Health Level 7 (HL7) V3 Eclipse Tooling group (H3ET). The goals of the project are to:
+
This project is an extension to the [http://www.eclipse.org/ohf/ Open Healthcare Framework] (OHF) Eclipse project, and was part of [http://code.google.com/soc/2007/ Google Summer of Code 2007]. Within OHF, different health care entities exchange messages filled with such things as patient information or lab results. Functionality already existed within OHF to create and edit such messages, but each message had to be created and populated by hand. This project allows for the automated mass generation of such messages, allowing easier testing of both the messages and the software that deals with them. Such testing is particularly essential in healthcare, where errors can cost lives.
  
  1. Create an XML representation of an example message template.
+
A user creates a batch of test messages by starting with a sample message instance and replacing certain fields inside it with tokens which indicate that the field is supposed to be populated by outside data. The user then provides a data source, specifies some options for the naming, location and number of the output test messages and the generator code does the rest, generating the specified batch. The current implementation provides three types of data sources: XML files; databases that are accessible through JDBC; and strings that are generated to conform to a regular expression. In addition, the project supports extension by allowing the user to provide additional sources of data.
  2. Create a new wizard that would allow a user to generate example messages based on the template and HL7 message models (from a MIF file).
+
  3. Allow replaceable tokens to be defined within example message templates that are replaced by example data.
+
  4. Allow configuration and declaration of these tokens.
+
  5. Allow the user to configure the behavior of the batch message generation.
+
  
I will update this page with design descriptions and documentation as the project develops. Meanwhile, I am tracking progress on a blog[http://srdansoc2007.blogspot.com/].
+
The following tutorials detail using all aspects of the test message generator:
 +
 
 +
[[Creating a message batch, using an XML data source as example]]<br>
 +
[[Details on the XML data source]]<br>
 +
[[Details on the JDBC data source]]<br>
 +
[[Details on regular expressions as a data source]]<br>
 +
[[Extending the generator by providing additional sources of data]]

Revision as of 07:54, 15 August 2007

Test Message Generator for the Eclipse Open Health Framework

This project is an extension to the Open Healthcare Framework (OHF) Eclipse project, and was part of Google Summer of Code 2007. Within OHF, different health care entities exchange messages filled with such things as patient information or lab results. Functionality already existed within OHF to create and edit such messages, but each message had to be created and populated by hand. This project allows for the automated mass generation of such messages, allowing easier testing of both the messages and the software that deals with them. Such testing is particularly essential in healthcare, where errors can cost lives.

A user creates a batch of test messages by starting with a sample message instance and replacing certain fields inside it with tokens which indicate that the field is supposed to be populated by outside data. The user then provides a data source, specifies some options for the naming, location and number of the output test messages and the generator code does the rest, generating the specified batch. The current implementation provides three types of data sources: XML files; databases that are accessible through JDBC; and strings that are generated to conform to a regular expression. In addition, the project supports extension by allowing the user to provide additional sources of data.

The following tutorials detail using all aspects of the test message generator:

Creating a message batch, using an XML data source as example
Details on the XML data source
Details on the JDBC data source
Details on regular expressions as a data source
Extending the generator by providing additional sources of data

Back to the top