Commit Graph

1081 Commits

Author SHA1 Message Date
Steve Swinsburg
c5fd867efc Fix the build warning by replacing the deprecated prerequisites property and replacing with the enforcer plugin. (#913)
Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au>
2026-02-08 15:35:14 +01:00
Jens Kristian Villadsen
63256fe1d2 Add fallback for versioned base FHIR StructureDefinition lookups (#911)
* Add fallback for versioned base FHIR StructureDefinition lookups

Problem:
Implementation Guides (e.g., ch-core) may reference base FHIR resources
with explicit versions like "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1".
These lookups fail because base FHIR StructureDefinitions are intentionally
cached without version (see hapi-fhir PR #7236).

This causes validation errors like:
- "Unable to resolve the profile reference '...|4.0.1'"
- "Invalid Resource target type. Found Organization, but expected one of ([])"

Solution:
Add VersionedUrlFallbackValidationSupport that intercepts versioned lookups
for base FHIR StructureDefinitions (http://hl7.org/fhir/StructureDefinition/*)
and falls back to:
1. Major.minor version (e.g., 4.0.1 -> 4.0)
2. Non-versioned URL

The fallback logs a warning when triggered, allowing visibility into
which IGs reference versioned base resources.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Remove duplicates

* formatting

* removing unneeded thread local

* corrected according to review

* cleanup

* removed not needed const

* tests include some chain now

* Update src/test/java/ca/uhn/fhir/jpa/starter/validation/VersionedUrlFallbackValidationSupportTest.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* updated doc

* adding tests

* Add TODO comment for core fix in validation support

Added a comment indicating a TODO for future improvement.

* Update TODO comment for core fix in validation support

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-05 15:28:02 +01:00
Brenin Rhodes
fc395b613a Merge pull request #912 from hapifhir/cr-4-2-0
Update CR to 4.2.0
2026-01-29 07:08:35 -07:00
darth.cav
58c9656242 Add TestContainerHelper for simplified integration testing (#910)
* Add TestContainerHelper for PostgreSQL and Elasticsearch integration testing

* Add configuration files for Elasticsearch and PostgreSQL integration testing

* Refactor integration tests to utilize TestContainerHelper for PostgreSQL and Elasticsearch
2026-01-29 11:52:38 +01:00
Brenin Rhodes
0104c62452 Update CR to 4.2.0 2026-01-28 10:47:54 -07:00
darth.cav
b81e2abe81 Add Elasticsearch index prefix configuration (#891)
* Add Elasticsearch configuration section to application.yaml

* Add configuration for reindexing resources upon search parameter change

* Add Elasticsearch client configuration for testing

* Update logback dependencies because of a security issue and enable resource filtering in pom.xml

* Add application name and tester configuration to application.yaml. Refactor hibernate properties

* Add custom Elasticsearch configuration to create ElasticsearchClient bean

* Add index prefix configuration for Elasticsearch indices

* Fix Elasticsearch URI format in test initialization

* Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply)

* Refactor ElasticsearchConfig for improved readability and code style consistency (spotless:apply)

* Update index prefix in application.yaml for Elasticsearch configuration

* Enhance index prefix validation and add sanitization method for Elasticsearch index names

* Merged with master in upstream

* Refactor ElasticsearchBootSvcImpl and ElasticsearchConfig for improved readability (mvn spotless)

* Comment out custom_content_path in application.yaml for clarity

* - Refactor application.yaml for improved structure and readability;
- Add PostgresLucenePatientIT integration test; and
- Update testcontainers dependencies to avoid compatibility issues with newer Docker APIs.

* Refactor PostgresLucenePatientIT to use external configuration file for test properties

* Add integration tests for PostgreSQL and Elasticsearch with dynamic configuration

* Increase socket timeout in CdsHooksServletIT for improved stability during tests

* Remove deprecated tester configuration from application.yaml
2026-01-20 15:32:24 +01:00
Simon Ringuette
bf7f6a3b6a Restore the testers in the default configuration (fixes #896) (#907) 2026-01-20 08:12:19 +01:00
Michele Adduci
a3d6fdb52a Updated Libraries, fixed Docker Compose (#908)
* Updated SpringBoot, HAPI FHIR, Docker

* Fixed docker compose

* Fixed Chart README

* Replaced Tomcat image

* Replaced Tomcat image

* Fixing Tomcat image

* Corrected Helm Chart value
2026-01-20 07:59:11 +01:00
dotasek
547d6181ae Merge pull request #880 from jkiddo/fix/remove-duplicate-invocations
Removed duplicate code lines
2025-11-24 10:18:48 -05:00
dotasek
e5d49eeaa3 Merge pull request #851 from hapifhir/rel_8_5-tracking 2025-11-24 09:10:30 -05:00
Brenin Rhodes
39b991a275 Bump to CR 4.0.0 2025-11-21 14:25:55 -07:00
dotasek
b59788d330 Bump to HAPI 8.6.0 2025-11-21 09:51:37 -05:00
dotasek
aa31d4a168 Bump to HAPI 8.5.12-SNAPSHOT 2025-11-21 09:44:21 -05:00
dotasek
25b4430437 Merge remote-tracking branch 'origin/master' into rel_8_5-tracking 2025-11-17 10:28:49 -05:00
dotasek
5b834c92cc Bump to HAPI 8.5.11-SNAPSHOT 2025-11-17 10:20:14 -05:00
craig mcclendon
9512ce1ddf enable the test profile in unit tests (#882) 2025-11-16 14:02:02 +01:00
Kevin Dougan
93d5919203 Merge pull request #886 from gbks121/fix/add-missing-property-in-application.yaml
Adding custom-bean-packages property in application.yaml
2025-11-11 10:09:37 -05:00
gbks121
eb04bbcaa4 Adding custom-bean-packages property in application.yaml
Adding the missing custom-bean-packages property in application.yaml and removing the duplicate custom-provider-classes property
2025-11-11 15:46:59 +01:00
dotasek
d6fb164665 Merge pull request #881 from hapifhir/dotasek-patch-2
Update HAPI FHIR JPA server starter revision to 4
2025-11-04 13:18:58 -05:00
dotasek
64177d04ed Update HAPI FHIR JPA server starter revision to 4 2025-11-04 09:59:59 -05:00
dotasek
8ffd3ea843 Merge remote-tracking branch 'origin/master' into rel_8_5-tracking
+ update HAPI to 8.5.9-SNAPSHOT
2025-11-04 09:27:27 -05:00
Jens Kristian Villadsen
cef9f7ce94 Removed duplicate code lines 2025-11-01 16:49:30 +01:00
dotasek
ac494a9b26 Apply spotless 2025-10-31 09:34:49 -04:00
Patrick Werner
ccf97bdc3c Merge pull request #877 from hapifhir/pw/searchparam-reindex-configuration
Pw/searchparam reindex configuration
2025-10-31 12:00:43 +01:00
Patrick Werner
17880c27c5 Merge remote-tracking branch 'origin/pw/searchparam-reindex-configuration' into pw/searchparam-reindex-configuration 2025-10-31 09:44:12 +01:00
Patrick Werner
cc42e0afe7 Update src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 09:43:54 +01:00
Patrick Werner
e512a832e3 Merge remote-tracking branch 'origin/master' into pw/searchparam-reindex-configuration 2025-10-31 09:42:39 +01:00
Brenin Rhodes
d50e47a1b9 Merge pull request #875 from hapifhir/cr-3-28-0
Update CR to 3.28.0
2025-10-30 14:14:34 -06:00
dotasek
5df170400a Bump HAPI version to 8.5.8-SNAPSHOT
+ Fix for failing MultitenantServerR4IT
2025-10-30 15:21:43 -04:00
Brenin Rhodes
fcff082fab Update to CR 3.28.0 release 2025-10-30 13:10:38 -06:00
Patrick Werner
159f1eb3e1 add missing property in application.yaml 2025-10-30 16:56:09 +01:00
Patrick Werner
98b1cd9373 feat: add configuration for marking resources for reindexing upon search parameter change (#867)
* feat: add configuration for marking resources for reindexing upon search parameter change

* fix formatting
2025-10-30 10:43:06 +01:00
Patrick Werner
1f18457977 Merge remote-tracking branch 'origin/master' into pw/searchparam-reindex-configuration
# Conflicts:
#	src/main/java/ca/uhn/fhir/jpa/starter/AppProperties.java
2025-10-30 10:18:58 +01:00
Brenin Rhodes
6208595063 include us cql common ig 2025-10-27 08:16:46 -06:00
Brenin Rhodes
a0ffe4f393 Update CR to 3.28.0-SNAPSHOT 2025-10-20 09:15:39 -06:00
dotasek
eccf778ef7 Stay with revision 1 for release tracking 2025-10-09 09:49:49 -04:00
dotasek
5efa239c3d Merge remote-tracking branch 'origin/master' into rel_8_5-tracking 2025-10-09 09:26:41 -04:00
dotasek
7ab8ced841 Update to HAPI 8.5.7-SNAPSHOT 2025-10-09 09:26:34 -04:00
Shamus Husheer
cf003331e4 Add configurable filesystem binary storage (fix #860) (#864)
* Add configurable filesystem binary storage (fix #860)

* Refine binary storage configuration handling

* Refine binary storage bean wiring

* Refine binary storage conditional beans

* Add integration coverage for binary storage configs

* Exercise binary storage via REST integration tests

* Update src/main/resources/application.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-35-43.eu-west-2.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-10-131.eu-west-2.compute.internal>
Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-09 14:39:01 +02:00
Patrick Werner
a55c8f20a9 make thread count configurable (#868)
* feat: add configuration for reindex and expunge thread counts

* fix formatting
2025-10-09 14:15:17 +02:00
Patrick Werner
41402d2328 fix formatting 2025-10-09 13:53:52 +02:00
Patrick Werner
401d4f71ef feat: add configuration for marking resources for reindexing upon search parameter change 2025-10-09 13:39:43 +02:00
Brenin Rhodes
a499603883 Merge pull request #862 from hapifhir/cr-3-27-0
Update Clinical Reasoning module to release 3.27.0
2025-10-02 13:36:17 -06:00
Brenin Rhodes
8bd5a91454 rename cds application yaml 2025-10-02 13:07:28 -06:00
Brenin Rhodes
3c7cddcb35 Add all expected resource types to be installed from an IG 2025-10-02 10:26:54 -06:00
Brenin Rhodes
9e8ba349a7 allow external references 2025-10-02 10:21:51 -06:00
Brenin Rhodes
a5a011f4cf Add Using CQL IG 2025-10-02 10:17:58 -06:00
Brenin Rhodes
c9b576d979 fix config 2025-10-02 09:34:32 -06:00
Brenin Rhodes
da88010b16 fix revision 2025-10-02 08:57:46 -06:00
Brenin Rhodes
4a1e76cd71 spotless 2025-10-02 08:57:46 -06:00