|(6 intermediate revisions by one other user not shown)|
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: |+|
project the Open Framework(OHF) project, OHFby . of the
| || |
|−| 1. Create an XML representation of an example message template. |+|
user messages a tokens to be by data. and of . . the user to of .
|−| 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/] . |+|
Latest revision as of 16:39, 14 October 2007
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.
Tutorials And Further Information
The following pages detail the use of all aspects of the test message generator:
Dowloading the project
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