Generic openEHR Client and Objekt-mapper:
- Define entity classes for openEHR-Templates (v1.4) in a jpa like way
- Autogenerate entity classes from template
- Map entity <-> Archie RM objekts.
- RestClient for openEHR Rest-API
- AQL-Query generator (TODO)
- RestClient for DIRECTORY endpoint
- Improved clean-up of empty elements
- Improved generation of EVENT classes
- Automated generation of PARTICIPATION classes
- Added support for PARTY_PROXY
- Moved to EHRbase 11
You need to have EHRbase jars for v0.11.0 in your maven repo (clone EHRbase and build with 'mvn clean install')
mvn clean install
To generate a entity class from a template use
java -jar client-library-version.jar
-h show help
-opt <arg> path to opt file
-out <arg> path to output directory
-package <arg> package name
see FlattenerTest and UnflattenerTest
- ehr : see DefaultRestEhrEndpointIT
- composition: see DefaultRestCompositionEndpointIT
- template : see DefaultRestTemplateEndpointIT
- directory : see DefaultRestDirectoryEndpointIT
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.