Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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`

```