* [6889] add migration tasks for new table and column updates
* [6889] correct FK column name
* [6889] add explicit index to the FK column
* [6889] update entities with the new column
* [6889] add migration tasks to populate the new resource type table
* [6889] rename variables
* [6889] minor update
* [6889] update migration tasks to entities
* [6889] load resource types using Fhir Context
* [6889] apply spotless
* [6889] apply spotless
* [6889] update entity classes
* [6889] add new classes for resource type cache service and dao
* [6889] write resource type id to the newly added resource rows
* [6889] add exception handling for unique index constraint
* [6889] add util class for generating resource types to be used in multiple places
* [6889] fix the failed unit tests by caused by the extra query to the new resource type table
* [6889] Pre-populate the resource type database table to fix failed tests
* [6889] fix the failed unit tests in R5
* [6889] Revert back to not use HapiTransactionServer due to unit test complication
* [6889] fix more unit tests
* [6889] fix more unit tests
* [6889] minor update
* [6889] add changelog and fix unit test failure in MdmEventIT
* [6889] fix the failed unit tests in Mdm package
* [6889] more unit test updates
* [6889] more unit test updates
* [6889] address review comment - remove resource type foreign key constraint
* [6889] address review comment - use IHapiTransactionService
* [6889] update unit tests
* [6889] code cleaning
* [6889] address review comment - change return value from Short to short
* [6889] apply spotless
* Claudes attempt at warning removal
* Fix shading complaints
* Check for pom change and skip job if found
* Remove double DDL-Generation, quiet license changes
* Tidy javadocs
* Minor fixes for javadocs
* Remove deprecated usages
* TRy to get aggregate javadoc generation working
* Bump messgae and mvn version in enforcer
* Remove bad versions of javadoc
* Revert "Claudes attempt at warning removal"
This reverts commit ac4561c5ad0b0f521c66297d37811be3e8674587.
* wip
* Revert "TRy to get aggregate javadoc generation working"
This reverts commit 775355341267bcd69451567fc070af5473ae4baf.
* Unify lombok deps
* Correct source
* unify versions
* Fix JavaDoc syntax issues to resolve build warnings
Fix various JavaDoc syntax issues including:
- Correctly close HTML tags in URL links
- Properly escape angle brackets, special characters, and HTML elements
- Fix generic type parameters using proper escaping
- Update email address formatting
These changes ensure clean JavaDoc generation and eliminate build warnings.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* One more fix
* Fix JavaDoc ampersand issues for cleaner builds
- Wrapped URL parameters containing & with {@code }
- Replaced prose & with "and" in comments
- Fixed HTML entities in JavaDocs by using {@code }
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix JavaDoc warnings to ensure clean builds
- Fixed invalid @link tag in BaseValidationSupportWrapper.java
- Fixed incorrect closing parentheses in JavaDoc URL references in PrePopulatedValidationSupport.java
- Fixed invalid @link tags with 'this#' prefix in MdmRulesJson.java
- Removed invalid URL from @link tag in package-info.java
- Fixed incorrect syntax in JavaDoc link in MdmResourceFilteringSvc.java
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove FakeConnectionConnectionProvider, disable metadata checking during bootstrap
* Cleanup on the imports
* logs
* wip
* Skip compile-against-cdr if not needed
* Code review comments
* Spotless
* Add spotless prefix
* code review
* Fix bug
---------
Co-authored-by: Gary <garygraham@simpatico.ai>
Co-authored-by: Claude <noreply@anthropic.com>
* begin with failing test
* fixed
* spotless
* changelog
* fix intermittent in SubscriptionRestHookDstu3IT
* fix deadlocks
* hapi version bump
---------
Co-authored-by: Ken Stevens <ken@smiledigitalhealth.com>
* test: add near search distance test for locations within 5000 km
* fix: generate symmetric GeoBoundingBox around center for near search
* fix: adjust distance parameters in ResourceProviderR4DistanceTest for accurate city inclusion
* Add changelog
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
* fix db migrator issue on sql server with multipart pkeys issue 6650
* Add test and changelog
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
* Add failing test
* Consider partitioning when only _source parameter
* Abstract common functionality to base class and make it add partition predicate.
* changelog
* spotless
* Fix duplication and adjust test
* Adjust test
* fix db migrator issue on sql server with multipart pkeys issue 6650
* Add test and changelog
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
* Added support for HTTP HEAD
* Renamed file to issue number and added issue number
* Moved to 7.6
* Adjusted to new init method
* Corrected error messages
* Moved to 7.8.0 as it isn't urgent
* Moved to 8.2.0
* Added HEAD test for stu3
* Added HEAD test
* Adjusted according to review comments
* Spotless formatting
* Update MetadataCapabilityStatementDstu3Test.java
* Update MetadataCapabilityStatementDstu3Test.java
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
* feat: add full support for ValueSet filters in in-memory terminology validation
This adds support for all FHIR-defined ValueSet filter operators
(e.g. is-a, descendent-of, is-not-a, in, regex, exists, etc.) to the in-memory
terminology validator (InMemoryTerminologyServerValidationSupport).
Supports:
- Structural filters: is-a, descendent-of, is-not-a, generalizes, child-of, descendent-leaf
- Equality/regex/inclusion: equal (=), regex, in, not-in
- Existence: exists
Adds internal indexing for concept code/display fields to enable efficient traversal
and matching. Follows case-sensitivity rules defined by CodeSystem.
Also includes a full unit test suite for all filters, covering both code and display
properties where relevant.
Fixes issues where descendant-based filters were not honored during expansion in
tests relying on in-memory terminology (e.g. no JPA preload).
Fixes#4447, #6255
* fix(validation): error on filtered ValueSet includes against ignored CodeSystem
When a ValueSet include specifies filters (e.g. “is-a”) but the referenced CodeSystem is
configured as NOT_PRESENT/ignored, in-memory expansion cannot apply structural filters.
Add a guard to throw an ExpansionCouldNotBeCompletedInternallyException in this scenario
rather than silently returning an empty result.
* test(validation): expect in-memory validation to fail for delta-based hierarchy
Previously we asserted success on an in-memory hierarchy check, but the expander
cannot apply ISA filters against a NOT_PRESENT CodeSystem patched only via
`$apply-codesystem-delta-add`. Update the test to assert that
`validateCode(...)` returns a non-OK outcome containing “cannot apply filters”
for the in-memory pass, then continue to validate via the deferred/pre-expanded path.
* Add changelog for #6904
---------
Co-authored-by: Ibrahim Tallouzi <iyt@trifork.com>
* Add junk ine
* Add extension for placeholder ID
* Cleanup
* Header
* Cleanup
* Spotless
* Better logging
* Fix transaction conditional URL prefetch on non-token params
* Drop a check
* Adjust query counts
* Improve performance
* Single token optimized
* Test fixes
* About to try to ensure we prefetch resource bodies for conditional create
* Test fixes
* Some test fixes
* Test fixes
* Test fixes
* Test fixes
* Work on tests
* Test fix
* Spotless
* Add docs
* Add test
* Add grouping
* Spotless
* Add size option to CMD
* Adjust consumer
* Cleanup
* Work on bulk import
* Spotless
* More work
* Add logging
* More diagnostics
* add logs
* Cleanup
* Fix premature finishing of bulk import command
* Add changelogs
* Test cleanup
* Test fixes
* Fix tests
* Test fix
* Spotless
* Cleanup
* Resolve conflicts
* Clean up
* Add to transaction response parser
* TransactionUtil parsing improvements
* Work on tests
* Test fix
* Test fixes
* Spotless
* Bug fix
* Build tweak
* Test cleanup
* Add some test logging
* Bump to trigger CI
* Try to address intermittent
* Address review comments
* Version bump
* License header
* Failing test.
* Lighter test
* Semi-working
* Add contains partial-comparision
* Add contains partial-comparision
* Test and fix for redundant reference resolution
* Cleanup
* New test for existing resource
* Tidy + javadoc
* Changelog
* Bump to android api 34.
* Update tests for new calls
* Update tests for new calls
* Update tests for new calls
* Update tests for new calls
* almost there
* One more down
* tidy
* Refactor PartitioningInterceptorR4Test to use BasePartitioningR4Test
Simplified test setup by inheriting from BasePartitioningR4Test and removed redundant setup/teardown methods
* Fix all but last test
* spotless
* Add setting to test
* javadoc
* Update error message and counts to match reversion
* spotless
* request header partition interceptor
* addressed code review comments
* use the same method to create subreq details for writes and reads
* Revert "use the same method to create subreq details for writes and reads"
This reverts commit d1a7869f8ef5f1ba3de050002fddb9393fcfce68.
* added log message for unkown RequestDetails type
* added null check
* expose authorize request functionality
* add canSeeResource() (in addition to willSeeResource()) to the STORAGE_BULK_EXPORT_RESOURCE_INCLUSION pointcut
* `STORAGE_BULK_EXPORT_RESOURCE_INCLUSION` changelog
* authorizeRequest() changelog
* add test
* Introduced an example of a failing JSON serialization
* Removed clause which made modifierExtension to have modifierExtensions
* Credit for #6862
---------
Co-authored-by: Vytis Valentinavičius <vv@u-health.lt>
* Add new APIs to package management API and tests.
* Add more tests.
* Spotless.
* Rename API method.
* Add changelogs.
* Code review feedback: Naming and request object.
* Code review feedback: Add javadoc for test. Add more tests. Fix lack of functionality and have new test cover the functional gaps.
* Rename from findPackageAssets to findPackageAsset .