535 Commits

Author SHA1 Message Date
patrick-werner
07d0cc7876 Merge branch 'master' into bpCheckValFix 2018-05-17 09:53:41 +02:00
patrick-werner
78f9d6333a temp. fixed: "Attempt to read a single element when there is more than one present" #949
Will be overwritten by next RI import!
2018-05-17 09:43:35 +02:00
James Agnew
4fd868afae Credit for #946 and add extensions to the CLI uploader 2018-05-16 19:32:12 -04:00
patrick-werner
b4d2fcfc68 added core-extension validation support 2018-05-16 18:51:55 -04:00
James Agnew
0b6a146945 Don't do karaf verifier by default 2018-05-16 14:24:55 -04:00
patrick-werner
412994bfc7 Merge branch 'core-extensions' 2018-05-15 12:16:35 +02:00
James Agnew
a3ff08d9ec
Replace phloc with ph for #775 (#930)
* Replace phloc with ph

* Enable schematron tests

* Make HAPI-FHIR ph-schematron on OSGI

* Work on getting tests passing

* Another test fix

* Fix up transaction handling for DSTU2

* Add changelog

* Avoid double transaction

* Dont use readonly

* One more test fix

* Update to snapshow build

* Resolve a circular dependency

* Try to fix tests

* Solve recurring NPE in DSTU2 tests

* Fix one more test

* Test fix

* More test threading fixes

* One more attempt to get tests passing

* Refactoring for tests

* Refactoring for tests
2018-05-14 17:38:40 -04:00
James Agnew
3a03d4ff63 Add test for #942 2018-05-13 10:31:54 -04:00
patrick-werner
305cc9c9c4 added core-extension validation support 2018-05-13 16:22:57 +02:00
James Agnew
8c47d966e9 Add test for #938 2018-05-13 09:03:12 -04:00
jamesagnew
3d762b984b Sync to R4 definitions 2018-05-12 19:35:42 -04:00
patrick-werner
405bb50036 Modified Information warning about non must-support content 2018-05-12 14:12:01 +02:00
James Agnew
b17eebd8d2 Squashed commit of the following:
commit 2be11651c212ede9d50956ba9d4a802885e9dbed
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:50:53 2018 -0400

    Update changelog

commit b3bb5f9052ecebce87588e2d5f5be983fbd0fd2e
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 11:19:28 2018 -0400

    Parameter updates

commit f6b1082ba46f4d0d47d3e0094e904d527b0ebf75
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 07:24:30 2018 -0400

    More test fixes

commit 81a69c265f7347f6a23c73b827c79a8a4051b21b
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:26:48 2018 -0400

    Fix compile error

commit 935938e92c697be1940b788a46c38ffd5ce84b84
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:25:18 2018 -0400

    Another test fix

commit 43568a1f8dd6325bebba2cd47ffb42bee7f12aa6
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:18:06 2018 -0400

    Fix compile error

commit e95894e643dda0a70ab5ab7be4363cae4ce5c4e6
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 06:13:50 2018 -0400

    More work on tests

commit 9393fb8f4f93e69f80293c0488cc16f74613f25c
Author: James Agnew <jamesagnew@gmail.com>
Date:   Thu May 10 05:36:27 2018 -0400

    One more fix

commit 437f5051e4742eb500ec1eb1852e4c6105927c51
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 21:32:10 2018 -0400

    Work on validator

commit 20c51add4fbb5c33d7b5f8517fe9bf9a4f314292
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 19:34:10 2018 -0400

    Validator fix

commit 7bf2b0a0e93b71f6fbc46ab3b1dbd0fba6367959
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 18:44:04 2018 -0400

    Fix test

commit adc73e75c9b392ed964588f03970ab1afdb4cdef
Author: James Agnew <jamesagnew@gmail.com>
Date:   Wed May 9 17:22:34 2018 -0400

    Merge validator
2018-05-10 11:53:32 -04:00
James Agnew
f092caf386
Merge pull request #903 from dgileadi/902-fix-bounds-exception
Fix #902, IndexOutOfBoundsException for DSTU2 QuestionnaireResponses with groups
2018-05-04 08:49:17 -04:00
jamesagnew
83a5eedb29 Fix performance regression in DSTU3 validation 2018-04-28 11:42:59 -04:00
Heinz-Dieter Conradi
01b84cdd96 Fix the InstanceValidator so that the test passes for text items too. 2018-04-03 23:40:36 +02:00
Heinz-Dieter Conradi
04ae5a30d1 R4: add a questionnaire test which checks all possible item types 2018-04-03 23:39:58 +02:00
Heinz-Dieter Conradi
fafbabb34a DSTU3: add a questionnaire test which checks all possible item types 2018-04-03 23:37:37 +02:00
Heinz-Dieter Conradi
baf53efd32 Fixing the NPE in the InstanceValidator 2018-04-03 23:35:00 +02:00
Heinz-Dieter Conradi
1aff132691 Test questionnaire with embedded items for R4.
The test for an item embedded in a text item works as expected.
    However, the embedded item in a choice or openchoice case
    triggers an NPE.
