You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2025. It is now read-only.
Both clinical documents have identical content and declare conformance to the US Realm Header template and to the C-CDA CCD document template. But when loaded by MDHT they have different types:
java.lang.AssertionError:
Expected: an instance of org.openhealthtools.mdht.uml.cda.consol.ContinuityOfCareDocument
but: <org.openhealthtools.mdht.uml.cda.mu2consol.impl.GeneralHeaderConstraintsImpl@52231f30 (nullFlavor: <unset>, classCode: <unset>, moodCode: <unset>)> is a org.openhealthtools.mdht.uml.cda.mu2consol.impl.GeneralHeaderConstraintsImpl
I have consol2 and mu2consol dependencies in pom.xml.
<dependency>
<groupId>org.openhealthtools.mdht.cda</groupId>
<artifactId>org.openhealthtools.mdht.uml.cda.consol2</artifactId>
</dependency>
<!-- Note: if I remove mu2consol then both docs are loaded as ContinuityOfCareDocument -->
<dependency>
<groupId>org.openhealthtools.mdht.cda</groupId>
<artifactId>org.openhealthtools.mdht.uml.cda.mu2consol</artifactId>
<version>3.0.0-SNAPSHOT</version>
</dependency>
I'm not sure if this is a real issue. I just find it confusing.
Clinical document A
Clinical document B
Both clinical documents have identical content and declare conformance to the US Realm Header template and to the C-CDA CCD document template. But when loaded by MDHT they have different types:
Error:
I have consol2 and mu2consol dependencies in pom.xml.