* 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
* 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>
* 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>
* 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>
* 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
* 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>
* 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
* fail test
* potential fix
* spotless
* alternative fix
* spotless
* remove the new method and replace usage for the old one
* spotless
* fix issue with context failing deserialization
* add validation for context, hook and hook instance
* spotless
* add message codes
* spotless
* changelog
* cleanup
* spotless
* bump version to 7.5.1-SNAPSHOT
* 6173 - Log unhandled Exceptions in RestfulServer.
* Use placeholder for failed streams.
* Starting test for server handling.
* Got test working.
* Fixed use of synchronized keyword.
* Applied mvn spotless.
---------
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
* use SearchParamater validator in package installer (#6112)
* Ensure ' ' is treated as '+' in timezones with offsets. (#6115)
* Use lockless mode when adding index on Azure Sql server (#6100)
* Use lockless mode when adding index on Azure Sql server
Use try-catch for Online add-index on Sql Server.
This avoids having to map out the entire matrix of Sql Server product names and ONLINE index support.
Warnings in docs, and cleanups
* make consent service dont call willSeeResource on children if parent resource is AUTHORIZED or REJECT (#6127)
* fix hfj search migration task (#6143)
* fix migration task
* changelog
* changelog
* code review
* spotless
---------
Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
* Enhance migration for MSSQL to change the collation for HFJ_RESOURCE.FHIR_ID to case sensitive (#6135)
* MSSQL: Migrate HFJ_RESOURCE.FHIR_ID to new collation: SQL_Latin1_General_CP1_CS_AS
* Spotless.
* Enhance test. Fix case in ResourceSearchView to defend against future migration to case insensitive collation.
* Remove TODOs. Add comment to ResourceSearchView explaining why all columns are uppercase. Changelog.
* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6146-mssql-hfj-resource-fhir-id-colllation.yaml
Code reviewer suggestion
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
* Code review fixes: Make changes conditional on the collation including _CI_, otherwise, leave it alone.
---------
Co-authored-by: Michael Buckley <michaelabuckley@gmail.com>
* Common API for FHIR Data Access (#6141)
* Add initial interface for common FHIR API
* Fix formatting
* Update javadocs
* Address code review comments
---------
Co-authored-by: Emre Dincturk <74370953+mrdnctrk@users.noreply.github.com>
Co-authored-by: Luke deGruchy <luke.degruchy@smilecdr.com>
Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com>
Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
Co-authored-by: Luke deGruchy <luke.degruchy@smiledigitalhealth.com>
Co-authored-by: JP <jonathan.i.percival@gmail.com>
* Move IncomingRequestAddressStrategy::determineServletContextPath into IServerAddressStrategy to permit overriding (#6038)
* add changelog
* add contributor as developer
---------
Co-authored-by: Alex Kopp <akopp@athenahealth.com>
Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
* version bump clinical reasoning
* specifying required patch type
* bumping to 7.3.11-SNAPSHOT
* fix file name
* remove default fhirPatch until bug fixed
* Use server name as narrative text in CapabilityStatement
* Credit for #6060
* Fix spotless
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
* Cleanup and fix compile warnings
* Cleanup and enhance batch2 jobs to support running them across multiple partitions.
* Add some documentation and fix build in the pipeline.
* Fix tests
* Add support for RequestPartitionId.allPartitions as input to the IJobPartitionProvider. Add tests and fix one test. Add missing changelog.
* Separate basic partition provider logic so it can be reused by Mongo. Update documentation.
* Revert change to apply certain validation only for creates.
* Remove added logs
* spotless fix
* Address code review comments
* Work on versioned canonidal refs
* Merge
* Tests working
* Working without version support
* CLean refactor
* Targets
* Remove redundant parameter
* Fix up tests
* Remove fixme
* Add changelog
* Improve changelog
* Update version
* Test fixes
* first cut
* first cut
* cleanup
* that took way too long
* fix test
* licenses
* merge master
* merge master
* changelog
* review feedback
* bump version
* Bump to core 6.2.6 + fix compilation errors
* Fix signature error
* Error ordering
* WIP 1 Fixing failing tests
* Fix FhirInstanceValidatorR4Test
* Fix FhirInstanceValidatorR5Test
* Fix FhirInstanceValidatorR4BTest
* Fix FhirInstanceValidatorDstu3Test.testValidateBuiltInProfiles()
* WIP Fix FhirInstanceValidatorDstu3Test
* Fix isPrimitiveType
* Add placeholder narratives to ServerCapabilityStatement
* Fix QuestionnaireResponseValidatorR4Test
* Newline cleanup
* Fix QuestionnaireResponseValidatorDstu3Test
* Fix QuestionnaireResponseValidatorR5Test
* Increase expected error messages by two because VALIDATION_HL7_WG_NEEDED
New validation requirement as of 2023-09-16
* Add placeholder fix for Balp narrative
* Fix expected validation messages
* Fix more expected validation messages
* Don't generate a master IPS narrative
* Fix IPS generation tests expecting old composition narrative
* Update fhir core and clinical-reasoning
* Remove commented code
* Bump to core 6.2.16-SNAPSHOT
* Add missing methods
* Add missing methods 2
* Fix error codes
* Fix error code
* Fix failing tests for Unsupported method 2488
* Fix error text
* Fix another expected error message
* Apply spotless
* Fix error strings
* Add minimal implementation to fix failing test
* Fix error message
* Fix some validation tests (r4)
* Fix more R5 tests
* Update for changing API
* Fix some R4B test failures
* Fix android incompatibility
* Fix more tests
* Switch back to LF
* Fix more tests 2
* Fix R4 IPS generation use of relative references, switch to random UUID
* Fix missing codes and patient ID in IPS test
* Fix missing codes in IPS R4 Test 2
* Fix display value
* Fix display value
* Reorg wrapper issue collection; fixes errors with Balp and others
* Update for API changes
* Fix code set typo causing test failure
* Fix DiffProviderR4Test
* Fix RepositoryValidatingInterceptorHttpR4Test fails
due to stricter code validation
* More code fixes
* Don't expect an extra error.
* Use more specific logic for details tx code
* Catch expected error
* Clean up
* Account for HAPI isEnabledValidationForCodingsLogicalAnd cases
* Apply spotless
* Change outputs for en_US single code test
* Add missing system from code to pass validation
* Account for DSTU3 and R4 including different code systems for race
* Add expected loinc codes to test dao
* Add some codesystem support for test
* Bump core version
* WIP pass on a list of CodeValidationIssue from CodeValidationResults
* Re-use v2 and v3 data from r4 in r4b
* CodeSystems can be supported, but not have a resource
* Remove hack around unitsofmeasure + return false LookupCodeResult
* Clean up chatter.
* Update test cases, remove FIXME
* Stop returning before adding all issues to ValidationResults
* Update for changes in core API
* Add severity to code issues + return to unknown system support
* Use new CollectionUtils
* Fix more issue messages and orders + null in TermReadSvcImpl
* After checking valueSet, also check codeSystem
* On second thought, always check the codesystem
* Improve validation message
* Refactor
* Add error consistent with core validator results
* Decrement query counts for validation
* Improve code validation messages + don't miss invalid display on cs
* Fix expected messages (added code details)
* More expected message fixes
* Remove redundant text from diagnostics + match core exception handling
* Explicitly send tx passthrough messages no longer managed in core
* Apply spotless
* Add issue to code validation in TermReadSvcImpl
* Adjust indexes of expected errors now that TermReadSvc is reporting
* Bump to released core version
* Code cleanup: commented code
* More commented code cleanup
* Fix parameter names
* Use Set.of and List.of + fix duplicate values in set
* Revert animal sniffed breakage, make field private
* Add comments to describe disabled test
* Remove System.out chatter
* Fix javadoc generation for r5 structures module
* More comments and move disabled annotation
It was working when it left the shop.
* Move older changelog into 7.4.0 and create core update changelog
* Switch changelog type to change
* Bump HAPI version
* Add validation utils for FATAL issue severity
* Handle FATAL codeValidationIssue severity
* Fix test (validation throws more warnings)
* Bump to version 7.3.4-SNAPSHOT
* Bump to SNAPSHOT version of core + add necessary method implementations
* Add comments to explain R4 terminology resources in R4B
* Add test for Observation vital signs profile validation
* Try using default validatorPolicyAdvisor
* Return an empty set for fetchCanonicalResourceVersions
* Profile now gives more explicit error instead of valueSet
* Revert commit
* Add CodeValidationIssues and additional error info
* Do not return first successful match from codings. Check all.
+ adjust for extra errors.
* apply spotless
* Fix failing test, add comments re: invocations
* Fix test to expect more informative error
* Fix stray compilation errors from merge.
* Fix merge overwrite of validation messages and indices
* Fix merge overwrite of new validation results
* Use core release 6.3.11
* Update HAPI version to 7.3.5-SNAPSHOT
* Fix changelog
* Remove commented code
---------
Co-authored-by: James Agnew <jamesagnew@gmail.com>
Co-authored-by: volodymyr <volodymyr.korzh@smilecdr.com>