2114 Commits

Author SHA1 Message Date
James Agnew
c2ae5a8326
Add FHIRPath evaluation interceptor (#1769)
* Add FHIRPath evaluation interceptor

* Add changelog
2020-03-22 12:57:24 -04:00
jamesagnew
b3cf323e07 Add docs 2020-03-20 18:30:14 -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
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
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
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
828ddd5185 Update docs 2020-03-04 12:14:55 -08:00
James Agnew
4a160a2df3 Merge branch 'master' into ja_20200206_multitenancy 2020-03-03 09:25:19 -05:00
James Agnew
ac9a371f18 Add test 2020-03-03 08:28:04 -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
b1d7072c42 Add precision checker for ordinal date returning on DateRangeParam 2020-02-26 22:22:42 -05:00
Gary Graham
165f5fd808 fix bugs in calculating ordinal date 2020-02-26 09:32:20 -05:00
Gary Graham
97c98254d0 Extract Common functionality out of CalculateHashesTask, build CalculateOrdinalDatesTask based on it 2020-02-25 16:09:08 -05:00
Gary Graham
3ec772b527 rework ResourceIndexedSearchParamDate constructor to support incoming string values 2020-02-25 14:06:36 -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
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
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
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
dionmcm
00fdc978cc narrative gen removed old code and enhanced error message
I ran into an issue trying to use the old .class style property. The validation message was useful, but I spotted some unreachable code investigating which I've removed. I also enhanced the configuration exception to indicate what was wrong with a supplied key and expected extension types.
2020-01-29 05:58:22 -05:00
Ken Stevens
f2e8037c90 Merge remote-tracking branch 'remotes/origin/master' into ks-20200120-near-search 2020-01-22 15:06:52 -05:00
James Agnew
39ff698dd2
Parser performance tweaks (#1660)
* Parser improvements

* Parser tweaks

* Fix test

* Add changelog

* Bump spring mvc version

* Bump spring version

* Test fix?
2020-01-22 14:44:12 -05:00
Ken Stevens
9413e8f198 r4 works. But distance calculation still needs to be fixed. 2020-01-22 11:59:03 -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
jamesagnew
634458c447 License header update 2020-01-17 00:16:56 -05:00
James Agnew
0385c25aa3 Fix FHIR version defaults 2020-01-15 14:03:59 +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
Petro Mykhaylyshyn
8ed3dcc9ac [(fixjsongenerationtomaster)] Remove unused import. 2020-01-13 13:37:54 +08:00
Petro Mykhaylyshyn
fdab81361c [(fixjsongenerationtomaster)] When max cardinality in profile is changed to 1 output JSON contain an array. 2020-01-13 13:37:54 +08:00
Petro Mykhaylyshyn
a234b1f8a9 [(fixjsongeneration)] When max cardinality in profile is changed to 1 output JSON should still contain an array. 2020-01-13 13:37:54 +08:00
jamesagnew
3ac4172bc4 License header versions 2020-01-11 23:23:02 -05:00
Diederik Muylwyk
8615d10730 Fix typo. 2019-12-31 09:27:26 -05:00
Diederik Muylwyk
48f7ee5afb Rolling back previous unnecessary changes. 2019-12-31 09:25:56 -05:00
Diederik Muylwyk
170b607992 Added some FIXMEs. 2019-12-30 18:43:15 -05:00
Diederik Muylwyk
856993edf8 Moved changelog entry, and added clarifying comments to DateRangeParam. 2019-12-30 15:29:35 -05:00
Diederik Muylwyk
4eaeb7ef9e Implemented isDateWithinRange() and supporting methods. 2019-12-30 14:35:51 -05:00
Diederik Muylwyk
d8133487b2 Initial commits. 2019-12-23 17:14:47 -05:00
James Agnew
e1f2d044ed Add errorprone back into build 2019-12-15 09:42:51 -05:00
jamesagnew
ba8f50f0c8 Docs updates 2019-12-14 18:19:09 -05:00
James Agnew
d277d3fed5 Docs updates 2019-12-10 16:10:09 -05:00
James Agnew
f58fba6f04
Some test cleanup (#1616)
* Some test cleanup

* Add test

* More test logging

* More docs cleanup

* Add test logging
2019-12-02 11:00:18 -05:00
James Agnew
86bd9a28fe
Fix to valueset expansion logic (#1613)
* Fox to valueset expansion logic

* Work on docs

* Docs tweaks

* Docs tweaks

* Fix test

* Remove unused class

* Add changelog
2019-12-01 21:21:19 -05:00
James Agnew
ca620d652f
Add tests (#1606)
* Support chained HAS

* Add some tests

* Add some cleanup

* Work on intermittent tests
2019-11-24 10:11:49 +01:00
James Agnew
51b608188b
Some CI surefire improvements (#1602)
* Some CI surefire improvements

* Build tweak

* More tweak

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* One more CI attempt

* Update azure-pipelines.yml for Azure Pipelines

* Tweak command line

* Another build test fixc

* More build cleanup
2019-11-23 19:51:02 +01:00