diff --git a/hapi-fhir-dist/pom.xml b/hapi-fhir-dist/pom.xml index b6a845c2308..9dd2bfd1632 100644 --- a/hapi-fhir-dist/pom.xml +++ b/hapi-fhir-dist/pom.xml @@ -87,6 +87,7 @@ false ${project.basedir}/src/assembly/hapi-fhir-all.xml + ${project.basedir}/src/assembly/hapi-fhir-jpaserver-example.xml diff --git a/hapi-fhir-dist/src/assembly/hapi-fhir-all.xml b/hapi-fhir-dist/src/assembly/hapi-fhir-all.xml index 671f6d703b3..aac691b3fd3 100644 --- a/hapi-fhir-dist/src/assembly/hapi-fhir-all.xml +++ b/hapi-fhir-dist/src/assembly/hapi-fhir-all.xml @@ -1,7 +1,7 @@ - all + jpaserver-example zip @@ -12,24 +12,13 @@ - ${project.basedir} + ${project.basedir}/../hapi-fhir-jpaserver-example / - README* - LICENSE* - NOTICE* + pom.xml + src/** - - - /lib - true - false - runtime - - - - diff --git a/hapi-fhir-dist/src/assembly/hapi-fhir-jpaserver-example.xml b/hapi-fhir-dist/src/assembly/hapi-fhir-jpaserver-example.xml new file mode 100644 index 00000000000..671f6d703b3 --- /dev/null +++ b/hapi-fhir-dist/src/assembly/hapi-fhir-jpaserver-example.xml @@ -0,0 +1,35 @@ + + + + all + + + zip + tar.bz2 + + + false + + + + ${project.basedir} + / + + README* + LICENSE* + NOTICE* + + + + + + + /lib + true + false + runtime + + + + + diff --git a/hapi-fhir-jpaserver-base/.settings/org.eclipse.core.resources.prefs b/hapi-fhir-jpaserver-base/.settings/org.eclipse.core.resources.prefs index e35473ebaf9..29abf999564 100644 --- a/hapi-fhir-jpaserver-base/.settings/org.eclipse.core.resources.prefs +++ b/hapi-fhir-jpaserver-base/.settings/org.eclipse.core.resources.prefs @@ -3,6 +3,4 @@ encoding//src/main/java=UTF-8 encoding//src/main/resources=UTF-8 encoding//src/test/java=UTF-8 encoding//src/test/resources=UTF-8 -encoding//target/generated-resources/tinder=UTF-8 -encoding//target/generated-sources/tinder=UTF-8 encoding/=UTF-8 diff --git a/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs b/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs index e35473ebaf9..29abf999564 100644 --- a/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs +++ b/hapi-fhir-structures-dev/.settings/org.eclipse.core.resources.prefs @@ -3,6 +3,4 @@ encoding//src/main/java=UTF-8 encoding//src/main/resources=UTF-8 encoding//src/test/java=UTF-8 encoding//src/test/resources=UTF-8 -encoding//target/generated-resources/tinder=UTF-8 -encoding//target/generated-sources/tinder=UTF-8 encoding/=UTF-8 diff --git a/src/site/site.xml b/src/site/site.xml index 3d838f51842..d61670cbb81 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -81,6 +81,7 @@ + @@ -89,10 +90,14 @@ - + + + - + + + diff --git a/src/site/xdoc/doc_jpa.xml b/src/site/xdoc/doc_jpa.xml new file mode 100644 index 00000000000..b10aa48f5d5 --- /dev/null +++ b/src/site/xdoc/doc_jpa.xml @@ -0,0 +1,40 @@ + + + + + JPA Server - HAPI FHIR + James Agnew + + + + +
+ +

+ The HAPI FHIR + RestfulServer + module can be used to create a FHIR server endpoint against an arbitrary + data source, which could be a database of your own design, an existing + clinical system, a set of files, or anything else you come up with. +

+

+ HAPI also provides a specific database implementation which can be used to + provide a complete RESTful server implementation, backed by a database. + HAPI FHIR's JPA module is an implementation of a database storage layer, using + the JPA 2.0 API with Hibernate as the recommended implementation. +

+

+ Important Note: + This implementation uses a fairly simple table design, with a + single table being used to hold resource bodies (which are stored as + GZipped CLOBs) and a set of tables to hold search indexes, tags, + history details, etc. This design is only one of many possible ways + of designing a FHIR server so it is worth considering whether it + is appropriate for the problem you are trying to solve. +

+ +
+ + + +