Matteo Piazza wrote: >I am a newby in the community of openEHR. It is not >clear to me the distinction between "archetype" and >"template". It seems that a template is based on an >archetype. Let's start from archetype in fig. 11, pag. >26 in REV 2.2.1. > > I guess you are referring to the original paper here (http://www.deepthought.com.au/it/archetypes.html); these diagrams are quite old...
>Is it possible to have an example in which the >"new_value" slot is implemented with a concrete value? > > I'm not sure what you mean by that - can you explain in a bit more detail? In the examples page of ADL archetypes (http://www.oceaninformatics.biz/archetype_examples.html) you will see a BP archetype (http://www.oceaninformatics.biz/openehr-ehr-observation.bp_measurement.draft.adl.html); in it there is an ELEMENT for systolic, one for diastolic, and another for 'new elements' - the line ELEMENT[at9000] occurrences ? {0..*} ? {*} does this. But we could constrain it further as well - the example above allows anything you want. If you want to constrain it to data type = QUANTITY, you do: ELEMENT[at9000] occurrences ? {0..*} ? { value ? { QUANTITY ? {*} } } >And an example of at least a couple of templates based >on this new defined archetype? > > we will publish one soon, and the tool to parse them. But as an initial taste, see the attachment. hope this helps. - thomas beale >Thank you very much. > >Matteo Piazza > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free web site building tool. Try it! >http://webhosting.yahoo.com/ps/sb/ >- >If you have any questions about using this list, >please send a message to d.lloyd at openehr.org > > > > -- .............................................................. CTO Ocean Informatics - http://www.OceanInformatics.biz openEHR - http://www.openEHR.org Archetypes - http://www.oceaninformatics.biz/adl.html Community Informatics - http://www.deepthought.com.au/ci/rii/Output/mainTOC.html .............................................................. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nt_health.post_natal_exam.draft.tdl URL: <http://lists.openehr.org/mailman/private/openehr-technical_lists.openehr.org/attachments/20040126/97bde182/attachment.tdl>

