5072 Commits

Author SHA1 Message Date
Heinz-Dieter Conradi
f2b8b6bf6c Add some test demonstrating null pointer problems in the DateRangeParam class 2018-12-17 12:21:34 +02:00
Volker Schmidt
612aaf18e0 Corrected multi-valued header value handling for JAX-RS. 2018-12-17 12:21:34 +02:00
Volker Schmidt
20f5df6657 Multiple values for one HTTP header were reduced to the last value. 2018-12-17 12:21:34 +02:00
James Agnew
dc1f48ffed Test fix 2018-12-14 14:13:02 -05:00
James Agnew
f978bc3039 Always apply new search params to any resource reindexing 2018-12-14 13:43:25 -05:00
James Agnew
11b8304cb4 Fix case sensitivity issue 2018-12-13 08:31:35 -05:00
Matti Uusitalo
b262985e21 Do not force enableWhen to have system 2018-12-13 13:29:17 +02:00
jamesagnew
8d195aedf0 Credit for #917 2018-12-13 05:36:19 -05:00
hdconradi
89ede0e524 Extension domains configuration for the fhr instance validator (#917)
* Fix the url of the StructureDefinition extensions

http://hl7.org/fhir/tools/StructureDefinition/ -> http://hl7.org/fhir/StructureDefinition/
That makes the entry for the structuredefinition-expression superfluous.

The url behind IG_DEPENDSON_PACKAGE_EXTENSION does not point is not (yet?) valid too.

* Add ability to configure custom extension domains.

* Testing the extension domains configuration

* Fix obvious bug when determining resource name

The for loop was completely superfluous beforehand.
Either fix it as e.g. in this patch or remove it.

* small improvements and TODO's for possible NPE's

- javadoc see
- use diamond operator for generics
- remove throws clause when exception is not thrown
- add TODO's for some cases a NPE might occur.
  My knowledge of the context is not sufficient to suggest the proper
  way to solve this.
2018-12-13 05:32:47 -05:00
Łukasz Dywicki
1afe36e60a Sources and resource generator mojo which doesn't use value sets. (#852)
* Resource and sources generator mojo which doesn't use value sets.

* Avoid unecessary reference to javassist.
2018-12-13 05:28:16 -05:00
Matti Uusitalo
c85f4b8362 Don't evaluate Extensions when determining type of answer 2018-12-13 12:12:56 +02:00
Graham, Gary
4fea74cfa2 Fix incorrectly grabbed table 2018-12-13 00:49:17 -05:00
Graham, Gary
a01d6cf302 Add init330() to migrate from 2.5 -> 3.3 2018-12-12 21:00:41 -05:00
Matti Uusitalo
82387e6902 Filter Extensions from enablewhen evaluation 2018-12-12 14:22:38 +02:00
Matti Uusitalo
3df4004539 bumped version n. for release 2018-12-11 11:17:40 +02:00
Matti Uusitalo
64f378ae78 Support required questionnaireitem groups 2018-12-10 13:58:14 +02:00
Matti Uusitalo
b2e20b5c31 temporarily set hard coded error when no profile found 2018-12-10 13:57:04 +02:00
Matti Uusitalo
5a508f45b9 Returned to original state as the experiment failed 2018-12-10 13:52:38 +02:00
Matti Uusitalo
f72fbbe402 Temporarily set isNoTerminologyServer() return true to avoid errors about loinc codes 2018-12-10 13:52:38 +02:00
Matti Uusitalo
b922670d97 Added more information to the error message about misplaced QuestionnaireResponseItem 2018-12-10 13:52:38 +02:00
Eeva Turkka
efbff93247 Added support for Quantity in the default enable when evaluator 2018-12-10 13:52:38 +02:00
Matti Uusitalo
d2a1be82f8 Avoid infinite loop when validating misaligned questionnaireresponseitems 2018-12-10 13:51:12 +02:00
Matti Uusitalo
55287f126c Added missing propagation of QuestionnaireResponse root element 2018-12-10 13:51:12 +02:00
Matti Uusitalo
2941e7067a Thread questionnaireResponse root element through questionnaire validation so implementations of enablewhen may validate against the complete resource 2018-12-10 13:51:12 +02:00
Matti Uusitalo
cc9b6a6f21 Copying modifierExtensions from QuestionnaireItems added 2018-12-10 13:51:12 +02:00
Matti Uusitalo
606d901523 Reverted to original version 2018-12-10 13:48:23 +02:00
Matti Uusitalo
addc44b5f4 Changed versions to use fi.kela.kanta.phr parent 2018-12-10 13:48:23 +02:00
Matti Uusitalo
11b1114fe8 Way to inject custom enablewhen evaluator added 2018-12-10 13:48:23 +02:00
Matti Uusitalo
deb8de8705 Added check for answering questions which are not enabled 2018-12-10 13:48:23 +02:00
Matti Uusitalo
3b1c1dc9f4 Added default operator type EQUALS 2018-12-10 13:48:23 +02:00
Matti Uusitalo
e2cdb7bbe6 Removed unused HapiWorkerContext 2018-12-10 13:48:23 +02:00
Matti Uusitalo
98cf1becb1 Added default enablewhen behaviour to STU3 resources converted to R4 2018-12-10 13:46:45 +02:00
Okko Kauhanen
360e8d2d8f Remove unnecessary throw 2018-12-10 13:45:12 +02:00
Okko Kauhanen
430e8c89e8 Fixed bug in finding QuestionnaireResponse child items 2018-12-10 13:45:12 +02:00
Okko Kauhanen
0540efa49b Added operator evaluation for R4 enableWhen 2018-12-10 13:45:12 +02:00
Okko Kauhanen
f56ad302dd fix enablewhen result 2018-12-10 13:45:12 +02:00
Okko Kauhanen
44b24a65cb Missing file 2018-12-10 13:45:12 +02:00
Okko Kauhanen
e4db83ce41 First implementation of enableWhen evaluator 2018-12-10 13:45:12 +02:00
Eeva Turkka
c67554e5aa Unit tests up to date and maybe we need to use r4 path 2018-12-10 13:45:12 +02:00
Eeva Turkka
b0635a91cd Fixed unit test asserts 2018-12-10 13:33:55 +02:00
Eeva Turkka
4dbef9a799 Cherry picked changes from master to 3.5.0 branch 2018-12-10 13:33:55 +02:00
Matti Uusitalo
b76fe1e6be Sync our fork with Hapi master. Merge remote-tracking branch 'upstream/master' 2018-12-10 13:20:27 +02:00
jamesagnew
81e8131ffc Fix broken test 2018-12-09 19:36:03 -05:00
James Agnew
67f5ba6aa0 Also allow ServeMediaResourceRawInterceptor to handle vread requests 2018-12-09 14:29:40 -05:00
James Agnew
19954fa252 Resolve failing test 2018-12-09 14:09:12 -05:00
James Agnew
b442982310 Add media interceptor 2018-12-08 18:49:58 -05:00
jamesagnew
3109a269b3 Attempting to get ErrorProne working on JDK11 2018-12-08 18:22:17 -05:00
jamesagnew
9a97d21660 Bump compiler plugin 2018-12-08 18:06:39 -05:00
jamesagnew
c2e4773384 Try travis with oracle jdk11 2018-12-08 17:59:35 -05:00
jamesagnew
3a3b81a6a8 Preparing things for OpenJDK 11 2018-12-08 17:52:48 -05:00