# [559] Bug fix to the Archetype Validation of Specialised archetypes where in some case a CDvQuantity (or similiar type from the openEHR profile) would be cast to a CComplexObject. **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2012-01-23 14:26 UTC **Views:** 2 **Replies:** 0 **URL:** https://discourse.openehr.org/t/559-bug-fix-to-the-archetype-validation-of-specialised-archetypes-where-in-some-case-a-cdvquantity-or-similiar-type-from-the-openehr-profile-would-be-cast-to-a-ccomplexobject/13100 --- ## Post #1 by @svn1 Revision: 559 Author: sebastian\.garde Log Message: --- **Canonical:** https://discourse.openehr.org/t/559-bug-fix-to-the-archetype-validation-of-specialised-archetypes-where-in-some-case-a-cdvquantity-or-similiar-type-from-the-openehr-profile-would-be-cast-to-a-ccomplexobject/13100 **Original content:** https://discourse.openehr.org/t/559-bug-fix-to-the-archetype-validation-of-specialised-archetypes-where-in-some-case-a-cdvquantity-or-similiar-type-from-the-openehr-profile-would-be-cast-to-a-ccomplexobject/13100