* added validateExpungeEnabled() call to type-level expunge, moved two overloading method so that they are next to each other
* added test for expunge
enabled expunge for testExpungeAllVersionsWithTagsDeletesRow in FhirResourceDaoR4QueryCountTest
* added changelog
* optimized tests and changelogs
* version bump
* Bump to core release 6.0.22 (#5028)
* Bump to core release 6.0.16
* Bump to core version 6.0.20
* Fix errors thrown as a result of VersionSpecificWorkerContextWrapper
* Bump to core 6.0.22
* Resolve 5126 hfj res ver prov might cause migration error on db that automatically indexes the primary key (#5127)
* dropped old index FK_RESVERPROV_RES_PID on RES_PID column before adding IDX_RESVERPROV_RES_PID
* added changelog
* changed to valid version number
* changed to valid version number, need to be ordered by version number...
* 5123 - Use DEFAULT partition for server-based requests if none specified (#5124)
5123 - Use DEFAULT partition for server-based requests if none specified
* consent remove all suppresses next link in bundle (#5119)
* added FIXME with source of issue
* added FIXME with root cause
* added FIXME with root cause
* Providing solution to the issue and removing fixmes.
* Providing changelog
* auto-formatting.
* Adding new test.
* Adding a new test for standard paging
* let's try this and see if it works...?
* fix tests
* cleanup to trigger a new run
* fixing tests
---------
Co-authored-by: Ken Stevens <ken@smilecdr.com>
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* 5117 MDM Score for No Match Fields Should Not Be Included in Total Score (#5118)
* fix, test, changelog
* fix, test, changelog
---------
Co-authored-by: justindar <justin.dar@smilecdr.com>
* Rename file to force IT mode
---------
Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: TynerGjs <132295567+TynerGjs@users.noreply.github.com>
Co-authored-by: Steve Corbett <137920358+steve-corbett-smilecdr@users.noreply.github.com>
Co-authored-by: Ken Stevens <khstevens@gmail.com>
Co-authored-by: Ken Stevens <ken@smilecdr.com>
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com>
Co-authored-by: justindar <justin.dar@smilecdr.com>
* FQL tests
* Working so far
* Tests working
* Tests passing
* Work on parser
* Tests passing
* Cleanup
* Working
* Work on parser
* Work
* Working
* Work on tests
* Work on driver
* Work
* Ongoing work
* Rename SEARCH to WHERE
* Work on fhirpath
* Test fixes
* Work on statements
* Build fixes
* Spotless application
* Fix CI
* Build fixes
* Clean up changelogs
* Remove redundant gitignore
* Add docs
* Add docs
* Code cleanup
* Build cleanup
* Fix compile error
* Test fixes
* Test fix
* Test fix
* Work on integration
* Work on design
* Work on UI
* Update hapi-fhir-jpaserver-hfql/src/main/java/ca/uhn/fhir/jpa/fql/jdbc/JdbcDriver.java
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* Address review comments
* Review comments
* HFQL work
* Cleanup
* CLeanup
* License headers
* Test fixes
* HAPI version bump
* License header update
* Changelog cleanup
* Fixes
* Test fix
* Fix spotless issues
---------
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* returned user-friendlier message, implemented unit tests, added changelog
* reformatted file
* added Msg.code to the exception thrown
* added Msg.code in test
* Changed to catch DataIntegrityViolationException only.
* 5103 - Adjust our handling of space escape characters in URLs
* 5103 - Fix formatting
* 5103 - Adjust URL escaping and update test expectations
* 5103 - additional test for values with literal plus signs
* 5103 add changelog for this issue
* 5103 - documentation change to describe proper URL escaping
* 5103 - Minor documentation addition
* Changed the two files to reduce info level to debug level for select services.
* Adding change log
---------
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
* update docs to be more specific
* fix ordering when client assigned id doesn't match pid
* remove fix ordering when client assigned id doesn't match pid
---------
Co-authored-by: justindar <justin.dar@smilecdr.com>
* Failing test
* Add some self-assigned Patient IDs
* Sort after client-selected ID is interpolated into the result
* spotless
* changelog
* Keep DAO level ordering enforced by tests
* Filter out non-client-provider ids from test as they are unpredictable in build pipeline
---------
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
* fix bug on hapifhirdal searchbyurl to account for version
* update return type to bundleIterable, update test to validate
* add clinical-reasoning 3.0.0-PRE5
* added test comments, updated search, explicit variables
* add example comment to search cases
* fix typo
* spotless apply edits
---------
Co-authored-by: justin.mckelvy <justin.mckelvy@smilecdr.com>
* fixing a bug with duplicte golden resources being returned
* review points
* fixing tests
* blah
---------
Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local>
* move json and interfaces to hapi
* move serialization over
* moar test move
* move prefetch service
* move service registry
* moved everything we can. now just need to add a controller and controller test
* controller done
* IJ Warnings
* Move test
* licenses
* mvn spotless:apply
* checkstyle
* spotless
---------
Co-authored-by: Ken Stevens <ken@smilecdr.com>
* Fix bug by maintaining a separate list of resource types including the custom resources that will be used to validate the Bundle resources.
* Add custom resource types to resource types list and add conditional logic in ValidationDataInitializerSvcImpl to ensure there is no Exception when parsing a custom resource type.
* Add changelog.
* Remove unnecessary change.
* Address code review feedback.
* Address code review feedback.
* Add one more unit test.
* Bump to 6.7.14-SNAPSHOT.
* 4759 - WIP unit test for this issue
* WIP updating unit test for ResourceIdListStep
* WIP candidate fix for ResourceIdListStep batch size problem
* Enhance unit test with ArgumentCaptor.
* WIP Parameterized the ResourceIdListStepTest and added assertions
* Adding changelog for this issue
* Updating changelog message for 5055
* Code formatting and import cleanup
---------
Co-authored-by: Luke deGruchy <luke.degruchy@smilecdr.com>
* relegate surefire config to parent pom pluginManagement
* back out build fix to see if stack trace now shows up in logs
* back out the backed out fix.
---------
Co-authored-by: Ken Stevens <ken@smilecdr.com>
* extracted ResponseBundleBuilder and started writing unit tests. Currently at 71% coverage.
* asert bundle entries
* assert first entry id
* unknown size
* coverage up to 78%
* test filter nulls
* test null id check
* up to 91% test coverage
* 96% test coverage
* 98% test coverage. this is final state
* fix cyclic dep
* switch to record
* split up large method
* split up large method
* consolidate params
* consolidate params
* IntelliJ Warnings
* cleanup
* cleanup
* extract methods
* extract methods
* param names
* variable name
* formatting
* extract method
* cleanup
* javadoc
* upstream consolidation
* parameter names
* TODO
* TODO
* review feedback
---------
Co-authored-by: Ken Stevens <ken@smilecdr.com>
* Partial implementation after this has been paused: Move trimming of value and system from BaseSearchParamExtractor to ResourceIndexedSearchParamToken. Do not throw Exceptions in TokenPredicateBuilder. Ensure that the hash computing in the search param token takes the 200+ token value into account. Other search param tokens are not yet implemented.
* in ResourceIndexedSearchParamToken,changed hardcoded length to constant MAX_LENGTH;
in BaseSearchParamExtractor, added check in createTokenIndexIfNotBlank so that the return value is null if system or value is blank.
* added test for TokenPredicateBuilder to verify that long values exceeds the max length does not cause exception.
added test in FhirSystemDaoR4SearchTest to verify searchParamToken with longer system and value than max length can be created successfully. And hash value will be calculated before truncation
* fixed a logical error in previous commits
* changed existing tests to accommodate for the changes
* modified existing tests
* added changelog
* changed truncation method name and added comments
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* modified changelog
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* combined redundant tests
---------
Co-authored-by: tyner <tyner.guo@smilecdr.com>
Co-authored-by: TynerGjs <132295567+TynerGjs@users.noreply.github.com>
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* Reindex Batch Jobs stuck in QUEUED status after SearchParameter update - test added
* Reindex Batch Jobs stuck in QUEUED status after SearchParameter update - fix
* Reindex Batch Jobs stuck in QUEUED status after SearchParameter update - fix test
* Reindex Batch Jobs stuck in QUEUED status after SearchParameter update - send BatchJobWorkNotification after commit
* Reindex Batch Jobs stuck in QUEUED status after SearchParameter update - changelog fix
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
---------
Co-authored-by: michaelabuckley <michaelabuckley@gmail.com>
* Allow PageMethodBinding to bind also for POST
* Add changelog
* Adjust test
---------
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>