Commit Graph

681 Commits

Author SHA1 Message Date
Grahame Grieve ac72dff882 More validation of URL charaters in XHTML ```a``` and ```img``` 2020-03-26 06:47:53 +11:00
jamesagnew 97ddf60066 Version bump 2020-03-17 07:55:15 -04:00
Grahame Grieve 849b65417a Release new version 4.2.9 2020-03-17 14:58:36 +11:00
Grahame Grieve 298b39e615 add cross version snapshot generation tests 2020-03-17 11:15:53 +11:00
Grahame Grieve 335b5587b3 add cross version snapshot tests 2020-03-17 11:15:12 +11:00
patrick-werner 5f7a6efe60 NPE fix 2020-03-13 19:24:55 +01:00
patrick-werner fe4b4acc3f Merge branch 'i18nUtilities' into i18n_fixes 2020-03-13 18:45:26 +01:00
patrick-werner a44d1c3582 added german translations for new properties
removed unused property, added html message part as property in InstanceValidator
minor fixes
2020-03-13 18:45:12 +01:00
patrick-werner 109b80ed6f start movin i18n code Contexts -> utilities 2020-03-13 09:53:59 +01:00
patrick-werner df8682428a readding all the i18n work 2020-03-13 08:49:05 +01:00
Grahame Grieve 5f3f84cf22 Release new version 4.2.8 2020-03-13 16:47:14 +11:00
Grahame Grieve 742f444b53 Release new version 4.2.7 2020-03-13 13:07:01 +11:00
Grahame Grieve cb3178ec14 add document date test 2020-03-13 12:58:13 +11:00
Grahame Grieve 1757e27caf check version before checking cache if no version specified when loading a package 2020-03-13 12:57:24 +11:00
Grahame Grieve 9c2473e527 readd document date test 2020-03-13 12:55:17 +11:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
patrick-werner 34c63d0555 Merge remote-tracking branch 'origin/master' into i18n
# Conflicts:
#	org.hl7.fhir.validation/src/main/resources/Messages_de.properties
2020-03-12 08:07:00 +01:00
patrick-werner c7b8767a4c renamed Message_de properties 2020-03-11 01:09:05 +01:00
patrick-werner fdb07ba097 added german translation 2020-03-10 23:16:08 +01:00
patrick-werner 162341b97a processed new JsonParser errors 2020-03-10 18:36:35 +01:00
patrick-werner f5a7961ef7 Merge remote-tracking branch 'origin/master' into i18n 2020-03-10 18:18:21 +01:00
patrick-werner 108efaaf92 finished i18N processing 2020-03-10 18:07:14 +01:00
patrick-werner 14a0f7d687 added i18N handling to JsonParser, TurtleParser, XMLParser 2020-03-10 15:48:43 +01:00
patrick-werner 9443b1c1c3 added i18N handling to JsonParser 2020-03-10 14:32:46 +01:00
patrick-werner c8187bc8f2 added i18N handling to all ParserBase
FIXED "'" escaping in properties
2020-03-10 14:19:19 +01:00
Grahame Grieve 130cc3892c remove dead code 2020-03-10 17:57:31 +11:00
Grahame Grieve d77b687d95 fix bug in testing for validation cases 2020-03-10 06:47:55 +11:00
patrick-werner 41e9b0e9fa Merge remote-tracking branch 'origin/master' into i18n 2020-03-09 14:12:04 +01:00
Grahame Grieve e14ff0eefe Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-06 12:31:01 +11:00
Grahame Grieve dcb3e1f7f0 improve documentation 2020-03-06 12:30:41 +11:00
Grahame Grieve a680074406
Merge pull request #150 from hapifhir/improveFileIgnores
improved recursive if scanning ignores
2020-03-06 12:26:03 +11:00
patrick-werner 7858ba9717 removed unnecessary check 2020-03-05 22:19:19 +01:00
patrick-werner bb11af20fd improved recursive if scanning ignores 2020-03-05 22:16:35 +01:00
patrick-werner 277d22fad6 fixed missed replaces 2020-03-05 19:03:17 +01:00
patrick-werner 306efd21ac i18n: moved i18N message handling to BaseWorkerContext 2020-03-05 18:49:25 +01:00
patrick-werner 253570a7d8 i18n: slicingHint finished 2020-03-05 16:10:49 +01:00
patrick-werner 2f596be5b0 i18n: slicingHint 2020-03-05 15:52:37 +01:00
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