https://github.com/jamesagnew/hapi-fhir

sort by:
Revision Author Date Message Commit Date
a963516 Add retry interceptor to unit test and pass in X-Retry-On-Version-Conflict HTTP header to system request. 03 November 2022, 21:15:22 UTC
d061a40 Houston we have a red 03 November 2022, 17:59:50 UTC
a3e56ed Add unit test for concurrent deletes. 03 November 2022, 17:22:52 UTC
f68d905 4207-getpagesoffset-set-to-total-number-of-resources-results-in-inconsistent-amount-of-entries-when-requests-are-sent-consecutively (#4209) * Added test * Added solution * Changelog * Changes made based on comments 02 November 2022, 01:25:21 UTC
a018360 Ks 20221031 migration lock (#4224) * started design * complete with tests * changelog * cleanup * tyop Co-authored-by: Ken Stevens <ken@smilecdr.com> 01 November 2022, 14:38:30 UTC
6a657d4 Fix UrlUtil.unescape() by not escaping "+" to " " if this is an "application/..." _outputFormat. (#4220) * First commit: Failing unit test and a TODO with a vague idea of where the bug happens. * Don't escape "+" in a URL GET parameter if it starts with "application". * Remove unnecessary TODO. * Add changelog. * Code review feedback on naming. Also, make logic more robust by putting plus and should escape boolean && in parens. 31 October 2022, 18:49:43 UTC
92d7126 pin okio-jvm for kotlin vuln (#4216) 31 October 2022, 12:28:09 UTC
2ff11d8 Rel 6 1 3 mergeback (#4215) * Bump for CVE (#3856) * Bump for CVE * Bump spring-data version * Fix compile * Cut over to spring bom * Bump to RC1 * remove RC * do not contrain reindex for common SP updates (#3876) * only fast-track jobs with exactly one chunk (#3879) * Fix illegalstateexception when an exception is thrown during stream response (#3882) * Finish up changelog, minor refactor * reset buffer only * Hack for some replacements * Failure handling * wip * Fixed the issue (#3845) * Fixed the issue * Changelog modification * Changelog modification * Implemented seventh character extended code and the corresponding dis… (#3709) * Implemented seventh character extended code and the corresponding display * Modifications * Changes on previous test according to modifications made in ICD10-CM XML file * Subscription sending delete events being skipped (#3888) * fixed bug and added test * refactor * Update for CVE (#3895) * updated pointcuts to work as intended (#3903) * updated pointcuts to work as intended * added changelog * review fixes Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * 3904 during $delete expunge job hibernate search indexed documents are left orphaned (#3905) * Add test and implementation * Add changelog * 3899 code in limits (#3901) * Add implementation, changelog, test * Update hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> * 3884 overlapping searchparameter undetected rel 6 1 (#3909) * Applying all changes from previous dev branch to current one pointing to rel_6_1 * Fixing merge conflict related to Msg.code value. * Fixing Msg.code value. * Making checkstyle happy. * Making sure that all tests are passing. * Passing all tests after fixing Msg.code * Passing all tests. Co-authored-by: peartree <etienne.poirier@smilecdr.com> * 3745 - fixed NPE for bundle with duplicate conditional create resourc… (#3746) * 3745 - fixed NPE for bundle with duplicate conditional create resources and a conditional delete * created unit test for skip of delete operation while processing duplicating create entries * moved unit test to FhirSystemDaoR4Test * 3379 mdm fixes (#3906) * added MdmLinkCreateSvcimplTest * fixed creating mdm-link not setting the resource type correctly * fixed a bug where ResourcePersistenceId was being duplicated instead of passed on * Update hapi-fhir-jpaserver-mdm/src/test/java/ca/uhn/fhir/jpa/mdm/svc/MdmLinkCreateSvcImplTest.java Change order of tests such that assertEquals takes expected value then actual value Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> * added changelog, also changed a setup function in test to beforeeach Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> * Fix to the issue (#3855) * Fix to the issue * Progress * fixed the issue * Addressing suggestions * add response status code to MethodOutcome * Addressing suggestions Co-authored-by: Ken Stevens <ken@smilecdr.com> * Fix for caching appearing broken in batch2 for bulkexport jobs (#3912) * Respect caching in bullk export, fix bug with completed date on empty jobs * add changelog * Add impl * Add breaking test * Complete failing test * more broken tests * Fix more tests' * Fix paging bug * Fix another brittle test * 3915 do not collapse rules with filters (#3916) * do not attempt to merge compartment permissions with filters * changelog * Rename to IT for concurrency problems Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Version bump * fix $mdm-submit output (#3917) Co-authored-by: Ken Stevens <ken@smilecdr.com> * Gl3407 bundle offset size (#3918) * begin with failing test * fixed * change log * rollback default count change and corresponding comments Co-authored-by: Ken Stevens <ken@smilecdr.com> * Offset interceptor now only works for external calls * Initialize some beans (esp interceptors) later in the boot process so they don't slow down startup. * do not reindex searchparam jobs on startup * Fix oracle non-enterprise attempting online index add (#3925) * 3922 delete expunge large dataset (#3923) * lower batchsize of delete requests so that we do not get sql exceptions * blah * fix test * updated tests to not fail Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * add index * Fix up colun grab * Revert offset mode change * Revert fix for null/system request details checks for reindex purposes * Fix bug and add test for SP Validating Interceptor (#3930) * wip * Fix uptests * Fix index online test * Fix SP validating interceptor logic * Updating version to: 6.1.1 post release. * fix compile error * Deploy to sonatype (#3934) * adding sonatype profile to checkstyle module * adding sonatype profile to tinder module * adding sonatype profile to base pom * adding final deployToSonatype profile * wip * Revert version enum * Updating version to: 6.1.1 post release. * Add test, changelog, and implementation * Add backport info * Create failing test * Implemented the fix, fixed existing unit tests * added changelog * added test case for no filter, exclude 1 patient * wip * Add backport info * Add info of new version * Updating version to: 6.1.2 post release. * bump info and backport for 6.1.2 * Bump for hapi * Implement bug fixes, add new tests (#4022) * Implement bug fixes, add new tests * tidy * Tidy * refactor for cleaning * More tidying * Lower logging * Split into nested tests, rename, add todos * Typo * Code review * add backport info * Updating version to: 6.1.3 post release. * Updating version to: 6.1.3 post release. * removed duplicate mention of ver 6.1.3 in versionEnum * backport pr 4101 * mdm message key (#4111) * begin with failing test * fixed 2 tests * fix tests * fix tests * change log Co-authored-by: Ken Stevens <ken@smilecdr.com> * backport 6.1.3 docs changes * fixed typo on doc backport message * fix test breaking * Updating version to: 6.1.4 post release. * wip Co-authored-by: JasonRoberts-smile <85363818+JasonRoberts-smile@users.noreply.github.com> Co-authored-by: Qingyixia <106992634+Qingyixia@users.noreply.github.com> Co-authored-by: TipzCM <leif.stawnyczy@gmail.com> Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Etienne Poirier <33007955+epeartree@users.noreply.github.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> Co-authored-by: kateryna-mironova <107507153+kateryna-mironova@users.noreply.github.com> Co-authored-by: longma1 <32119004+longma1@users.noreply.github.com> Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: markiantorno <markiantorno@gmail.com> Co-authored-by: Steven Li <steven@smilecdr.com> 31 October 2022, 12:27:15 UTC
bd28730 improved logging (#4217) Co-authored-by: Ken Stevens <ken@smilecdr.com> 30 October 2022, 18:38:25 UTC
c6c0952 jm wrong bundle entry url (#4213) * Bug test * here you go * Generate relative URIs for bundle entry.request.url, as specified * Point jira issue in changelog * Adjust tests to fixes Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com> 28 October 2022, 20:55:39 UTC
7a39f8c Make reference extractor more reusable (#4205) * Refactor * Make reference extractor more reusable * Test fix * Test fix * Headers * Small refactor 28 October 2022, 01:31:39 UTC
d8dd42c added aggregate function to the sort columns (#4208) * added aggregate function to the sort columns, as the sql will not work on other dbs other than H2 that use order by * rename parameter to make it more meaningful * extract parameter to a field Co-authored-by: Steven Li <steven@smilecdr.com> 27 October 2022, 19:53:07 UTC
0a160a3 4175-$validate-operation-on-a-resource-update-results-in-an-error-stating-resource-has-no-id (#4181) * Added unit test + solution * Changelog * Cleanup * changelog filename 26 October 2022, 17:29:28 UTC
296ddb8 CVE Fixes (#4200) * CVEs * bump snakeyaml again * Add updates to changes.yaml 26 October 2022, 17:17:11 UTC
78ce2a6 4182 convert $mdm submit to a batch job (#4188) * Changelog * Wip implementation * Wip * wip * wip * Fix validator * Fix up implementation * tidfy * TIdy up tests * Add some docs * Add changelog info: * Tidy up self review * License files * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa_mdm/mdm_operations.md Co-authored-by: Ken Stevens <khstevens@gmail.com> * Review changes * fixes * add new method * Update tests * Add batch size parameter Co-authored-by: Ken Stevens <khstevens@gmail.com> 25 October 2022, 19:02:04 UTC
fb3512d Deprecate dao methods that do not take a RequestDetails parameter (#4199) Co-authored-by: Ken Stevens <ken@smilecdr.com> 25 October 2022, 18:01:24 UTC
e7ac40d Add support for clustered database migrations (#4177) * initial attempt * cleanup * add other databases * fix test * fix dangling connection * the HapiMigratorTest passes when all the tests are run, but not individual tests. Methinks the locking just isn't working. * omg it was autoCommit all along ugh! it works now * cleanup * cleanup * cleanup * cleanup * cleanup * documentation * javadoc * cleanup * final cleanup * simple solution is working * fix tests * final fixmes. this is actually a merge candidate * pre-review cleanup * changelog * pre-review cleanup * pre-review cleanup * fix test * review feedback Co-authored-by: Ken Stevens <ken@smilecdr.com> 25 October 2022, 15:20:31 UTC
1190eb9 4197 - Fixed header on the server_jpa/elastic docs page. (#4198) 25 October 2022, 14:53:26 UTC
3d9dfd4 Fix ForcedId criteria query (#4195) * Fix ForcedId criteria query * wip parameterizing tests * Refactor almost all APIs to use ResourcePersistentId. Convert to fhir resource id when necessary (at search time) * run tests in ANY id mode * Test fix Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com> Co-authored-by: jamesagnew <jamesagnew@gmail.com> 25 October 2022, 13:56:08 UTC
e1e33df 4190 offset count and total are wrong for some queries offset produces short pages and repeats results on different pages (#4193) * created failing test * implemented the fix, added more tests * added change log Co-authored-by: Steven Li <steven@smilecdr.com> 25 October 2022, 13:42:54 UTC
51627fb fix generate-multi-file and generate-single-file goals with R5 (#4134) * fix generate-multi-file and generate-single-file goals with R5 structures * clean up Javadoc & fix R5 issue when generating for all resources 24 October 2022, 22:42:29 UTC
5328951 Version Bump a few dependencies (#4191) * Version bumps * Test fixes * Test fix * Test fix 24 October 2022, 22:20:39 UTC
cbd65c7 Add remove method to jobregistry (#4187) * Add remove method to jobregistry * Add changelog 24 October 2022, 21:07:32 UTC
fb6bf5b Attribution (#4183) 24 October 2022, 11:57:54 UTC
a824ba2 package loader npe (#4186) * begin with failing test * fixed * change log * change log Co-authored-by: Ken Stevens <ken@smilecdr.com> 22 October 2022, 16:16:27 UTC
929767a Change to a minimal first pre-fetch to avoid latency on the async path. (#4174) * Change to a minimal first pre-fetch to avoid latency on the async path. The "async" path is now synchronous, and was causing latency for first page by loading 500 results. We avoid pre-fetch on the first page, and only pre-fetch after users fetch the second page. * Fix a nasty bug continuing a pre-fetched search. * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/3664-shorten-first-prefetch.yaml * Patch up tests that assumed 500 pre-fetch first step 21 October 2022, 20:45:30 UTC
2830792 Issue 3992 elastic search mapper parsing exception when uploading loinc terminology (#4141) * Revert TermConceptProperty indexing to not-nested type to avoid hitting elastic default maximums and fix regexp issue which was main reason to change indexing way in the first place. * Add changelog * Document that terminology reindexing is required. * Implement revision suggestions. Fix file name typo. * Adjust and enable test created to reproduce bug Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 21 October 2022, 20:19:45 UTC
1dba939 #4078 Fix BinaryAccessProvider empty stream check (#4170) * Fix #4078 by using theRequestDetails.loadRequestContents() to check if the input stream is empty or not * Remove unused imports 21 October 2022, 20:08:21 UTC
b04f082 Move to correct folder (#4176) 21 October 2022, 02:28:20 UTC
a71b8fa Add R4B Support (#4150) * Add r4b stuff * Work on R4B * Core version bump * Revert some changes * Add R4B * Docs * Test fixes * Work on R4B * Tests passgin * Add config * Work on merging * Work * Work * Work * Test fix * Fixes * Test fixes * Test fix * Work * Work * Fixes * Test fixes * Fixes * Test fix * Test fix * Test fix * Version bump * Test fix * Test fix * ompile fixes * Fix * Resolve build warnings * Updates * Test fixes * Fix docs 20 October 2022, 20:57:06 UTC
c831266 Set batch export job results count to number of resources processed instead of 0. (#4172) * Add count to batch export admin page results and new add new unit test. * Fix failing unit test in WriteBinaryStepTest. * Add changelog. * Small changelog fix. 20 October 2022, 18:27:01 UTC
0c5b64c Change IG loader check for existence of SearchParameter resources to use same strategy as validator to avoid first one not finding resource and validator finding it later, producing a duplication exception. (#4164) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 20 October 2022, 17:47:18 UTC
4200ccf DatabaseBlobBinaryStorage service will only store blob up to Integer.MAX_VALUE (#4167) * Modification of entity to support long. * Adding Changelog. Co-authored-by: peartree <etienne.poirier@smilecdr.com> 19 October 2022, 21:06:51 UTC
0798ab3 ResourceIndexedSearchParamString: equals() and hashCode(): Add normalized String and use same fields for both calls. (#4148) * Fix hashCode() to reflect equals() contract in ResourceIndexedSearchParamString. Write ResourceIndexedSearchParamStringTest with new tests for normalized hashCode. * Add un-hashed normalized value to ResourceIndexedSearchParamString equals() and hashCode() with comments about potential performance implications. * Add changelog. Remove TODOs. * Inline hashCode. * Fix comment and issue number and rename changelog. 19 October 2022, 18:13:21 UTC
5a31ce0 disable batch job reuse (#4155) 19 October 2022, 15:43:51 UTC
a6ed393 4140-upload-terminology-does-not-allow-snomed-ct-canada-edition-zip-file-to-load-due-to-a-different-file-name (#4144) * Test + Implementation of the Solution * Changes made based on comments 19 October 2022, 15:33:21 UTC
69d55b7 3052 Changed IBinaryStorageSvc MaximumBinarySize from int to long. (#4123) * 3052 Changed IBinaryStorageSvc MaximumBinarySize from int to long. * 3052 Added changelog * 3052 Bumped version * 3052 Remove mysterious +1 on maximum binary size causing overflow. * Bumping version to 6.2.0-PRE16-SNAPSHOT * Adding + 1L as original implementation. * Getting all tests to pass dealing with + 1L. * Getting all tests to pass dealing with + 1L. * Adding migration definition and removing unnecessary comment. * Preventing register overflow when setting maxBinaryStorage. * Mering relevant test. * Fixing typo in migration script Co-authored-by: kylejule <kyle.jule@smilecdr.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> 19 October 2022, 10:09:02 UTC
dac266b Extend $member match to validate matched patient (#4136) * added validation for family name and birthdate * making changes to tests * update patient identifer return and validatePatientMember * update patient identifer type for test * update method name * update test comment 18 October 2022, 18:19:03 UTC
bd22b8d Issue 4145 reindex terminology command is not documented (#4149) * Add documentation for reindex-terminology command * Fix fix type Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 17 October 2022, 22:07:33 UTC
f6fe8df Add documentation for reindex-terminology command (#4146) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 17 October 2022, 17:40:10 UTC
a5fb87b 4142 resource contents are written to logs on subscription failure (#4143) * Add test reproducing the issue. * Adding solution and changelog. * Modification following code review. Co-authored-by: peartree <etienne.poirier@smilecdr.com> 17 October 2022, 15:09:17 UTC
26ef32c Fix 2 issues with has reverse chaining (#4139) * Fix 2 issues with chains * Add changelog * Cleanup * Add comment * Cleanup 14 October 2022, 20:46:18 UTC
f00f65a Issue 4052 addition of properties to the loinc terminology uploading process (#4135) * Allow for easier override of DataSource and dialect * Add debug logging * Load AskAtOrderEntry and AssociatedObservations properties from loinc.cvs. Add changelog. * Add disabled sandbox test used to develop loinc upload modifications * Add flags to easily select running mode * Add validation counters and use gziped csv input to save space in repo * Implement revision suggestions. As test is a sandbox remove large files and add readme and test notes to locate them before running the test. * Add new CODING property handler to run after all TermConcepts are created, to have them accessible for extracting display value * Add small test file to ease setup Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 14 October 2022, 12:12:12 UTC
422ef87 Standardize on one Transactional annotation (#4130) * Standardize on one Transactional annotation * Add changelog * Disable checkstyle rule * Fix up transactions * Test fixes * Test cleanup * License headers * One more dep bump * Resolve commit issue * Test fixes * Test fix * Dep bump * Fix * Fix test * Version bump * Test fixes 13 October 2022, 20:26:11 UTC
2e6b3d1 4017 creating a searchparameter with an expression referencing metasecurity will return error hapi 1118 (#4037) * Adding initial test reproducing the issue. * some comments and small refactoring to run pipeline to see the extent of the damage that this can cause. * Parsing dstu3 expression with FHIRpath parser * fixed code. * omitting searchParameter expression(xpath) validation for DSTU2 * Added test for search parameter with many expressions * changed deprecated method. * removed and modified custom search parameters tests for DSTU3 and DSTU2. * fixed code * Added change log * Test testIndexFailsIfInvalidSearchParameterExists() is back. * Update createResourceSearchParameter_withExpressionMetaSecurity_succeeds() test * Update createResourceSearchParameter_withExpressionMetaSecurity_succeeds() test * Refactoring if statement and exception message. * Refactoring tests and rewording changelog. * Fixing tests. * Fixing more tests. * Addressing comments from first code review. * Fixing issue number. Co-authored-by: peartree <etienne.poirier@smilecdr.com> 13 October 2022, 15:05:04 UTC
4cebcfb 4115 Combining 'indexMissingFields' and 'advancedHSearchIndexing' functionalities will prevent creating a resource (#4122) * Added Test * Added Integration Test * Made changes based on comments * Implemented solution * Implemented solution * Debug * Changelog * Changes made based on comments * Changelog * Made changes based on comments * Made changes based on comments Co-authored-by: Karneet Kaur <karneet.kaur@smilecdr.com> 12 October 2022, 16:16:44 UTC
2de9b5a added attribute to Operation annotation (#4120) * added attribute to Operation annotation * add find operation id * update readOperationDefinition method * add example to canonicalUrl * adding more examples 12 October 2022, 14:06:22 UTC
9d7829a Implemented a new setting for Bulk Export that changes how many resources are stored in each binary file (#4119) * Implemented a new setting for Bulk Export that changes how many resources are stored in each binary file * Addressing suggestions * Fixing test * Fixing test 12 October 2022, 14:03:54 UTC
379220f removed link (#4132) Co-authored-by: Anna <anna.lin@smilecdr.com> 12 October 2022, 12:13:17 UTC
b74e121 4098 Resultset missing resources when querying with _sort result parameter (#4099) * Add broken test * Finished writing test * Add in parameterized test to show it works with one * Adding extra test asserting sort results when providing short chain * Providing fix to search with sorting.4098-sort-missing-parameter * Adding ChangeLog. * Improving, cleaning up and commenting tests. Co-authored-by: peartree <etienne.poirier@smilecdr.com> 12 October 2022, 12:06:46 UTC
108e357 Preserve tags on delete (#4128) * Preserve tags on delete * Add changelog * Add changelog * Test fix * Build fix * Address review comments 12 October 2022, 11:01:47 UTC
5831cbe Concurrent cascade delete operations leading to confusing errors (#4126) * Add unit tests and supporting classes from gitlab issue. * Commit with changes thus far to be reviewed. Namely, add savepoint capabilities to HapiTransactionService, inject HapiTransactionService into CascadingDeleteInterceptor, add savepoint capabilities to the TransactionDetails, and catch an Exception in BaseHapiFhirResourceDao.delete() then rollback to the checkpoint. * Fix compile error. * hapi transaction service test * hapi transaction service test * hapi transaction service test * First draft of RetryTemplate and flush() logic. Try unit testing with PointcutLatch. * hapi transaction service test * Latest changes including moving RetryTemplate, cleaning up unit tests. * First attempt at correct design. Fix compile errors. * Add failed rollback savepoint test. * fix propogation * interesting test failure in SafeDeleterTest * Latest code * move delete * test passing * all tests pass * yay we're done just cleanup * First round of cleanup: Get rid of all exploratory logging, remove unneeded dependencies, move creation of RetryTemplate to SafeDeleter. * More cleanup. Add changelog. * Bump to 6.2.0-PRE13-SNAPSHOT. * Code review feedback: Refactor SafeDeleter to a service and bean. Add comments. * Code review feedback: Comments on unit test assertions. * Code review feedback: Rename SafeDeleterSvc to ThreadSafeResourceDeleterSvc. Add javadoc. Add logger to DelayListener. Remove useless commented out code. * Fix unit test failure in CascadingDeleteInterceptorTest. Co-authored-by: Ken Stevens <ken@smilecdr.com> 11 October 2022, 20:48:01 UTC
26fe5e6 Interceptor improvements (#4125) * Interceptor improvements * Add changelogs 09 October 2022, 19:02:12 UTC
c5e1eff 3240 Added test case. Currently does not reproduce bug. (#4108) * 3240 Added test case. Currently does not reproduce bug. * 3552 Fixed test case. * 3552 Added StrictErrorHandler validation before applying patch. * 3552 Use logger instead of sysout. * 3552 Use try blocks. * 3552 Better test name. Co-authored-by: kylejule <kyle.jule@smilecdr.com> 07 October 2022, 13:50:49 UTC
18093bf Hl7 core bump (#4110) * Bump to 5.6.67 * wip * wip * Remove capabilitystatement2 * Update fhirversion.properties * Remove xpathusage for r5 * add new structure defs 06 October 2022, 17:50:45 UTC
44ed3ee mdm message key (#4111) * begin with failing test * fixed 2 tests * fix tests * fix tests * change log Co-authored-by: Ken Stevens <ken@smilecdr.com> 05 October 2022, 00:37:40 UTC
40163f7 Ks 20220916 remove flyway (#4040) * removed flyway, started coding persistence * started wiring up new dao service * replace jpa with sqlbuilder * down to 16 failed tests * remove outOfOrder test. We no longer support validating order. * Removed noFlyway mode. It is no longer a thing. * merge migrator * down to 1 failing test * cleanup * removed unused noflyway cli arguments * cleanup * cleanup * cleanup * cleanup * create MigrationTaskList to replace the List<BaseTask> that gets passed around a lot. This allows us to add a bunch of behaviour to that as a first-order thing * fix test * fix test * improve migration table detection to use the catalogue * Msg.code() * cleanup * save version in same format as flyway * cleanup * add migration result to migration result class * failed migrations stay in the table and don't really affect anything. * change log * docs * ugh Flyway requires lower-case column names * integration test fixes * log * fix oracle issue * lowercase tablenames for postgres. fussy fussy! * Revert "lowercase tablenames for postgres. fussy fussy!" This reverts commit 92c9cb263b90cff2190cc327fab051dc3bb2f83f. * revert to capital table names. surround table name by quotes for Postgres. * added log message before executing find all query * changed log message from info to debug * javadoc * pom cleanup * review feedback * Update hapi-fhir-sql-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/MigrationTaskList.java Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> * review feedback * review feedback. Use prepared statement. * Change installedOn insert from timestamp to date * Change installedOn column type from timestamp to date * bump hapi version * fix poms * fix poms and cdr compile * add exclusions to clean up build Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: michaelabuckley <michaelabuckley@gmail.com> 04 October 2022, 02:40:09 UTC
66baa82 Fix bug in history search (#4009) * add failing test * Fix history search bug and add tests for two more scenarios * Fix history search bug and add tests for two more scenarios * - added failing test condition * Fix history search bug and add tests for two more scenarios * Fix build test failures * Fix build test failures * Add extra verifications for scenarios of _since * Refactor dao.history interface to add overload method and shall come back to remove old method once cdr is refactored. * Update with new hapi interface * Add depreciate comment * Add depreciate comment * Version bump to mvn 6.2.0-PRE11-SNAPSHOT Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com> 03 October 2022, 13:00:41 UTC
43ed8ca Issue 4052 addition of properties to the loinc terminology uploading process (#4100) * Allow for easier override of DataSource and dialect * Add debug logging * Load AskAtOrderEntry and AssociatedObservations properties from loinc.cvs. Add changelog. * Add disabled sandbox test used to develop loinc upload modifications * Add flags to easily select running mode * Add validation counters and use gziped csv input to save space in repo * Implement revision suggestions. As test is a sandbox remove large files and add readme and test notes to locate them before running the test. Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 03 October 2022, 12:48:40 UTC
26756a4 add message key to all message types (#4101) * add message key to all message types * move test Co-authored-by: Ken Stevens <ken@smilecdr.com> 01 October 2022, 15:36:04 UTC
e9a855d remove spring batch (#4064) * remove spring batch it compiles expect test failures * fix test transaction manager bean name (wow that was quite the hunt the wumpus!) * fix test and fix build * fix test and fix build * fix test * remove spring batch schema initialization * bump hapi version * fix schema migrator * bump to PRE-10 * merge master * change logs Co-authored-by: Ken Stevens <ken@smilecdr.com> 30 September 2022, 17:18:48 UTC
b472c4b 4083 batch permissions (#4095) * Move threadpool factory into a bean * Move threadpool factory into a bean * change return type * Add license files * Version bump * Fix test 29 September 2022, 17:24:05 UTC
fc82ed4 One more tweak to #4093 (#4094) * One more tweak to #4093 * Add changelog 28 September 2022, 16:46:00 UTC
31e13e6 Upload Terminology with Endpoint Validation (#4035) * add failing test * Fix doc upload issue * Add change log yaml file * update due to review from Nathan Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com> Co-authored-by: weiping202209 <weiping.yang@smilecdr.com> 28 September 2022, 15:17:01 UTC
e4a2285 Make sure to not mix resource types in bulk export (#4093) * Make sure to not mix resource types in bulk export * Avoid dupes * Add test 28 September 2022, 15:16:15 UTC
d63d71e add remove method to field list mutator (#4088) * add remove method to field list mutator * add test and Msg.code * test passes Co-authored-by: Ken Stevens <ken@smilecdr.com> 28 September 2022, 01:37:51 UTC
bcdbb51 Fix hashCode() to reflect the equals() contract by passing in getValu… (#4086) * Fix hashCode() to reflect the equals() contract by passing in getValue() instead of getHashIdentity(). Fix bug with DaoSearchParamSynchronizer setting wrong count on AddRemoveCount.addToCount(). * Add hashIdentity to both equals and hashCode. Rename unit test to be more descriptive. * Add changelog and fix changelog for previous MR. * Add newline to changelog file. 27 September 2022, 19:39:10 UTC
9e1120a 4080 support onc requirements for group bulk export (#4081) * added failing tests * added include to bulk export processor, added support for different resource types in bulk export fetch id step * added changelog * fixed duplication issue, and added null check Co-authored-by: Steven Li <steven@smilecdr.com> 27 September 2022, 14:51:43 UTC
f06f9dc 4084 error segment of bulk export job poll status is missing (#4085) * changelog * Change serialization rules * Always populate error field even if no errors 27 September 2022, 01:16:33 UTC
96b9215 Implement composite search parameters in HibernateSearch for JPA (#3839) Implement composite search parameters in Lucene/Elasticsearch Hibernate Search indexing Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 27 September 2022, 00:20:06 UTC
641007f Fix DSTU2 conformance statement (#4082) * Fix DSTU2 conformance statement * Add changelog and test 26 September 2022, 19:33:12 UTC
3435806 4058: Fix JpaPersistedResourceValidationSupport to search for resources that it currently doesn't handle (#4062) * Add failing and passing tests with bundle JSONs for each scenario based on pared down versions of the following JSON bundle: https://smilecdr.com/docs/fhir_repository/clinical_quality_language/measure-bundle-example.json.html * Add experimental code to handle cases of "Library" and "Measure". Add a measure report to measure unit test with new JSON with a MeasureReport to Measure resource (can't make it pass yet). * Refine case statements for JpaPersistedResourceValidationSupport. MeasureReport test passes if -ea is omitted from run configuration. * Add changelog. Remove TODOs from validator. * Remove erroneous whitespace chance. * Ken feedback: Handle SearchParameters from the default case casting a wider net than just Library and Resource. Assume all CanonicalType inputs to the switch statement have a URL. * Get rid of TODO since it's not relevant. * Disable test with only MeasureReport and Measure. Fix case issue with filenames that was only discovered by running the github pipeline. * Add more context to the Disabled text, including a reference to a new issue: https://github.com/hapifhir/org.hl7.fhir.core/issues/930. * Add more context to the Disabled text, including a reference to a new issue: https://github.com/hapifhir/org.hl7.fhir.core/issues/930. 26 September 2022, 14:08:04 UTC
389bdce fixed bug (#4069) Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> 26 September 2022, 13:43:11 UTC
917cf8d Remove ActionRequestDetails (#3527) * Add test * Add test * Start removing unneeded things * Fixes * Add changelog * Test fix * Address LGTM issues * Resolve fixme * Address review comment * Add changelog * Update doc * Test fixes 25 September 2022, 21:29:08 UTC
3bab354 Reduce SQL queries for _include (#4007) * Rework includes processing for reuse * Optimize include * Test fixes * Bump version down * Fixed * Update * Test fixes * Start to add javadoc * Test fixes 25 September 2022, 19:22:06 UTC
3935b78 Add operation blocking interceptor (#4057) * Add operation blocking interceptor * Work on interceptor * Work on interceptor * FIx up docs * Address CVE * Tweak changelog * Address review comments 25 September 2022, 18:19:17 UTC
2770295 Add MDM Expansion Docs (#4068) * Add docs * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa_mdm/mdm_expansion.md Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa_mdm/mdm_expansion.md Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> 24 September 2022, 01:40:13 UTC
ee1cb4e Cleanup and utilities from composite work (#4066) Utilities and cleanup from composite work #4066 24 September 2022, 00:47:25 UTC
6f80206 Fix transactional issue in everything operation (#4063) * Fix transactional issue in everything operation * Add license files * Add changelog 23 September 2022, 15:33:08 UTC
ac673b5 changed the comment in Msg class (#4061) Co-authored-by: Steven Li <steven@smilecdr.com> 22 September 2022, 18:00:03 UTC
31462c0 Revert "changed the comment in Msg class, and added changelog (#4049)" (#4059) This reverts commit 612c8a730f74cac6d06cd1a9c89172c6bca132c6. 22 September 2022, 15:52:23 UTC
612c8a7 changed the comment in Msg class, and added changelog (#4049) * changed the comment in Msg class, and added changelog * removed log files, as this change is not client related Co-authored-by: Steven Li <steven@smilecdr.com> 22 September 2022, 14:08:26 UTC
f862098 Add test and changelog (#4039) * Add test and changelog * Fix up tests 22 September 2022, 05:15:05 UTC
5a97864 Add changelog, test, and implementation (#4055) 22 September 2022, 04:18:12 UTC
201cd73 changing fetch depth to 1 (#4056) 22 September 2022, 00:08:49 UTC
27ecba7 Change hsearch to consider unquoted parameter strings as prefix match (#4045) * Change hsearch to consider unquoted parameter strings as prefix match * Adjust test according to spec (code fixed before). * Add :text handling to StringParam * Adjust StringParam tokenization to spec. Enable StringParam tests. Add changelog. * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/4034-align-text-query-syntax-with-hapi-string-search.yaml Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> * Avoid changing simple query parameters. Implement suggested tests. * Consider a few Lucene Simple Query Syntax special cases * Add search syntax changes to documentation and test to make sure samples are good. Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> 21 September 2022, 20:09:09 UTC
392bfb7 Fix content negotiation on binary streaming (#4053) * Fix content negotiation on binary streaming * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/4051-content-type-negotiation-binaries.yaml Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> * Tidy logic * Tidy logic * Naming * Wip Co-authored-by: michaelabuckley <michael.buckley@smilecdr.com> 21 September 2022, 19:05:35 UTC
dbe52b4 fix-matchers-not-contains-in-asserts (#3913) * test * replace not(contains()) * make a util class to replace not(hasItems()) and not(containsInAnyOrder()) * replace not(hasItems()) and not(containsInAnyOrder()) * add javadocs to new util class * test for util class * Addressing comments from code review. * Adding static import. Co-authored-by: Justin_Dar <justin.dar@smilecdr.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> 21 September 2022, 15:54:27 UTC
3349ad8 3929 batch2 jobs file fetching step strict policy for response header content type (#3945) * Adding failing tests cases. * What was done: -Accepting text/plain and application/json as import response content type. -Added change log. * Fixed NDJSON EncodingEnum * Added content type application/json+fhir to the test * Fixed code * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/3929-batch2-jobs-file-fetching-step-strict-policy-for-response-header-content-type.yaml Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/3929-batch2-jobs-file-fetching-step-strict-policy-for-response-header-content-type.yaml Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_2_0/3929-batch2-jobs-file-fetching-step-strict-policy-for-response-header-content-type.yaml Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Changed message * Fixed code Co-authored-by: peartree <etienne.poirier@smilecdr.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com> 21 September 2022, 15:29:32 UTC
3b78102 4030 bulk export to support fhir basepatientid$export endpoint (#4032) * Refactored test helper method to be more generic, added new failing test for feature, and changed BulkDataExportOptions to fix compile error * added field to all objects needed in the bulk export pipeline for adding patient id, added new operation for the feature * added changelog * added support for patient parameter to patient export, changed patient id to a list to match the requirements for the patient parameter, added test for multiple id patient export * refactored methods, added new changes to changelog * code review changes * fix test error Co-authored-by: Steven Li <steven@smilecdr.com> 20 September 2022, 17:42:55 UTC
4d16a10 SMILE-3459 Implemented -l parameter in validator. (#3983) * SMILE-3459 Implemented -l parameter in validator. Added SnapshotGeneratingValidationSupport to R4 support chain. * SMILE-3459 Removed failing test that I added. * Revert "SMILE-3459 Removed failing test that I added." This reverts commit d11abc7ad5bc0bc5fa149e83670621959b03a7b9. * SMILE-3459 Added test cases for loading local R4 profile. * SMILE-3459 Added when clause to test names. * SMILE-3459 WIP Logging assert isn't working. * - changes to test for logging * - change logging level to error * - capture all logging events in tests * SMILE-3459 Ensure validation error is logged when resource doesn't comply with profile. * SMILE-3459 Added changelog. * SMILE-3459 Made ValidateCommandTest less brittle. * SMILE-3459 Changed LocalFileValidationSupport to support all resource types. * SMILE-3459 Added LocalFileValidationSupportTest * SMILE-3459 Created ValidationSupportChainCreator. * SMILE-3459 Added new Msg.code for local profile load failure. Co-authored-by: kylejule <kyle.jule@smilecdr.com> Co-authored-by: nathaniel.doef <nathaniel.doef@smilecdr.com> 20 September 2022, 17:36:41 UTC
d1f988f Skip resource updating completely if found in package load. (#4036) * add ability to skip loading package resources that already exists, to avoid reindex when loading IGs * Add a test for validating no updates or creates are called on anything but binaries * Add changelog Co-authored-by: Craig McClendon <craig.mcclendon@accenture.com> 20 September 2022, 15:45:37 UTC
97b8259 Add :text handling to StringParam (#4047) * Add :text handling to StringParam * Return qualifier when set. Add changelog. * Fix changelog file name (duhhh) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 20 September 2022, 15:36:37 UTC
14253dd 3960 when creating a resource patient where patientmetasource is provided with a hash the hash value is overwritten (#3965) * Adding failing test. * What was done: -Meta source id is not replaced if provided. -Added change log. * Fixed code * More tests for meta source * Overwriting meta source can be configured. * Test naming convention uplift and renaming of overwrite flag along with setter/getter * Fixed when the source did not return if there was no resourceID * Test naming convention uplift and renaming of overwrite flag along with setter/getter * WIP in getting search on _source to be returning the correct number of patients. * Custom requestId now stored on its own column * Simplified getRequestId method in BaseHapiFhirDao * Simplified getRequestId method in BaseHapiFhirDao * An unused variable has been removed Co-authored-by: peartree <etienne.poirier@smilecdr.com> 19 September 2022, 14:17:09 UTC
c3339f3 Rel 6 1 2 mergeback (#4033) * Bump for CVE (#3856) * Bump for CVE * Bump spring-data version * Fix compile * Cut over to spring bom * Bump to RC1 * remove RC * do not contrain reindex for common SP updates (#3876) * only fast-track jobs with exactly one chunk (#3879) * Fix illegalstateexception when an exception is thrown during stream response (#3882) * Finish up changelog, minor refactor * reset buffer only * Hack for some replacements * Failure handling * wip * Fixed the issue (#3845) * Fixed the issue * Changelog modification * Changelog modification * Implemented seventh character extended code and the corresponding dis… (#3709) * Implemented seventh character extended code and the corresponding display * Modifications * Changes on previous test according to modifications made in ICD10-CM XML file * Subscription sending delete events being skipped (#3888) * fixed bug and added test * refactor * Update for CVE (#3895) * updated pointcuts to work as intended (#3903) * updated pointcuts to work as intended * added changelog * review fixes Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * 3904 during $delete expunge job hibernate search indexed documents are left orphaned (#3905) * Add test and implementation * Add changelog * 3899 code in limits (#3901) * Add implementation, changelog, test * Update hapi-fhir-jpaserver-test-utilities/src/test/java/ca/uhn/fhir/jpa/provider/r4/ResourceProviderR4Test.java Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Ken Stevens <khstevens@gmail.com> * 3884 overlapping searchparameter undetected rel 6 1 (#3909) * Applying all changes from previous dev branch to current one pointing to rel_6_1 * Fixing merge conflict related to Msg.code value. * Fixing Msg.code value. * Making checkstyle happy. * Making sure that all tests are passing. * Passing all tests after fixing Msg.code * Passing all tests. Co-authored-by: peartree <etienne.poirier@smilecdr.com> * 3745 - fixed NPE for bundle with duplicate conditional create resourc… (#3746) * 3745 - fixed NPE for bundle with duplicate conditional create resources and a conditional delete * created unit test for skip of delete operation while processing duplicating create entries * moved unit test to FhirSystemDaoR4Test * 3379 mdm fixes (#3906) * added MdmLinkCreateSvcimplTest * fixed creating mdm-link not setting the resource type correctly * fixed a bug where ResourcePersistenceId was being duplicated instead of passed on * Update hapi-fhir-jpaserver-mdm/src/test/java/ca/uhn/fhir/jpa/mdm/svc/MdmLinkCreateSvcImplTest.java Change order of tests such that assertEquals takes expected value then actual value Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> * added changelog, also changed a setup function in test to beforeeach Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> * Fix to the issue (#3855) * Fix to the issue * Progress * fixed the issue * Addressing suggestions * add response status code to MethodOutcome * Addressing suggestions Co-authored-by: Ken Stevens <ken@smilecdr.com> * Fix for caching appearing broken in batch2 for bulkexport jobs (#3912) * Respect caching in bullk export, fix bug with completed date on empty jobs * add changelog * Add impl * Add breaking test * Complete failing test * more broken tests * Fix more tests' * Fix paging bug * Fix another brittle test * 3915 do not collapse rules with filters (#3916) * do not attempt to merge compartment permissions with filters * changelog * Rename to IT for concurrency problems Co-authored-by: Tadgh <garygrantgraham@gmail.com> * Version bump * fix $mdm-submit output (#3917) Co-authored-by: Ken Stevens <ken@smilecdr.com> * Gl3407 bundle offset size (#3918) * begin with failing test * fixed * change log * rollback default count change and corresponding comments Co-authored-by: Ken Stevens <ken@smilecdr.com> * Offset interceptor now only works for external calls * Initialize some beans (esp interceptors) later in the boot process so they don't slow down startup. * do not reindex searchparam jobs on startup * Fix oracle non-enterprise attempting online index add (#3925) * 3922 delete expunge large dataset (#3923) * lower batchsize of delete requests so that we do not get sql exceptions * blah * fix test * updated tests to not fail Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> * add index * Fix up colun grab * Revert offset mode change * Revert fix for null/system request details checks for reindex purposes * Fix bug and add test for SP Validating Interceptor (#3930) * wip * Fix uptests * Fix index online test * Fix SP validating interceptor logic * Updating version to: 6.1.1 post release. * fix compile error * Deploy to sonatype (#3934) * adding sonatype profile to checkstyle module * adding sonatype profile to tinder module * adding sonatype profile to base pom * adding final deployToSonatype profile * wip * Revert version enum * Updating version to: 6.1.1 post release. * Add test, changelog, and implementation * Add backport info * Create failing test * Implemented the fix, fixed existing unit tests * added changelog * added test case for no filter, exclude 1 patient * wip * Add backport info * Add info of new version * Updating version to: 6.1.2 post release. * bump info and backport for 6.1.2 * Bump for hapi * Implement bug fixes, add new tests (#4022) * Implement bug fixes, add new tests * tidy * Tidy * refactor for cleaning * More tidying * Lower logging * Split into nested tests, rename, add todos * Typo * Code review * add backport info * Tidy versionenum * Fix import * Remove files that were repackaged Co-authored-by: JasonRoberts-smile <85363818+JasonRoberts-smile@users.noreply.github.com> Co-authored-by: Qingyixia <106992634+Qingyixia@users.noreply.github.com> Co-authored-by: TipzCM <leif.stawnyczy@gmail.com> Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> Co-authored-by: Ken Stevens <khstevens@gmail.com> Co-authored-by: Etienne Poirier <33007955+epeartree@users.noreply.github.com> Co-authored-by: peartree <etienne.poirier@smilecdr.com> Co-authored-by: kateryna-mironova <107507153+kateryna-mironova@users.noreply.github.com> Co-authored-by: longma1 <32119004+longma1@users.noreply.github.com> Co-authored-by: Long Ma <long@smilecdr.com> Co-authored-by: jdar8 <69840459+jdar8@users.noreply.github.com> Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: markiantorno <markiantorno@gmail.com> Co-authored-by: Steven Li <steven@smilecdr.com> 15 September 2022, 22:18:32 UTC
ae3faaf change search method for missing parameter names (#3982) * handle changing in missing parameters * added changelog * refactor step1 * refactor step 2 * refactor step 3 * refactor step 3 * more code review fixes * tra lala * tra lala * blah * more changes * review fixes * review point * more review points * blah Co-authored-by: leif stawnyczy <leifstawnyczy@leifs-MacBook-Pro.local> 14 September 2022, 13:29:16 UTC
1a3de51 removed library immunizationCQLLibrary (#4024) * removed library immunizationCQLLibrary * deleted unused resource file Co-authored-by: Anna <anna@MacBook-Pro.local> 14 September 2022, 11:55:35 UTC
8fdfcaa #3738 renamed patient parameter to subject (#4019) * #3738 renamed patient parameter to subject to be R4 compliant * #3738 removed accidental STU3 rename Co-authored-by: Anna <anna@MacBook-Pro.local> 14 September 2022, 11:54:24 UTC
6021a09 Avoid NPE when run in IJ (#4018) * Avoid NPE when run in IJ * Add changelog 13 September 2022, 20:25:15 UTC
ad57ebf Add disabled test reproducing open bug (#3994) Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> 13 September 2022, 17:56:31 UTC
back to top