Creating GUI based on template xsd file

Hi,
I wonder whether there exists any document or hints explaining creating of GUI( I mean forms for data entry by end user) or not.
I can parse templates to get used archetypes and continue parsing until reaching to leaf nodes and C_Primitive types then create form entries based on them, but I guess it should be another way to do that uses resolveArchetypes method and finally XSD file created.

Regards
Pariya

PhD Student
Department of Computing Science and Engineering
Chalmers University of Technology
http://www.cs.chalmers.se/~hajar.kashfi/

Hi Pariya:

If you use Microsoft Office you may already have Infopath that can create
the form based on the contents of XSDs and you can run that form in
SharePoint directly.

There are also a variety of XForms implementation that allow you to create
GUIs based on XSDs.

Basically, once you have a well-constrained you have several options to
create a GUI based on the XSD.

All the best,

Ioana

Pariya,

The Ocean Template Designer has an export function to generate an XSD based on a template, we call these Template Data Schemas. The schemas are still relatively complex because it incorporate the RM class attributes that are necessary to create a valid openEHR composition from the XML document based on this Template Data Schema. You could probably look at simplifying this schema further if required.

As Ioana mentioned, you can use MS InfoPath to generate a form from these Template Data Schemas but I find it and most other XML tools just can’t handle any sort of complexity, which you will very quickly reach with openEHR templates.

Similarly, we have attempted to use these schemas with XForms based tools and also find them lacking support for complex situations. We have opted for building components that have more understanding of the openEHR AM and RM to encapsulate this complexity.

Heath