Commit Graph

694 Commits

Author SHA1 Message Date
patrick-werner 54bcac00ed moved i18StringConstants class -> fhir.utilities
Extracted error messages of ProfileUtilities
2020-03-05 15:03:03 +01:00
Grahame Grieve d8262c056c Release new version 4.2.6 2020-03-05 16:54:07 +11:00
Grahame Grieve 071a3dd927 Properly process invariants that have a source in the validator 2020-03-05 16:47:28 +11:00
Grahame Grieve 5d971f35e9 Release new version 4.2.5 2020-03-03 21:30:01 +11:00
Grahame Grieve 65fd77ed76 Fix version issue in validation engine + handle loading latest version of a package 2020-03-03 21:27:37 +11:00
Grahame Grieve c923cba4e2
Merge pull request #146 from hapifhir/ja_20200302_use_validationoptions
Use ValidationOptions instead of TerminologyServiceOptions
2020-03-03 08:41:15 +11:00
Grahame Grieve ca240e4659 fix for $145 -proxy Flag treated as File to validate 2020-03-03 08:37:36 +11:00
Grahame Grieve 09e3816d37 make ProfileUtilities methods not static 2020-03-03 07:41:34 +11:00
Grahame Grieve f1d81dde81 fix version extension package issue 2020-03-03 07:40:37 +11:00
jamesagnew 109dea9a02 Use ValidationOptions instead of TerminologyServiceOptions 2020-03-02 06:18:00 -05:00
patrick-werner 08447d040e escaped needed single quotes 2020-03-02 00:07:52 +01:00
patrick-werner 1fd35f8423 removed escape chars 2020-03-02 00:00:56 +01:00
Grahame Grieve 65f65b461a
Merge pull request #143 from hapifhir/i18n
I18n
2020-03-02 09:27:02 +11:00
Grahame Grieve bc9ad8d608 fix failing tests 2020-03-02 09:00:57 +11:00
patrick-werner b626f5867b always check for contained key 2020-03-01 22:51:57 +01:00
patrick-werner ca6d92c390 deleted unnecessary imports 2020-03-01 22:47:41 +01:00
patrick-werner 822b50b8d7 replaced Exception controll flow 2020-03-01 22:44:28 +01:00
patrick-werner 594d77985d extracted Throwable messages 2020-03-01 22:37:34 +01:00
patrick-werner ba5eea6774 fixed MessageFormat.format for messages without arguments
removed duplicage entry from property file
2020-03-01 22:22:52 +01:00
patrick-werner 446c9462a0 String Constant and properties ordered A->Z 2020-03-01 21:57:57 +01:00
patrick-werner 02ff8c5ddf extracted: bpCheck|warningOrError|suppressedwarning 2020-03-01 20:54:09 +01:00
patrick-werner 013dddf2b6 Revert "extracted: bpCheck|warningOrError|suppressedwarning|*Exception|Error"
This reverts commit ef65d094
2020-03-01 20:34:26 +01:00
patrick-werner ef65d09497 extracted: bpCheck|warningOrError|suppressedwarning|*Exception|Error 2020-03-01 20:28:53 +01:00
patrick-werner 3291aaf03a manually fixed duplicated rule entry message 2020-03-01 18:30:42 +01:00
patrick-werner 8b329d283b almost ready to merge
replaced all property keys, added String Constant Class
2020-03-01 18:04:08 +01:00
patrick-werner d84f93e8a8 Merge branch 'master' into i18n
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
2020-03-01 14:50:52 +01:00
Grahame Grieve b15d72a755 fix to compile + adjust validator messages 2020-02-29 06:21:02 +11:00
Grahame Grieve a3d7acdf35 Release new version 4.2.4 2020-02-28 15:16:44 +11:00
Grahame Grieve 4ab61c9c8c Release new version 4.2.4 2020-02-28 14:27:52 +11:00
Grahame Grieve 1c8797f628 support slicing on patternCoding 2020-02-28 14:27:04 +11:00
patrick-werner f8d4b2b49d moved Locale to IWorkerContext
moved LocaleHandling into BaseValidator
2020-02-26 13:00:35 +01:00
markiantorno 5984a0c693 Fixing bad quotation in string.substring 2020-02-25 14:14:40 -05:00
patrick-werner 40d6cd4108 added messageArgument aware method 2020-02-25 19:16:59 +01:00
patrick-werner 2a2d9575e5 added messageArgument aware method 2020-02-25 19:00:52 +01:00
patrick-werner 4cd4044a0e almost done 2020-02-25 18:53:10 +01:00
patrick-werner 5be8bc9f74 Merge branch 'master' into i18n 2020-02-25 18:31:08 +01:00
patrick-werner a80fcd345c replacing quotation marks 2020-02-25 18:27:35 +01:00
patrick-werner 9cd6460df5 replacing quotation marks 2020-02-25 18:26:16 +01:00
patrick-werner 95e0204399 added missin quotation mark 2020-02-25 18:11:06 +01:00
patrick-werner 2814394566 externalized InstanceValidator String
txRule missing, still some bugs
2020-02-25 14:45:58 +01:00
patrick-werner 393d7d24fb added message properties file 2020-02-25 14:37:10 +01:00
patrick-werner f8bda2174b replaced escaped quotations with single quotes for better parsability 2020-02-25 14:27:32 +01:00
patrick-werner dc1c68e55a added another missing closing quotation mark 2020-02-25 10:19:01 +01:00
patrick-werner c88d763bd8 added missing closing quotation mark 2020-02-25 10:12:53 +01:00
Grahame Grieve f1dc0e5754 Release new version 4.2.3 2020-02-25 09:25:56 +11:00
Grahame Grieve 66b855c540 clean up validator 2020-02-25 09:24:58 +11:00
markiantorno 52246a8ce5 cleanup 2020-02-24 15:38:18 -05:00
markiantorno 3a1d621f65 reorg package structure 2020-02-24 15:30:34 -05:00
Grahame Grieve be38cc8e58 updates for version conversion routines 2020-02-24 12:18:14 +11:00
Grahame Grieve 82a4c02a8f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into grahame_work 2020-02-23 07:44:17 +11:00
markiantorno dc40256af4 Cleanup 2020-02-21 17:05:49 -05:00
markiantorno a91b9886ce Trying to refactor the NodeStack class a little so I can pull it out 2020-02-21 16:32:20 -05:00
markiantorno e54d7556b1 Refactoring ResourceValidationTracker 2020-02-21 16:09:13 -05:00
Grahame Grieve 4e3e21219e Release new version 4.2.2 2020-02-22 08:06:58 +11:00
markiantorno 8c2679a200 Refactoring EntrySummary 2020-02-21 15:55:36 -05:00
markiantorno 23677ca155 Refactoring EntrySummary 2020-02-21 15:52:01 -05:00
markiantorno eded933a2d Refactoring ResolvedReference 2020-02-21 15:43:15 -05:00
markiantorno ae30afdf53 Refactored ElementInfo 2020-02-21 15:34:55 -05:00
markiantorno 4df9e568e6 ChildIterator refactored 2020-02-21 15:23:24 -05:00
markiantorno a00c71bb32 ChildIterator refactored 2020-02-21 15:18:44 -05:00
markiantorno abd46acae3 Indexed Element refactored. 2020-02-21 15:06:36 -05:00
markiantorno 6af30d5f7f refactoring InstanceValidator code for readability. 2020-02-21 14:58:02 -05:00
Grahame Grieve 8b5c8586f2 Allow search references in transactions 2020-02-18 14:34:06 +11:00
Grahame Grieve d535bbaacb Use packages.fhir.org 2020-02-18 14:31:09 +11:00
jamesagnew c27baa29bc FIx version bump - should be 4.2.1-SNAPSHOT 2020-02-16 20:43:13 -05:00
jamesagnew d87a1e61d9 Version bump to 4.3.x 2020-02-16 19:20:42 -05:00
Grahame Grieve 17eb1c41f7 Release new version 4.1.63 2020-02-13 21:23:40 +11:00
Grahame Grieve bc1f87e29f Release new version 4.1.62 2020-02-13 12:26:15 +11:00
Grahame Grieve 52bc73a561 more fixes for Questionnaire validation 2020-02-13 12:08:05 +11:00
Grahame Grieve 91e475a1a1 fix Questionnaire EnableWhen validation + fix up tests for public package server 2020-02-13 10:13:35 +11:00
Grahame Grieve fccd3c1871 test for existence of both lang and xml:lang on the xhtml div 2020-02-12 20:24:09 +11:00
Grahame Grieve 977026e62e Improve error message when profile generation fails 2020-02-12 17:44:54 +11:00
Grahame Grieve 0f74f25078 Add more debugging for conversion failures 2020-02-12 17:44:19 +11:00
Grahame Grieve 4708fcb49e add support for file: in package version (per NPM spec) 2020-02-09 08:14:30 +11:00
Grahame Grieve b6ba504320 Release new version 4.1.61 2020-02-07 10:55:06 +11:00
James Agnew 076ee562e3 Avoid trying to fetch SD by null URL (test case added) 2020-02-06 11:16:17 -05:00
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 2732ef3dd5 Release new version 2020-02-02 23:12:05 +11: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 b112b82951 Release new version 2020-02-02 06:13:54 +11:00
Grahame Grieve 53fc5cf770 add logic to test capability statement 2020-02-02 06:13:24 +11:00
Grahame Grieve ca29fdf182 Release new version 2020-01-31 08:23:17 +11:00
Grahame Grieve 6e9fd79a2a Add support for assumeValidRestReferences 2020-01-31 08:20:33 +11:00
Grahame Grieve 1831d19541 Release new version 2020-01-30 11:09:52 +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 6242a70b68 Release new version 2020-01-29 19:33:18 +11:00
Grahame Grieve 01c5789b89 Deal with choices that constrain elements and not types 2020-01-29 19:32:43 +11:00
Grahame Grieve e286d5b7bb Release new version 2020-01-29 13:40:22 +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 dfd3ff067d Release new version 2020-01-27 21:15:09 +11: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 ee6e0d90de Release new version 2020-01-24 17:20:23 +11:00
Grahame Grieve f69173d445 fix bug checking reference type and allow tools extensions 2020-01-24 17:19:33 +11:00
Grahame Grieve 2b1021adbd Release new version 2020-01-22 10:56:12 +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 32240f41c7 Release new version 2020-01-21 12:27:12 +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 53c35ced6b Release new version 2020-01-19 16:55:34 +11:00
Grahame Grieve 2ce844175f fix bugs with extension context checking 2020-01-19 16:53:48 +11:00
Grahame Grieve 06b413f028 Release new version 2020-01-17 21:45:56 +11:00
Grahame Grieve 6d87bebfe3 implement contextInvariant, and finish implementing memberOf 2020-01-17 21:41:33 +11:00
Grahame Grieve d84758f54d Release new version 2020-01-17 10:54:24 +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 98df625435 Release new version 2020-01-15 17:55:48 +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 9f1697dad1 Release new version 2020-01-15 08:08:07 +11:00
Grahame Grieve f2b7c518c5 handle validation for current version better 2020-01-15 08:07:20 +11:00
Grahame Grieve 5332a8ad60 Release new version 2020-01-14 14:31:06 +11:00
Grahame Grieve bd1d677ab8 Release new version 2020-01-14 10:44:15 +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 aabe8b43eb Release new version 2020-01-11 06:39:42 +11: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 bdab9a78b3 Release new version 2019-12-31 14:32:16 +11:00
Grahame Grieve a8b5e86bb3 Release new version 2019-12-30 21:16:00 +11:00
Grahame Grieve 5340926ead Release new version 2019-12-30 10:27:02 +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 ec42fe7bfc Release new version 2019-12-22 08:16:35 +11:00
Grahame Grieve 0fbbd1ff02 re-org R5 source core preparatory to regenerating 2019-12-22 08:05:58 +11:00
Grahame Grieve 9ae93ee689 Release new version 2019-12-21 09:25:36 +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 3f25f96aca refix version 2019-12-20 16:44:46 +11:00
Grahame Grieve 74daa21ddb Release new version 2019-12-20 09:04:08 +11:00
Grahame Grieve 2472a75212 Release new version 2019-12-20 08:02:13 +11:00
Grahame Grieve 9e62243e67 fix error validating references to search parameters 2019-12-20 08:00:20 +11:00
Grahame Grieve 9345017494 Release new version 2019-12-19 22:40:26 +11:00
Grahame Grieve 47a1382966 Release new version 2019-12-19 21:50:25 +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 c8c2bb7b75 Release new version 2019-12-19 12:59:17 +11:00
Grahame Grieve 7d86a93d52 improve error message around fixed values 2019-12-19 12:58:18 +11:00
Grahame Grieve 9d822536c3 Release new version 2019-12-19 11:03:44 +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 89dfaec1de Release new version 2019-12-18 11:42:16 +11:00
Grahame Grieve 48473f3b5c fix up NativeHostServive and add tests for it 2019-12-18 11:41:40 +11:00
Grahame Grieve 23fdcf304d Release new version 2019-12-17 13:48:08 +11:00
Grahame Grieve 6948ef61eb Release new version 2019-12-17 10:00:19 +11:00
Grahame Grieve 54f8ca7600 Release new version 2019-12-16 23:40:13 +11:00
Grahame Grieve ac923179d1 fix todo in validator 2019-12-16 23:36:43 +11:00
Grahame Grieve 2a867d66ee Release new version 2019-12-16 07:27:35 +11:00
Grahame Grieve f6c3bac038 Release new version 2019-12-14 08:07:38 +11:00
Grahame Grieve ba4628eb28 fix OID translation case 2019-12-13 22:05:49 +11:00
Grahame Grieve 674432a8ad Release new version 2019-12-13 11:29: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 64d4e7598d Release new version 2019-12-11 21:47:16 +11:00
Grahame Grieve 1fb2da565b fix issue not validating displays in CodeableConcepts 2019-12-11 18:12:47 +11:00
Grahame Grieve 27ecd52d97 Release new version 2019-12-10 11:46:36 +11:00
Grahame Grieve 89592da490 Release new version 2019-12-09 17:46:58 +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 adc7e377d9 Release new version 2019-12-07 06:56:51 +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 89195efad3 Release new version 2019-12-06 08:56:17 +11:00
Grahame Grieve 5cfa89fdfc Release new version 2019-12-06 07:46:00 +11:00
Grahame Grieve f718764d6e Release new version 2019-12-05 17:51:20 +11:00
Grahame Grieve 7f061c6032 Release new version 2019-12-05 16:59:49 +11:00
Grahame Grieve e213c1e433 Release new version 2019-12-05 11:44:41 +11:00
Grahame Grieve d94e0d402d Release new version 2019-12-05 07:46:29 +11:00
Grahame Grieve 9a44f5247c Release new version 2019-12-05 04:15:02 +11:00
Grahame Grieve b6bc2115a0 Release new version 2019-12-04 11:11:31 +11:00
Grahame Grieve 662f18e09f Release new version 2019-12-04 06:00:32 +11:00
Grahame Grieve e08c1aad96 Release new version 2019-12-03 12:34:47 +11: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 fe9dc1919b Release new version 2019-11-29 18:14:33 +11:00
Grahame Grieve 4a282a3d66 Post devdays validation blitz 2019-11-29 13:26:03 +11:00
Grahame Grieve fea455fbe4 Release new version 2019-11-26 18:57:28 +11:00
Grahame Grieve 60703efdd4 updates for packages changes 2019-11-26 18:56:52 +11:00
Grahame Grieve 45df4708d7 Release new version 2019-11-21 18:18:15 +11:00
Grahame Grieve 0243c92ec6 Release new version 2019-11-20 22:00:24 +11:00
Grahame Grieve d98c496712 Release new version 2019-11-19 19:52:37 +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