Skip to Navigation | Skip to Content

Ref_impl_Python mailing list archives

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

[Oship] TASK - Import Dictionary


Hi All,

You may have noticed that I have been quite busy with OSHIP.  I now have
a few tasks that I could use help with.

The first (and biggest) one is so that I can map the class names from
the ADL to where the actual OSHIP classes are located.  This is needed
for the imports for the adl2py converter.

You will need to checkout ref_impl_python/BRANCHES/oship into a safe
place in your 'oshipenv'  you don't even need to run the server.

Notice that the source code is now in oship/src/openehr in a set of
large files.  

What I need is a dictionary that will use the openEHR class names like
DV_TEXT, DV_QUANTITY, etc as keys to an import location for the
corresponding OSHIP class.  Something like this:

{'DV_TEXT':'from oship.openehr.datatypes import DvText'\n, \
 'HISTORY':'from oship.openehr.datastructure import History'\n, \
...

}

You get the idea?  I'll merge them as they come in.

Of course some are more important and larger than others but if you want
to just pick one at a time then let the list know you are working on it:
 adl.py
 archetype.py
 common.py
 datastructure.py
 datatypes.py
 demographic.py
 ehr.py
 extract.py
 integration.py
 openehrprofile.py
 sm.py
 support.py

Thanks for your help!

--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