Dashboard > Developers > ... > Sandbox > IBM XForms Generator Test
  Developers Log In | Sign Up   View a printable version of the current page.  
  IBM XForms Generator Test
Added by Thilo Schuler, last edited by Thilo Schuler on 03-Jul-2008  (view change)
Labels: 

The Eclipse-based IBM XForms Generator (http://www.alphaworks.ibm.com/tech/xfg) was used to automatically generate an GUI using a simple openEHR composition instance (contains a blood glucose level observation) and the openEHR XML Schemata (Release 1.0.1).

This is the result, without any manual tweaking: crude XForms GUI (compound document: XForms markup embedded in XHTML) and a supporting CSS style sheet.

The easiest way to view it is downloading both files plus the original composition and the openEHR XML Schemata to the same location and opening compositon.xhtml with the  Firefox 2.0.x Browser that has the XForms extension installed.

Obviously this is very simple using only the xsd:string data type because the generator doesn't know the openEHR types, but it includes repeatable sections where the openEHR types have a "maxOccurs=unbounded" attribute. IBM uses this generator for initial scaffold GUIs from instance+/-schema data or WSDL documents. Here are two more interesting links:

It would be cool if we could in the mid-/longterm achieve a similar generator aimed specifically at openEHR, probably by adding some custom extensions to the standard (see http://xformsinstitute.com/essentials/browse/ch11.php). This could then be used both for generic GUIs and as starting point for customised XForms-based GUIs.

Thanks for this work.   I think it has good potential to inform futher development.

I especially enjoyed the link to the CDA demo:

-------------------------------------------------------------
 Introduction

                    The purpose of this demonstration is to illustrate
                    an end-to-end exchange of XML data from an XForms
                    based browser to a DB2 database with full XML
                    support. We want to show you how quickly and easily
                    it is to create XForms documents and have them
                    talk to a DB2 database where XML instance data
                    can be stored, retrieved or further queried.
                
Let's Get Started

                    Select "Next" to proceed.

------------------------------------------------------------- 

Is it just something I'm missing or is there no "Next" on this page?

--Tim

Tim you'll need the XForms plugin for Firefox 2.x (won't work with Firefox 3) to be able to see the "Next" button.

Site running on a free Atlassian Confluence Community License granted to The openEHR Foundation . Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.7 Build:#813 Aug 28, 2007) - Bug/feature request - Contact Administrators