2018-04-03 23:34:53 +02:00
Heinz-Dieter Conradi
eeb4fe62b7 Test questionnaire with embedded items for DSTU3.
The test for an item embedded in a text item works as expected.
However, the embedded item in a choice or openchoice case
triggers an NPE.
2018-04-03 23:33:12 +02:00
Heinz-Dieter Conradi
913283559f Wrong javadoc parameter name
This is an error in some ide's and of course in javadoc.
2018-04-03 23:28:23 +02:00
Heinz-Dieter Conradi
41207e5555 Testing missing required items in QuestionnaireResponses 2018-04-03 23:20:31 +02:00
Heinz-Dieter Conradi
2d55b1f886 Remove the Ignore from the QuestionnaireResponseValidatorDstu3Test 2018-04-03 23:20:31 +02:00
Heinz-Dieter Conradi
b2107baae4 Fix the server exception when validating an invalid local reference
'fetcher == null' is ok for a local reference.

Unfortunately, there are now two messages with the same meaning:
- one from the ProfileValidation
- one from the code in this location
2018-04-03 23:11:53 +02:00
Heinz-Dieter Conradi
f2cd05fe3b Add test for invalid local reference (R4)
Currently an invalid local reference causes an InternalErrorException
caused by: FHIRException: Resource resolution services not provided.
The validation should instead return normally and contain an error
message.
2018-04-03 23:11:40 +02:00
Heinz-Dieter Conradi
229e0977d2 Add test for invalid local reference (DSTU3)
Currently an invalid local reference causes an InternalErrorException
caused by: FHIRException: Resource resolution services not provided.
The validation should instead return normally and contain an error
message.
2018-04-03 23:09:39 +02:00
jamesagnew
c5b286921e Tests all passing 2018-03-30 15:18:57 -04:00
jamesagnew
180336e076 Sync to master 2018-03-29 06:54:24 -04:00
jamesagnew
53c2d8a38d Merge branch 'master' into loinc_loader_update 2018-03-29 06:21:55 -04:00
jamesagnew
418e82032f Prep for 3.3.0 2018-03-29 05:48:13 -04:00
James Agnew
d9c167455e Make sure we correctly clean up resources 2018-03-27 15:20:22 -04:00
James Agnew
b56d65ef5b
Merge pull request #871 from johnpoth/hapi-fhir-osgi
Implement #826 - add OSGI support and Apache Karaf features with inte…
2018-03-27 06:06:34 -04:00
David Gileadi
3b724107ff Fix the IndexOutOfBoundsException, #902
Add a test that demonstrates it
2018-03-26 11:10:55 -07:00
James Agnew
29c09e40f0
Merge pull request #858 from patrick-werner/master
added Test for #11 to Dstu3 and R4, fixed #853
2018-03-24 06:31:24 -04:00
James Agnew
308ac63a77 Merge branch 'master' into loinc_loader_update 2018-03-20 07:53:41 -04:00
James Agnew
6359f7f8a1 More work on loinc 2018-03-19 08:51:02 -04:00
patrick-werner
ff04ab3358 ${argLine} -> [at]{argLine}
see:
http://maven.apache.org/surefire/maven-surefire-plugin/faq.html#late-property-evaluation
2018-03-19 10:45:33 +01:00
patrick-werner
0cee57392a Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	hapi-fhir-validation/src/test/java/org/hl7/fhir/r4/validation/FhirInstanceValidatorR4Test.java
2018-03-07 11:45:31 -03:00
James Agnew
1a331838d0 Add comment for #870 2018-03-05 08:36:42 -05:00
James Agnew
1fcfc13dca Merge branch 'schematron-questionnaire-que-7' of https://github.com/hdconradi/hapi-fhir into hdconradi-schematron-questionnaire-que-7 2018-03-05 08:29:57 -05:00
jamesagnew
07290ae8a0 Sync to latest R4 code 2018-03-04 11:02:47 -05:00
jamesagnew
b2ceb87a70 Work on #873 2018-03-03 17:50:29 -05:00
James Agnew
790aaeb4ea Tests for #872 2018-02-28 21:34:32 -05: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
patrick-werner
0af95842a9 fixes #853
performer validation implementation is now list based
added Test
2018-02-22 12:23:42 +01: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