Stream: hapi
Topic: Prepping the HAPI FHIR Reference Server for our Track
Virginia Lorenzi (Jul 31 2021 at 02:12):
Hey there - in the upcoming September FHIR Connectathon, Patient Empowerment would like to use the HAPI FHIR server again in our tests for Patient Request for Correction. We were told we could add profiles to the reference server as well as search parameters. How do we do that?
Also, does the reference server support subscriptions? Thanks
Jens Villadsen (Jul 31 2021 at 11:25):
@Virginia Lorenzi You can post your profiles to eg. the https://hapi.fhir.org/baseR4/StructureDefinition endpoint. HAPI will then automatically consume the content and be usable for instance validation for your resources.
Regarding the SearchParameters: under default circumstances a HAPI FHIR server can also be enriched with extra search parameters by posting instances of the SearchParameter to the proper endpoint - eg. https://hapi.fhir.org/baseR4/SearchParameter. It seems like this feature has been disabled on the global test server - and for valid reasons. You might be able to convince @James Agnew to allow it for a short period of time, but I'll leave that between you two.
Jens Villadsen (Jul 31 2021 at 11:40):
See more of it here: https://www.smilecdr.com/our-blog/custom-search-parameters-in-hapi-fhir
Virginia Lorenzi (Jul 31 2021 at 16:47):
Thanks @Jens Villadsen! @James Agnew for the Patient Request for Corrections IG, we are still working on getting people to play server roles, and there are search parms we want to test that are not in the base spec. Are you able to help us with that in the reference server? @*Matt Blackmon
Jens Villadsen (Jul 31 2021 at 20:54):
Or as an alternative - throw a HAPI FHIR jpa starter server instance at heruko, aws, google or whatever your favourite hosting platform is. Then you'll have full control over the behaviour
Last updated: Apr 12 2022 at 19:14 UTC