Next Steps was: Introduction
On Mon, 2008-08-25 at 10:19 +0200, Roger Erens wrote:
> can you give an example or two for the kind of widget, classes, and
> attributes you have in mind?
Classes/attributes: There are several openEHR classes that are not
fully implemented. I believe that there are __init__ methods for all of
them but some are incomplete (they do not include the inherited
attributes) and many do not have the methods implemented. Most of these
are very simple since all it requires is returning a value that already
exists in the class. Some need calculations but those are VERY few.
Widgets: This is a little more complex (at least for me) at this time.
The existing ZCA framework only knows how to return values to the
browser for the zope.schema classes. Many of the openEHR classes have
schemas defined using other openEHR classes. For example in IEvent the
time attribute is defined as an object that adheres to the DvDateTime
schema:
time=Object(
schema=IDvDateTime,
title=_(u'time'),
description=_(u"""Time of this event. If the width is non-zero,
it is the time point of the
trailing edge of the event."""),
required=True
)
Currently the infrastructure doesn't know how to process this attribute.
In other words it doesn't drill down automatically into the DvDateTime
schema.
I do not yet know exactly how to implement this. I have done some study
on it but have not been successful yet. I have asked on the Zope users
list but apparently didn't phrase my questions correctly enough that
anyone could/would answer.
Interestingly though there is a thread that just started that is
actually more complex (using 'dynamic' schemas) than our need and I
believe it can be informative to us. The archive link is here:
http://mail.zope.org/pipermail/zope3-users/2008-August/008132.html
Again, I appreciate anyone's comments/thoughts/knowledge on this issue.
--Tim
--
******************************************************************************
Timothy W. Cook, MSc Health Informatics
Visiting Researcher, Clinical Decision Support Systems
Fluminense Federal University, NiterÃi,RJ Brazil
Honorary Research Assistant, CHIME, University College London,
London, England, UK
******************************************************************************
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ ref_impl_python mailing list ref_impl_python@openehr.org http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_python