# Problem with RM-builder/DV_CODED_TEXT **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2007-05-23 15:14 UTC **Views:** 4 **Replies:** 2 **URL:** https://discourse.openehr.org/t/problem-with-rm-builder-dv-coded-text/13198 --- ## Post #1 by @system I have a problem, I have following ADL\-snippet ELEMENT\[at1\.1\.1\.4\] matches \{ \-\- last name suffix     value matches \{         DV\_CODED\_TEXT matches \{             defining\_code matches \{                 \[local::                 at1\.1\.1\.4\.1, \-\- Jr                 at1\.1\.1\.4\.2, \-\- Sr                 at1\.1\.1\.4\.3, \-\- II                 at1\.1\.1\.4\.4\] \-\- III             \}         \}     \} \} breaking this up to attributes en cobjects, we come to the attribute of DV\_CODED\_TEXT\. In this ADL snippet it is called defining\_code In the RM builder, which uses annotated constructor, it runs agains the property in DvCodedText which is: definingCode\. Because only classnames are tested in more ways \(uppercase, real case, removing lowercase\), this is not the case with attributes, and I get the error that the attribute definingCode is not in the valueMap Please Help thanks Bert --- ## Post #2 by @system I think the problem is a culture conflict\. In ADL the attributes are Eiffelish \(when combined words, with underscores, small case: defining\_code\) And in the RM of the Java\-ref, they are Javaish, in case of combined words, first Word lowercase, second word glued to the first, uppercase \(definingCode\)\. Concerning the class names this conflict is solved by creating a lookup\- map to find them, I think we must do that also for attributes, so we can keep the attributes in RM Javaish, and the attributes in ADL Eiffelish I see, if someone answers to this, In the meantime I must carry on, and this seems the best solution\. Thanks Bert --- ## Post #3 by @system Hi Bert, I think it should be possible to do automatic conversion between Eiffelish names (attribute or class) and Javaish. Before this is implemented, feel free to add a mapping for the attributes. Regards, Rong --- **Canonical:** https://discourse.openehr.org/t/problem-with-rm-builder-dv-coded-text/13198 **Original content:** https://discourse.openehr.org/t/problem-with-rm-builder-dv-coded-text/13198