Hi Seref, Seref Arikan wrote: > I've written an initial set of things here : > http://www.openehr.org/wiki/display/projects/Technology+and+architecture+challenges+in+UI+implementation. > based on Opereffa, but I'd really like to hear how others are tackling UI > layer. > I'm a little bit worried since I can see MS CUI ... I had a look at these Silverlight "controls" - such as http://www.mscui.net/Components/SingleConceptMatching.aspx etc - perhaps I missed something, but I can't see anything greatly different from what a Luddite like me might achieve with XHTML-like select, check-boxes etc.
Complexity grows, in any case, when one considers screens where one data-value (e.g. drop-down list) should vary in accordance with another control's value (e.g. another list's item). I am not even sure how openEHR archetypes fully allow such co-occurrence constraints to be defined - I guess I'd try using invariant rules. This isn't just a case of panels/containers being present/visible or not - as archetype-slot toggling ought to be able to handle. If we assume that detailed co-occurrence variations can be declared as ASL invariant rules then - IMHO - it makes sense to take that declarative approach down to the GUI level and interpret such rules at data entry. This is what xForms was supposed to be designed to do (using it's bind declarations) - but the majority opinion of openEHR developer is that xForms are dead in the water - and we should instead instantiate object-oriented widgets to implement our GUIs. I am not so convinced - I've played with the Orbeon xForms server http://www.orbeon.com/ which embeds the eXist xml-db an I am quite impressed just how far you can get in modern browsers without writing javascript or requiring plugins. XML in XML out. It's nice to be web-based/RESTful since it gives you so much for free. It would be nice to implement a demo that compiles-down ADL to a form Orbeon can serve - but, as I noted earlier, this is not a main-line idea here: for one thing it mostly throws out the "O" from the "AOM". Good work with Opereffa Gavin Brelstaff CRS4 Sardinia Italy.

