Commit Graph

3143 Commits

Author SHA1 Message Date
Tadgh e540e4b0a2 Minor addition to PointcutLatch to support an inline runnable 2020-07-17 12:06:19 -07:00
Tadgh 1e12c740f6 Merge branch 'master' into batch-empi-job 2020-07-17 09:28:10 -07:00
Tadgh 92461b6346 wip 2020-07-17 09:00:15 -07:00
jamesagnew b57681da59 License header updates 2020-07-17 08:54:20 -04:00
Ken Stevens ebd6ca4b64
Empi 3 ruleset version (#1978)
* add rule version

* add rule version

* Rough in model for Golden Record.

* Test Link Rule Version

* add eid match boolean

* added new fields to EmpiLink to provide more information about how the link was created

* add logging to check an edge case

* all tests pass

* wip with failing tests

* tests pass

* FIXME

* optimize imports

* test score in provider output

* FIXME

* FIXME

* Fix jpa test app context

* fix migration string length

* review feedback param name

* review feedback javadoc

* review feedback javadoc

* bean config reorganization for cdr

* add more tests
2020-07-17 08:31:15 -04:00
Tadgh 6bb92717f5 Merge branch 'master' into batch-empi-job 2020-07-16 11:00:32 -07:00
Ibrohim Kholilul Islam 5a79304893
Implement GraphQLQueryBodyParameter and GraphQLQueryBody annotation (#1896)
* implement GraphQLQueryBodyParameter and GraphQLQueryBody annotation

* GraphQLQueryBodyParameter to recognize application/graphql

* fix 500 error on method without @GraphQLQueryBody

* refactor to processGraphQlGetRequest and processGraphQlPostRequest

* add testGraphPostContentTypeJson and testGraphPostContentTypeGraphql to GraphQLR4RawTest

* fix imports
2020-07-16 09:25:26 -04:00
jamesagnew 962055e092 Undo extra logging in tests 2020-07-15 13:47:19 -04:00
James Agnew 077ee02771
Fix validation for enumerated ValueSets (#1982)
* Allow code validation against enumerated VS

* Work on validation

* Work on this

* Work on tests

* Work on validation

* Work on tests

* Work on validation

* Test fixes

* Add changelog

* For a change

* Test fixes
2020-07-15 13:38:14 -04:00
James Agnew 063bf4237c
Allow ConceptMap with no explicit group source/target (#1983)
* Allow ConceptMap with no explicit group source/target

* Add changelog
2020-07-15 12:57:10 -04:00
James Agnew 29bf6b8171
Fix a bug validating ValueSets (#1981)
* Fix a buig validating ValueSets

* Test fix
2020-07-15 09:25:34 -04:00
jamesagnew addcdc9269 Make method transactional 2020-07-14 19:12:40 -04:00
jamesagnew d6f6ec2d66 License headers 2020-07-13 16:57:24 -04:00
Tadgh 677bc5577b wip 2020-07-13 12:00:19 -07:00
James Agnew baba4cc240
Avoid version conflicts on current writes (#1971)
* Add auto retry of transactions

* Experiment in Maven build

* Transaction autoretry

* Work on transaction retries

* Work on transaction retry

* Work on transaction retry

* Fix tests

* Avoid version conflicts

* Add changelog

* Resolve LGTM issue

* FIx transaction scope error

* Test fixes

* Test fix

* Test fixes

* Test fix

* Test fixes
2020-07-13 08:51:13 -04:00
James Agnew 5c14a6c217
Revert pointless SQL optimization (#1977)
* Revert pointless SQL optimization

* Fix tests
2020-07-09 22:14:25 -04:00
James Agnew 1449b9cb0a
Install NPM resources correctly (#1972)
* Install NPM resources correctly

* Fix tests
2020-07-09 18:37:55 -04:00
James Agnew c949349a41
Correctly validate ISO 3166 codes (#1967 update) (#1973)
* Add tests

* Test fixes

* Fix tests

* Test fix

* One more test fix
2020-07-09 18:34:26 -04:00
Ibrohim Kholilul Islam 7a44fa3eb3
Fix GraphQL Array of Argument should be ORed (#1966)
* provide IQueryParameterOr instead of IQueryParameterType to params.add

* add tests
2020-07-08 10:38:50 -04:00
Tadgh 86f2761580 Merge branch 'master' into batch-empi-job 2020-07-07 07:52:42 -07:00
Tadgh 5b402de581 Add EmpiTargetType to link 2020-07-07 07:51:41 -07:00
Tadgh f82a53e6f9 Merge branch 'master' into batch-empi-job 2020-07-06 13:12:20 -07:00
Tadgh 3081df3cbd
Merge pull request #1969 from jamesagnew/empi-interceptor-bug
EMPI Storage interceptor bug fix
2020-07-06 13:10:39 -07:00
jamesagnew 489bd77dd4 Make constraint name comparisons case insensitive 2020-07-06 14:58:03 -04:00
Tadgh 84da932187 fix test 2020-07-06 11:36:47 -07:00
James Agnew 6fb6675b1e
Resolve validation errors to ValueSet with UCUM (#1948)
* Add tests for validation errors

* Work on validation errors

* Bump core version

* Fix validation errors

* Test fixes

* Add changelog

* Test fix

* Test fix

* Test fix
2020-07-05 19:59:21 -04:00
James Agnew f356c7c385
Migrate to JUnit5 (#1952)
* Work on junit

* Work on junit 5

* Work on junit 5

* Bump errorprone vcersion

* Work on tests

* Junit 5 tweaks

* Fixes

* Work on tests

* Work on junit5

* Work on tests

* Test fixes

* Work on junit5

* Test work

* Get junit5 working

* Test fix

* Work on tests

* WOrk on tests

* Work on tests

* fixes

* Compile fix

* One more tweak

* Compile fix

* Add changelog

* Fix compile error

* Compile fix
2020-07-04 18:28:16 -04:00
Tadgh 25d8668f55 Add Basic provider method, skeleton of tests 2020-07-03 15:21:32 -07:00
James Agnew 290577ff3e
Remove unnecessary type predicate (#1963)
* Remove unnecessary type predicate

* Add changelog
2020-07-03 17:54:25 -04:00
IanMMarshall e23e222f80
Merge pull request #1960 from jamesagnew/im_20200630_code_system_load
Accidentally merged pull request before pushing changes from code review
2020-07-03 16:29:34 -04:00
Tadgh 6259eada3c Fix parameter names. These are not partitions 2020-07-03 13:18:48 -07:00
ianmarshall b1ff6cbe37 Changes from code review 2020-07-03 14:25:24 -04:00
Tadgh 63bf9cca1b
Merge pull request #1961 from jamesagnew/bulk-intermittent
Bulk intermittent bug
2020-07-03 11:19:51 -07:00
Tadgh 4ff63e2493 Remove unnecessary logging. Spring batch already logs this 2020-07-03 10:21:04 -07:00
Tadgh d09f410b4d Tidy logging, increase timeout to 120 because clocks 2020-07-03 10:15:57 -07:00
Tadgh a84a41643d Increase awaitility timeout for bulk export of ALL resources 2020-07-03 10:08:34 -07:00
ianmarshall 4e5ca2ee15 Changes from code review 2020-07-03 13:08:11 -04:00
Tadgh 38cb526696 Add logging 2020-07-03 09:40:52 -07:00
ianmarshall 46abdfafe0 Merge remote-tracking branch 'remotes/origin/master' into im_20200630_code_system_load 2020-07-02 13:29:17 -04:00
ianmarshall 557f732e17 Cleanup and improved Unit tests. 2020-07-02 12:03:15 -04:00
Ken Stevens 714bd6216e
Empi 70 phonetic indexing (#1941)
* start with failing test

* test passes with fixmes

* javadoc and config

* pre-review cleanup

* generalize encoding

* test passes, but indexing needs to be optimized

* test passes, but indexing needs to be optimized

* step 1 of optimization.  big refactor of all predicates

* step 2 of optimization: determine phonetic encoder at time of RuntimeSearchParam creation

* integrated new phonetic encoders into empi

* phonetic search implemented

* IT passes

* pre-review cleanup

* final pre-review cleanup

* final pre-review cleanup

* Fix compile error

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2020-06-30 17:36:54 -04:00
jamesagnew bb17688680 Add test for #1780 2020-06-30 17:03:16 -04:00
ianmarshall 0788e79d51 Fix to address deferred save of TermConcept when code system version changes prior to save. 2020-06-30 15:07:14 -04:00
jamesagnew 2cdef055aa Missed commit on #1951
Squashed commit of the following:

commit f820135996
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Jun 30 14:29:24 2020 -0400

    Address review comments

commit 11c4f9defb
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Jun 30 09:38:16 2020 -0400

    Fix LGTM warning

commit b650fdb9ea
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Tue Jun 30 09:20:52 2020 -0400

    Test fix

commit 6ebcceeb5c
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Jun 29 18:49:01 2020 -0400

    Add changelog

commit 4a1d7383b0
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Jun 29 18:46:52 2020 -0400

    Bundle transmission

commit 88bd4abf0c
Merge: 7cde945281 25fc747b9f
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Jun 29 17:31:23 2020 -0400

    Merge branch 'master' into ja_20200617_subscription_send_bundles

commit 7cde945281
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Jun 29 17:10:33 2020 -0400

    Work on seed bundles

commit ed2e62752e
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Mon Jun 29 09:39:10 2020 -0400

    Work on subscriptions

commit 52addcff59
Merge: 64a9eaa4de bf8de84801
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Sat Jun 27 18:09:23 2020 -0400

    Merge branch 'master' into ja_20200617_subscription_send_bundles

commit 64a9eaa4de
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Wed Jun 17 18:32:17 2020 -0400

    Start work

commit f74eba5397
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Wed Jun 17 18:28:18 2020 -0400

    Terser should create correct Enumeration on create
2020-06-30 14:31:40 -04:00
James Agnew fa4bbe3685
Allow search criteria as subscription delivery mechanism (#1951)
* Terser should create correct Enumeration on create

* Start work

* Work on subscriptions

* Work on seed bundles

* Bundle transmission

* Add changelog

* Test fix

* Fix LGTM warning
2020-06-30 14:29:09 -04:00
James Agnew 072f3a422a
Use read partition for finding update candidate on upsert (#1945)
* Use read partition for finding update candidate on upsert

* Add changelog
2020-06-29 18:22:27 -04:00
Tadgh 8df0448f88 Fix import 2020-06-29 11:04:03 -07:00
Tadgh 4e789fbf42 Fix import error 2020-06-29 11:01:38 -07:00
Tadgh e365e643ba
Merge pull request #1906 from jamesagnew/spring-batch-integration
Spring batch integration
2020-06-28 16:10:43 -07:00
jamesagnew be23eb3cfc Move the flush into the existing transaction 2020-06-27 18:06:37 -04:00
jamesagnew dac516828e Move validation settings bean 2020-06-26 18:31:13 -04:00
Tadgh 16039af110 Fix up samlpe starters 2020-06-26 13:15:31 -07:00
Tadgh b31b6652a9 Add async to the job launcher, fix test to reflect this 2020-06-26 11:51:01 -07:00
Tadgh 21567fdc43 Tidy await 2020-06-25 11:42:17 -07:00
Tadgh ed155e7657 wip 2020-06-25 10:37:02 -07:00
Tadgh 1d9641a736 fix empilinks 2020-06-25 10:28:03 -07:00
Ken Stevens 93da042d19 fix empi tests so they work with Spring Batch
(all but one test fixed)
2020-06-25 11:14:42 -04:00
Tadgh 06e1368388 Re-add comment 2020-06-24 21:00:45 -07:00
Tadgh 3da4ad280b undoes merge issues 2020-06-24 20:00:52 -07:00
ianmarshall 55ff15d039 Merge remote-tracking branch 'remotes/origin/master' into im_20200619_mariadb_expand_valueset_fix 2020-06-24 17:43:34 -04:00
Tadgh 64dbd038c9 Increase min thread count for batch. Add new which waits for all bulkexport jobs to be done 2020-06-24 13:16:11 -07:00
ianmarshall 5e3e7c46a8 Changes to support valueset expansion with Elasticsearch. 2020-06-24 15:48:06 -04:00
Tadgh a7740922f9 Specify version 2020-06-24 11:02:52 -07:00
Tadgh bb7a773f41 Merge branch 'master' into spring-batch-integration 2020-06-23 16:02:41 -07:00
James Agnew e65c264927
Support double _has expressions (#1939)
* Support nested _has queries

* Add changelog
2020-06-23 17:58:47 -04:00
James Agnew 6825d2fcf0
Reduce DB roundtrips for revincludes (#1937)
* Reduce DB roundtrips for revincludes

* Add changelog
2020-06-23 16:26:04 -04:00
James Agnew 67d363f9e1
Add setting to allow validation of reference targets (#1932)
* Add setting to allow validation of reference targets

* Add changelog

* Add changelog

* License headers

* Plugin version bump

* Experiment with Maven build
2020-06-23 11:35:10 -04:00
Diederik Muylwyk ce0cb8916e Improve tests. 2020-06-22 17:22:21 -04:00
Diederik Muylwyk 314df43091 BaseValidationSupportWrapper.expandValueSet(...) and ValidationSupportChain.expandValueSet(...) were incorrectly replacing expansion options (i.e. offset and count) with null. 2020-06-22 16:52:52 -04:00
ianmarshall 5bf1e94a23 Fix to accomodate MySQL and MariaDB. 2020-06-19 17:26:45 -04:00
James Agnew 46c00f4efb
Update for Loinc 2.68 (#1917)
* Work on loinc updates

* Work on loinc upload

* Clean up CLI config

* Add changelog

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/TermLoaderSvcImpl.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/provider/r4/TerminologyUploaderProviderR4Test.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/loinc/LoincUploadPropertiesEnum.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/term/TerminologyLoaderSvcLoincTest.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Clean up imports

* LOINC fixes

* Loinc loader fixes

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>
2020-06-18 16:55:11 -04:00
James Agnew b6540064ea
Improve TX scoping for validation (#1925)
* Improve TX scoping for validation

* Test fix

* Test fix

* Some cleanup

* Test fixes

* Test fix
2020-06-17 14:04:12 -04:00
Tadgh d32ad74402 some renaming 2020-06-15 21:49:34 -07:00
Tadgh 9222fa3f59 change transaction call 2020-06-15 15:17:25 -07:00
Tadgh eccd280d71 Fix test error 2020-06-15 11:24:39 -07:00
Tadgh 798fdb9cc2 Merge branch 'master' into spring-batch-integration 2020-06-15 09:10:41 -07:00
jamesagnew ac0d8c0fe1 Test fixes 2020-06-14 15:32:50 -04:00
Tadgh 4270636d43 Merge branch 'master' into spring-batch-integration 2020-06-12 16:20:54 -07:00
Tadgh 928aafba1e Rename bean 2020-06-12 16:18:04 -07:00
Tadgh 0f469c1a56 Rework to allow for job creation inside of batch 2020-06-12 14:20:50 -07:00
James Agnew 622659cbb3
Add type parameter to resource reindexing operation (#1921)
* Add type parameter to resource reindexing operation

* Add changelog

* CLean up reindexing
2020-06-12 16:51:18 -04:00
Tadgh a9c704c06e Merge branch 'master' into spring-batch-integration 2020-06-10 12:24:19 -07:00
Tadgh 4e42a59ad4 Add licenses 2020-06-10 11:52:45 -07:00
Tadgh d698ad7180 Code review comments 2020-06-10 10:46:28 -07:00
jamesagnew d521dc61cc Package fix 2020-06-10 11:59:37 -04:00
jamesagnew 7d6f8fe612 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2020-06-10 09:57:24 -04:00
jamesagnew 05df4f0827 Migration task updates 2020-06-10 09:56:49 -04:00
jamesagnew 0c100f1aca Test fixes 2020-06-10 08:09:10 -04:00
James Agnew b8da4f0140
Add package support (#1911)
* Begin rework of package management

* Work on NPM

* Work on package management

* Work on NPM

* NPM rework

* Work on NPM

* NPM package rework

* Updates

* Updates

* Add license

* Work on package server

* Work on package importing

* Work on package management

* Package rework

* Work on packages

* Work on package manager

* Work on pkgs

* NPM work

* NPM rework

* Work on package cache

* Work on NPM

* Work on NPM

* Package fixes

* Add tests

* Tweaks

* Test fixes

* Add changelog

* Avoid snapshot dep
2020-06-10 05:30:20 -04:00
James Agnew 0d3ad622b5
Correct Validation Performance Regression (#1895)
* Validation performance regression

* Optimize validation

* More cleanup

* Add changelog

* Test fixes

* Build fixes
2020-06-10 05:26:21 -04:00
Tadgh 6e43c5348c Add missing imports from import reorganization 2020-06-09 19:27:16 -07:00
Tadgh 6fc5b753e5 Readding imports 2020-06-09 19:20:43 -07:00
Tadgh c36e1d2899 More code review comments 2020-06-09 19:18:06 -07:00
Tadgh 942fc313ec Code review comments 2020-06-09 19:00:41 -07:00
Tadgh d90987368a
Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/job/JobExistsParameterValidator.java
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-06-09 16:29:15 -07:00
Tadgh b7cea688f6
Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/bulk/job/JobExistsParameterValidator.java
Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-06-09 15:52:37 -07:00
Ken Stevens 7fdd0f1753 Merge remote-tracking branch 'remotes/origin/master' into spring-batch-integration 2020-06-09 15:52:54 -04:00
Ken Stevens 57f2002b84 organize imports 2020-06-09 15:49:11 -04:00
Tadgh b1d2ab7619 Add invalid parameter validator 2020-06-09 11:02:37 -07:00
Tadgh a25a1064f8 remove constant 2020-06-09 10:22:31 -07:00
Tadgh 4f59c38692 Remove comment 2020-06-09 10:20:41 -07:00
Tadgh 7273457ea7 Rework to read and process larger chunks 2020-06-09 09:55:10 -07:00
ianmarshall 0540c9e205 Merge remote-tracking branch 'remotes/origin/master' into im_20200605_db_blob_mssql 2020-06-09 12:43:05 -04:00
ianmarshall 97e6d967e9 Improve updated JUnit test. 2020-06-09 11:52:51 -04:00
ianmarshall 64aa0feb5d Fix for issue of persisting blob data types to MS SQL databases. 2020-06-09 11:06:01 -04:00
ianmarshall 122bd97344 Changes recommended during code review. 2020-06-09 09:59:03 -04:00
Tadgh 278a1070ae :Merge branch 'master' into spring-batch-integration 2020-06-08 17:16:11 -07:00
Tadgh 25fa0377df tidying 2020-06-08 17:02:37 -07:00
Tadgh 864c9c2cb8 Add task executor to partition step 2020-06-08 16:35:15 -07:00
Tadgh 44aa688a20 Final config layout of Bulk Export Batch job 2020-06-08 15:59:08 -07:00
ianmarshall c86e46b196 Add documentation and remove requirement for max parameter (defaulted to 1 now). 2020-06-08 18:08:02 -04:00
ianmarshall 30dd858f17 Add close method for Elasticsearch service. Fix the partial code match. 2020-06-08 15:07:02 -04:00
ianmarshall 4982e67a0f Merge remote-tracking branch 'remotes/origin/master' into im_2020601_lastn_code_text_filter 2020-06-08 09:26:55 -04:00
ianmarshall 56cbc5149b Add support for partial code description matching. 2020-06-08 09:24:09 -04:00
Tadgh 4405e50db9 wip 2020-06-05 15:53:06 -07:00
Ken Stevens 558f419955
Empi 54 not duplicate (#1900)
add operation to unduplicate persons
2020-06-05 12:21:09 -04:00
jamesagnew 5483c99e00 License header updates 2020-06-05 05:47:20 -04:00
James Agnew 21330a0a22
Transaction create performance improvement (#1899)
* Work on perf issue

* Improve write performance for large bundles with tags

* Add changelog

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_1_0/1899-improve-write-xact-perf-with-tags.yaml

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>

* Test fix

* Test fixes

* Test fixes

Co-authored-by: IanMMarshall <49525404+IanMMarshall@users.noreply.github.com>
2020-06-05 05:26:06 -04:00
Tadgh 7ed65b0080 partially done writer, working out size-based chunking 2020-06-04 20:58:06 -07:00
ianmarshall 549993886d Fix merge conflicts. 2020-06-04 17:57:38 -04:00
ianmarshall 78b7f091ec Merge remote-tracking branch 'remotes/origin/master' into im_2020601_lastn_code_text_filter
# Conflicts:
#	hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/search/lastn/LastNElasticsearchSvcMultipleObservationsIT.java
2020-06-04 16:55:18 -04:00
Ken Stevens eb7b8e816b
Empi 58 no match create person (#1898) 2020-06-04 16:07:50 -04:00
ianmarshall 0a2f9d2697 Changes per code review plus fix for possible intermittent JUnit failures. 2020-06-04 15:24:41 -04:00
ianmarshall 9696af5dc0 Changed observation indexing to bypass hibernate search and removed Observation index tables. 2020-06-04 13:20:42 -04:00
ianmarshall 6e507bf642 Changed observation indexing to bypass hibernate search and removed Observation indexing tables. 2020-06-04 13:10:06 -04:00
Tadgh 7d46b3cc10 Partitioning Based on resource type complete. Still no threading 2020-06-03 14:58:42 -07:00
James Agnew 86ef0ec0e2
Correct transaction processing in multitenant server (#1884)
* Correct transaction processing in multitenant server

* # d codethe npm registry for updates every day (weekdays)
2020-06-03 10:37:47 -04:00
ianmarshall 8d5232bced Merge remote-tracking branch 'remotes/origin/master' into im_2020601_lastn_code_text_filter 2020-06-02 21:28:10 -04:00
Tadgh e8970bce46 Running batch job 2020-06-02 16:08:19 -07:00
jamesagnew 75a74bdd38 License headers 2020-06-02 18:20:56 -04:00
Tadgh 31b7e862d4 Remove extra beans 2020-06-02 15:00:56 -07:00
Tadgh bb863f26fa Initial run through the first part of batch integration 2020-06-02 13:44:23 -07:00
ianmarshall bfc5f93ec8 Enable filtering $lastn operation by Observation effective date. 2020-06-02 16:39:06 -04:00
ianmarshall 2e709a50c0 Enable filtering $lastn operation by Observation effective date. 2020-06-02 16:37:07 -04:00
Tadgh f8d699e13b Initial working commit passing jobs to spring batch 2020-06-01 15:51:09 -07:00
Tadgh 0fc2e04e65 wip 2020-06-01 12:13:55 -07:00
Tadgh aa7d1cbcb7 Wip getting tasks built 2020-06-01 11:32:36 -07:00
ianmarshall f48214deda Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/BaseSearchParamExtractor.java
2020-05-29 23:54:11 -04:00
ianmarshall a4811f1508 Changes per code review. 2020-05-29 23:47:44 -04:00
Tadgh a306825625 moving dependencies around. Get non-persisted batch working 2020-05-28 12:10:52 -07:00
James Agnew 7f72305f57
Improve Period range indexing (#1873)
* Fix #1871 - Handle period range searches better

* Add changelog

* FIx tests

* Add test logging

* Address review comments
2020-05-28 08:56:43 -04:00
Tadgh 81d5ff8f5a Add schema initialization 2020-05-27 17:06:52 -07:00
James Agnew 22af36ae7b
Conditional update on Partitioned Server fails (#1870)
* Fix #1869

* Remove FIXME

* Test fix

* Test fix
2020-05-27 10:40:29 -04:00
ianmarshall 5cc77b78d4 Fixed problems with results of chunked queries being incorrectly sorted. 2020-05-26 18:09:54 -04:00
jamesagnew 5482367e37 Remove redundant index - Already covered by FK 2020-05-26 08:54:00 -04:00
James Agnew 6899604ae4
Correct validation of fragment codesystems (#1865)
* Update validation for fragment codesystem

* Test fixes

* Add changelog

* Test fix
2020-05-25 20:44:09 -04:00
ianmarshall 1e554731bb Additional cleanup and test fixes. 2020-05-25 18:25:25 -04:00
ianmarshall 6ed724e01b Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-05-25 17:40:53 -04:00
jamesagnew 2bcfe7cdaa Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2020-05-25 13:20:59 -04:00
jamesagnew bf550f9c27 License header updates 2020-05-25 13:20:32 -04:00
James Agnew 535bf88efe
Fixes to diff operation (#1866) 2020-05-25 13:16:58 -04:00
ianmarshall ee87a2e2d0 Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-05-25 11:37:34 -04:00
ianmarshall 816f409a8a Re-factor lastn entities to locate them is same package as other Search Parameter entities. 2020-05-25 11:37:01 -04:00
jamesagnew 3807640347 Resolve merge conflict 2020-05-24 11:38:52 -04:00
Martin Zacho Grønhøj 9bde517540
Install external ig package at startup (#1826)
* Do not use deprecated methods in structures-r4 test

* beginning development of feature Implementation Guide installer

* fetch IG, generate snapshots of SDs of and persist conformance resources to db

Missing initialization, error-handling and handling of NameSystems and Subscriptions

* Refactor IgInstaller and implement support for R4 and R5

* Error handling and removed logic for invoking IG installation

IgInstaller should be invoked by applications

* Implement pull request comments in IgInstaller

1) Renamed IgInstaller -> IgInstallerSvc for consistency
2) Use field autowiring and @PostConstruct for consistency
3) Use exceptions instead of boolean flags for success indication
4) Use IValidationSuport to generate snapshots of StructureDefinitions
in a version independent way (less maintenance) instead of SnapshotGenerator.java
5) Read IGs for tests from src/main/resources instead of external URL

* IG installation: Wrap exceptions during resource creation in custom class

* IG installation: Improved logging

* IG installation: Search for existing resources in a version independent way
2020-05-24 09:25:46 -04:00
Jacob Stampe Mikkelsen 262a964a31
Add index on CONCEPT_PID on TRM_CONCEPT_PROPERTY to optimize a full-reindex of lucene index which can be needed when running in a docker container where the lucene files are discarded on redeploy. (#1637)
Co-authored-by: James Agnew <jamesagnew@gmail.com>
2020-05-23 17:11:21 -04:00
ianmarshall 35b75f8ffb Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-05-23 15:54:23 -04:00
James Agnew e780a8402e
Use R5 snapshot generator (#1862)
* Use R5 snapshot generator

* Snapshot generator reworking
2020-05-23 12:54:19 -04:00
James Agnew c374383b37
Allow AuthorizationInterceptor to properly authorize GraphQL statements (#1864)
* Allow AuthorizationInterceptor to properly authorize GraphQL statements

* Add changelog
2020-05-22 20:40:37 -04:00
ianmarshall 4d378ee0ed Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-cli/hapi-fhir-cli-jpaserver/src/main/java/ca/uhn/fhir/jpa/demo/CommonConfig.java
#	hapi-fhir-jpaserver-base/pom.xml
#	hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/BaseSearchParamExtractor.java
#	hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/ISearchParamExtractor.java
2020-05-22 17:04:01 -04:00
IanMMarshall a1a3d9de38
Merge branch 'master' into im_20200520_cascade_delete 2020-05-22 16:11:38 -04:00
Tadgh d1b963321a
MVP EMPI implementation (#1857)
EMPI Initial Implementation (still plenty of known gaps)
2020-05-22 15:03:20 -04:00
ianmarshall b501a601b7 Some final cleanup minor updates. 2020-05-22 13:36:08 -04:00
ianmarshall a60e5809b2 Changes to enable adjusting limits on delete conflict handling through configuration. 2020-05-22 10:15:04 -04:00
jamesagnew 5ba7f1525f Test fix 2020-05-21 20:38:11 -04:00
James Agnew 63ff0ede9c
Make diff operation work securely (#1859)
* Make diff operation work securely

* Build tweak

* FIx tests
2020-05-21 19:20:48 -04:00
James Agnew ce5ade53d9
Fix #1855 - StructureDefinition search not working (#1858) 2020-05-21 09:35:37 -04:00
James Agnew 5b2181a563
Implement FHIR Patch (#1850)
* Start working on FHIRPatch

* More work on fhirpatch

* Work on FHIR Patch

* Add patch

* Test fixes

* Test fixes

* Get tests fixed

* Chnage to trigger a build

* Compile fix

* Dependency version fixes

* Test fix

* COmpile fix

* Try to fix build

* Test fix attempt

* Another build attempt

* Another build tweak

* Cleanup
2020-05-20 19:43:55 -04:00
jamesagnew b044d05332 Add a disabled test 2020-05-20 17:26:24 -04:00
James Agnew 9aaf5ccd63
Fix expunge when using unique search param (#1854)
* Fix expunge when using unique search param

* Add chaneglog
2020-05-20 15:58:53 -04:00
James Agnew c9c90b327c
Allow no read interceptor for partition (#1851)
* Allow no read interceptor for partition

* Add changelog

* Test fix
2020-05-19 17:06:56 -04:00
ianmarshall 3b7f106052 Fixed latest merge conflicts. 2020-05-19 16:34:05 -04:00
ianmarshall d2b54d6203 Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/SearchBuilder.java
2020-05-19 15:20:06 -04:00
ianmarshall 6a27192a96 Fixed sorting with chunked and paged queries. 2020-05-19 14:48:26 -04:00
jamesagnew cc92bd7b07 Revert "Start working on FHIRPatch"
This reverts commit b3f6e7d521.
2020-05-17 11:56:50 -04:00
jamesagnew b3f6e7d521 Start working on FHIRPatch 2020-05-17 11:44:06 -04:00
jamesagnew 52c8e3551c Version bump to 5.1.0-SNAPSHOT 2020-05-15 14:43:32 -04:00
jamesagnew fe0e07a313 Bump to 5.0.1 2020-05-15 05:47:01 -04:00
James Agnew 79a064dfd9
Optimize chain sql paths (#1844)
* Start cleanup

* Almost workinf

* Possibly working!!

* Fixes

* Test fix

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/querystack/QueryRootStack.java

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

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/querystack/QueryRootStack.java

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

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/predicate/querystack/QueryRootStack.java

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

* Address review comments

* Add changelog

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-05-15 05:36:12 -04:00
ianmarshall 529e1e1f5e Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-05-14 12:09:24 -04:00
ianmarshall eb1d1c2b27 Changes to better support chunking of queries and paging of results for lastn operation and to monitor performance. 2020-05-14 12:08:55 -04:00
jamesagnew 1d13e29ac0 Version bump to 5.1.0-SNAPSHOT 2020-05-12 20:04:20 -04:00
jamesagnew d631ecff4a Prepare for 5.0.0 2020-05-12 11:49:18 -04:00
James Agnew 0c13a65871
Bump to latest Core version (#1841)
* Start working on bumping core

* Work on tests

* Work on tests

* Bump core definitions

* Bump R5 defs

* Tweak changelog

* Test fix
2020-05-11 12:37:16 -04:00
James Agnew 9d8bd0d51e
Bump R4 definitions to 4.0.1 (#1837)
* Bump R4 definitions to 4.0.1

* Add changelog

* Test fixes
2020-05-08 19:34:13 -04:00
ianmarshall 8fcdc78077 Fix issues resulting from latest merge. 2020-05-08 09:31:05 -04:00
ianmarshall e56cb049f7 Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-05-08 09:19:44 -04:00
ianmarshall c290fa3493 Fixes to enable $lastn to return more than 32K records. 2020-05-08 09:19:14 -04:00
James Agnew 6cc07b6689
Make binary storage work for bulk export (#1836)
* Make binary storage work for bulk export

* Add changelog

* Build fixes

* Test fix

* Test fix

* Test fix
2020-05-07 19:20:22 -04:00
James Agnew b67509d7ff
Transaction write performance fix (#1832)
* Performance fix for transactions

* Test fix

* Fixes

* Add docs

* Test fixes
2020-05-07 10:56:41 -04:00
ianmarshall 4cced40b54 Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/BaseSearchParamExtractor.java
2020-05-05 17:19:32 -04:00
ianmarshall 4db5beeabf Additional changes to enable processing of lastn operations with large numbers of parameters. 2020-05-05 16:53:47 -04:00
James Agnew a77aa6a28e
Multitenancy Ticket 2 - #1813 (#1821)
* Work on multitenancy

* Second ticket started

* More multitenancy work

* Work on tenancy security

* Work on multitenancy

* Test fixes

* Add docs

* cs tweak

* Multitenancy fixes

* Add debug log

* Fix build

* Add headers

* Add partition selection interceptor hook

* Update hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/api/Constants.java

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

* Account for review comments

* Resolve FIXMES

* Work on tests

* Test fixes

* A bit more cleanup

* Work on multitenancy

* Update hapi-fhir-docs/src/main/java/ca/uhn/hapi/fhir/docs/ClientExamples.java

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

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/client/examples.md

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

* Address review comments

* Allow disabling text modifier indexing

* Add changelog

* Docs fixes

* Address review comment

* Resolve merge conflicts

* Merge master

* Compile fix

* Test fix

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-05-05 15:12:15 -04:00
James Agnew 35c2b7a2c1
Allow disabling text modifier indexing (#1831)
* Allow disabling text modifier indexing

* Add changelog

* Address review comment

* Resolve merge conflicts
2020-05-05 12:16:55 -04:00
James Agnew dada217966
Clean up hash code calculation (#1830)
* Clean up hash code calculation

* Test fixes

* Test fix

* Test fixes

* Compile fix

* Test fix
2020-05-05 11:11:24 -04:00
James Agnew 91147cf6b0
Scope tag search to correct resource type (#1829)
* failing _tag tests

* cleanup

* Scope tag query to correct resource type

* Changelog

* Test fix

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-05-05 11:09:46 -04:00
jamesagnew 41056092ed License header updates 2020-04-30 18:24:07 -04:00
Tadgh 8f8a8a3dc2 Merge branch 'master' into date-match-bug 2020-04-29 16:17:50 -07:00
jamesagnew e439891ea2 Add test 2020-04-29 15:21:54 -04:00
ianmarshall 3e49e5615f Fixing merge conflicts after merge from Master. 2020-04-25 22:14:55 -04:00
ianmarshall dd749791db Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-jpaserver-searchparam/src/main/java/ca/uhn/fhir/jpa/searchparam/extractor/BaseSearchParamExtractor.java
2020-04-24 16:55:45 -04:00
ianmarshall 0e45db0ba9 More cleanup and test fixes. 2020-04-24 16:23:59 -04:00
jamesagnew e219c1774b Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2020-04-24 05:45:26 -04:00
James Agnew ededcc18d2
Add Partitioning / Multitenancy (#1807)
* Work on multitenancy

* Work on multitenancy

* Work on multitenancy

* Add columns

* Work on multitenancy

* Work on muiltitenancy

* Work on multitenancy

* Work on uniques

* Work on multitenancy

* Work on multitenancy

* Work on multitenancy

* More work on multitenancy

* Work on multitenancy

* Multitenancy work

* Work on multitenancy

* Work on multitenancy

* Work on multitenancy

* Work on multitenancy

* Work on docs

* Work on multitenancy

* Work on docs

* DOcs work

* Tenancy docs

* Work on docs

* Finish docs

* Add changelog

* Rename config

* Add migration tasks

* Fix typo

* Migration fix

* One more migration fix

* A couple more migration fixes

* Docs cleanup

* Work on docs

* Bump boot version

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Work on review comments

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/partitioning.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/docs/server_jpa/schema.md

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/IdHelperService.java

Co-Authored-By: Ken Stevens <khstevens@gmail.com>

* Address review comments

* Compile fx

* Test fixes

* One more bugfix

* Update operation name

* Add one more constant

* Roll back a change that was causing test failures

* Test fixes

Co-authored-by: Ken Stevens <khstevens@gmail.com>
2020-04-24 05:45:11 -04:00
ianmarshall 197bf2b6a8 Further refinements and test fixes. 2020-04-23 23:21:45 -04:00
jamesagnew c994f48ccd Add test case 2020-04-23 10:37:05 -04:00
James Agnew 5f88d87027
Tweak to #1801 - Normalize double leading zeros in database (#1815) 2020-04-23 09:44:08 -04:00
jamesagnew ccda668d0c Restore subscription loading at startup 2020-04-23 05:28:56 -04:00
Andrew Fitzgerald 99b9ec0b1c Fix compilation error 2020-04-22 09:57:52 -04:00
jamesagnew be5f8191dc One more bugfix 2020-04-22 09:08:46 -04:00
jamesagnew 8a2b799df0 Test fixes 2020-04-22 08:43:00 -04:00
jamesagnew 009d6443f5 Compile fx 2020-04-21 21:34:15 -04:00
jamesagnew 7efd8a9f6e Merge branch 'ja_20200206_multitenancy' of github.com:jamesagnew/hapi-fhir into ja_20200206_multitenancy 2020-04-21 20:55:09 -04:00
jamesagnew 6226381595 Merge branch 'master' into ja_20200206_multitenancy 2020-04-21 20:54:56 -04:00
jamesagnew 1f37cdd8cf Address review comments 2020-04-21 20:53:10 -04:00
James Agnew cc2b7452be
Update hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/index/IdHelperService.java
Co-Authored-By: Ken Stevens <khstevens@gmail.com>
2020-04-21 20:36:19 -04:00
jamesagnew c7de85339c Work on review comments 2020-04-21 20:18:06 -04:00
Maciej Kucharek f69fb1a39b
Set ES username and password only if they're not blank (#1806)
This is important for AWS-hosted ES, as it does not accept HTTP requests with Basic authentication (even if the username/passwords are blank). Skipping those settings in case they're blank solves the issue.

Co-authored-by: Maciej Kucharek <maciej@oraoncology.com>
2020-04-21 15:32:12 -04:00
Ibrohim Kholilul Islam 3225075f9e
Fix GraphQL Error (#1791)
* add debug log

* add debug log to value iteration

* fix _filter issue on /$graphql, fix dash and underscore issue on /$graphql, and give helpful error message on wrong argument.

* remove debug logging

* implement JpaStorageServicesTest
2020-04-21 15:28:28 -04:00
James Agnew c716216b34
Adjust return type for fluent delete() operation (#1805)
* Add cascading delete to client

* Add changelog

* Client delete should return MethodOutcome

* Rerturn more appropriate type for delete operations

* Refactor cascade detection to be reusable
2020-04-21 15:23:11 -04:00
jamesagnew 998c1f7751 Work on docs 2020-04-21 14:32:41 -04:00
jamesagnew e6c806283e Merge branch 'ja_20200206_multitenancy' of github.com:jamesagnew/hapi-fhir into ja_20200206_multitenancy 2020-04-20 16:58:59 -04:00
jamesagnew 544d9fbc6c Add migration tasks 2020-04-20 16:58:48 -04:00
jamesagnew bbab016ca6 Rename config 2020-04-20 12:38:04 -04:00
jamesagnew 7248b4e18e Finish docs 2020-04-20 11:02:27 -04:00
jamesagnew cd3e1c5e72 Tenancy docs 2020-04-19 10:15:51 -04:00
jamesagnew 48057b9d8e Merge branch 'master' into ja_20200206_multitenancy 2020-04-17 17:59:48 -04:00
ianmarshall 540375a7eb Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-04-17 17:39:27 -04:00
ianmarshall 4a89860f9b Additional tests and cleanup. 2020-04-17 17:38:42 -04:00
jamesagnew e0b419354f Bump up hamcrest version and force the use of the latest version 2020-04-17 13:59:22 -04:00
James Agnew 497757501b
Improve search method binding priority (#1802)
* Work on search method binding priority

* Work on method priority

* Work on binding priority

* Test fixes

* Add changelog

* Test fixes

* compile fix

* One more comple fix

* Test cleanup

* Test fix
2020-04-17 09:28:33 -04:00
jamesagnew 81723c30d8 Work on multitenancy 2020-04-16 15:52:15 -04:00
jamesagnew 25cdbb15c2 Work on multitenancy 2020-04-16 15:33:48 -04:00
jamesagnew 8873749d9c Add license headers 2020-04-16 10:06:56 -04:00
jamesagnew cd06137745 Work on multitenancy 2020-04-15 22:12:28 -04:00
jamesagnew d822867a4a Merge branch 'master' into ja_20200206_multitenancy 2020-04-15 22:12:20 -04:00
James Agnew f95f619bdc
Correct two JPA processing bugs (#1801)
* Work on search params on contained

* Add workaround for stored decimals with leading decimal point

* Add changelog

* Cleanup

* Test fix

* Test fix

* One more test fix
2020-04-15 14:22:47 -04:00
ianmarshall d03ce6533e Fixed conflicts after merging latest from Master. 2020-04-13 20:01:34 -04:00
ianmarshall 925bbbbcdc Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch
# Conflicts:
#	hapi-fhir-cli/hapi-fhir-cli-api/src/main/java/ca/uhn/fhir/cli/RunServerCommand.java
#	hapi-fhir-cli/hapi-fhir-cli-jpaserver/src/main/java/ca/uhn/fhir/jpa/demo/CommonConfig.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/config/dstu3/BaseDstu3Config.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/config/r4/BaseR4Config.java
#	hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/config/r5/BaseR5Config.java
#	pom.xml
2020-04-13 18:35:15 -04:00
ianmarshall 0f9bdbd3af Undid previous re-factoring and fixed a bug introduced in last commit. 2020-04-13 16:14:38 -04:00
jamesagnew 982b54df57 Work on multitenancy 2020-04-13 11:50:49 -04:00
jamesagnew f2fa8659c4 Test fix 2020-04-13 09:35:51 -04:00
ianmarshall af11763dee Fixes to command line tool, clean-up and minor re-factoring. 2020-04-13 08:56:56 -04:00
jamesagnew c26a5553e9 Multitenancy work 2020-04-12 20:47:32 -04:00
jamesagnew e55ccf88fc Work on multitenancy 2020-04-10 20:01:59 -04:00
ianmarshall e64d67f429 Consolidate changes to Command Line Tool and add/improve tests. 2020-04-10 16:58:00 -04:00
jamesagnew 8d8c657ce2 More work on multitenancy 2020-04-10 13:05:17 -04:00
jamesagnew 219332e9e3 Work on multitenancy 2020-04-10 11:11:29 -04:00
jamesagnew e0fcbe1df2 Merge branch 'master' into ja_20200206_multitenancy 2020-04-09 11:52:27 -04:00
James Agnew 8cdc3a72ce
Fix #1794 - Client ID and Server ID mode clash (#1795)
* Fix #1794 - Client ID and Server ID mode clash

* Try to track down intermittent test failure
2020-04-09 09:31:13 -04:00
jamesagnew 96a4eff38e Test fix 2020-04-08 19:54:54 -04:00
James Agnew 1c738b903d
Decouple subscription submission / matching (#1790)
* Start work on subscription cleanup

* Work on subscription cleanup

* Work on subscriptions

* Subscription cleanup

* More work on subscriptions

* Queue factory cleanup

* Work on subscription cleanup

* Subscription cleanup

* Work on subscription cleanup

* Work on subscription cleanup

* Work on subscription cleanup

* Ongoing cleanup

* Subscription work

* Tests passing

* Move resource provider factory

* Test fixes

* Address review changes

* One more change

* Test fixes
2020-04-08 18:08:27 -04:00
jamesagnew edc30568f2 Address review changes 2020-04-07 19:07:07 -04:00
jamesagnew 35e1dbae32 One more bugfix on #1772 2020-04-07 15:22:59 -04:00
jamesagnew c2e00bb73b Bugfix on #1772 2020-04-07 14:21:42 -04:00
jamesagnew 47786660d5 Test fixes 2020-04-07 13:58:24 -04:00
jamesagnew 2205d2306c Move resource provider factory 2020-04-07 10:56:05 -04:00
jamesagnew 347ecc7d51 Tests passing 2020-04-07 09:39:14 -04:00
jamesagnew 826ba6458a Subscription work 2020-04-06 20:15:41 -04:00
jamesagnew b78205c218 Ongoing cleanup 2020-04-06 17:00:45 -04:00
jamesagnew 40d0c27ae3 Work on subscription cleanup 2020-04-05 18:43:27 -04:00
jamesagnew 0a28c0c060 Work on subscription cleanup 2020-04-05 07:21:05 -04:00
jamesagnew 79da1578cb Subscription cleanup 2020-04-04 20:04:32 -04:00
jamesagnew fef447afee Work on subscription cleanup 2020-04-04 16:07:01 -04:00
ianmarshall 83e673e725 Consolidate changes to Command Line Tool and add/improve tests. 2020-04-03 17:12:04 -04:00
jamesagnew 7c6024fa14 More work on subscriptions 2020-04-03 07:43:21 -04:00
jamesagnew 43b4d8e0e3 Work on subscriptions 2020-04-02 21:15:07 -04:00
jamesagnew 6baf1995c9 Work on subscription cleanup 2020-04-02 20:30:19 -04:00
jamesagnew e1142f4043 Start work on subscription cleanup 2020-04-02 05:31:12 -04:00
ianmarshall f819c91530 Initial implementation of lastn operation. 2020-03-31 21:55:57 -04:00
ianmarshall f891634341 Merge remote-tracking branch 'remotes/origin/master' into im_20200316_lastn_operation_elasticsearch 2020-03-31 13:30:28 -04:00
jamesagnew ea1f35beaa Work on multitenancy 2020-03-31 10:33:47 -04:00
jamesagnew c4bd1a97fd Add test 2020-03-30 11:54:27 -04:00
jamesagnew 2e43c57032 Work on multitenancy 2020-03-30 09:49:17 -04:00
jamesagnew 8e714b6b14 Work on uniques 2020-03-30 05:36:24 -04:00
jamesagnew 62d867902f Work on multitenancy 2020-03-29 18:16:04 -04:00
jamesagnew 691f2c4e9a Work on muiltitenancy 2020-03-29 13:35:20 -04:00
jamesagnew 9df4c58122 Work on multitenancy 2020-03-27 09:22:00 -04:00
jamesagnew ec6fe70acb Merge branch 'master' into ja_20200206_multitenancy 2020-03-27 05:50:08 -04:00
ianmarshall 83fde61846 Initial commit of changes to support $lastn operation. 2020-03-25 18:02:57 -04:00
ianmarshall 4e4c8dbd9a Initial commit of changes to support $lastn operation. 2020-03-25 18:02:13 -04:00
jamesagnew 718c248c69 Test fix 2020-03-24 07:55:25 -04:00
jamesagnew 13f0e5384b Address review comments 2020-03-24 06:02:55 -04:00
jamesagnew 0ac434ea5d Add chain on _type parameter 2020-03-23 17:53:30 -04:00
jamesagnew 14316147c5 Resolve some docs issues 2020-03-23 10:34:12 -04:00
jamesagnew 3f20f7b67f Make SubscriptionDeliveryHandlerFactory not abstract 2020-03-22 21:01:19 -04:00
jamesagnew a5257f0fa8 Add new indexing extractor method 2020-03-19 20:22:30 -04:00
James Agnew bde7c356fe
Implement Jackson parser/serializer (#1733)
* [dev] Integration of a Jackson serializer and deserializer - first stage

* [fix] Fixed some serializing issues
[improve] Improved the processing, removed the loggers

* [clean] Removed the JacksonSerializer class, replaced all the Gson classes with Jackson classes

* [clean] Small cleanup

* [improve] Throw a ConfigurationException if the JsonGenerator cannot be created

* [improve] Use the ObjectMapper's `readTree` instead of `readValue`

* [dev] Latest fixes and improvements

* [dev] Use the Jackson serializer

* [clean] Removed the ObjectMapper configuration, for now

* [fix] Use the GsonStructure also for the parsing of a FHIR resource

* [clean] Removed the LinkedList usage

* Work on preparing for merge of #1673

* Resolve build errors

* Work on parser integration

* Tests passing

* Resolve fixme

* CLeanup

* Fix dependency

Co-authored-by: Bogdan Solga <bogdan.solga@gmail.com>
2020-03-17 17:27:26 -04:00
Tadgh 4583cb9939
Merge pull request #1760 from jamesagnew/bugfix/1752-support-chained-parameters-inside-reverse-chained-parameter
Bugfix/1752 support chained parameters inside reverse chained parameter
2020-03-17 13:27:20 -07:00
jamesagnew 4c1bbd01cb Intermittent test fix 2020-03-17 14:19:36 -04:00
Tadgh 3eb09b15f0 Merge branch 'master' into bugfix/1752-support-chained-parameters-inside-reverse-chained-parameter 2020-03-17 10:32:43 -07:00
James Agnew 22413911bf
Validation api changes (#1719)
* Validation enhancements

* Work on validation api reworking

* Keep working on validation API

* Keep working on new term API

* Work on validation api

* Ongoing work on validation

* Work on integrating validation

* Work on validation API

* Add to validation API

* Work on validation

* Work on API

* Work on validation

* Work on validation API

* Work on validation API

* Work on validation api

* Work on validation API

* Work on validation api

* Validation API changes

* Work on API

* More work on validationo API

* Work on validation API

* FIxes

* WOrk on validation api

* Work on validation API

* Tests passing!

* More cleanup

* More validation API changes

* Fix intermittent test failure

* Package reorg

* Validation API work

* Work on doocumentation

* Work on API

* More work on new validation API

* Fix errorprone-reported error

* Test fixes

* Documentation updates

* Documentation tweaks

* Work on API

* Bean name adjustments

* Build fixes

* Some test fixes
2020-03-17 13:28:59 -04:00
James Agnew 9305bef4ef
Remove useless migrator task generics (#1687)
* Remove useless migrator task generics

* Clean a couple of compile errors

* Try to fix intermittent
2020-03-17 13:28:43 -04:00
James Agnew 288abe4504
Improve efficiency in search deleting (#1759)
* Improve efficiency in search deleting

* Changelog

* Address review comments
2020-03-17 12:33:38 -04:00
James Agnew 5867d62d62
Avoid duplicate predicate in _id queries (#1761)
* Avoid duplicate predicate in _id queries

* Add changelog

* Change to trigger CI

* Address review comments
2020-03-17 11:12:58 -04:00
Tadgh 6f872ffb51 Minor refactor 2020-03-13 19:15:46 -07:00
Tadgh a39ac886af Fix error while resolving rebase 2020-03-13 18:43:43 -07:00
Tadgh 4777d75e6b Merge branch 'master' into bugfix/1752-support-chained-parameters-inside-reverse-chained-parameter 2020-03-13 18:40:11 -07:00
Tadgh b80e71773d Tidy, fix up tests 2020-03-13 18:36:43 -07:00
Tadgh d91cb7524c Fix up whitespace 2020-03-13 15:30:49 -07:00
Tadgh 03567c5831 Add perftrace. Remove regex 2020-03-13 15:29:48 -07:00
Ken Stevens 6b019492fe
Merge pull request #1758 from jamesagnew/ks-20200312-json-annotation
moved common Json annotations out into an interface
2020-03-13 15:58:21 -04:00
Tadgh 74fd2c1519 wip 2020-03-13 11:28:44 -07:00
jamesagnew 72b9d9a350 FIx spelling mistake 2020-03-13 09:19:45 -04:00
James Agnew 1dc5d89013
Optmize forced ID resolution (#1754)
* Add forced ID caching

* Work on id optimization

* Test fixes

* More optimization work

* Add some docs

* Work on docs

* Test fixes

* Test fixes

* Test fixes

* Address review comments

* Compile fix
2020-03-12 17:12:50 -04:00
Ken Stevens ecf5284c87 moved common Json annotations out into an interface 2020-03-12 13:36:34 -04:00
Tadgh c3ceffbd72 wip 2020-03-09 16:05:41 -07:00
Tadgh e38ec3e3dd Fix typo 2020-03-09 14:57:53 -07:00
Tadgh 12412a7be9 Add query capturing to query 2020-03-09 13:58:59 -07:00
Tadgh 59d1603597 Some variable renaming. Adds some questions. 2020-03-09 13:51:47 -07:00
Tadgh aca4bcfaad Minor refactoring for readability 2020-03-06 14:22:31 -08:00
Tadgh b299d0b63f Fix Typos, reduce code duplication
* Change Two streams into one.
* Fix typos.
* Begin Writing docstrings
* Rename variables for clarity
2020-03-06 11:39:39 -08:00
Tadgh 0acfc51082 Split test into two tests, one of which passes, one of which fails, showing the missing functionality 2020-03-05 16:38:42 -08:00
James Agnew 58ee76549c Merge branch 'master' into ja_20200206_multitenancy 2020-03-04 08:19:22 -05:00
Ken Stevens 9b37ba35d0
Merge pull request #1747 from jamesagnew/ks-20200303-bulk-export-filter
fixed a copy/paste error in bulk export with test
2020-03-03 19:54:26 -05:00
Ken Stevens e819d40414 fix near searching for R4 2020-03-03 18:33:19 -05:00
Tadgh a510543933 Fix log conditional 2020-03-03 14:03:55 -08:00
Tadgh df7a9916c3 Swap from trace to info logging 2020-03-03 14:01:12 -08:00
Ken Stevens d104fbdf7d fixed a copy/paste error in bulk export with test 2020-03-03 16:40:31 -05:00
Ken Stevens 705735b9c0 review feedback: javadoc 2020-03-03 13:29:10 -05:00
Ken Stevens 5b5ef08500 Merge remote-tracking branch 'remotes/origin/master' into ks-20200302-near-chain 2020-03-03 09:44:52 -05:00
James Agnew 4a160a2df3 Merge branch 'master' into ja_20200206_multitenancy 2020-03-03 09:25:19 -05:00
James Agnew 58b5bd9664
Limit type on _has query (#1743)
* Limit type on _has query

* Add changelog
2020-03-03 08:28:38 -05:00
James Agnew 3c2c1dab2e
Error on missing profile validation (#1742)
* Error on missing profile validation

* Add changelog

* Test fixes
2020-03-03 08:28:26 -05:00
Ken Stevens a56df03055 restrict near-distance extraction to DSTU3 2020-03-02 21:50:57 -05:00
Ken Stevens 4e1be80525 fixme 2020-03-02 21:39:28 -05:00
Ken Stevens d1b54a9668 pre-review cleanup 2020-03-02 21:32:27 -05:00
Ken Stevens 27dcafe4f2 all but unit tests 2020-03-02 21:27:50 -05:00
Ken Stevens 24acb57f3b began with failing test.
test now passes.
2020-03-02 17:56:25 -05:00
Tadgh 8d9119faef Rework span name 2020-03-02 14:37:09 -08:00
Gary Graham 6123e4b189 rework based on PR comments 2020-02-28 16:31:16 -05:00
Gary Graham ed7b9fc6b6 Initial attempt at integrating elastic APM for search performance 2020-02-28 16:09:16 -05:00
James Agnew 8c78e465b1
Defer large term delta adds (#1736)
* Defer large term delta adds

* Add changelog
2020-02-28 14:41:15 -05:00
James Agnew 5bc554949b
Remove deleted resources from cached search results (#1732)
* Remove deleted resources from cached search results

* Add changelog

* Add tests
2020-02-28 10:57:26 -05:00
Gary Graham f86a4c9fa1 Add date ordinals to subscription matching checker 2020-02-26 17:05:23 -05:00
Gary Graham 2dc94de6bb roll back change to inmemory matcher test 2020-02-26 14:31:35 -05:00
Gary Graham 077f9df814 I keep finding more tests 2020-02-26 12:04:33 -05:00
Gary Graham a97443b1ed Fix test failures. One caused by invalid test. One caused by granularity need LT not LTE 2020-02-26 11:12:27 -05:00
James Agnew cb9906580e
Index canonical references (#1728)
* Index canonical references

* Add changelog

* Fix compile error

* Add whitespace
2020-02-25 21:45:46 -05:00
Gary Graham df9e86ec66 Merge branch 'master' into date-match-bug 2020-02-25 17:26:53 -05:00
James Agnew b2b0ff22b4
Collapse date joins (#1726)
* Collapse date joins

* Add changelog

* Address review comments

* Add whitespace

* fix test

Co-authored-by: Ken Stevens <ken.stevens@sympatico.ca>
2020-02-25 17:17:13 -05:00
Gary Graham 2204fbeabd Adding some comments 2020-02-25 17:08:11 -05:00
Gary Graham 1e833af5f0 Variable reuse 2020-02-25 17:06:38 -05:00
Gary Graham f56e38148b Add flag to DaoConfig controlling behaviour 2020-02-25 16:43:17 -05:00
Gary Graham 512af5b87d Add changelog entry 2020-02-25 14:09:51 -05:00
Gary Graham da7224ff89 update broken test to reflect new reality of business logic of ordinal date comparison 2020-02-25 14:07:03 -05:00
Gary Graham 3ec772b527 rework ResourceIndexedSearchParamDate constructor to support incoming string values 2020-02-25 14:06:36 -05:00
Gary Graham 3b41b5b960 Type migration to boxed integer to avoid int defaulting to 0 2020-02-25 11:18:39 -05:00
Gary Graham 34d5925393 Move common work to DateUtils. Rename function for clarity. 2020-02-25 09:37:57 -05:00
Gary Graham 7f5b3394e0 Hacky first-pass of adding ordinal date field to ResourceIndexedSearchParamDate and using it for search 2020-02-24 19:34:16 -05:00
Ken Stevens b33ad73d46 switch subscriptionchannelfactory to autowire 2020-02-24 14:28:14 -05:00
Ken Stevens 18d859281e Merge remote-tracking branch 'remotes/origin/master' into date-match-bug 2020-02-24 11:47:43 -05:00
Ken Stevens 41b5eb2484 Switching cdrsubscribablefactory from @ComponentScan to @Bean 2020-02-23 15:43:30 -05:00
j-chan c0811376b7
Moved TranslateRawParameters method from BaseHapiFhirResourceDao to BaseStorageDao (#1722) 2020-02-20 10:52:43 -05:00
James Agnew 6200cd2ddc Add test asserts 2020-02-19 21:21:22 -05:00
James Agnew 79ad0aebb5 Add a test 2020-02-19 18:01:35 -05:00
James Agnew a05c4ce9eb
Don't thrash delta links (#1721)
* Don't thrash delta links

* Add changelog

* Remove commented out code
2020-02-19 17:46:54 -05:00
James Agnew ab8dfa5a03
Avoid multi-term for ElasticSearch (#1717)
* Avoid multi-term for ElasticSearch

* Add changelog

* Remove redundant code
2020-02-18 16:40:44 -05:00
IanMMarshall fba28950ec
Merge pull request #1693 from jamesagnew/im_20200131_remove_circular_dependency_forcedid
Changes to schema to loosen dependencies involving Forced ID table
2020-02-18 14:16:09 -05:00
James Agnew 64f07e4dc0
Includes performance enhancement (#1702)
* Includes performance enhancement

* Add changelog

* Test fix

* Fix typo

* A few coverage cleanups

* Test fix

* Fix changelog
2020-02-18 14:11:48 -05:00
ianmarshall f7db280099 Merge remote-tracking branch 'remotes/origin/master' into im_20200131_remove_circular_dependency_forcedid
# Conflicts:
#	hapi-fhir-jpaserver-migrate/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java
2020-02-18 12:13:00 -05:00
James Agnew 60f16dd91d
Update to 4.3.x core JAR (#1715)
* Added optionality for adding resource fetcher

* Added coverage that proves invocations

* Bumped version of fhir.core to latest version. Added wrapping of AssumeValidRestReferences

* Added optionality for adding resource fetcher

* Added coverage that proves invocations

* Bumped version of fhir.core to latest version. Added wrapping of AssumeValidRestReferences

* Start working on converter

* Account for compile errors

* Test fix

* Work no validator

* Work on getting core working

* Add some test coverage

* Many test fixes

Co-authored-by: Jens Kristian Villadsen <46567685+jvitrifork@users.noreply.github.com>
2020-02-17 14:28:29 -05:00
jamesagnew ddc7b601ee Version bump to 4.3.0-SNAPSHOT 2020-02-16 19:23:22 -05:00
jamesagnew 4fd80cfca7 Bump to 4.2.0 2020-02-16 19:00:15 -05:00
Ken Stevens da11d3d89e
remove distinct from search (#1712)
* it works now

* oops

* add successful migration message

* add successful migration message

* Add fix for #1300

* Remove FIXME

* Test fix

* Test fix

Co-authored-by: James Agnew <jamesagnew@gmail.com>
2020-02-15 12:45:59 -05:00
jamesagnew 1d1aadb813 Work on multitenancy 2020-02-09 20:57:50 -05:00
James Agnew ebf395bee9 Merge branch 'master' into ja_20200206_multitenancy 2020-02-09 08:40:29 -05:00
jamesagnew f7ec41ffc5 Work on multitenancy 2020-02-09 08:40:15 -05:00
James Agnew c5c1e3196b Resolve FIXMEs (#1705)
* Resolve FIXMEs

* Test fixes

* Test fixes

* Clean up unused code

* Add some test coverage

* Test fix

* Test fix

* Avoid intermittent
2020-02-09 08:39:46 -05:00
James Agnew b2d2346228 Work on multitenancy 2020-02-07 15:18:06 -05:00
Ken Stevens da54d3443e
fix noisy logs (#1701) 2020-02-04 11:29:09 -05:00
James Agnew 4229645602 Fix to code delta CSV encoding 2020-02-03 20:56:48 -05:00
James Agnew 5d4f34d67c Intermittent test fix (yes again...) 2020-02-03 19:21:12 -05:00
James Agnew 26589e61c3 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2020-02-03 18:06:46 -05:00
James Agnew b06105d970 Intermittent test fix 2020-02-03 18:06:29 -05:00
Ken Stevens a31e90da2e
Merge pull request #1698 from jamesagnew/ks-20200203-remove-search-lastused
Remove searchLastReturned column
2020-02-03 16:53:27 -05:00
James Agnew d7b45ff65c Test fix 2020-02-03 16:48:27 -05:00
Ken Stevens 2e96d6bc2d fix test 2020-02-03 15:49:37 -05:00
Ken Stevens 3c46595e81 Merge remote-tracking branch 'remotes/origin/master' into ks-20200203-remove-search-lastused 2020-02-03 11:33:15 -05:00
Ken Stevens b4325199cf review feedback 2020-02-03 11:20:18 -05:00
Ken Stevens 7faf8932cf
Merge pull request #1695 from jamesagnew/ks-20200131-near-search-http
Ks 20200131 near search http
2020-02-03 10:38:29 -05:00
James Agnew 709aeb4ae8
Drop unnecessary index (#1696) 2020-02-03 10:29:39 -05:00
Ken Stevens cda906d7b8 Column removed. Time to run tests. 2020-02-03 09:44:10 -05:00
jamesagnew 38eb12234d Merge branch 'master' into ks-20200131-near-search-http 2020-02-03 05:27:50 -05:00
James Agnew 218f344945 Test fix working 2020-02-03 05:24:02 -05:00
jamesagnew 9d59de14a9 Unit test fix 2020-02-03 05:24:02 -05:00
Ken Stevens 63f2f38689 reinstate near param count validation 2020-02-02 21:21:37 -05:00
Ken Stevens decb47dfc2 remove unused block 2020-02-02 16:56:25 -05:00
Ken Stevens ffcf617659 pre-review cleanup 2020-02-01 20:27:21 -05:00
Ken Stevens 74948737a7 pre-review cleanup 2020-02-01 20:18:42 -05:00
Ken Stevens c375c66f15 test passes 2020-02-01 20:15:58 -05:00
Ken Stevens fb1eb7ca8f parking wip 2020-02-01 13:58:27 -05:00
Ken Stevens cd617389c6 create failing test 2020-01-31 18:07:17 -05:00
Ken Stevens 868ef9590d started writing test 2020-01-31 17:14:37 -05:00
ianmarshall 5d5b3d7639 Changes to schema to loosen dependencies between Forced ID table and the Resource and Resource History tables. 2020-01-31 11:16:01 -05:00
jamesagnew f38370fbf7 Drop half-written test 2020-01-31 05:50:30 -05:00
jamesagnew d4295124f1 Reduce verbosity of scheduler logging 2020-01-30 16:28:56 -05:00
James Agnew 6985f3e5f3 Rework how IDs are calculated for quartz jobs 2020-01-30 08:49:40 -05:00
James Agnew e6d3897700 Add tests 2020-01-30 08:49:40 -05:00
jamesagnew 578f2b7aef License header updates 2020-01-30 05:26:10 -05:00
Ken Stevens 2545fc6e3d Merge remote-tracking branch 'remotes/origin/master' into ks-20200120-near-search
# Conflicts:
#	hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/4_2_0/changes.yaml
2020-01-29 17:06:02 -05:00
James Agnew a6f3ee8319 Add a unit test 2020-01-29 09:35:22 -05:00
James Agnew 9548e74b17 Fix a test i missed 2020-01-28 15:46:46 -05:00
James Agnew 471073103f Further reduce memory usage in the terminology delta operations 2020-01-28 14:36:15 -05:00
Ken Stevens eff4b294df Merge remote-tracking branch 'remotes/origin/master' into ks-20200120-near-search
# Conflicts:
#	hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/4_2_0/changes.yaml
2020-01-25 18:40:55 -05:00
James Agnew ba0048aade
Resolve memory leak (#1685)
* Work on memory leak

* Work on term delta uploading

* Resolve memoery leak in terminology service

* Fix cache key
2020-01-25 17:48:26 -05:00
Ken Stevens 78ab01f00b Change log and check in-memory search for location 2020-01-24 21:56:14 -05:00
Ken Stevens c87f8e0f4a tested near anti-meridian 2020-01-24 18:55:32 -05:00
Ken Stevens 72ccd76ed0 prepping for antimeridian test 2020-01-24 14:37:28 -05:00
Ken Stevens 11dc087750 code review 2020-01-24 13:08:47 -05:00
Ken Stevens 672902486a optimize imports 2020-01-24 13:07:19 -05:00
Ken Stevens 4ba91e0797 remove getDao() from Dao 2020-01-24 13:01:58 -05:00
Ken Stevens 9b0f850cf4 remove newSearchBuilder from dao 2020-01-24 13:01:35 -05:00
Ken Stevens 16cb9a74e4 Remove newSearchBuilder() from BaseHapiFhirDao 2020-01-24 12:19:08 -05:00
Ken Stevens b465a7b781 final cleanup 2020-01-23 19:20:51 -05:00
Ken Stevens 01bc941f5f Optimize imports 2020-01-23 19:15:30 -05:00
Ken Stevens e031ad203e FIXME 2020-01-23 19:12:05 -05:00
Ken Stevens 99949629a8 FIXME 2020-01-23 18:49:09 -05:00
Ken Stevens 3e28047f78 fix tests 2020-01-23 18:27:35 -05:00
Ken Stevens a687d7c9c1 testSearchResourceLinkWithChain is failing 2020-01-23 17:38:59 -05:00
Ken Stevens 6ca97df1c9 fix npe 2020-01-23 16:20:53 -05:00
Ken Stevens 8114419110 fix npe 2020-01-23 16:06:15 -05:00
Ken Stevens 48a71d6649 fix npe 2020-01-23 15:58:13 -05:00
Ken Stevens d2ef5555fe app context loads 2020-01-23 15:48:25 -05:00
Ken Stevens ab74e66870 compiles. now to run the tests... 2020-01-23 15:43:41 -05:00
Ken Stevens 49743352a6 remove unused enum 2020-01-23 14:28:10 -05:00
Ken Stevens c9fe68c5ab inlined single use methods 2020-01-23 14:21:07 -05:00
Ken Stevens e99402bd38 Almost done refactor. Just need to separate state from service. 2020-01-23 14:06:09 -05:00
Ken Stevens 4c53333539 started to refactor predicates out of SearchBuilder 2020-01-23 12:00:12 -05:00
Ken Stevens e6f5af01ed convert degrees to kilometers for near calculation 2020-01-22 16:55:19 -05:00
Ken Stevens 8b8088a3a2 begin with failing test 2020-01-22 15:06:39 -05:00
Ken Stevens b07b87954d r4 works. But distance calculation still needs to be fixed. 2020-01-22 12:00:09 -05:00
Ken Stevens 9413e8f198 r4 works. But distance calculation still needs to be fixed. 2020-01-22 11:59:03 -05:00
Ken Stevens 5da2823553 add negative test 2020-01-22 09:25:43 -05:00
Ken Stevens 6cebb56f13 testing complete. Now just need pre-review cleanup. 2020-01-21 17:06:19 -05:00
Ken Stevens 12dfac927e moar tests 2020-01-21 16:53:20 -05:00
Ken Stevens 04b60a4a16 no distance and zero distance tested 2020-01-21 16:18:42 -05:00
Ken Stevens 992b62151b yay box search works! 2020-01-21 16:04:34 -05:00
Ken Stevens 3cb9a9f4a2 added asserts 2020-01-21 15:45:41 -05:00
Ken Stevens b463929c28 parse nearDistance into a special search parameter field so it's available when we're adding the near parameter 2020-01-21 15:38:25 -05:00
Ken Stevens a961a7c022 begin with failing test 2020-01-21 14:39:00 -05:00
Ken Stevens eca21bec3e exact coord matching works now 2020-01-21 14:30:51 -05:00
Ken Stevens 299e1e35e1 removed coordextractor and moved to token (looks cleaner and more in line with how the other ones are parsed) 2020-01-21 11:06:40 -05:00
Ken Stevens dd137a0a30 Coord extraction implemented 2020-01-21 10:17:49 -05:00
James Agnew c0e929dacb
Copy identifiers to placeholder resources (#1675)
* Copy identifiers to placeholder resources

* Add tests

* Maven cleanup

* Still messing around with azure

* Adding to logging

* More azure work

* One more attempt

* More messing around with azure

* Test fix

* Another caching attempt

* More work on azure pipeline

* Fix pipeline file

* Keep working on pipeline

* More work on azure

* More azure

* More azure work

* More azure
2020-01-21 06:09:06 +09:00
James Agnew 63c310c168 Make a constant public 2020-01-17 13:16:23 +08:00
James Agnew aad5a30a3d
Support count=0 (#1670)
* Support count=0

* Fix LGTM issue
2020-01-15 14:52:32 +08:00
James Agnew 201ec34db4
Fix expunge issue when no tags present (#1671)
* Fix expunge issue when no tags present

* Add changelog

* Try to clean up POMs that are failing CI

* Rework dependencies

* Roll back change that did not work
2020-01-15 14:47:22 +08:00
James Agnew 1390ea3c06
Update FHIR R5 structures to 4.2.0 version (#1665)
* Work on upgrading core

* Work on R5 updates

* Work on core updates

* Test fix

* Update model version properties file for R5

* Bump core version

* Test fixes

* Add 4.2.0-SNAPSHOT version to versions page in docs
2020-01-14 10:27:01 +08:00
James Agnew a19d246432 License header version bump, and add the ability for "add column"
migration tasks to fail gracefully
2020-01-12 11:01:21 +08:00