Skip to Navigation | Skip to Content

openEHR-Technical mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: proposed ADL 1.5 simplification


Peter,

A change in the concept will cause a new canonical hash, because the concept is part of the ontology, and the ontology is part of the canonical hash.

About changing “archetype (adl_version=1.4)” to “archetype (adl_version=1.5)”, you are right, this will cause also a new canonical hash. 

Although at this time the Archetype editor does not seem to take this “archetype (adl_version=1.x)” in consideration when loading the Archetype in its environment, which is clearly a bug. (for instance, archetype (adl_version = 1.6) is also allowed and loaded by the current Archetype editor without giving any notification).

A future Archetype Editor should not automatically upgrade an Archetype to a new ADL version and certainly not overwrite an existing Archetype of a previous ADL version. That will cause some major impact.

About removing the concept, I do see a few (minor) advantages and disadvantages:

Advantage: The simpler it gets, the better it is. Removing the ‘concept’ makes it more simpler.

Disadvantage: All parsers should be reviewed and probably need to be updated.

Overall we think it is a good proposal to remove the ‘concept’ out of the Archetype.

Alessandro Torrisi


On 6 July 2010 08:22, Sebastian Garde <sebastian.garde@oceaninformatics.com> wrote:


Peter Gummer wrote:
> Sebastian Garde wrote:
>
>
>> Not sure if this change would has an impact on the canonical MD5
>> hash generated by the Archetype Editor - ideally it would be the
>> same for an archetype with or without the concept clause?
>>
>
>
> I doubt it, Sebastian. Any small changes made to an archetype today
> will cause the MD5 hash to change.
>
> For example, open an existing archetype in a text editor and replace
> its first line:
>       archetype (adl_version=1.4)
> With this:
>       archetype (adl_version=1.5
Ah, that's right....so each and every archetype MD5 hash will change
anyway when migrating to ADL 1.5 (with or without Tom's proposed change
to remove the concept) - then removing the concept shouldn't matter.

Sebastian

_______________________________________________
openEHR-technical mailing list
openEHR-technical@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical



--
Alessandro Torrisi
_______________________________________________
openEHR-technical mailing list
openEHR-technical@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical