OSHIP Queries
I understand that during the workshop, the question of how one will query an OSHIP implementation was discussed. I did mention this during one of the presentations but there was little emphasis on it at the time. There is an openEHR query language being finalized for archetype enabled systems. The language; Archetype Query Language (AQL) BNF and discussions can be seen here: http://www.openehr.org/wiki/x/rwAt OSHIP has an internal indexing and querying system based on the Zope Catalog package. You will be able to index every archetypeId and every archetypeNodeId (and/or any other attributes) in the database as distinct BTree fields. You will also be able to create full text indices for any OSHIP specific queries your application may be interested in. The incoming AQL queries will be mapped to the OSHIP catalog system via a parser that Paul McGuire (Pyparsing author) will be building for us. The Catalog API can be reviewed in the ++apidoc++ URL** as well as the many Zope books, text files and source code examples. There are also extensions that provide a wide range of indexing capabilities such as zc.catalog. """ Is an extension to the Zope 3 catalog, Zope 3's indexing and search facility. zc.catalog contains a number of extensions to the Zope 3 catalog, such as some new indexes, improved globbing and stemming support, and an alternative catalog implementation. """ On a similar subject, the workflow management portions of the specifications are being discussed on the technical list and as decisions are settled out we will be mapping those concepts to the zope.wfmc (Zope Workflow Management Pacakge) http://www.z3lab.org/sections/front-page/spotlight-features/zope3-zope-wfmc1476 as well. Cheers, Tim ** If you are not familiar with ++apidoc++ then you should know that in a server running debug (bin/paster serve debug.ini) you can enter a URL like this: http://127.0.0.1:8080/++apidoc++ type in what you want to find in the search box, i.e. catalog, Archetype, ItemStructure etc. and you will retrieve all the API info for the class. -- ************************************************************************** Join the OSHIP project. It is the standards based, open source healthcare application platform in Python. Home page: https://launchpad.net/oship/ Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page **************************************************************************
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