Canadian Clinical Drug Data Set December 2024 release is now available for access and implementation on Terminology Gateway & Terminology Server Learn More >

Share this page:

Sample Message Builder Java project for CDA

Published on Apr 12, 2017 by Lisa Hayes

The Hello World project illustrates the basic functionality of Message Builder, which includes:

  • Configuring a Code Resolver
  • Creating a Document
  • Reading/Walking aDocument
  • Document Validation

There are 2 different documents that the examples make use of:

  • ConsultationNote (create, and read/walk through)
  • ProcedureNote (standalone validation)

You can download the Hello World project below:

  1. Download the Java HelloWorld project
  2. Unzip the file to a local directory
  3. Use Maven to convert it into an Eclipse project:
    mvn eclipse:eclipse -f message-builder-hello-world-cda-project-pom.xml
  4. Import within Eclipse
  5. The sample code can be found under the ca.infoway.messagebuilder.guide.hello_world package. Run the sample document as a Java application.

Download Now

InfoCentral logo

Improving the quality of patient care through the effective sharing of clinical information among health care organizations, clinicians and their patients.