I would like to announce a new open source ADL2 library, written in Java. It is based on the ANTLR-grammar released very recently by Thomas Beale.
You can find it at https://github.com/nedap/archie It is still very much in development, but it is now at a state where it could be of use to people. It currently features: - an ADL2-parser that parses the full definition, specialises, terminology, value sets and (a subset of) rules sections - an archetype object model implementation - a flattener that can also make operational templates - still needs testing and work! - basic path queries with node ids and node meanings. - an experimental Archetype treewalker for openEHR reference models it can save you many instanceof calls. It parses most valid ADL2 files i¹ve tested it with into an archetype object model. That includes most of the content of the clinical knowledge manager. We¹re currently using this same library for an openEHR implementation and we will add features, fixes and tests to it as we progress. You might ask, why a new library? Don¹t we have adl2-core already? The answer is quite simple: licensing. We could not use the adl2-core library for our projects, because it would require us to release the entire project under the (A)GPL. So we ignored the existing library and built our own. And now we release Archie under the Apache license. This means you should be able to use it in any project you like. Want to help? Great! There¹s a list of missing functionality on the github page. Just fork and create a pull request. Or just report any issues you find on the github issue tracker. Regards, Pieter Bos Nedap Healthcare _______________________________________________ openEHR-implementers mailing list [email protected] http://lists.openehr.org/mailman/listinfo/openehr-implementers_lists.openehr.org
