On 16-12-15 11:37, Diego Boscá wrote:
but there is an example of an specialized identifier in that same document
e.g. 
"uk.nhs.clinical::openEHR-EHR-SECTION.t_encounter_report-vital_signs_headings-0001.v1"
in http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_an_example

Thanks Diego, for pointing this out, I checked it in RM 1.0.3 ArchetypeId, and there is indeed a specialization-numbering in the archetype identifier. So this information will become redundant in the archetype, available in the concept/root-node id, and in the archetype id.

This is not good, according to many programming standards which advise to not have redundant information.

Because it adds nothing, and if it differs, it is not trustworthy.

Also, we lost the track of archetypes from where was specialized, we only know the last archetype, and if that is not available, then it is not possible to have that information. As far as I understand, this seems a lost of information and a redundancy added in the new AOM/RM combination.

But maybe I do not oversee everything.

I think it is best to wait for an official reaction of the openehr chief architect.

Thanks for helping me with this.

Bert



2015-12-16 10:56 GMT+01:00 David Moner <dam...@gmail.com>:
In AOM/ADL 2 this is not true anymore, so I fear we have lost the only way
to know the specialization depth of an archetype (without navigating through
all its parents).

2015-12-16 10:52 GMT+01:00 Diego Boscá <yamp...@gmail.com>:
The concept_id part from the archetype_hrid shows all the parents of a
given node (or at least did in 1.4)

2015-12-16 10:42 GMT+01:00 Bert Verhees <bert.verh...@rosa.nl>:
On 16-12-15 09:50, Diego Boscá wrote:
Parsing current archetype identifiers you can know the specialization
depth and compare it with root node_id.

Hi Diego,

Thanks for your answer, and I hope you will answer my follow up question

I thought the the versionId's in the archetype_hrid denote the
corrections/versions on an archetype.
But maybe I misunderstand that concept.

Or are you referring to something else?

Bert



2015-12-16 9:42 GMT+01:00 Bert Verhees <bert.verh...@rosa.nl>:
Hi all,

I am looking at this error message from


http://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_validity_rules

VARCN: archetype concept validity. The node_id of the root object of
the
archetype must be of the form id1{.1}*, where the number of .1
components
equals the specalisation depth, and must be defined in the
terminology.
(which has a spelling-error in "specalisation", it should be
"specialisation")

My first question:
How can the parser know the specialization-depth?
When I look at the grammar, it seems not possible to layer the
specializationSection
So it can only check that it is a specialization.

Or am I overseeing something

My second question:
There is another thing, only small, thing, not very important, but I
thought, I mention it anyway.
In the grammar specialization is spelled in the US way ( in
specialization_section : SYM_SPECIALIZE archetype_ref ;), while in the
error-messages specialisation is spelled in the UK-way (in VASID).

Is there a preferred spelling for when handling texts which belong to
software-definitions?

Thanks
Bert

_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org


http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org


http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org

http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org

http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org



--
David Moner Cano
Grupo de Informática Biomédica - IBIME
Instituto ITACA
http://www.ibime.upv.es
http://www.linkedin.com/in/davidmoner

Universidad Politécnica de Valencia (UPV)
Camino de Vera, s/n, Edificio G-8, Acceso B, 3ª planta
Valencia – 46022 (España)

_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org
_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org


_______________________________________________
openEHR-technical mailing list
openEHR-technical@lists.openehr.org
http://lists.openehr.org/mailman/listinfo/openehr-technical_lists.openehr.org

Reply via email to