Commit Graph

5548 Commits

Author SHA1 Message Date
Grahame Grieve d5252813c8
Merge pull request #1321 from DarthGizka/fix_source_file_println
ValidationEngine::validate(): print SourceFile::getRef() instead of Object::toString()
2023-06-28 06:33:38 +10:00
Stefan Otto 26eb05219a
ValidationEngine::validate(): print source file getRef() instead of Object::toString()
`ValidationUtils.SourceFile` does not override Java's default implementation of `toString()`, which is why `validate()'  currently prints "Validate org.hl7.fhir.validation.ValidatorUtils$SourceFile@5382184b" or something like that.
2023-06-22 13:00:33 +02:00
Grahame Grieve ff44e50fc3
Merge pull request #1318 from hapifhir/gg-202206-android-1
Allow custom folder for NPM Cache, for Android
2023-06-22 15:06:55 +10:00
markiantorno 67cb3006f2 Updating version to: 6.0.17-SNAPSHOT and incrementing test cases dependency. 2023-06-21 07:40:48 +00:00
Grahame Grieve 189d9811c0 Allow custom folder for NPM Cache, for Android 2023-06-21 17:13:17 +10:00
markiantorno 8bd0f0b1ad Release: v6.0.16
## Validator Changes

Post DevDays Release - many significant changes!

* Add ```-watch-mode``` parameter (See [doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-Watchmode))
* Start checking constraint expressions defined in profiles and logical models, and update FHIRPath for logical models
* Start checking ElementDefinition.mustHaveValue and ElementDefinition.valueAlternatives
* Start validating derived questionnaires
* Tighten up checking on FHIRPath - enforce use of ```'```, and don't accept ```"``` for string delimiters
* Add ```-allow-double-quotes-in-fhirpath``` parameter ([doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-LegacyFHIRPathSetting))
* Fix error when validating profiles that mix canonical() and Reference() types
* Fix extension context checking
* Fix erroneous FHIRPath expression eld-11 when loading
* Fix incomplete support for ```-display-issues-are-warnings``` parameter
* Fix broken NullFlavor binding in R4
* Fix various NPE errors doing value set validation (+ logging tx operations)
* Minor performance improvements to start up time
* Auto-update implied slicing elements when min < slice min

## Other code changes

