2184 Commits

Author SHA1 Message Date
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