Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » CCDA 2.1 Validation(How to get vocabulary errors as in Edge testing tool for ONC 2015)
CCDA 2.1 Validation [message #1755887] Thu, 09 March 2017 00:40 Go to next message
sanj Guna is currently offline sanj GunaFriend
Messages: 12
Registered: March 2017
Junior Member
Is there a way to get vocabulary errors similar to Edge testing tool for ONC 2015. (

We use the following code to get general errors and warnings (C-CDA IG), but i was not sure how to get vocabulary errors and warnings. (C-CDA VOCAB).

ValidationResult result = new ValidationResult();
ClinicalDocument ccdDocument = CDAUtil.loadAs(new FileInputStream("C:\\ONE_03082017_CCDA.XML"), ConsolPackage.eINSTANCE.getContinuityOfCareDocument2(), result);
for (Diagnostic diagnostic : result.getWarningDiagnostics()) {

CDAUtil.validate(ccdDocument, new BasicValidationHandler() {
public void handleError(Diagnostic diagnostic) {
System.out.println("ERROR: " + diagnostic.getMessage());

public void handleWarning(Diagnostic diagnostic) {
System.out.println("WARNING: " + diagnostic.getMessage());

Could you help us regarding the usage of vocabulary errors in MDHT library.

Thank you
Re: CCDA 2.1 Validation [message #1755962 is a reply to message #1755887] Thu, 09 March 2017 15:20 Go to previous messageGo to next message
Dan Brown is currently offline Dan BrownFriend
Messages: 21
Registered: December 2015
Junior Member
This is the ONC SITE project that handles both vocabulary validation and reference validation (used in for non-MDHT results in TTP (ETT/TTT) and sitenv) via varying SITE dependencies (found here that you are refering to:

If you want to integrate those you could use the referenceccdavalidator which relies on MDHT for the IG-based results. Or, you could use MDHT and the non-MDHT referenceccdavalidator dependencies to create your own tool.

If you are having issues getting the same IG-based (MDHT) results as SITE or TTP then I can help you with your source.

Re: CCDA 2.1 Validation [message #1771462 is a reply to message #1755962] Fri, 25 August 2017 09:49 Go to previous message
jimmy daniels is currently offline jimmy danielsFriend
Messages: 1
Registered: August 2017
Junior Member
Hi Dan,
Where did you get the vocabulary artifacts and scenario files from, mentioned in readme.txt for vocabulary and content validations respectively
Previous Topic:Mapping additional Ethnic Group codes
Next Topic:Error while creating a new CDA model
Goto Forum:

Current Time: Fri Mar 01 01:17:47 GMT 2024

Powered by FUDForum. Page generated in 0.02436 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top