Hi Carlos Welcome to openEHR. This is a known issue, not with the Workbench but with the archetype itself. This is pretty old and breaks a validation rule that was not enforced properly in the Archetype Editor in the past. I have actually fixed or worked around most of the validation errors that AWB reports but have not had time to commit the fixes to CKM yet. As soon as I have a proper web connect I will do so at least for that archetype.
The problem is a bit obscure for an openEHR newbie but is related to a bit of ADL syntax that is not currently supported in the Archetype Editor but which is required if multiple constraints of the same datatype are applied to a single element. You should also be aware that our intention is to replace the current CKM medication archetype with others based on the NEHTA medication archetypes. Ian Dr Ian McNicoll Clinical modelling consultant Ocean Informatics Mobile +44 (0) 775 209 7859 Skype imcnicoll On 13 Sep 2012, at 12:00, Carlos Cavero Barca <carlos.cavero at atosresearch.eu> wrote: > > Hi all, > > I'm quite new in openEHR, testing last released version of ADL > workbench I received an error (ERROR line 87 [last cADL token = > V_C_DOMAIN_TYPE]: (VACSIT) cannot add C_DV_QUANTITY object with > rm_type_name=DV_QUANTITY to singly-valued attribute value because > attribute already has child with same RM type) when I tried to load the > openEHR-HER-ITEM_TREE.medication.v1.adl (draft version). I don't know if > this is known or unknown but just in case. > > If I remove from line 73 to line 98 (C_DV_QUANTITY multiple > references, just leaving one of them) the archetype is perfectly loaded. > The same happened with > openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl. In this case the > C_DV_QUANTITY values are empty and you need to include values on them. > > Thanks and regards. > Carlos. > ------------------------------------------------------------------ > This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive > this e-mail in error, please notify the sender immediately and destroy it. > As its integrity cannot be secured on the Internet, the Atos > group liability cannot be triggered for the message content. Although > the sender endeavours to maintain a computer virus-free network, > the sender does not warrant that this transmission is virus-free and > will not be liable for any damages resulting from any virus transmitted. > > Este mensaje y los ficheros adjuntos pueden contener informacion confidencial > destinada solamente a la(s) persona(s) mencionadas anteriormente > pueden estar protegidos por secreto profesional. > Si usted recibe este correo electronico por error, gracias por informar > inmediatamente al remitente y destruir el mensaje. > Al no estar asegurada la integridad de este mensaje sobre la red, Atos > no se hace responsable por su contenido. Su contenido no constituye ningun > compromiso para el grupo Atos, salvo ratificacion escrita por ambas partes. > Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor > no puede garantizar nada al respecto y no sera responsable de cualesquiera > danos que puedan resultar de una transmision de virus. > ------------------------------------------------------------------ > > > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at lists.openehr.org > http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

