Hi Andrew Ocean has a quite sophisticated template designer which is still in Beta, but which currently allows you to build templates from multiple archetypes and then constrain nodes further. It also allows you to drag and drop nodes onto a form designer where they become the appropriate windows controls and also to map templates to other data. The form designer allows you to produce code and to compile and build executables.
Currently the templates are serialized as xml by this tool, however openEHR is working on the release of a TDL which is based on ADL. Not sure when this will be available. Regards Hugh __________________________________ Dr Hugh Leslie MBBS, Dip. Obs. RACOG, FRACGP, FACHI Director and Senior Clinical Consultant Ocean Informatics Pty Ltd M: 0404 033 767 E: hugh.leslie at oceaninformatics.biz Skype: hughleslie > -----Original Message----- > From: openehr-technical-bounces at openehr.org > [mailto:openehr-technical-bounces at openehr.org] On Behalf Of > Andrew Patterson > Sent: Wednesday, 25 October 2006 6:55 PM > To: For openEHR technical discussions > Subject: Re: a zero existence constraint > > > I think that the right place to say "for this usage of this > archetype > > I want to explicitly exclude something" is in the template. The > > archetype should be a representation of a concept that can > be used for > > all conceivable requirements of that concept and then > constrained in the template. > > I haven't seen any template specification, hence I tend to > think of things in terms of how I would do them in an archetype. > Personally, I think there will be cases where the very > existence of an attribute makes no sense in any conceivable > requirement of that concept - or needs to be explicitly > denied to prevent misuse of the archetype.. just looking > briefly at the OBSERVATION RM, it has comments saying that > 'state' data should be stored either per event, or per > observation - but not both. Surely the choice of which > strategy is being used would be made by constraining out the > existence of the 'other' state attribute? > > If zero existence constraints are not to be used in > archetypes then the section dealing with them in ADL should > be updated. > > In particular, page 48 > "Existence is shown using the same constraint language as the > rest of the archetype definition. Existence constraints can > take the values {0}, {0..0}, {0..1}, {1}, or {1..1}. The > first two of these constraints may not seem initially > obvious, but may be reasonable in some cases: they say that > an attribute must not be present in the particular situation > modelled by the archetype. The default existence constraint, > if none is shown, is {1..1}." > > On a related note, whilst I understand the general concept of > a template in openehr I am yet to see any spec of what they > look like.. are there any specs out there? > > Andrew > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical _______________________________________________ openEHR-technical mailing list openEHR-technical at openehr.org http://www.chime.ucl.ac.uk/mailman/listinfo/openehr-technical