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.
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
Thanks Ian, I will wait then, I will also have a look at the
NEHTA archetypes. I will continue asking about how to include medication
properly in the clinical list.
I’ve created an archetype with a DvDateTime node with a partial time constraint using the Archetype Editor.
Opening the archetype with the ADL WB I get this error message:
This is loading properly with my version of the openEHR Archetype editor 2.2.779 and the current Workbench. I am not getting errors from the Partial Date constraint either.
Are you using the openEHR or Ocean version of the archetype editor?
Ian
Dr Ian McNicoll
office +44 (0)1536 414 994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll ian.mcnicoll@oceaninformatics.com
Clinical Modelling Consultant, Ocean Informatics, UK
Director openEHR Foundation www.openehr.org/knowledge
Honorary Senior Research Associate, CHIME, UCL
SCIMP Working Group, NHS Scotland
BCS Primary Health Care www.phcsg.org
This is loading properly with my version of the openEHR Archetype editor 2.2.779 and the current Workbench. I am not getting errors from the Partial Date constraint either.
Are you using the openEHR or Ocean version of the archetype editor?
Maybe google is doing that because the proper download page (on openehr.org) has a heading of "AWB Home" and a title of "ADL 1.5 Workbench". I guess google gets as confused by acronyms as I do
I've edited the ADL Workbench page that you found on the Ocean wiki. The "Current Release" now links to the openehr.org download page.