Commit Graph

4149 Commits

Author SHA1 Message Date
jpoth 2c65a6dda7 Add OSGI support for HAPI-FHIR client 2018-02-28 18:09:30 +01:00
Heinz-Dieter Conradi f4fa233ad7 remove superfluous import 2018-02-28 13:34:14 +01:00
jpoth 66ebfa0ed3 Implement #826 - add OSGI support and Apache Karaf features with integration tests 2018-02-28 11:32:53 +01:00
Heinz-Dieter Conradi 8e000749ba Fix questionnaire schematron with enableWhen and hasAnswer
Without this fix, the 'hasAnswer' element of a questionnaire item is ignored.
This in turn allowes it that one can have both an 'answer' and a 'hasAnswer' item.

A fix is applied for both DSTU3 and R4 and tests are provided.

The tests for R4 are currently ignored, since they require a valid schematron,
e.g. by merging #869
2018-02-27 16:31:19 +01:00
Gaetano Gallo 1caf768fd5 - implemented DateParam.equals() and DateParam.hashCode() which comes in handy when writing tests ... 2018-02-27 10:15:19 +01:00
Jason Owen 2f139640e5 Add unit tests for HumanName has(String) methods
Prefixes, given names, and suffixes can all have multiple entries, and
so are kept in a list. The `hasPrefix(String)` and its sibling methods
are conveniences for checking that these lists contain the given
element. Add tests around those three methods to ensure that the list
checking code is correct.

Issue #865 HumanName#hasGiven(String) can never return true
2018-02-26 18:22:38 -05:00
James Agnew 2eee606468 Fix 2 tests 2018-02-25 14:57:19 -05:00
James Agnew 458401864b Handle deletes properly in HashMapResourceProvider 2018-02-25 14:20:04 -05:00
James Agnew 84c72203b7 Add HashMapResourcePrvider 2018-02-25 13:16:02 -05:00
patrick-werner 66ed2bca38 Merge remote-tracking branch 'upstream/master' 2018-02-25 17:31:56 +01:00
James Agnew ef6ee83744 Remove test which is no longer applicable 2018-02-24 23:09:30 -05:00
James Agnew 136455f312 Fix #863 - Allow custom search parameters to use multiple bases 2018-02-24 22:10:55 -05:00
jamesagnew 1a9522cfdd Update license header 2018-02-24 12:05:42 -05:00
jamesagnew 76611e14b5 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-24 12:05:22 -05:00
James Agnew f026f8a1ac Fix compile error 2018-02-24 12:05:05 -05:00
jamesagnew fd285b282f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-24 12:02:28 -05:00
James Agnew 9757f58805 Improve tolerance of errors when uploading validation resources 2018-02-24 12:01:51 -05:00
James Agnew 6e47951220 Remove unneccesary log lines and clean up some documentation 2018-02-24 10:57:32 -05:00
jamesagnew d93bdfa47d Update license header 2018-02-23 15:54:57 -05:00
James Agnew 3b2930f8e9 Prevent a crash in testpage overlay when deleting a resource 2018-02-23 15:24:20 -05:00
patrick-werner 0af95842a9 fixes #853
performer validation implementation is now list based
added Test
2018-02-22 12:23:42 +01:00
patrick-werner 8cf92d6ffc Merge remote-tracking branch 'upstream/master' 2018-02-22 12:22:23 +01:00
James Agnew e241b31905 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-21 17:16:08 -05:00
James Agnew 7723405024 Fix #859 - Remove unused import on com.sun.prism 2018-02-21 17:15:15 -05:00
patrick-werner a8f3c2efb6 added Test for #11 to Dstu3 and R4 2018-02-21 16:03:31 +01:00
Gaetano Gallo 01ff2e7c3b - according to the design of all other IQueryParameterXXX types changed the methods setUpperBound() and setLowerBound() to return this, supporting method chaining.
- changed the order in which the state of a DateRangeParam instance got first modified and then verified.
- renamed the private method validateAndThrowDataFormatExceptionIfInvalid() to validateAndSet(DateParam, DateParam).
- replaced the methods haveLowerBound() and haveUpperBound() with the stateless method hasBound(DateParam).
2018-02-21 08:39:44 +01:00
jamesagnew 72cf22e3a9 Fix #854 - Process ID substitutions on URIs for JPA 2018-02-20 07:32:49 -05:00
Patrick Werner e842881aa7
fixed package name haps-fhir-validation
was hapi-fhir-validator, corrected to hapi-fhir-validation
closes #766
2018-02-20 11:59:23 +01:00
James Agnew 2a3c7fcfad Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-19 20:59:24 -05:00
James Agnew 81305fb17f Don't deliver subscription results for deleetd resource 2018-02-19 20:58:55 -05:00
jamesagnew 2396f43de7 Upgrade checkstyle version 2018-02-19 12:55:41 -05:00
jamesagnew 89a834723c Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-18 11:47:40 -05:00
jamesagnew c38e306539 Allow disabling of reloading resources in subscription 2018-02-18 11:47:21 -05:00
jamesagnew a60e5cab2a Add config 2018-02-18 11:11:35 -05:00
James Agnew d18a0ea32f Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-18 10:27:45 -05:00
jamesagnew 2f4ac42edb One more test fix 2018-02-18 09:17:04 -05:00
jamesagnew 3f1a0e81c7 Avoid endless reindex loop 2018-02-17 16:10:44 -05:00
James Agnew 222636baca Docs updates 2018-02-17 14:32:42 -05:00
jamesagnew e89f8e5ba4 Fix crash with unique search parameter updates in JPA 2018-02-16 07:39:46 -05:00
James Agnew 2847edd04a Correct subscription read before send 2018-02-15 17:38:29 -05:00
James Agnew 8ea527fa76 Make sure we load subscriptions from DB at some point 2018-02-15 17:13:27 -05:00
jamesagnew c8e61cd9a3 Fix test for #851 2018-02-15 07:15:25 -05:00
jamesagnew 8458544fc9 Add test for #851 2018-02-15 07:12:56 -05:00
jamesagnew 4f45ad87f3 Adjust unit tests to deal with asynchronous search parameter registry 2018-02-15 07:12:30 -05:00
James Agnew e6253b7f22 Refresh search parameter cache asynchronously 2018-02-14 11:10:30 -05:00
James Agnew 329675a81d Fix test 2018-02-12 15:38:38 -05:00
jamesagnew d259b9a65d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2018-02-12 11:52:58 -05:00
James Agnew ab3ca5749a Add test for #793 2018-02-12 09:34:11 -05:00
James Agnew 84dcd51091 Add tests for #814 2018-02-12 09:25:59 -05:00
jamesagnew a94a1370e7 Correct localization issue in test 2018-02-11 21:54:29 -05:00