← Back to team overview

oship-dev team mailing list archive

Re: History class, how can I use it?

 

Hi Wagner,

Thanks for sending your questions to the list.  I hope I can help but
Sergio may have something to add.

On Sun, 2010-06-27 at 18:46 -0300, Wagner Francisco wrote:
> Hello,
> 
> I'm working in our use case and now I'm creating some objects to
> represent clinical information (like observations, evaluations and so
> on). But when I'm creating the observation1 instance (according to the
> doc Sergio sent us) it's necessary to instantiate a History object.

Correct.  Observations are something that has already happened.  So it
is in the past and therefore a History.

>  I saw our History implementation (openehr/datastructure/History) and
> I didn't understand it very well. There is an EventContainer there,
> and I haven't seen the EventContainer class in the DataStructure
> Specification. 

In datastructure.py around line 200 you will find the EventContainer
class.  The Interface is around line 128. However,  you are correct that
there are classes here that are not in the specification.  


> Are we going to use that implementation? How can I use it? I tried to
> instantiate but I couldn't. I'm not sure about that arguments.

There is not any documentation on them either.  There should be a
blueprint or a bug report stating the necessity for them as well as some
documentation on their purpose and usage if they are in fact required.

Maybe whomever added them will comment on this.

Thanks,
Tim



-- 
***************************************************************
Timothy Cook, MSc

LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == (upon request)
Academic.Edu Profile: http://uff.academia.edu/TimothyCook

You may get my Public GPG key from  popular keyservers or    
from this link http://timothywayne.cook.googlepages.com/home 

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References