oops - one or both of you is using an out of date version of teh template model - the current draft is quite different, and also note that the AOM 1.5 draft includes a couple of UML changes needed for templates - see section 5 of the Template specification on the wiki page at http://www.openehr.org/wiki/display/spec/openEHR+Templates+and+Specialised+Archetypes
- thomas > Hi! > > I imported an openEHR UML (XMI) file created by Eric Browne (using > BOUML) into the Eclipse-based Topcased environment a couple of minutes > ago and saw that most template related classes were implemented. Using > Topcased autolayout and some manual adjustments produced a diagram, > see http://www.imt.liu.se/~erisu/2008/08/rough-template-diagram.gif. A > nicer diagram by Eric Browne is available at > http://www.healthbase.info/openehr/UML/index.html#refpackage138545 > (The entry link to start exploring his work is at > http://www.healthbase.info/openehr/UML/index-withframe.html) > > Eric: What is the copyright status of your model files? Can I share > the source XMI file and any derived works in public? If you don't > have another license in mind I'd suggest using > http://creativecommons.org/licenses/by/3.0/ > > As written in some other threads, more info about a related experiment > (aoutoconverted from openEHRs MagicDraw files) is available at > http://www.openehr.org/wiki/display/dev/Experimental+generation+of+code+and+documentation+from+UML > Links to source files are available in a recent comment on that page. > > Thomas: What tool are you currently using to produce UML for the > template spec document? > > Best regards, > Erik Sundvall > erisu at imt.liu.se http://www.imt.liu.se/~erisu/ Tel: +46-13-227579 > > On Wed, Aug 27, 2008 at 13:49, Adam Flinton <adam.flinton at nhs.net> wrote: > > Thomas Beale wrote: > >> Adam Flinton wrote: > >> > >>> Preferably in Eclipse UML2...? > >>> > >>> If so does it then include the archetypes class model as well? > >>> > >>> > >>> > >>> > >> *The UML for the forthcoming openEHR template model is online in the > >> latest AOM draft (some changes to AOM of ADL 1.4 vintage) and Templates > >> draft, available at the page > >> http://www.openehr.org/wiki/display/spec/openEHR+Templates+and+Specialised+Archetypes > >> > >> However, if you are after UML for the current .oet file format, I don't > >> think it is published, but I would imagine it already exists - > >> publishing it should be no problem. Can you indicate which one you are > >> after? > >> > >> - thomas beale > >> > >> * > > > Sorry for the delay. > > > > What I was wondering about is whether we had/could have a complete model > > for OpenEHR Templates + Archetypes. > > > > i.e. if one had the AOM in Eclipse XMI then one could generate Java > > classes or <insert language of choice here> > > > > e.g. > > > > http://www.eclipse.org/modeling/m2t/?project=jet > > > > or if you want to go the whole hog: > > > > http://www.openarchitectureware.org/ > > > > & one could create Graphical editors via GMF, compare models, run OCL > > constraints etc.etc. > > > > What is more, maintaining the AOM /TOM via the Eclipse UML tools means > > that the model is machine readable/processable and the tooling is > > free/open source (though you could use tooling based on the eclipse UML > > e.g. Rational etc.) > > > > It also means that the model can be maintained with a degree of > > isolation from persistence formats per se via OAW mappers etc allowing > > one to bring in/emit differing versions of ADL, differing versions of > > templates etc. > > > > We are nearly there wrt the AOM. What we are lacking is a UML class > > model of the "TOM". > > > > > > So if you have the UML class diagram for Templates, that would be great. > > If it's already in Eclipse XMI/UML that would be even better. > > > > Adam > _______________________________________________ > openEHR-technical mailing list > openEHR-technical at openehr.org > http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-technical -- Thomas Beale Chief Technology Officer Ocean Informatics