* Add CodeQL to the build process
* Various NPE fixes
* Add getValueAsString(TemporalPrecisionEnum) method to date/time types
* Fix rendering for unresolvable ValueSets
* Remove r4b eclipse project files
* Upgrade multiple dependency libraries (per CodeQL)
* Only record sorting errors when generating snapshots when debug mode is on
* Tighten up SSL certificate checking
* Partial refactor of CLI parameter handling
* Fix path regex (per CodeQL)
* Remove erroneous logging from conversion tests
* Rendering improvements for various profile related extensions
* More work on TxTests operation (lenient wrt extensions)
* Fix handling of summary extension (delete duplicate tools summary extension, and don't inherit it)
* Reprocess URLs in Markdown extensions on both StructureDefinition and ElementDefinition
* Improve URL detection in markdown when reprocessing URLs
***NO_CI***
2023-06-21 07:09:07 +00:00
Grahame Grieve 61b5619b84 upgrade core 2023-06-21 16:16:04 +10:00
Grahame Grieve fea8d5c29a fix test cases 2023-06-21 11:40:39 +10:00
Grahame Grieve 2acd6f9537 Merge remote-tracking branch 'origin/master' 2023-06-21 10:54:50 +10:00
Grahame Grieve ea8e26df62 update release notes 2023-06-21 10:53:54 +10:00
Grahame Grieve 3f6ec1da47 Revert "update R4B FHIRpath implementation"
This reverts commit 3abd19cc4d.
2023-06-21 10:19:02 +10:00
Grahame Grieve 661a0a6919 fix validation tests 2023-06-21 09:23:28 +10:00
Grahame Grieve 59320a56fc fix erroneous R5 FHIRpath constraint (" -> ') 2023-06-21 09:23:08 +10:00
Grahame Grieve 098b8d5520 fix extension context checking 2023-06-21 09:22:47 +10:00
Grahame Grieve 6effe6ebe9 update FHIRPath for logical models and nested type checking and fix repeat() checking 2023-06-21 09:22:18 +10:00
Grahame Grieve 04f7805be4 Auto-update extension min- slicing + fix handling of summary extension + update markdown element url handling + update url detection in markdown 2023-06-21 09:21:05 +10:00
Grahame Grieve 52abef6f2c Auto-update extension min- slicing + fix handling of summary extension + update markdown element url handling + update url detection in markdown 2023-06-21 09:20:35 +10:00
Grahame Grieve 3abd19cc4d update R4B FHIRpath implementation 2023-06-21 09:19:19 +10:00
Mark Iantorno 799f5220ae Updating test case dependency to v1.3.10
***NO_CI***
2023-06-20 14:55:11 +00:00
Grahame Grieve b58fc0860f Merge remote-tracking branch 'origin/master' 2023-06-20 10:08:37 +10:00
Grahame Grieve d178bbee77 release notes 2023-06-20 10:08:35 +10:00
Grahame Grieve 4e5c501b1f
Merge pull request #1315 from hapifhir/do-20230619-datetimetype-string-precision
New getValueAsString(TemporalPrecisionEnum) method for DateTimeType
2023-06-20 09:56:40 +10:00
Grahame Grieve 36e94ce4be
Merge pull request #1311 from hapifhir/gg-202206-validator-watch-mode
Gg 202206 validator watch mode
2023-06-20 09:56:10 +10:00
Grahame Grieve 2607d028a7 fix compile problem 2023-06-20 09:15:36 +10:00
Grahame Grieve 551892c095 Merge remote-tracking branch 'origin/master' 2023-06-20 09:11:51 +10:00
Grahame Grieve 9cf8e0368c fix up extension context checking 2023-06-20 08:36:22 +10:00
Grahame Grieve be01ae2c21 Fix for NPE 2023-06-20 07:02:36 +10:00
Grahame Grieve ec7b79bc1e Fix rendering for unresolvable value sets 2023-06-20 07:02:26 +10:00
dotasek ae59d97ba5 Document new method, add to all FHIR versions 2023-06-19 15:41:04 -04:00
dotasek 92fb21de1e Test and new getValueAsString(TemporalPrecisionEnum) method 2023-06-19 14:47:39 -04:00
dotasek 84bd1e5fec
Remove eclipse specific files (#1314) 2023-06-19 14:26:37 -04:00
dotasek 829882773a
More use of dependencyManagement, bump guava (#1313) 2023-06-19 12:26:21 -04:00
dotasek 195dcc0898
Fix unimplemented method in test (#1312) 2023-06-19 10:51:10 -04:00
Grahame Grieve 2b8e61e2cb add watch mode to validator 2023-06-19 22:43:54 +10:00
Grahame Grieve 394077c8ec fix NPE doing valueset validation 2023-06-19 22:43:43 +10:00
Grahame Grieve ac68a99429 More validate invariants 2023-06-19 22:43:24 +10:00
Grahame Grieve 19d3952b11 Validate FHIRPath constraints in IGs and profiles 2023-06-19 22:42:02 +10:00
Grahame Grieve d1a785e5ad only record sorting errors if debugging snapshot generation 2023-06-19 22:40:08 +10:00
Grahame Grieve 38b5295f8d fix error logging headers 2023-06-19 22:39:42 +10:00
Grahame Grieve 96cadbed47
Merge pull request #1259 from hapifhir/Type-validation-fixes
Fix problem when profiling a base type that supports both Reference a…
2023-06-19 02:36:33 +10:00
Grahame Grieve 8bd4fc3ee6
Merge pull request #1309 from hapifhir/do-20230615-tx-request-lenient-display
Add lenient-display-validation param
2023-06-19 02:33:17 +10:00
Grahame Grieve 8e0e360350
Merge pull request #1306 from hapifhir/do-20230612-ssl-too-trusting
Get rid of too trusting SSLCertTruster
2023-06-19 02:31:17 +10:00
Grahame Grieve b7425d64b9
Merge pull request #1291 from hapifhir/do-20230602-refactor-cli-params
Refactor Validator CLI params
2023-06-19 02:29:32 +10:00
Grahame Grieve 8fe47659e2
Merge pull request #1308 from hapifhir/do-20230613-regex-fix
Attempt to fix regex
2023-06-19 02:27:09 +10:00
Grahame Grieve d7f12f5080
Merge pull request #1305 from rettema/rje-20230612-fix-subtopic40_50test
Remove hard coded output stream paths from SubscriptionTopic40_50Test class
2023-06-18 20:29:43 +10:00
Grahame Grieve 712582d941 fix test cases 2023-06-18 19:48:33 +10:00
Grahame Grieve ff92de7c1d Fix failing tests 2023-06-18 18:18:19 +10:00
Grahame Grieve 297313b30a Fix issue with broken NullFlavor binding in R4 2023-06-18 13:02:21 +10:00
Grahame Grieve dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
Grahame Grieve 11eb2cef53 fix index error 2023-06-17 09:41:15 +10:00