🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
Go to file
Ibrahim Tallouzi 06c8fd0e31
Refactor getOrCreateTag method to prevent transaction suspension for XA transaction compatibility
The getOrCreateTag method previously used a propagation behavior that caused issues with
    XA transactions when using the PostgreSQL JDBC driver. The PGXAConnection does not support
    transaction suspend/resume, which made it incompatible with the existing propagation strategy
    'PROPAGATION_REQUIRES_NEW'.

    This refactor changes the getOrCreateTag logic to perform a lookup/write in a new transaction
    as before, but running in a separate thread, such that the main transaction is not suspended.
    The result is retrieved through a future.

    This change aims to improve compatibility and prevent transaction-related issues when using HAPI-FHIR with
    XA transactions and PostgreSQL.

    Closes #3412
2024-09-13 13:31:43 +02:00
.github Fix publish pipeline (#5613) 2024-01-19 23:23:26 +00:00
.mvn/wrapper Jakarta/Javax Servlet Migration (#5429) 2023-12-03 11:15:37 -05:00
.mvn_/wrapper Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
hapi-deployable-pom bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-android bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-android-realm Work on JPA 2017-02-02 06:23:28 -05:00
hapi-fhir-base Add knowledge of 6.8.8 2024-09-06 14:45:07 -07:00
hapi-fhir-bom bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-checkstyle bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-cli Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
hapi-fhir-client Add configuration setting for TTL of HTTP connections to IRestfulClientFactory (#6204) 2024-08-27 10:36:41 -04:00
hapi-fhir-client-okhttp Add configuration setting for TTL of HTTP connections to IRestfulClientFactory (#6204) 2024-08-27 10:36:41 -04:00
hapi-fhir-converter bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-dist Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
hapi-fhir-docs Bump org.hl7.fhir.core to 6.3.23 (#6266) 2024-09-06 14:51:05 -04:00
hapi-fhir-jacoco bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jaxrsserver-base bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jpa bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jpaserver-base Refactor getOrCreateTag method to prevent transaction suspension for XA transaction compatibility 2024-09-13 13:31:43 +02:00
hapi-fhir-jpaserver-elastic-test-utilities Bump dependencies (#6235) 2024-08-27 07:38:18 -04:00
hapi-fhir-jpaserver-hfql bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jpaserver-ips bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jpaserver-mdm rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-jpaserver-model Ks 20240904 intermittents (#6264) 2024-09-06 10:49:19 -04:00
hapi-fhir-jpaserver-searchparam rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-jpaserver-subscription 6203 subscriptionvalidatinginterceptor allows invalid url for rest hook endpoint (#6225) 2024-08-28 07:20:49 -04:00
hapi-fhir-jpaserver-test-dstu2 improve match error (#6260) 2024-08-31 20:09:56 -04:00
hapi-fhir-jpaserver-test-dstu3 improve match error (#6260) 2024-08-31 20:09:56 -04:00
hapi-fhir-jpaserver-test-r4 Narrow version check scope to fix intermittency produced because argu… (#6279) 2024-09-11 14:48:54 -04:00
hapi-fhir-jpaserver-test-r4b bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-jpaserver-test-r5 rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-jpaserver-test-utilities Query with FullText searching (_text) does not return expected result (#6217) 2024-08-19 14:53:50 -04:00
hapi-fhir-jpaserver-uhnfhirtest Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
hapi-fhir-server New functions for Consent evaluation (#6250) 2024-08-28 19:02:26 +00:00
hapi-fhir-server-cds-hooks bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-server-mdm 6182 introduce a new pointcut to allow customization before sending message to the broker on mdm submit (#6183) 2024-08-09 18:52:05 +00:00
hapi-fhir-server-openapi bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-serviceloaders bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-spring-boot Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
hapi-fhir-sql-migrate close ResultSets in JdbcUtils (#6206) 2024-08-28 08:11:22 -04:00
hapi-fhir-storage Fix typo in docs. 2024-09-13 13:31:36 +02:00
hapi-fhir-storage-batch2 rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-storage-batch2-jobs rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-storage-batch2-test-utilities rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-storage-cr Rename test so that it will run from Maven and the pipeline since it didn't before. Fix small bug that made the test error out. (#6273) 2024-09-10 11:44:53 -04:00
hapi-fhir-storage-mdm rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-storage-test-utilities bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-structures-dstu2 Jr 20240830 merge references (#6263) 2024-09-05 12:20:28 -04:00
hapi-fhir-structures-dstu2.1 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-structures-dstu3 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-structures-hl7org-dstu2 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-structures-r4 Jr 20240830 merge references (#6263) 2024-09-05 12:20:28 -04:00
hapi-fhir-structures-r4b bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-structures-r5 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-test-utilities Ks 20240904 intermittents (#6264) 2024-09-06 10:49:19 -04:00
hapi-fhir-testpage-overlay Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
hapi-fhir-validation rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
hapi-fhir-validation-resources-dstu2 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-validation-resources-dstu2.1 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-validation-resources-dstu3 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-validation-resources-r4 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-validation-resources-r4b bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-fhir-validation-resources-r5 bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
hapi-tinder-plugin Final Mergeback of 7.4.0 (#6223) 2024-08-20 09:03:09 -07:00
hapi-tinder-test Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
osgi Final hamcrest conversions (#6015) 2024-06-18 20:46:09 +00:00
src/assembly Checkstyle cleanup (#4501) 2023-02-03 09:40:32 -05:00
tests Remove deploy plugin, correct usage of nexus plugin (#6256) 2024-08-30 12:44:12 -07:00
vagrant Bump dependencies for CVES (#3359) 2022-02-07 07:56:25 -05:00
.editorconfig IPS API Refactor (#5682) 2024-02-11 10:43:56 -05:00
.gitignore nickname svc refatoring (#5006) 2023-06-22 08:26:47 -04:00
.pre-commit-config.yaml Update pre-commit from 0.3.3 to 0..3.4. (#5537) 2023-12-06 00:52:53 +00:00
.whitesource Add .whitesource configuration file 2021-04-29 13:42:31 +00:00
HELPWANTED.md New formatting rules and pre-commit hooks (#5027) 2023-07-11 17:36:44 -07:00
LICENSE.txt Add license and notice files 2015-03-25 22:32:32 -04:00
LOINC_NOTES.txt More work on loinc 2018-03-19 08:51:02 -04:00
NOTICE.txt rel_7_4 Merge-back (#6212) 2024-08-14 15:03:35 -06:00
README.md New formatting rules and pre-commit hooks (#5027) 2023-07-11 17:36:44 -07:00
azure-pipelines.yml Initial HFQL SQL Implementation (#5083) 2023-07-21 22:51:23 +00:00
check_for_maven_updates.sh Fix up examples 2014-09-03 18:03:44 -04:00
lgtm.yml code coverage needs to run only for JACOCO PROFILE (#4230) 2022-11-02 15:34:27 -04:00
list_releases.sh Implement handleException on the server interceptor framework, as well 2014-11-07 14:26:59 -05:00
mvnw Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
mvnw.cmd Update and fix maven wrapper (#2847) 2021-11-03 11:21:49 -04:00
pom.xml Bump org.hl7.fhir.core to 6.3.23 (#6266) 2024-09-06 14:51:05 -04:00
release-pipeline.yml Rel 7 0 mb 2 (#5714) 2024-02-23 11:03:26 -07:00
snapshot-pipeline.yml Fix publish pipeline (#5613) 2024-01-19 23:23:26 +00:00
sync.sh Update resource defs 2015-12-01 18:35:24 -05:00
sync_dstu3.sh Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2016-07-01 14:31:25 -04:00
sync_ri.sh Bump to 1.0.2 FHIR definitions 2015-11-15 12:22:56 -05:00
sync_ri3.fish Bring DSTU3 structs up to FHIR R3 2017-04-18 07:48:38 -04:00
sync_ri3.sh Syn RI - Build still failing :( 2016-05-28 12:53:59 -04:00
sync_ri4.sh Squashed commit of the following: 2018-12-27 17:58:47 -05:00
sync_ri5.sh Bump core to latest versions (#2154) 2020-11-03 15:43:37 -05:00
sync_ri21.sh Update model and definitions to latest definitions 2016-01-30 11:08:16 -05:00
test-job-template.yml Add tests to checkstyle (#6006) 2024-06-15 17:15:46 -07:00
update_version.sh Force another travis build 2015-08-05 10:38:38 -04:00

README.md

HAPI FHIR

HAPI FHIR - Java API for HL7 FHIR Clients and Servers

License

CI/CD

CI Status (master) SNAPSHOT Pipeline Current Release
Build Status Build Status Release Artifacts

Coverage and Quality

codecov Language grade: Java

Documentation and wiki

Complete project documentation is available here: http://hapifhir.io

A demonstration of this project is available here: http://hapi.fhir.org/

This project is Open Source, licensed under the Apache Software License 2.0.

Please see this wiki page for information on where to get help with HAPI FHIR.

Please see Smile CDR for information on commercial support.