Multiple parents and max number of nested specialized archetypes?

Thanks all for the excellent explanations on the differences between archetypes and templates both from functional and technical point of view. I agree with Sebastian, these rather educational comments should be included in our FAQ page.

On the technical side, I will be glad to review the early draft of TEMPLATE_SPEC specification. It can even be implemented by the Java community to provide feedbacks for further refinement.

Cheers,
Rong

Hi Greg

Interfaces

a) When creating a generic outbound or inbound interface with an
extrernal system - do you build based upon the archetypes only - i.e.
provide as many values possible?  or your specializations? or is this
all mute and we stick with HL7?

HL7 will be around forever - openEHR merely starts from the coherent and extensible EHR and aims to keep as much information as possible in a form that can be queried (and processed). If you want to ask a question in the openEHR environment then you do so in terms of the reference model and archetypes (which are always composed of reference model types). So if we have an archetype for blood pressure then we can recall all blood pressures - and then any part of that information group. So when you say interfaces - the raw interface itself knows only the reference model - but the query engine understands that archetypes exist and how they are ‘stamped’ in the data.

At a coarse grain level, the EHR consists of compositions - which remain the coherent view of the health information - as a document like CDA does.

Templates, as a collection for a use case.  I looked out in Subversion
but only see one out there:
[http://svn.openehr.org/knowledge/templates/dev/html/](http://svn.openehr.org/knowledge/templates/dev/html/)

You need to look at the UK site:
..templates\dev-uk-nhs\xml\openehr\ehr

b) Do templates or specializations or archetypes define workflow
e.g.
record results, based upon results collect additional information or not?'

All health record entries record workflow to some extent. Observations record measurements and findings, Evaluations record assessments and summaries, Instructions record orders and Actions record interventions or things done (or not done if required). It might take a while to think of an order for a lab (instruction) resulting in blood being taken (can be recorded as an action), being sent to the lab, being processed, being sent back to the sender, being checked by the ordering clinician, being completed - all actions. The actual result will be an observation - which is linked to the order but is not an action arising from the order.

In the case were a doc just wants to replicate a paper form but not
improve it would I build a template or stick with Archetypes? So
implementing a form like this:

[http://home.cogeco.ca/~epiphany/FPDoctor-Perfect-Progress-Note-2.0.pdf](http://home.cogeco.ca/~epiphany/FPDoctor-Perfect-Progress-Note-2.0.pdf)

The link didn’t work - but one design issue for those building archetypes is to consider the fact that some data will be entered in a narrative form - perhaps a great deal in some settings. This means we might only get minimal structure in 3 or 4 archetypes in some situations.
Hope that is helpful, Sam

(attachments)

OceanCsmall.png

Dipak Kalra wrote:

Dear Heather,

Your 50c worth is really an excellent explanation. Well done, and I
hope many readers on the list will find it helpful.

You should see what Heather can do for $1....

- thomas

Dear All,

I have an important modeling problem in ADL for defining whether single
or multiple selection is allowed for values of an ELEMENT. In (very
informal) other words checkbox or option box. During a recent discussion
with Thomas, I learned that this has previously been discussed and that
current trend is to move this into templates together with the
constraint about default values.

I can perfectly understand and appreciate to define default values in
templates as they can be dependent on regional, cultural or even
religious matters. But considering the principles expressed
(wonderfully) in a previous thread about archetypes and templates, one
can simply come to a conclusion that (almost) universal and non-volatile
domain knowledge go into former while local/volatile knowledge go into
latter. In any concept such constraints are an integral part of that
domain knowledge; i.e. an ELEMENT defining presence of bleeding can not
have both present and absent. Of course then there might be other cases
where this can not be determined in advance- so you simply do not
constrain them in archetypes and handle with local templates.

The rationale behind my similar requests/suggestions is very simple: I
prefer to be able to model concepts and implement them without depending
on templates; just archetypes and that's all. I know that this is not
the mainstream approach/business model but it can improve stability of
archetypes and add flexibility in openEHR/CEN implementations.

Best regards,

Koray Atalag, MD, Ph.D.