Hi Diego,

The answer is that you cannot determine which version of the parent is
being used from the archetypeID, and that can only be determined from
other metadata in the archetype.  V2 refers to the specialisation not
the parent, although of course a version change in the parent would
force a version change in the specialisation, though not vice-versa.

Proposals for the next update to archetype identifiers, which will
include namespaces, will almost certainly drop the requirement to
carry the archetype lineage in the archetypeID at all, so that there
is no need to carry the names of any parents. The RM will have to
change to allow the lineage to be carried  along with the archetypeID,
to support querying. We explored various alternative naming schemes
but it just gets horribly complex once you try to add parent versions
and namespaces to the archetypeID.

Ian

On 14 June 2012 10:30, Diego Bosc? <yampeku at gmail.com> wrote:
> Hello all,
>
> I have been thinking a little about archetype specialization and versioning
> and how do those two relate. I don't know how it is being solved right now,
> but seems like a big issue for the future. Take the following scenario:
>
> We have an archetype (e.g. 'openEHR-EHR-Evaluation.problem.v1') and a
> specialization of that archetype (e.g.
> 'openEHR-EHR-Evaluation.problem-diagnosis.v1'). Now we generate a new
> version of the parent archetype (creating a
> 'openEHR-EHR-Evaluation.problem.v2').
>
> If we create a specialization of 'openEHR-EHR-Evaluation.problem.v2', what
> identifier should it have?
> How can we distinguish which is the parent of archetype mentioned above
> ('openEHR-EHR-Evaluation.problem.v1' or 'openEHR-EHR-Evaluation.problem.v2')
> using only the identifier information? (I know that parent information is
> inside the archetype)
> If both parent versions of the concept are valid and you generate new
> specializations from them, how is this handled?
>
> Regards
>
> _______________________________________________
> openEHR-technical mailing list
> openEHR-technical at lists.openehr.org
> http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org



-- 
Dr Ian McNicoll
office +44 (0)1536 414 994
fax +44 (0)1536 516317
mobile +44 (0)775 209 7859
skype ianmcnicoll
ian.mcnicoll at 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

Reply via email to