Commit Graph

377 Commits

Author SHA1 Message Date
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 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 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
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
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
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
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 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