* 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>
* GenericClient POST paging support - implementation and test
* GenericClient POST paging support - fixes
* GenericClient POST paging support - fixes
* GenericClient POST paging support - failed tests fix
* GenericClient POST paging support - HAPI version bump
* Added unit test and bug fix to ensure no two partitions with the same ID can be created.
* Added changelogs, and changed the equals operator.
* Made required changes to ensure updating of partition is not affected
* Changed unit test and its location to ensure functionality.
* changing for loop to findById to avoid iteration over all partitions.
* Only allows findById when list is not empty, deals with that edge case.
* Replaced null with isPresent in if statement to fix issues regarding the creation of links on different partitions
* Removed the findAll command within the function. To avoid searching twice.
* Edited the changelogs to properly describe the issue that we have at hand
* Edited the changelogs to properly describe the issue that we have at hand pt 2, wording changes.
* log specific error message + test
* changelog
* remove draft tests
* remove another comment i left behind
* update issue number in changelog
* update error location
* update error location
* update test
* change to exception
* address review comments: add test with submit and also update change log
* format test nicer
---------
Co-authored-by: justindar <justin.dar@smilecdr.com>