Stream: hapi
Topic: Vanilla HAPI Server
Richard Kavanagh (Mar 18 2016 at 08:31):
Sorry for asking a dumb question - I'm not a JAVA person..
When using the HAPI server code to deploy a FHIR server that supports "all" resource types, would that require additional work to create a persistence store for each resource type - or can a generic "resource" persistence store be used?. Also, when storing resources that use "extensions" is additional development work required or does the server just handle it generically?
Patrick Werner (Mar 18 2016 at 09:13):
you can start with this: https://github.com/jamesagnew/hapi-fhir/tree/master/hapi-fhir-jpaserver-example it provides a working HAPI based FHIR Server with persitent layer for all resource types
Patrick Werner (Mar 18 2016 at 09:14):
only some configuration for the db/url is needed, see here: http://jamesagnew.github.io/hapi-fhir/doc_jpa.html
Richard Kavanagh (Mar 18 2016 at 10:06):
Thanks @Patrick Werner I'll get the team to take a look
David Hay (Mar 18 2016 at 16:40):
The hapi cli server is even easier if all you want is a test server...
David Hay (Mar 18 2016 at 16:41):
It's a single file you just download and run - I've even got it working on a raspberry pi! (just)
Last updated: Apr 12 2022 at 19:14 UTC