In fact, all archetype compositional structuring is done with "Slots" (via the use_archetype keyword). The question is just how to clearly represent the slot idea on the screen. The Ocean editor uses some funny shapes a bit like the idea of keys (i.e. then you indicate what things can fit in the slot), but I am sure the graphics wizzkids from Link?ping will leave our efforts in the dust;-)
- thomas beale Johan Hjalmarsson wrote: > Ian McNicoll MMS wrote: > >> >>> Dear All, >>> >>> As some of you might know, we are a couple of master's thesis >>> students at Link?ping University in Sweden that will be finished >>> with our work of developing an archetype editor in the near future. >>> The application is developed entirely in java and the source code is >>> to be published as open source when our work with it is done. The >>> URL below shows a couple of screenshots of the java archetype editor >>> based on the Acode implementation of the openEHR reference model. >>> >>> http://www.cyd.liu.se/users/~johhj833/openehr/ >>> >> Hi Johan, >> >> This looks very good indeed. I am starting to play around with >> archetype design, based in Scotland ,UK and would be very interested >> to try out your editor when you feel it is ready for public >> consumption (or testing). I am an ex-doctor and experienced >> programmer, though in Delphi rather than Java, and would be happy to >> contribute if this was helpful. >> >> With the Ocean editor, I could not see a way to easily nest an >> archetype within another e.g. I was constructing a BMI archetype >> which I wished to base on 2 existing archetypes, one for height, one >> for weight - I have looked at your definitions page screenshot but >> cannot see which Add button option could be used. >> >> Ian > > > Hi Ian, > > Thanks. > > We think this problem resembles what is done when two section > archetypes are combined into a composition with Oceans archetype > editor. This requires to create two different section archetypes that > contain the weight and height archetypes. These should the be included > in a composition archetype. However, if you'd like to create an > archetype that is, say an evaluation archetype which is based on the > two other archetypes, then you want to be able to insert so-called > archetype slots in the (BMI) evaluation. Then you could also add > invariants that states the relation between the two archetypes e.g. > weight/height^2. We would like to see this functionality in our > editor, but at the moment none of it is supported. > > Regards, > > Johan & Mattias > > > > -- ___________________________________________________________________________________ CTO Ocean Informatics (http://www.OceanInformatics.biz) Research Fellow, University College London (http://www.chime.ucl.ac.uk) Chair Architectural Review Board, openEHR (http://www.openEHR.org)

