Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » Validation based on severity level(Perform MDHT validation based on the given severity level (Error, Warning, Info) as opposed to post filtering the results for the desired severity level.)
Validation based on severity level [message #1744423] Mon, 26 September 2016 19:31 Go to next message
Lakshmi Dintakurty is currently offline Lakshmi DintakurtyFriend
Messages: 1
Registered: September 2016
Junior Member
Hi MDHT Team,

Can you please provide the link for the latest source code or documentation for CDAUtil.

Basically looking for MDHT Validation API that will validate and return the results based on the given severity level (Ex., Error, Warning, Info).

For example, if one would like to receive only Errors from the validation then specify 'Error' as the required severity type.
Similarly when 'Warning' is set, then Validation results will only contain Errors and Warnings.

Assuming this may improve response times of Validation, if users are interested only in certain type of severity results as opposed to getting all the results.
This will also avoid any post processing of the complete result set to filter out and get the desired severity type results.

If the current API version doesn't support this functionality, is it possible to expose any such method sooner or later.

Thanks,
Lakshmi
Re: Validation based on severity level [message #1744431 is a reply to message #1744423] Mon, 26 September 2016 20:51 Go to previous message
Sean Muir is currently offline Sean MuirFriend
Messages: 52
Registered: September 2015
Member
Lakshmi,

The org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler supports the feature of filtering by level of severity
org.eclipse.mdht.uml.cda.util.BasicValidationHandler is an example where you do nothing for a validation

if for instance you only want to report errors
override/implmenet the org.eclipse.mdht.uml.cda.util.CDAUtil.ValidationHandler.handleError(Diagnostic) method

and pass the instance in the org.eclipse.mdht.uml.cda.util.CDAUtil.validate(ClinicalDocument, ValidationHandler)

This will not necessarily improve response times as we still call all the validations methods

What type of environment are you running the validation and which implementation guide are you running ?

Where is the performance hit as we know there is some overhead for initialization but after that most validations are sub second even for the larger documents

thanks

sean

Previous Topic:Containment in FHIR
Next Topic:Use MDHT Validator and EMF in multi-threaded application
Goto Forum:
  


Current Time: Wed Sep 19 10:46:46 GMT 2018

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

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

Back to the top