Skip to Navigation | Skip to Content

Ref_impl_Python mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: OSHIP Update


On Fri, 2008-07-04 at 17:04 +0200, Karsten Hilbert wrote:

> Tim, any chance you could explain a little what this demo vs
> real world mode business is all about ?
> 
> Thanks,
> Karsten

The basic idea is that "people like to see stuff" when they install
something.  Even if it isn't fully functional.

The demo mode allows for installation of OSHIP and the creation of the
base folders (sites) AR (archetype repository),DEMOGRAPHICS,CLINICAL and
putting some archetype (looking) objects in the repository.  The
archetype looking objects are not REAL archetype objects though because
the underlying RM and RM aren't complete.   

The non-demo (real world) mode is trying to create real archetype
objects and has lots of print statements to aide in development and
troubleshooting. These print statements typically spit out lots of stuff
from the parser in the form of lists of ADL contents.  

So the real world mode isn't guaranteed to do anything useful at this
time and it may at times just result in Tracebacks when running the
load_ar.py script. 

If you look in oship.src.oship.atbldr.atbldr.py around line 163 you'll
see that demoMode calls the ATDemo function whereas the real world mode
tries to actually create an instance of the Archetype class.

HTH,
Tim


-- 
Timothy Cook, MSc
Health Informatics Research & Development Services
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook 
Skype ID == timothy.cook 
**************************************************************
*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

_______________________________________________
ref_impl_python mailing list
ref_impl_python@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/ref_impl_python