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)
You need to have EHRbase jars for v0.8.0 in your maven repo
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
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.