Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkiddo/espresso
This plugin generates FHIR resource specific classes based on FHIR Implementation Guides
https://github.com/jkiddo/espresso
Last synced: 2 days ago
JSON representation
This plugin generates FHIR resource specific classes based on FHIR Implementation Guides
- Host: GitHub
- URL: https://github.com/jkiddo/espresso
- Owner: jkiddo
- Created: 2024-10-17T13:37:42.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-14T21:20:14.000Z (3 days ago)
- Last Synced: 2024-11-14T22:23:58.275Z (3 days ago)
- Language: Java
- Homepage:
- Size: 29.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Project espresso
This project is a proof of concept for generating Java classes from FHIR profiles using the HAPI FHIR library as a Maven plugin. Generated classes are based on the HAPI FHIR core data models.
## Usage as Maven plugin
Add the following plugin to your existing Maven setup and generated sources with `mvn generate-sources`:
```xml
org.hl7.fhir.contrib
fhir-codegen-maven-plugin
1.0-SNAPSHOT
test.packages
https://hl7.dk/fhir/core/package.tgz
generate
generate
```
#### Dependency on HAPI core projects
This project relies heavily on the core projects from the [HAPI FHIR library](https://github.com/hapifhir/org.hl7.fhir.core). The core projects are available in the
Maven Central Repository, but from time to time `edge`-builds are needed. Do that locally by running the following on
the core project:
`mvn wrapper:wrapper -Dmaven=3.6.3 -Dmaven.test.skip clean install````