Commit Graph

2473 Commits

Author SHA1 Message Date
ianmarshall 5e3e7c46a8 Changes to support valueset expansion with Elasticsearch. 2020-06-24 15:48:06 -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
jamesagnew ac0d8c0fe1 Test fixes 2020-06-14 15:32:50 -04: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
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
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
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
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
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
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
jamesagnew 75a74bdd38 License headers 2020-06-02 18:20:56 -04: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
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
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
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