Commit Graph

377 Commits

Author SHA1 Message Date
James Agnew 57136da0bb Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core 2020-02-05 20:11:10 -05:00
James Agnew 6e2b58a4be Remove debug code 2020-02-05 20:10:52 -05:00
Grahame Grieve df9e11c40a fix bug in validator on search params with no references + fix bug in cache manager on github urls 2020-02-02 22:52:43 +11:00
Grahame Grieve 53fc5cf770 add logic to test capability statement 2020-02-02 06:13:24 +11:00
Grahame Grieve 6e9fd79a2a Add support for assumeValidRestReferences 2020-01-31 08:20:33 +11:00
Grahame Grieve d807becebb improve slicing hints and fix validation of FHIRPath URLs 2020-01-30 11:08:12 +11:00
Grahame Grieve c7f3a47ec9 better rendering of slicing logic 2020-01-30 11:05:54 +11:00
Grahame Grieve 01c5789b89 Deal with choices that constrain elements and not types 2020-01-29 19:32:43 +11:00
Grahame Grieve 1c3061dbf7 track slice validation for users to resolve slicing issues 2020-01-29 13:39:49 +11:00
Grahame Grieve cb1fa1dad9 fix bug in validator around fullUrl testing 2020-01-29 06:51:22 +11:00
markiantorno 3132dbfc7f Refactored main version convertor files
- All convertors now have static access, previously 10_30, 10_40, 10_50
  needed to be instantiated
- All code specific to resource types has been moved into it's own file.
  Ex. Patient dstu3 -> r5 is located in conv30_50/Patient30_50.java
2020-01-27 10:29:42 -05:00
Grahame Grieve 00080d7c48 change resolve interface (pass source as well) + don't validate perferred if any other profiles are specified + fix bug resolving references in bundles + pre-calculate bundle references 2020-01-27 21:14:40 +11:00
Grahame Grieve ab0f3f0996 autofix slice names 2020-01-27 21:13:02 +11:00
Grahame Grieve 9e0e8fec3b fixes for change to validator resolve interface 2020-01-27 21:12:09 +11:00
Grahame Grieve f69173d445 fix bug checking reference type and allow tools extensions 2020-01-24 17:19:33 +11:00
Grahame Grieve 9b64f03a3e
Merge pull request #104 from ahdis/oliveregger_fmltests
FML updates for tests and validator
2020-01-22 06:17:10 +11:00
Grahame Grieve a09a657be7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/InstanceValidator.java
2020-01-21 12:25:48 +11:00
Grahame Grieve 300c87a657 better validation of example references by validator 2020-01-21 11:38:05 +11:00
patrick-werner 610989c24d fixed check for "URI values cannot have whitespace" 2020-01-20 17:37:38 +01:00
Grahame Grieve 240e412cf6 Release new version 2020-01-20 21:56:07 +11:00
Grahame Grieve 2ce844175f fix bugs with extension context checking 2020-01-19 16:53:48 +11:00
Grahame Grieve 6d87bebfe3 implement contextInvariant, and finish implementing memberOf 2020-01-17 21:41:33 +11:00
Grahame Grieve 6300ba24b7 rebuild instance validator to get reference profile checking working properly, many downstream issues with validation uncovered and fixes 2020-01-17 10:51:42 +11:00
Grahame Grieve 8482ba43c5 refactor profile handling in validator 2020-01-16 23:37:30 +11:00
Grahame Grieve c13de56203 fixes to snapshot generation and validation for Bundle.tnry slicing by resource profile 2020-01-15 17:55:24 +11:00
Grahame Grieve f2b7c518c5 handle validation for current version better 2020-01-15 08:07:20 +11:00
Grahame Grieve 362ae7bd5f Improve code system validation error messages 2020-01-14 10:40:57 +11:00
Grahame Grieve 6840eb3133 add icd-10 to known url list 2020-01-13 23:18:27 +11:00
Grahame Grieve 184e923c0c Add icd-10 to known url list 2020-01-13 23:17:26 +11:00
Oliver Egger 0ad3882132 FML updates for tests and validator 2020-01-11 00:10:07 +01:00
Grahame Grieve 377aaed23c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-01-11 06:25:03 +11:00
Grahame Grieve ef085a847e fix how CodeableConcept is validated, and add Tx interaction logging by validator 2020-01-11 06:22:16 +11:00
Grahame Grieve 7c0645d119
Merge pull request #113 from hapifhir/prepareMulitLang
extracted errorMessage building
2020-01-11 06:06:05 +11:00
Grahame Grieve 8b25da3443 re-org validator tests 2019-12-30 10:25:59 +11:00
Grahame Grieve 91cf756386 fix bugs in v1.4 validation 2019-12-30 10:25:05 +11:00
Grahame Grieve 0fbbd1ff02 re-org R5 source core preparatory to regenerating 2019-12-22 08:05:58 +11:00
Grahame Grieve 3f09f99356 fix xver extension synthesis 2019-12-21 09:13:34 +11:00
Grahame Grieve 44893b89b9 be specific about which resource types to cache up from core package 2019-12-21 09:13:18 +11:00
Grahame Grieve 9e62243e67 fix error validating references to search parameters 2019-12-20 08:00:20 +11:00
Grahame Grieve 001ca1f755 improve error message when slicing broken 2019-12-19 21:48:32 +11:00
Grahame Grieve a732d84037 Release new version 2019-12-19 17:36:36 +11:00
Grahame Grieve b83302092b Deal with data type changes between versions for cross version extensions 2019-12-19 17:35:54 +11:00
Grahame Grieve 7d86a93d52 improve error message around fixed values 2019-12-19 12:58:18 +11:00
Grahame Grieve 3ce532968a Cross version extennsion support + improve extension validation 2019-12-19 10:50:25 +11:00
Grahame Grieve 4922522adf improve test output for hints 2019-12-19 10:48:52 +11:00
Grahame Grieve 48473f3b5c fix up NativeHostServive and add tests for it 2019-12-18 11:41:40 +11:00
Grahame Grieve ac923179d1 fix todo in validator 2019-12-16 23:36:43 +11:00
Grahame Grieve ba4628eb28 fix OID translation case 2019-12-13 22:05:49 +11:00
Grahame Grieve ea7f3a7957 refactor validation options, and improve codeableConcept validation, and improve code system rendering 2019-12-12 10:33:22 +11:00
patrick-werner 99786a87d2 replaced String.format 2019-12-11 15:06:15 +01:00
patrick-werner 215afe52dd extracted errorMessage building 2019-12-11 14:50:52 +01:00
Grahame Grieve 1fb2da565b fix issue not validating displays in CodeableConcepts 2019-12-11 18:12:47 +11:00
Grahame Grieve 234cca0471 Release new version 2019-12-09 17:45:28 +11:00
Grahame Grieve 250496c9b1 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-12-09 17:36:02 +11:00
Grahame Grieve ebb3170a24 improve error message for fixed value, and fix handling of profile choices 2019-12-09 17:35:11 +11:00
Grahame Grieve f04fdc7931 check info count in test suite 2019-12-09 17:34:13 +11:00
Grahame Grieve 8482e5cc3b fix version display 2019-12-09 17:33:29 +11:00
Grahame Grieve 4aeb9f0bcc fix up version display on validator 2019-12-09 17:29:12 +11:00
Grahame Grieve a6ccb8d835
Merge pull request #112 from hapifhir/minor_polish
merged 2 if statement into 1
2019-12-07 07:08:55 +11:00
Grahame Grieve 5cfa2ffe0d Add deeper profile testing support 2019-12-07 06:55:58 +11:00
Grahame Grieve 0cbb586dd1 add support for integer64 2019-12-07 06:54:16 +11:00
patrick-werner 03473a585a merged 2 if statement into 1 2019-12-06 11:12:47 +01:00
Grahame Grieve 62c1f0af77 set snomed extension in validator 2019-12-03 12:33:16 +11:00
Grahame Grieve a301973ce0 update validator for new R5 rule around messages 2019-12-03 12:32:37 +11:00
Grahame Grieve 4a282a3d66 Post devdays validation blitz 2019-11-29 13:26:03 +11:00
Grahame Grieve 60703efdd4 updates for packages changes 2019-11-26 18:56:52 +11:00
Grahame Grieve e52c78daa2
Merge pull request #101 from ahdis/oliveregger_validator_logicalmodel
validator enhancement for logical models (conversion) and FHIRPath expressions
2019-11-19 08:46:40 +13:00
Grahame Grieve aebb7dd407
Merge pull request #103 from ahdis/oliveregger_valabsolutetypes
validator support for absolute type definitions
2019-11-19 08:43:02 +13:00
Grahame Grieve bd8df9ba90
Merge pull request #106 from ahdis/oliveregger_validator_transform_r4
fml: validator change transform to elementmodel
2019-11-19 08:39:18 +13:00
Grahame Grieve fb8974efd5 fix problem with rootResource and Bundles and contained resources 2019-11-17 19:05:24 +11:00
Grahame Grieve 2aacccd5bb recognise SIDs in validator 2019-11-17 03:10:58 +11:00
Oliver Egger b86f5a5ac8 use ElementModel for FML in create 2019-11-15 16:52:09 +01:00
Oliver Egger 58bee0754a fml: validator change transform to elementmodel 2019-11-13 19:42:00 +01:00
Oliver Egger ea786ddedc evaluate FHIRPath for resource or logical model 2019-11-13 13:40:29 +01:00
Oliver Egger ace4623f42 convert a resource or logical model to xml/json 2019-11-13 13:37:29 +01:00
Grahame Grieve 5fe2552a08 fix version bug generating snapshot 2019-11-12 09:07:54 +11:00
Oliver Egger 86e84a024a validator support for absolute type definitions 2019-11-11 14:57:28 +01:00
Grahame Grieve e45aae4867 fix package dependency loading bug + package saving bug 2019-11-12 00:17:07 +11:00
Grahame Grieve 52b80cf71c load dependency Packages, and load content from URL correctly 2019-11-11 14:20:52 +11:00
Grahame Grieve 1d193e7c87 rework version loading when validating 2019-11-10 21:07:34 +11:00
Grahame Grieve 0fcb97aa2f validation documentation improvements, and batch loading 2019-11-09 07:54:16 +11:00
James Agnew 0eb9f4f75b Troubleshooting classpath issue 2019-11-07 16:15:37 -05:00
Grahame Grieve 02791ae21f update MIMIC code and reverse testing change (maven said no) 2019-11-07 20:57:16 +11:00
Grahame Grieve 7099f904f5 more work on cache management 2019-11-07 12:04:24 +11:00
Grahame Grieve 52187af17a Fix for R3 and R4 technical corrections and getting IGs publishing and passing (and fix version markers) 2019-11-01 11:21:06 +11:00
Grahame Grieve 888356999e Update to support new packages, new NPM specification 2019-10-31 21:54:10 +11:00
Grahame Grieve efd20a22fe move test cases to fhir-test-cases repository 2019-10-28 18:06:41 +11:00
Grahame Grieve 1a89103ec5
Merge branch 'master' into ja_20191025_refactor_testcases 2019-10-28 12:11:14 +13:00
Grahame Grieve 08eb187b79 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-28 10:06:02 +11:00
James Agnew 34cf0628d1 Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
2019-10-27 17:44:22 -04:00
James Agnew 5c96742a16 Remove fixme 2019-10-25 18:00:50 -04:00
James Agnew b68c62ff57 Refactor project to use external testcases 2019-10-25 17:59:40 -04:00
Grahame Grieve 34c4faed8f fix enable when validator 2019-10-25 15:41:29 +11:00
Grahame Grieve 22f4a5a58f fix document validation + add questionnaire validation tests 2019-10-25 13:25:52 +11:00
Grahame Grieve 5afc745424 check type of target resource 2019-10-25 10:23:15 +11:00
Oliver Egger d446b4da02 allow absolute url for type.code, take 2 2019-10-22 22:50:03 +02:00
Oliver Egger a67fe0b346 allow absolute url for type.code 2019-10-22 14:06:26 +02:00
James Agnew 2f380704de Fix precision and validator issues 2019-10-18 10:47:20 -04:00
Grahame Grieve 8be35cc22e Release new version 2019-10-16 09:36:57 +11:00
Grahame Grieve 9d4592730a fix for problem with contained resources 2019-10-07 21:31:49 +07:00
Grahame Grieve 3e5fadecb0 fix issues validating resources with references 2019-10-02 14:51:43 +10:00
Grahame Grieve fb152a24e5 Release new version 2019-09-27 14:16:04 +10:00
I325048 4f9118e9da fix: use proper target object 2019-09-17 21:17:00 +05:30
Grahame Grieve d857d546e5 fix test case 2019-09-18 00:23:01 +10:00
Grahame Grieve e998722d1b Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-09-18 00:02:24 +10:00
Grahame Grieve 6fe8c492d3 more testing of FHIRPath reference resolution 2019-09-18 00:02:01 +10:00
James Agnew c6cbf7d7a6
Allow valdation of string values in openchoice (#81) 2019-09-16 16:04:46 -04:00
Grahame Grieve 3a5c2eea2c add Questionnaire example for #1062 2019-09-17 00:02:11 +10:00
Grahame Grieve 2489588d55 try yo fix tests 2019-09-15 21:57:47 +10:00
Grahame Grieve 9d164ef153 fix failing test 2019-09-15 20:42:21 +10:00
Grahame Grieve 03e928342e Release new version 2019-09-15 01:59:25 +10:00
Grahame Grieve 9256224edc fix failing tests 2019-09-15 01:41:59 +10:00
Grahame Grieve 3f75f9c605 more work on profile comparison 2019-09-13 00:26:25 +10:00
Grahame Grieve 6dd7346cad more work on capability statement comparison 2019-09-12 18:31:26 +10:00
Grahame Grieve faa4b82b2e fix to support validating straight out of published IGs 2019-09-12 04:44:26 +10:00
Grahame Grieve 7bd5d85611 better error message 2019-09-11 22:22:05 +10:00
Grahame Grieve 1d7c80f10c add memory info + xkcd bug link 2019-09-11 15:35:45 +10:00
Grahame Grieve b2d2bebd85 Ad scan mode to validator 2019-09-09 13:32:11 +10:00
Grahame Grieve b91ca35e3d Add proxy support for validator 2019-09-06 10:14:06 +10:00
Grahame Grieve d49dfab97a fix error in validator for fixed value 2019-09-03 13:05:16 +10:00
Grahame Grieve 1a14bfc9e8 Change rules about how maxValueSet is validated 2019-09-02 16:04:21 +10:00
Grahame Grieve ea913ceb30 fix problem validating LOINC codes 2019-09-02 13:48:19 +10:00
Grahame Grieve 09b74eab50 test max value set handling. 2019-09-02 11:27:19 +10:00
Grahame Grieve 34a3dfb43e work on API comparison 2019-08-29 18:11:33 +10:00
Grahame Grieve 512c3932a3 Reconcile R4/R5 implementations 2019-08-23 15:38:58 +10:00
Grahame Grieve c794c9393b add validator test for duplicate properties in json 2019-08-23 14:57:30 +10:00
Grahame Grieve 3d7f701b00 update for changes to representation of special elements 2019-08-23 14:57:05 +10:00
Grahame Grieve 6d611afd48 fix so recursive loading is only by request 2019-08-18 18:15:18 +10:00
Grahame Grieve 539eee9266
Merge pull request #65 from hapifhir/iterate-subfolders
scanDirectory now scans all subfolders
2019-08-18 18:06:19 +10:00
Grahame Grieve 909535eea2 fix problems with skipping unknown content, and empty differentials 2019-08-18 17:47:48 +10:00
Grahame Grieve fb249ea098 fix for narrative rendering problem with OperationDefinition 2019-08-16 07:16:24 +10:00
Grahame Grieve 75d86a15ee set exit code to number of errors 2019-08-14 17:34:07 +10:00
Grahame Grieve 3842dbeb99 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-08-09 04:41:53 +10:00
James Agnew d1c3e522ab Improve validator error message if a fixed coding can't be matched 2019-08-08 14:39:45 -04:00
Grahame Grieve 7ef320b6bb fix ref-1 constraint (define %rootResource) 2019-08-08 21:03:27 +10:00
James Agnew ce392c47bb Improve naming of error flag on profile registration 2019-08-07 05:37:03 -04:00
James Agnew c1728a481d Refactor R4 infrastructure to use the new common
TerminologyServiceOptions, and tweak the validation of enableWhen to
handle a few edge cases correctly.
2019-08-06 18:27:45 -04:00
Grahame Grieve c57f578f03 Move TerminologyServiceOptions to Utilities. 2019-08-06 07:33:48 +10:00
Grahame Grieve ce4453b0cb Support slicing by value set using contained value sets 2019-08-05 15:48:50 +10:00
Grahame Grieve 9d1d64bb59 more working on test suite 2019-08-05 15:48:07 +10:00
Grahame Grieve 1d10470e9c slicing by value set tests 2019-08-05 15:47:30 +10:00
Grahame Grieve 9e0a1de74c rework slicing validation tests 2019-08-05 12:41:54 +10:00
Grahame Grieve 0a05788e57 improve error message 2019-08-05 11:33:06 +10:00
Grahame Grieve 670ae0c79a update R5 validator 2019-08-04 07:38:45 +10:00
Grahame Grieve 4ffa343395 add -debug parameter to validator, and add additional (failing) validator tests, and update R4 code 2019-08-04 07:34:13 +10:00
Grahame Grieve a26abe87ca Improved error message & resource resolution 2019-08-02 14:48:34 +10:00
Grahame Grieve 0cea5c2bcc validation fixes for bundle resolution 2019-08-02 10:50:25 +10:00
Grahame Grieve bf9ead2c9e fix rendering of special compiler types 2019-08-01 11:38:09 +10:00
Grahame Grieve 564d9262c6 fix test 2019-08-01 10:55:10 +10:00
Grahame Grieve fb8b2dcd70 add new test case 2019-08-01 10:54:17 +10:00