Commit Graph

10033 Commits

Author SHA1 Message Date
James Agnew 0964710fd3
Replace assert with Validate (#6558)
* Replace assert with Validate

* Test cleanup
2024-12-16 20:06:15 +00:00
Tadgh 79fa8b16e2 licenses 2024-12-13 09:38:30 -08:00
jdar8 7c385decb8
tests for fix ref integrity with client assigned ids (#6523)
* tests

* address review comments

* remove a test since IdHelperSvc#resolveResourceIdentity no longer depends on client id strategy

* remove commented out code

* update due to code changes

---------

Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
2024-12-12 17:20:25 -05:00
volodymyr-korzh fe3baa2bb0
Allow overriding message broker ChannelSettings in MDM (#6497)
* Add support for disabling prefixChannelName to message broker ChannelSettings

* Add support for disabling ChannelNamePrefix to message broker ChannelSettings - method names update

* Added support for overriding message broker channel settings for MDM message processing

* Added support for overriding message broker channel settings for MDM message processing
2024-12-12 12:42:56 -08:00
Aditya Dave 2d740f8d85
6530 refactor export operation (#6531)
extract reusable methods out of bulk export provider

---------

Co-authored-by: Vadim Karantayer <vadim.karantayer@smilecdr.com>
2024-12-12 18:58:55 +00:00
TipzCM b904aac3c9
mdm delete with cascade bug fix (#6540) 2024-12-12 08:55:40 -05:00
James Agnew c3eba4681f
More cleanup in advance of DB Partitioning Mode (#6553)
* Work on next merge

* Bring cleanup forward

* Add error code

* Address review comments

* Build fix

* Cleanup
2024-12-12 05:34:10 -05:00
Tadgh e174572a3b
Pom fixes (#6552)
* Collapse multiple plugin definitions. cut over to spring framework bom

* Remove Eclipse M2E plugin

* licenses

* Strip errorprone

* Strip errorprone

* Remove commented errorprone config, update maven-assembly-plugin

* fix prev hapi-version

* Attempt to remove dep on previous hapi

* Revert prev ver removal

* remove comment
2024-12-11 10:51:50 -05:00
James Agnew a999cb32c5
Database Partition Mode Merge 3 (#6535)
* Start mods for round 2

* Work on changes

* Work on build

* Work on tests

* Test fixes

* Test fixes

* Test fixes

* Add dump

* potless

* Cleanup

* Cleanup

* Work on mock validation support

* Test fixes

* Test fixes

* Test fixes

* Test fix

* Test fixes

* Test fix

* Test fixes

* Test fixes

* Test fixes

* Test fix

* Test fixes

* Remove redundant test

* Compile fixes

* Test fix

* Add javadocs

* Rename class

* Spotless

* Test fixes

* Compile fix

* Add test logging

* Add test logging

* Work on tracking down intermittent

* Intermittent test fix

* Add logging for another intermittent

* Merge master

* Cleanup

* Work on tests

* Work on tests

* Test fixes

* Test fix

* Test fixes

* Test fixes

* Cleanup

* Merge issues

* HAPI version bump

* Test fix
2024-12-10 21:14:58 -05:00
James Agnew 28d4f65d79
Add option to disable FullText indexing even if HS is enabled (#6426)
* Allow disabling fulltext indexing only

* Test fix

* Test fixes

* Test fix

* Test fix

* Compile fix

* Test fixes

* Fixes

* FIx job name

* Startup fix

* Add changelog

* Cleanup

* Cleanup

* Docs update

* Cleanup

* Tests

* Test fixes

* Cleanup

* Version bump
2024-12-10 13:01:13 -05:00
Tadgh 7b6bce6282
Plugin cleanup (#6545)
* wip remove old maven

* remove mvn 2 dep, bump plugin-api and plugin-annotations

* import maven core

* Remove weird collections import

* wip

* Bump license plugin, versions plugin, and jacoco plugin. Remove coveralls

* Bump shade, antrun, errorprone

* Fix errorprone warning about duplicate branches in XMLUtil

* Fix errorprone warning about duplicate branches in SctHandlerRelationship

* Exclude docs snippets

* Remove old-intellij

* Add profile for errorprone, completely remove ROOT profile

* move errorprone into a profile

* license

* reset pom version

* spotless

* Reinstate errorprone

* self review

* revert migration move

* Reversion of DO_NOTHING

---------

Co-authored-by: tadgh <garygraham@smiledigitalhealth.com>
2024-12-09 22:44:20 -08:00
Michele Adduci 3a2f4e57ca
Updated dependencies and resolving CVEs, bumped SpringBoot to 3.3.5 (#6449)
* Updated dependencies, bumped SpringBoot to 3.3.5

* Fixing compilation issues, added changelog

* Fixing compilation issues, updated changelog, Postgres and Oracle drivers

* Fixing version conflicts for jboss-logging, fixing tests

* Test fix

* Spotless

* Add bumps

* Downgrading lucene

* Update changes.yaml

* HAPI version bump

* License headers

* Cleanup

* Build fixes

* Test fixes

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-12-09 06:41:45 -05:00
Bart Embregts 7afc177b7e
Update points.json (#6470)
* Update points.json

* Fix JSON

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-12-08 15:35:26 -05:00
Mangala Ekanayake f1318915fe
[6463] use version in canonical url of StructureDefinition to identify it (#6534)
* [6463] use version in canonical url of StructureDefinition to identify it

* Add credit for #6534

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-12-06 16:00:23 -05:00
Tadgh 06580742d4 BUmp versions for new httpclient5 2024-12-06 12:44:24 -08:00
TipzCM dc4e1c723f
6480 webjar dependencies (#6491)
* removing bootstrap 4 dep in favour of bootstrap 5

* accordions

* fixing some tabs

* radios

* some tweaks

* adding changelog

* updated version

* tweaks

* updating the webtest webclient for better es script support

* disabling tests in hapi

* unwrapping from transaction boundary

* bumping version

* config issue

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-12-06 12:31:19 -08:00
James Agnew 83381ac5f9
Add credit and docs for #6520 (#6542) 2024-12-06 13:56:12 -05:00
Ibrahim Tallouzi 43ce89cda6
Introduce hapi-fhir-client-apache-http5 module for Apache HttpClient 5 support (#6520)
* feat: Introduce hapi-fhir-client-apache-http5 module for Apache HttpClient 5 support

- Added a new module `hapi-fhir-client-apache-http5` to provide HAPI FHIR Client functionality using Apache HttpClient 5.
- Supports gradual migration from HttpClient 4 to HttpClient 5.
- Aligns with Spring Boot 3.0's adoption of HttpClient 5, enabling consistent HTTP client configuration for users of both libraries.

Key Changes:
- Integrated Apache HttpClient 5 for modern, high-performance HTTP requests.
- Ensured compatibility with existing `hapi-fhir-client` and `hapi-fhir-client-okhttp` modules.
- Added basic tests to validate functionality and coexistence of HttpClient 4 and 5.

Impact:
- Non-breaking change; the new module can be adopted independently.
- Facilitates eventual migration of HAPI FHIR to HttpClient 5 across the codebase."

* Add new error codes to the apache-httpclient5 client module.
2024-12-06 13:46:18 -05:00
Patrick Werner b7e94ece95
feat: added debug log output if QueryStack utilizes Uplifted Refchains (#6528)
* feat: added debug log output if QueryStack utilizes Uplifted Refchains

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/search/builder/QueryStack.java

typo fix

Co-authored-by: Tadgh <garygrantgraham@gmail.com>

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2024-12-06 08:04:13 -08:00
Tadgh 37020b1820
Contained device in narrowing (#6537)
* Tests

* Changelog

* remove shims

* more tests

* upgrade

* Remove fixme

* Update hapi-fhir-base/src/main/java/ca/uhn/fhir/context/ModelScanner.java

Co-authored-by: James Agnew <jamesagnew@gmail.com>

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-12-06 04:56:41 +00:00
jdar8 9457a4b565
fix missing import (#6541)
Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
2024-12-05 18:11:11 -08:00
jdar8 6c4aa2c154
Jd 20241126 fix versioned refs in transaction bundles (#6521)
* tests, fix, minor refactoring

* spotless

* changelog

* changelog update

---------

Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
2024-12-05 13:28:09 -08:00
Tadgh e59e7fc29f
Bump test plugins (#6533)
* Bump surefire, dep, and failsafe

* verison bump for testign

* wip

---------

Co-authored-by: tadgh <garygraham@smiledigitalhealth.com>
2024-12-05 12:51:11 -08:00
TipzCM 265a5cd9bf
Reduce memory overhead of searches (#6471) 2024-12-05 12:30:09 -08:00
Tadgh 7913fca90d licenses 2024-12-05 09:59:19 -08:00
jmarchionatto 9bfdbea1ef
Add replace-references operation (#6526)
* Rehoming operation

* Rename operation

* Recover state before moving function to smile
Batch job artifacts are very preliminary

* Rename rehome to replace_references

* Rename rehome to replace_references

* spotless

* Add message code

* Fix op name

* Implement plain provider

* Add msg code

* Fix parameter types fhir version compatibility

* spotless

* Deduplicate code

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaSystemProvider.java

Implement suggestion

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Implement review request: move constant

* Change operation interface to use parameters for both source and target reference ids

* spotless

* Add revision requested todo

* spotless

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-12-04 14:27:27 -05:00
jmarchionatto 9d584d1b83
Extend meta source length (#6532)
* Add test

* Extend field

* Migration (aimed to backport)

* Add migration for HFJ_RES_VER_PROV table

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
2024-12-03 14:15:21 -05:00
Ken Stevens 0a88c31cf3
mdm match_only mode (#6503)
* Started implementing mdm passive mode

* check subscriptions

* check kafka consumers

* switch boolean to enum

* hapi changelog

* renamed enum values per slack conversation

* checkstyle

* review feedback
move developers section out to developers.xml

* version bump

* revert moving developers out

* review feedback

* review feedback

---------

Co-authored-by: Ken Stevens <ken@smiledigitalhealth.com>
2024-12-03 12:36:54 -05:00
James Agnew 744a0d7096
Database partition mode Part 2 (#6409)
* First pass at segmenting out changes

* Test fixes

* Test fixes

* Test fix

* Work on tests

* Fix test

* Test fix

* Test fix

* Fixes

* Test fixes

* Test fix

* License headers

* Test fix

* Add changelog

* Address review comments

* Review comments

* Fixes

* Work on tests

* Address review comments

* Fix

* Add tests

* Cleanup

* Rename JpaPidValueTuples

* Add changelog

* Spotless

* Resolve compile issues

* Fix signature issue

* Test fix

* Add header

* Spotless

* Test cleanup

* Work on merge

* Work on tests
2024-12-01 19:10:20 -05:00
TipzCM c9c8371a98
6478 conditional updates should batch resourcesearchurl deletes (#6479)
* minor perf fix for transaction bundles

* spotless

* removing uneeded classes

* review fixes - adding jira to changelog

* code review points

* supporting single transaction processing

---------

Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-mbp.home>
2024-11-29 23:58:35 +00:00
James Agnew ea1d179b9a
Caching cleanup (#6522)
* Tests passing

* Cleanup

* Cleanupo

* Test fixes

* Test fix

* Cleanup

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Account for review comments

* Spotless

* Compile fix

* Test fixes

* Test cleanup

* Test cleanup

* Test fixes

* Resolve fixme

* Test fix

* Test fixes

* Test fixes

* Test fixes

* Fix

* Test fix

* Test fixes

* Test fixes

* Cache cleanup

* Work on caches

* Add changelog

* Compile fix

* Spotless

* Test fix

* Fix

* Cache cleanup

* Trying to figure out why Lucene tests are failing

* Test fix

* More cleanuo

* Test fix

* Test fix

* Address some review comments

* HAPI FHIR version bump

* Test fixes

* Cleanup

* Add assert

* Add check

* Test fixes

* Bulk export fix

* Test fixes

* Add some test logging

* Cleanup

* Cleanup

* Test cleanup

* Add test logging

* Attemped test fix

* Add testing method

* FIx build

* Attempted test fix

* Try to fix tests

* Restore fixme

* Spotless

* Test fix

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-11-29 17:00:59 -05:00
TipzCM d145e2a4bb
6404 lucene search fulltext fix (#6517) 2024-11-28 13:16:00 -05:00
James Agnew 362dc095ac
Streamline ValidationSupportChain (#6508)
* Tests passing

* Cleanup

* Cleanupo

* Test fixes

* Test fix

* Cleanup

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-validation/src/main/java/org/hl7/fhir/common/hapi/validation/support/ValidationSupportChain.java

Co-authored-by: Ken Stevens <khstevens@gmail.com>

* Account for review comments

* Spotless

* Compile fix

* Test fixes

* Test cleanup

* Test cleanup

* Test fixes

* Resolve fixme

* Test fix

* Test fixes

* Test fixes

* Test fixes

* Fix

* Test fix

* Test fixes

* Test fixes

* HAPI version bump

* Try to address intermittent

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-11-27 17:45:17 -05:00
James Agnew 061390d76b
Add composite interceptor registry (#6511)
* Composite interceptor improvements

* Add composite interceptor registry

* Add changelog

* Composite Interceptor Broadcaster Improvements

* Fix compile error

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_8_0/6511-rework-composite-interceptor-broadcaster.yaml

Co-authored-by: Tadgh <garygrantgraham@gmail.com>

* Address review comments

* Test fixes

* Test fix

* Test fix

---------

Co-authored-by: Tadgh <garygrantgraham@gmail.com>
2024-11-27 07:14:48 -05:00
Michael Buckley 3b8569127e
Start removing dependency from FhirVersionEnum to FhirContext (#6512)
Deprecate path from FhirVersionEnum to FhirContext and replace usages.
2024-11-26 13:46:05 -05:00
JasonRoberts-smile 77fa7f7819
adapt template for reuse in CDA (#6500)
* adapt template for reuse in CDA

* use coerced onset date time value

* fix broken test
2024-11-26 09:14:18 -05:00
Tadgh 86c2c13e0f
7.6.0 Mergeback (#6494)
* 6323 resource creation deadlock (#6324)

* make map reads concurrent

* change log

* CUstom version number for guaranteed build determinism

* licenses

* Expand translation cache (#6341)

* Expand translation cache

* Add changelog

* Correction to #6341 (#6342)

* Contained bug (#6402)

* Contained bug

* more tests

* changelog, tests, implementation

* code review

* backwards logic

* Fix Questionnaire doc (#6400)

* fix reindex optimizeStorage=ALL_VERSIONS (#6421)

* fixing broken rename of last step of reindex (#6429)

* Fixes for the translation of parameter issues as part of the output for $validate-code operation. (#6438)

* Move the validation providers to the test utilities package such that they can be reused.

* Update IValidationSupport.CodeValidationIssue structure such that it meets the FHIR specification. Update RemoteTerminologyServiceValidationSupport and VersionSpecificWorkerContextWrapper translation for issues.

* New tests for issue translation. Move test class to a different package so that we can add another test class.

* Some simplification in the issue API to simplify building of issues.

* Fix compilation errors.

* Update providers to allow multiple responses and add  support for the fetchCodeSystem call through method find.

* Setup the first test for resource validation with remote terminology providers.

* Fix NullPointerException

* avoid calling validateCode for CodeSystem where system is null

* Keep old public API methods (and class name) in IValidationSupport and mark them as deprecated to avoid breaking dependencies.

* Revert local change to debug for duplicate errors.

* Add more test cases for resource validation. Throw exception to signal missing test setup to make it obvious.

* Simplify test setup.

* Add some more javadoc

* Add javadoc for the new test class

* Add more tests

* Address code review comments in IValidationSupport.

* Add changelog

* Change Repository search interface from Map to Multimap (#6445)

Change Map to Multimap to support multiple and clauses.

* licenses

* fix interceptor hooks from requestDetails not getting called for STORAGE_PRECHECK_FOR_CACHED_SEARCH (#6436)

* fix interceptor hooks from requestDetails not getting called for STORAGE_PRECHECK_FOR_CACHED_SEARCH

* added unit tests and updated changelog

* added one more test case

* Add Adapter api (#6450)

Lightweight implementation of the adapter pattern.

* Bulk Import job status not changed after activation - failing test, fix, changelog (#6452)

* Update CR to 3.13.1 (#6433)

* Automated Migration Testing (HAPI-FHIR) - updated test migration scripts for 7_4_0 (#6439)

* Rel 7 6 CVE (#6446)

* Bump commons io

* Bump HS and Lucene, and hibernate

* Jetty bump for CVE

* Resolve CVES

* Bump with mismatch lucene

* Bump velocity template engine

* Revert bom bump

* wip

* Version bump

* move changelog, fix cve

* Bump commons-lang

* Replace imports

* wip

* fix HQL break

* remove dead code

* Fix changelog entry

* Bump org.hl7.fhir.core to 6.4.0 (#6454)

* Bump HAPI version + org.hl7.fhir.core to 6.4.0

* Apply spotless

* Correct a bug with duplicate parser IDs being assigned.  (#6456)

* Fix changelog entry

* wip

* compilation problem

* Correct tests

* changelog

* Update hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/parser/JsonParserR4Test.java

Co-authored-by: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com>

* Correct a bug with duplicate parser IDs being assigned - test fixes

* Correct a bug with duplicate parser IDs being assigned - spotless

* Correct a bug with duplicate parser IDs being assigned - added test-utilities dependency to fhir-structures poms

* Correct a bug with duplicate parser IDs being assigned - test fixes

* Contained resources without assigned IDs are now assigned GUIDs - address comments

---------

Co-authored-by: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com>
Co-authored-by: volodymyr <volodymyr.korzh@smilecdr.com>

* licenses

* ValueSet expansion fails if Hibernate Search configured to use Lucene - fixed incompatibility between Hibernate Search and Lucene versions (#6468)

* Change the migrator to avoid table locks when adding an index. (#6489)

* version bump

* Updating version to: 7.6.1 post release.

* Bump to 7.7.7.

* deadsapce

* Profile reference param (#6501)

* updated QueryStack to not throw error with _profile as a ReferenceParam

* update QueryStack

* remove warnings

* cleanup cast

* cleanup test

* add changelog

* cleanup imports

* updates per review feedback

* updates per review feedback

---------

Co-authored-by: taha.attari@smilecdr.com <taha.attari@smilecdr.com>

* move changelog

---------

Co-authored-by: JasonRoberts-smile <85363818+JasonRoberts-smile@users.noreply.github.com>
Co-authored-by: James Agnew <jamesagnew@gmail.com>
Co-authored-by: Brenin Rhodes <brenin@alphora.com>
Co-authored-by: Emre Dincturk <74370953+mrdnctrk@users.noreply.github.com>
Co-authored-by: TipzCM <leif.stawnyczy@gmail.com>
Co-authored-by: Martha Mitran <martha.mitran@smiledigitalhealth.com>
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
Co-authored-by: volodymyr-korzh <132366313+volodymyr-korzh@users.noreply.github.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: volodymyr <volodymyr.korzh@smilecdr.com>
Co-authored-by: markiantorno <markiantorno@gmail.com>
Co-authored-by: Gary Graham <garygraham@smiledigitalhealth.com>
Co-authored-by: Taha <TahaAttari@users.noreply.github.com>
Co-authored-by: taha.attari@smilecdr.com <taha.attari@smilecdr.com>
2024-11-24 12:31:59 -08:00
James Agnew d4f1766ca5
Optimize transaction writes (#6460)
* Optimize transaction writes

* Cleanup

* Work on tests

* Work on fixes

* Fixes

* Fixes

* Test fixes

* Cleanup

* Cleanup

* Work on tests

* Work on tests

* Test fixes

* Test fixes

* Remove redundant test

* Test fixes

* Test fix

* Test fixes

* Test fixes

* Test fixes

* Add changelog

* Checkstyle fixes

* Test fixes

* Spotless

* Test cleanup

* Spotless

* Test fix

* Work on review comments

* Address review comments

* Test fixes

* Ongoing test cleanup work

* Work on tests

* Query count tests passing

* Test fixes

* Test fixes

* Rmove fixme

* Test cleanup

* Test fix

* Remove default method

* Service celanup

* Test fix

* version bump

* Test cleanup
2024-11-21 19:22:42 -05:00
James Agnew dea9706652
MDM Virtualization Interceptor (#6464)
* Work on virtualization

* Fixes

* Cleanup

* Fixes

* MDM virtualization

* Remove fixme

* Test cleanup

* Cleanup

* Version bump

* Fixes

* Cleanup

* Fixes

* WIP

* Test cleanup

* Spotless

* Checkstyle

* Spotless

* Address review comments

* Test fix

* Test fix

* Address review comments

* Version bump

* Version bump

* License header
2024-11-21 11:01:54 -05:00
volodymyr-korzh e182694608
Excessive Hibernate warnings when processing conditional create and delete operations on referenced resources in a transaction bundle (#6477)
* Excessive Hibernate warnings when processing conditional create and delete operations on referenced resources in a transaction bundle - failing test

* Excessive Hibernate warnings when processing conditional create and delete operations on referenced resources in a transaction bundle - fix

* Excessive Hibernate warnings when processing conditional create and delete operations on referenced resources in a transaction bundle - changelog
2024-11-20 15:37:01 -08:00
VK-SMILECDR cbbba75d9a
6472 move cds hooks related classes to hapi fhir server package (#6473)
* moving CDS Hooks Json files

* spotless
2024-11-19 11:43:45 -05:00
jmarchionatto cdb0a9c480
Add tinder plugin to pluginManagement to allow to run generate-ddl from parent (#6192)
* Add tinder to parent project's pluginManagement

* Use specific version to avoid inheriting projects to replace by theirs

* Move dialects down to executing project because appendFile included in postgres dialect precludes to define it at the parent level

* Improve logging

* Use temporary project version

* Revert "Use temporary project version"

This reverts commit 24f5e648ed.

* Increment version

* Increment missed version

* Added headers

* Document new command

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
2024-11-10 09:21:24 -05:00
dotasek ef78b46621
Bump org.hl7.fhir.core to 6.4.0 (#6410)
* Add missing implementations + update changed classnames

* Fix breaking test due to new validation rules

* Add changes.yaml

* Bump to HAPI version 7.7.1-SNAPSHOT

* Copyright autogen

***NO_CI***

* Bump to HAPI 7.7.2-SNAPSHOT
2024-11-07 13:10:58 -08:00
James Agnew 96e1c2a5db
Add extension for disabling search params (#6107)
* Combo permutations

* Work on combo

* Add tests

* Add changelog

* Spotless

* Test fix

* Drop label

* Add tests

* Spotles

* Work on disable code

* Cleanup

* CLeanup

* Cleanup

* Add changelog

* Test cleanup

* Review comments

* Spotless

* Compile fix

* Version bump

* Test fix

* Test fixes
2024-11-07 09:11:19 -05:00
Tadgh 9365ad9509
Revert "Fixes for the translation of parameter issues as part of the output f…" (#6441)
This reverts commit fca3ea4445.
2024-11-05 09:14:18 -08:00
Martha Mitran fca3ea4445
Fixes for the translation of parameter issues as part of the output for $validate-code operation. (#6423)
* Move the validation providers to the test utilities package such that they can be reused.

* Update IValidationSupport.CodeValidationIssue structure such that it meets the FHIR specification. Update RemoteTerminologyServiceValidationSupport and VersionSpecificWorkerContextWrapper translation for issues.

* New tests for issue translation. Move test class to a different package so that we can add another test class.

* Some simplification in the issue API to simplify building of issues.

* Fix compilation errors.

* Update providers to allow multiple responses and add  support for the fetchCodeSystem call through method find.

* Setup the first test for resource validation with remote terminology providers.

* Fix NullPointerException

* avoid calling validateCode for CodeSystem where system is null

* Keep old public API methods (and class name) in IValidationSupport and mark them as deprecated to avoid breaking dependencies.

* Revert local change to debug for duplicate errors.

* Add more test cases for resource validation. Throw exception to signal missing test setup to make it obvious.

* Simplify test setup.

* Add some more javadoc

* Add javadoc for the new test class

* Add more tests

* Address code review comments in IValidationSupport.

* Add changelog
2024-11-05 09:13:44 -08:00
Vadim Peretokin a52578e798
Fix wording of _include (#6432) 2024-11-04 10:23:56 -05:00
James Agnew f17e5fbb4e
Second attempt at improving auth handling (#6382)
* Revert "Revert "Improve auth interceptor operation handling (#6278)" (#6381)"

This reverts commit 422d4f0741.

* Move changelog
2024-11-01 07:41:08 -04:00
James Agnew c5476532b7
Credit for #6224 (#6418) 2024-10-30 10:09:12 -04:00
Ibrahim e43c140a24
Refactor BaseHapiFhirDao.getOrCreateTag method to run in a separate thread for XA transaction compatibility (#6224)
* Fix typo in docs.

* Refactor the use of ConcurrentTaskScheduler to use the non-deprecated constructor.

* 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

* Refactor tag creation logic and handle concurrent access:

- Simplified tag creation by removing unnecessary transaction complexity, since we allow duplicate tags in hfj_tag_def from #4813
- Removed redundant retry logic based on updated DB constraints
2024-10-30 10:06:45 -04:00