Skip to content
zero-zero-senvenPublic
forked from jkiddo/espresso

About

This plugin generates FHIR resource specific classes based on FHIR Implementation Guides

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

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:

<build>
    <plugins>
        <plugin>
            <groupId>org.hl7.fhir.contrib</groupId>
            <artifactId>fhir-codegen-maven-plugin</artifactId>
            <version>1.0-SNAPSHOT</version>
            <configuration>
                <packageName>test.packages</packageName>
                <packageId>https://hl7.dk/fhir/core/package.tgz</packageId>
            </configuration>
            <executions>
                <execution>
                    <id>generate</id>
                    <goals>
                        <goal>generate</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Dependency on HAPI core projects

This project relies heavily on the core projects from the HAPI FHIR library. 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


About

This plugin generates FHIR resource specific classes based on FHIR Implementation Guides

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages