Commit Graph

9926 Commits

Author SHA1 Message Date
Michael Buckley 3b5dfb54eb Extend default batch job deadline, and fail if exceeded 2024-08-15 13:25:38 -04:00
Michael Buckley c4b34708b5 Merge branch 'refs/heads/master' into mb-refactor-suggestion
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java
2024-08-12 14:12:43 -04:00
Aditya Dave 4368e33fda
6182 introduce a new pointcut to allow customization before sending message to the broker on mdm submit (#6183)
* add a new pointcut for changing message before submitting it to message broker

* failing test

* fix test by invoking hook when hook is registered

* spotless

* update docs

* changelog

* review changes

* spotless
2024-08-09 18:52:05 +00:00
Kevin Dougan 44c4b87a84
Resolve 6173 - Log unhandled Exceptions in RestfulServer (#6176)
* 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>
2024-08-07 10:01:58 -04:00
Michael Buckley b459dca767 Move tx thinking into service. 2024-08-06 17:01:33 -04:00
Mark Iantorno 801b8b494b
fixing fhir-test-cases dependency (#6186)
* fixing fhir-test-cases dependency

* accidental added characters to the file

* bumping base pom version

* Disabling test case due to errors in xml files extracted from org.hl7.fhir.testcases.fhir-test-cases.1.5.15

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-08-03 17:06:42 -04:00
jdar8 fd5cff3d23
5138 enhance existing historical link with mactchResultMap field (#5213) 2024-08-01 09:49:19 -04:00
James Agnew ef87707686 Partition aware transactions 2024-07-26 16:31:05 -04:00
TipzCM 8af711e3e3
allow transaction with update conditional urls (#6155) 2024-07-26 19:37:50 +00:00
Emre Dincturk e5a8fc2f1b
fix concepts with no display element for $apply-codesystem-delta-add and $apply-codesystem-delta-remove (#6164) 2024-07-26 14:17:22 -04:00
Michael Buckley 8d1529276b
SEARCH_UUID should be non-null (#6166)
* SEARCH_UUID should be non-null
Avoid using constants in migrations because it creates false history.

* comment
2024-07-26 17:55:17 +00:00
Martha Mitran 10eaad3cbb
Handle 400 and 404 codes returned by remote terminology operation. (#6151)
* Handle 400 and 404 codes returned by remote terminology  operation.

* Some simplification

* Adjust changelog

* Add a comment to explain alternate solution which can be reused.
2024-07-26 10:10:44 -07:00
Michael Buckley 13ae273cbf
SEARCH_UUID should be non-null (#6165)
Avoid using constants in migrations because it creates false history.
2024-07-26 16:16:30 +00:00
Michael Buckley cd43523afe
Mergeback 7_4 (#6158)
* 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>
2024-07-26 08:59:24 -04:00
TipzCM b9f202d17c
update to online (#6157) 2024-07-25 20:30:56 +00:00
jmarchionatto 2275eba1a0
Add path value to _id search parameter and other missing search param… (#6128)
* Add path value to _id search parameter and other missing search parameters to IAnyResource.

* Adjust tests and remove now unnecessary addition of meta parameters which are now provided by IAnyResource

* Revert unneeded change

* _security param is not token but uri

* Add tests for new defined resource-level standard parameters

* Adjust test

---------

Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com>
2024-07-25 20:30:19 +00:00
JP 2c6b3e8305
Common API for FHIR Data Access (#6141)
* Add initial interface for common FHIR API

* Fix formatting

* Update javadocs

* Address code review comments
2024-07-25 10:55:09 -04:00
Luke deGruchy a70d28acae
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>
2024-07-25 14:22:54 +00:00
jdar8 33b766c658
fix hfj search migration task (#6143)
* fix migration task

* changelog

* changelog

* code review

* spotless

---------

Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
2024-07-23 18:37:09 -04:00
Emre Dincturk 9860511d44
make consent service dont call willSeeResource on children if parent resource is AUTHORIZED or REJECT (#6127) 2024-07-23 16:14:11 -04:00
Tadgh fcb69e600f
Improve migrator (#6120)
* wip

* spotless

* Allow schema migrator to propagate down additional CLI-style config

* wip

* implement dummy constructor so i dont break the build

* wip
2024-07-20 14:10:42 -07:00
Tadgh 497eb6002f
Correct a typo (#6136) 2024-07-20 14:09:40 -07:00
Alberto Acebes 17158c071a
Adding Eviden BSD R&D Spain to the Atlas (#6132)
Adding Eviden BSD R&D Spain to the Atlas by adding an entry to points.json
2024-07-19 08:06:57 -04:00
dotasek d68a71abb4
Bump to core 6.3.18 (#6121)
* Bump to core 6.3.18

* Fix test failures due to new validation messages
2024-07-17 14:21:25 -07:00
Tadgh a9baa1f1f7 Merge branch 'bump_7_6_0' 2024-07-17 11:45:57 -07:00
Nathan Doef 912c2da156
Skip Oracle tests for Mac users that do not have colima running (#6118)
* Skip Oracle tests for Mac users that do not have colima running

* spotless
2024-07-17 13:58:41 -04:00
Michael Buckley 55734e6cef
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
2024-07-17 17:27:47 +00:00
Luke deGruchy e3b749e61b
Ensure ' ' is treated as '+' in timezones with offsets. (#6115) 2024-07-16 19:29:06 +00:00
Emre Dincturk 13e2d41165
use SearchParamater validator in package installer (#6112) 2024-07-16 14:52:41 -04:00
Long Ma 406db339ce bump to 7.5.0-snapshot 2024-07-16 12:25:25 -06:00
Long Ma 39cbec8aa4 Merge branch 'rel_7_4' of https://github.com/hapifhir/hapi-fhir into rel_7_4 2024-07-16 12:24:29 -06:00
Long Ma 0e8f474b51 revert 6e208f16ec 2024-07-16 12:24:19 -06:00
Tadgh 88f8a66596
Add attribution (#6103) 2024-07-16 11:08:59 -07:00
Long Ma 6e208f16ec bump to 7.5.0-snapshot 2024-07-16 10:43:14 -06:00
TipzCM 7e7aae6060
batching subscription msgs (#6084) 2024-07-16 09:22:35 -04:00
jmarchionatto 5f9b40e3f5
Allow overriding RestfulServer's contextPath (#6113)
* 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>
2024-07-15 16:24:17 -07:00
Etienne Poirier e07684474f
Cleanup work following merge of 6101 (#6110)
* - reverting commented out changes
- removing personal todo

* removing changelog since the related change was reverted.

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-07-15 13:47:08 -04:00
TipzCM 875b224ac6
fixing canonical search (#6105) 2024-07-15 13:29:00 -04:00
Justin McKelvy d2c12a7ac3
6083 clinical reasoning version bump v38 (#6089)
* version bump clinical reasoning

* specifying required patch type

* bumping to 7.3.11-SNAPSHOT

* fix file name

* remove default fhirPatch until bug fixed
2024-07-12 18:24:26 -07:00
Renaud Subiger b6bcb292b6
Use server name as narrative text in CapabilityStatement (#6060)
* Use server name as narrative text in CapabilityStatement

* Credit for #6060

* Fix spotless

---------

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2024-07-12 16:56:28 -04:00
jdar8 ec7538c78f
Jd 20240704 fix mdm phonetic matching on humanname exception (#6078)
* failing test

* fix and changelog

* edit changelog issue number

* mvn spotless

* address code review comment

---------

Co-authored-by: jdar <justin.dar@smiledigitalhealth.com>
2024-07-12 09:54:45 -07:00
Renaud Subiger 40d42f3ba5
Rename methods to prevent duplicate bean names (#6098) 2024-07-11 18:05:38 -07:00
Etienne Poirier bd31bcb290
emergency fix - reverting changes introduced in 6092 to get pipeline running. (#6101)
Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-07-11 21:26:39 +00:00
volodymyr-korzh 6c446277e3
Patient everything operation with offset query parameter throws exception (#6085)
* Patient $everything operation with _offset query parameter throws exception - tests and implementation
* Patient $everything operation with _offset query parameter throws exception - added changelog
2024-07-11 15:24:54 -06:00
Ken Stevens 7e9faf84b8 change is unit tested 2024-07-10 17:52:40 -04:00
Aditya Dave 16b002d1dd
fix changelog (#6093) 2024-07-10 18:04:31 +00:00
Etienne Poirier c235488580
6090 requestpartitionhelpersvc throws an unexpected exception when resolving partition for non partitionable resource (#6092)
* initial failing test.

* fix and test modification

* adding changelog

---------

Co-authored-by: peartree <etienne.poirier@smilecdr.com>
2024-07-10 10:59:17 -04:00
VK-SMILECDR e3f64c23a2
logback test extention assert (#6087)
* initial check-in

* HAPI logback test extension cleanup

* bump version

* revert mistake change

* changes based on review
2024-07-09 20:06:06 +00:00
Aditya Dave ce0160e7f9
cds hooks allow arbitrary strings for extensions (#6026)
* changes to context booter and basecdsservicejson

* cleanup CdsHooksContextBooter

* javadocs

* change JsonNode to CdsHooksExtension

* failing test for service extensions...

* fix extension serialization

* fix extension serialization

* failing test for request extensions not getting parsed...

* try adding a custom deserializer for extension

* try adding a custom deserializer for extension

* try adding a custom deserializer for extension

* wire up CdsServiceRegistryImpl

* fix wiring object mapper

* merge master

* get hook in deserializer

* create CdsServiceRequestJsonDeserializer..

* spotless

* fix for cds service feedback for  CdsHooksControllerTest.java

* spotless

* cleanup...

* spotless...

* docs

* enable tests for CdsHooksContextBooterTest

* more cleanup...

* refactor CdsServiceRequestJsonDeserializer

* apply suggestion

* spotless....

* fix checkstyle...

* spotless

* split custom extension classes into its own package for tests

* add changelog

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6023-fix-allowing-arbitrary-json-for-cds-hooks-extensions.yaml

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

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/7_4_0/6023-fix-allowing-arbitrary-json-for-cds-hooks-extensions.yaml

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

* Update hapi-fhir-server-cds-hooks/src/main/java/ca/uhn/hapi/fhir/cdshooks/api/json/CdsHooksExtension.java

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

* fix comments

* rename

* fix the comment

* spotless

* version bump to 7.3.9-SNAPSHOT

---------

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2024-07-09 09:45:21 -04:00
Tadgh 3ffb695b6b
increase string value storage length to accomodate larger contains searches (#6037)
* wip test writing

* add test to ES suite as well

* wip

* Changelog

* spotless

* Address review comments

* Test corrections

* Fixes for tests

* Fix changelog
2024-07-09 06:54:24 +00:00