378 Commits

Author SHA1 Message Date
Eeva Turkka
be746854e5 version number for release 2019-01-31 15:42:37 +02:00
Eeva Turkka
1c9f7f7ca9 Version number changed for build 2019-01-31 13:26:13 +02:00
Eeva Turkka
7e7d4d8879 Allowing items without answers even if item is disabled. 2019-01-31 13:00:41 +02:00
Eeva Turkka
e6df4a21e4 Merge branch 'enablewhen_fix' of https://github.com/eevaturkka/hapi-fhir into enablewhen_fix 2019-01-28 10:31:44 +02:00
James Agnew
4f16fea580 Fix compile error 2018-12-28 12:11:19 -05:00
James Agnew
14a132a937 Squashed commit of the following:
commit 96596558304d312d7d4c0d85ef82389ac10b12db
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu Dec 27 17:54:25 2018 -0500

    Finish sync

commit 70da25b76f1236cce4d59d420259695dd5b135d4
Author: jamesagnew <jamesagnew@gmail.com>
Date:   Thu Dec 27 10:32:51 2018 -0500

    Work on RI4 sync
2018-12-27 17:58:47 -05:00
James Agnew
a0cb7edd08 Version bump a few dependencies 2018-12-22 20:13:03 -05:00
Ken Stevens
84a34eb3c9
Subscription module support (#1147)
* Reorganizing packages and dependencies to support standalone subscription running within a CDR container where all hapi modules are on the classpath.

Moved Subscription registry out of interceptor and introduced SubscriptionLoader

* Created ActiveSubscription and moved cache bits into it

* Moved ExecutorQueue stuff out into its own class

* Add test and supporting code to validate SubscriptionConstants.EXT_SUBSCRIPTION_RESTHOOK_DELIVER_LATEST_VERSION behaviour

* Added SubscriptionCheckingSubscriber

* Moved a few beans to @ComponentScan

* Replaced use of beanFactory with concrete factory classes

* Switched test to use subscribablechannel

* Added SubscriptionLoaderFhirClientTest

* Confirm that our SubscriptionProviderFhirClient works with a live fhir client

* Register interceptors with DaoConfig instead of RestServer.
Also, Rename @VisibleForTesting methods with ForUnitTest

* Fix triggering service so it uses new subscriptionmatcherinterceptor

* Renamed "Database" classes to "Dao"

* processing -> matching naming change
2018-12-18 13:09:06 -05:00
Matti Uusitalo
a3e7f5b18f Corrected group ids back to ca.uhn.hapi.fhir 2018-12-18 11:21:29 +02:00
Matti Uusitalo
01eb7faf66 Deleted unnecessary Inteface class 2018-12-18 10:15:47 +02:00
Matti Uusitalo
98f929997b Sync with upstream/master 2018-12-17 15:38:05 +02:00
Matti Uusitalo
7ad45308e0 Make this configurable 2018-12-17 14:10:15 +02:00
Matti Uusitalo
89e3cac0e2 Corrected problems caused by merge 2018-12-17 13:55:15 +02:00
Matti Uusitalo
8183c18406 Corrected project dependency version numberts 2018-12-17 13:54:43 +02:00
Matti Uusitalo
58959eec48 Do not force enableWhen to have system 2018-12-17 13:31:07 +02:00
Matti Uusitalo
dd8e027ff4 Don't evaluate Extensions when determining type of answer 2018-12-17 13:31:07 +02:00
Matti Uusitalo
a1f79a2063 Filter Extensions from enablewhen evaluation 2018-12-17 13:31:07 +02:00
Matti Uusitalo
755eaa5f25 bumped version n. for release 2018-12-17 13:31:07 +02:00
Matti Uusitalo
c2b3d48afe Support required questionnaireitem groups 2018-12-17 13:31:07 +02:00
Matti Uusitalo
a0db7e20b6 temporarily set hard coded error when no profile found 2018-12-17 13:30:36 +02:00
Matti Uusitalo
cefacdc18c Returned to original state as the experiment failed 2018-12-17 13:30:36 +02:00
Matti Uusitalo
24ebe6cf03 Temporarily set isNoTerminologyServer() return true to avoid errors about loinc codes 2018-12-17 13:30:36 +02:00
Matti Uusitalo
311d92f276 Added more information to the error message about misplaced QuestionnaireResponseItem 2018-12-17 13:30:36 +02:00
Eeva Turkka
076d18977d Added support for Quantity in the default enable when evaluator 2018-12-17 13:30:36 +02:00
Matti Uusitalo
b29e8d987c Avoid infinite loop when validating misaligned questionnaireresponseitems 2018-12-17 13:27:27 +02:00
Matti Uusitalo
a9c625365d Added missing propagation of QuestionnaireResponse root element 2018-12-17 13:27:27 +02:00
Matti Uusitalo
ab484c9819 Thread questionnaireResponse root element through questionnaire validation so implementations of enablewhen may validate against the complete resource 2018-12-17 13:27:27 +02:00
Matti Uusitalo
10fe878540 Changed versions to use fi.kela.kanta.phr parent 2018-12-17 13:27:27 +02:00
Matti Uusitalo
e84689b167 Way to inject custom enablewhen evaluator added 2018-12-17 13:27:27 +02:00
Matti Uusitalo
507c78320c Added check for answering questions which are not enabled 2018-12-17 13:27:27 +02:00
Matti Uusitalo
d2c6a98c24 Removed unused HapiWorkerContext 2018-12-17 13:27:27 +02:00
Okko Kauhanen
a12f5892e2 Added operator evaluation for R4 enableWhen 2018-12-17 13:26:31 +02:00
Eeva Turkka
69d9e5d2b2 Unit tests up to date and maybe we need to use r4 path 2018-12-17 13:15:43 +02:00
Eeva Turkka
84c02d2e79 Cherry picked changes from master to 3.5.0 branch 2018-12-17 13:13:38 +02:00
Matti Uusitalo
3c56640d57 Do not force enableWhen to have system 2018-12-17 12:48:53 +02:00
Matti Uusitalo
73e85ce668 Don't evaluate Extensions when determining type of answer 2018-12-17 12:48:53 +02:00
Matti Uusitalo
14b5d88530 Filter Extensions from enablewhen evaluation 2018-12-17 12:48:53 +02:00
Matti Uusitalo
4956c9c7e0 bumped version n. for release 2018-12-17 12:48:53 +02:00
Matti Uusitalo
c04a172fcd Support required questionnaireitem groups 2018-12-17 12:48:53 +02:00
Matti Uusitalo
e13bc28b42 temporarily set hard coded error when no profile found 2018-12-17 12:45:51 +02:00
Matti Uusitalo
3f21bfb560 Returned to original state as the experiment failed 2018-12-17 12:45:51 +02:00
Matti Uusitalo
154a1d92e0 Temporarily set isNoTerminologyServer() return true to avoid errors about loinc codes 2018-12-17 12:45:51 +02:00
Matti Uusitalo
c86ae90c4d Added more information to the error message about misplaced QuestionnaireResponseItem 2018-12-17 12:45:51 +02:00
Eeva Turkka
074e812162 Added support for Quantity in the default enable when evaluator 2018-12-17 12:45:51 +02:00
Matti Uusitalo
94f0520982 Avoid infinite loop when validating misaligned questionnaireresponseitems 2018-12-17 12:43:43 +02:00
Matti Uusitalo
a6b0cb2a6e Added missing propagation of QuestionnaireResponse root element 2018-12-17 12:43:43 +02:00
Matti Uusitalo
fa0b61d9b8 Thread questionnaireResponse root element through questionnaire validation so implementations of enablewhen may validate against the complete resource 2018-12-17 12:43:43 +02:00
Matti Uusitalo
a981452957 Reverted to original version 2018-12-17 12:43:43 +02:00
Matti Uusitalo
b7843498dc Changed versions to use fi.kela.kanta.phr parent 2018-12-17 12:43:43 +02:00
Matti Uusitalo
76eb85308c Way to inject custom enablewhen evaluator added 2018-12-17 12:43:43 +02:00