R5 support for Jax-Rs Server

39 views
Skip to first unread message

Marco Descher

unread,
Apr 10, 2025, 6:36:56 AM4/10/25
to HAPI FHIR
Hy there,

I am currently trying to get HAPI-FHIR running in a Quarkus server. Using the Jax-Rs approach I want to test R5, but a request leads me to ca.uhn.fhir.context.ConfigurationException: HAPI-0603: Unsupported Fhir version: R5 which seems to be really the case :) https://github.com/hapifhir/hapi-fhir/blob/052d31513d7c64842ec34c93256ba478ad2226c9/hapi-fhir-jaxrsserver-base/src/main/java/ca/uhn/fhir/jaxrs/server/util/JaxRsRequest.java#L279

Is this a deliberate decision? Is R5 support in Jax RS planned?

Thanks!

James Agnew

unread,
Apr 10, 2025, 6:47:33 AM4/10/25
to Marco Descher, HAPI FHIR
Hi Marco,


Bottom line, JAX-RS support is a community maintained module, the HAPI FHIR core team don't really contribute to it in any meaningful way. It only has features that others have decided to add. If you need R5 support, a contribution would certainly be welcomed.

Cheers,
James

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hapi-fhir/a8be8eae-0781-42e2-b7ea-4c61d3d1ad41n%40googlegroups.com.

Marco Descher

unread,
Apr 10, 2025, 2:21:29 PM4/10/25
to HAPI FHIR
Thank you very much for the information, James!

Marco Descher

unread,
Apr 12, 2025, 3:53:55 AM4/12/25
to HAPI FHIR
Remark: Jax-Rs support is quite interesting. I'm doing some Quarkus tests to integrate HAPI-FHIR, and if you use the JAX-RS type of contribution, you get to
see the single endpoints in the development ui (/fhir/r5), which is not the case for the RestfulServer type (/fhir/r4 route)

Maybe I will pursue an update of the Jax-Rs endpoints, that might also use the Reactive parts provided by quarkus.

Bildschirmfoto 2025-04-12 um 09.50.49.png
Reply all
Reply to author
Forward
0 new messages