Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Model Driven Health Tools » Exception when reading CCD in multithreading
Exception when reading CCD in multithreading [message #1833084] Thu, 01 October 2020 23:28 Go to next message
AJ Chen is currently offline AJ ChenFriend
Messages: 6
Registered: October 2020
Junior Member
We are testing MDHT library to read CCD in multithreads. Any of *OptionalOperations class can throw UnsupportedOperationException. example:

14:34:13.592 [pool-1-thread-1] ERROR t.c.s.c.MultiThreadTest - null
java.lang.UnsupportedOperationException: null
at org.openhealthtools.mdht.uml.cda.consol.operations.AllergiesSectionEntriesOptionalOperations.getAllergyProblemActs(AllergiesSectionEntriesOptionalOperations.java:453)
at org.openhealthtools.mdht.uml.cda.consol.impl.AllergiesSectionEntriesOptionalImpl.getAllergyProblemActs(AllergiesSectionEntriesOptionalImpl.java:124)
at tr.com.srdc.cda2fhir.transform.CCDTransformerImpl.transformDocument(CCDTransformerImpl.java:180)
at tr.com.srdc.cda2fhir.MultiThreadTest.test(MultiThreadTest.java:107)

It is very likely some static data structures are not initialized yet before calling the helper.createQuery() method.

Any suggestion how to fix this multithreading problem? Thanks.

-aj
Re: Exception when reading CCD in multithreading [message #1833117 is a reply to message #1833084] Fri, 02 October 2020 15:32 Go to previous messageGo to next message
Sean Muir is currently offline Sean MuirFriend
Messages: 63
Registered: September 2015
Member
We had updated the library about 3 years or more ago for multi threading and did not run into any issues

Can you confirm the version of the libraries you are using ? Unfortunately we ran into some IP issues with HL7 regarding publishing the implementations and we do not have the libraries on Maven repo

we do have a private repo with the latest

Thanks

Sean
Re: Exception when reading CCD in multithreading [message #1833182 is a reply to message #1833117] Mon, 05 October 2020 18:53 Go to previous message
AJ Chen is currently offline AJ ChenFriend
Messages: 6
Registered: October 2020
Junior Member
Sean, thanks for the info. Great that there is a multithread version. Please let me how to get the private repo.

I use this Maven dependency to pull in mdht version 3.1.1
<dependency>
<groupId>org.openehealth.ipf.modules</groupId>
<artifactId>ipf-modules-cda-mdht</artifactId>
<version>3.1.1</version>
</dependency>

Just curious, what kind of IP issues may be there with HL7?

-aj
Previous Topic:how to extract sdtc:deceasedInd froma patient/patientrole CDA R2 xml
Next Topic:MDHT Maven Project
Goto Forum:
  


Current Time: Thu Mar 28 18:45:25 GMT 2024

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

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

Back to the top