Commit Graph

1939 Commits

Author SHA1 Message Date
Grahame Grieve 3f67cbee9e Merge remote-tracking branch 'origin/master' 2023-07-18 11:12:10 +10:00
Grahame Grieve ced714305d Fix to get context variables right when running invariants + fix for parent not always being populated + check type in derived profiles 2023-07-18 11:05:06 +10:00
dotasek bdb415cf8a
Bump thymeleaf to 3.1.1.RELEASE (#1349) 2023-07-17 16:35:28 -04:00
dotasek 6c2c1b21f9
Remove javalin dependency (#1348) 2023-07-14 16:51:06 -04:00
dotasek c2cb2aaa21
Add OWASP dependency check (#1347)
* Add owasp dependency scan

* Add github action to upload results

* Remove unused javalin dependency, also generate html reports

* formats instead of format

* Restore javalin dependency (make revert easier later if necessary)

* Set OWASP to run on PR plus better names for sarif upload
2023-07-14 10:56:40 -04:00
dotasek 8cf4a62f32
Remove unneeded resources (#1346) 2023-07-12 16:46:42 -04:00
Grahame Grieve 5e30c0ee92 Fix checking FHIRPath statements on inner elements of type slices 2023-07-09 08:03:35 +10:00
Grahame Grieve 1f6912d3a6 fix issue checking invariant expressions in R5 2023-07-08 16:44:50 +10:00
markiantorno 6a187a9232 Updating version to: 6.0.22-SNAPSHOT and incrementing test cases dependency. 2023-07-07 12:36:19 +00:00
markiantorno 45ae02cf1d Release: v6.0.21
## Validator Changes

* Fix up processing conditions in -watch mode
* Fixes for validating against logical models (for fixed up CDA core package)
* Better testing of extension context (when limited to profile)
* Fix handling of UCUM codes when no terminology server
* Report hints and warnings on some code validation that had been not reported
* Better validation of valuesets when checking derived profiles

## Other code changes

* Render reference identifier if there is one when rendering references
* Hide empty place holder column when rendering by profile
* Fix npe rendering extensions + improve base64 presentation
* OMOP terminology importer
* update SPDX code system in R4/R4B for support for not-open-source
* Fix up type handling for conversions between R4/R4B and R5 (OperationDefinition fix)
***NO_CI***
2023-07-07 12:10:05 +00:00
Grahame Grieve 9acd16e35a clarify code 2023-07-07 14:43:16 +10:00
Grahame Grieve cacf6696cd
Merge pull request #1333 from DarthGizka/stability-fixes-20230630
Fix typo in ValidatorUtils::readInteger(), fix accident-prone file list loop & exempt missing files from processing
2023-07-07 14:41:59 +10:00
Grahame Grieve 83fc639242 more fixing processing logical models 2023-07-07 10:17:48 +10:00
Grahame Grieve c6e68dc9c6 Fixes to validator for new CDA package (proper handling of logical model types) 2023-07-07 09:38:55 +10:00
Grahame Grieve f77392199d Add test for UCUM with no terminology server 2023-07-05 07:23:10 +10:00
Grahame Grieve 4a85513acb pick up missing hints and warnings on terminology fields 2023-07-05 07:22:46 +10:00
markiantorno 6db701767a Updating version to: 6.0.21-SNAPSHOT and incrementing test cases dependency. 2023-06-30 23:19:08 +00:00
markiantorno 6a6c425562 Release: v6.0.20
## Validator Changes

* no changes

## Other code changes

 * Fix for SPDR not-open-source in code
 * fix name and title in VSAC import process
 * More work on Android support + fix issues in NPM package installation that caused
***NO_CI***
2023-06-30 22:52:51 +00:00
Stefan Otto 213cd931f9
Update ValidationEngine.java 2023-06-30 17:20:37 +02:00
Stefan Otto a05b69288f
Update ValidatorUtils.java 2023-06-30 17:19:21 +02:00
Stefan Otto 49bc184877
fix typo in Params::readInteger() 2023-06-30 17:12:21 +02:00
markiantorno 3c8e26f078 Updating version to: 6.0.20-SNAPSHOT and incrementing test cases dependency. 2023-06-30 05:37:45 +00:00
markiantorno 3b82a4d829 Release: v6.0.19
## Validator Changes

* no changes

## Other code changes

* Fix for SPDR not-open-source in code
* fix name and title in VSAC import process
* More work on Android support
***NO_CI***
2023-06-30 05:08:20 +00:00
markiantorno 06a1d523a3 Updating version to: 6.0.19-SNAPSHOT and incrementing test cases dependency. 2023-06-29 05:12:43 +00:00
markiantorno 76955fa3d5 Release: v6.0.18
## Validator Changes

* Fix issue loading SPDX value set + Fix missing code for 'not-open-source'
* Allow target to be treated as source when validating FML
* Fix issues validating names and urls for logical models
* Don't duplicate warnings about missing expressions on invariants in R5

## Other code changes

* Handle case where base hasn't got a snapshot generating snapshots
***NO_CI***
2023-06-29 04:47:28 +00:00
Grahame Grieve 37e2600186 Don't duplicate warnings about missing expressions on invariants in R5 2023-06-29 13:19:02 +10:00
Grahame Grieve efafc9fb9b Fix issues validating names and urls for logical models 2023-06-29 13:18:37 +10:00
Grahame Grieve bb66eccf45 Allow target to be treated as source when validating FML 2023-06-29 13:18:01 +10:00
markiantorno 7ffbe7703d Updating version to: 6.0.18-SNAPSHOT and incrementing test cases dependency. 2023-06-28 07:13:43 +00:00
markiantorno 345151b132 Release: v6.0.17
## Validator Changes

* Fix check for correct type name use in logical models (for CDA)
* Fix bug loading packages (introduced working on minimal loading)
* Fir NPE processing R3 Structure Definitions
* exempt ele-1 from constraint consistency checking
* Add -watch-scan-delay and -watch-settle-time
* fix missing error validating structure maps
* Fix bug with erroneous warning in snapshot generation about profile not being found
* Update SPDX code system to latest version
* Output proper filename in validation log

## Other code changes

* Refactor version utility code
* Fix help placeholders
* Better error when handling loading resources
* fix duplicate element generation in CDA.AD type snapshot generation
* Fix message about rendering problem. Actual solution... not sure.
* Minimal Memory model changes for Npm for Android
***NO_CI***
2023-06-28 06:47:19 +00:00
Grahame Grieve a0c776e61d
Merge pull request #1327 from hapifhir/do-20230627-fix-help-placeholders
Fix CLI '-help' text placeholders
2023-06-28 15:51:29 +10:00
Grahame Grieve 29c2f46726 Merge remote-tracking branch 'origin/master' 2023-06-28 13:27:19 +10:00
Grahame Grieve 704d498300 Fix NPE handling R3 structure definitions 2023-06-28 05:56:14 +10:00
dotasek a114d751db Refactor version utility code 2023-06-27 11:29:24 -04:00
dotasek 50e8d990a8 Fix help placeholders 2023-06-27 10:49:55 -04:00
Grahame Grieve ec8e999162 exempt ele-1 from constraint consistency checking 2023-06-27 22:19:44 +10:00
Grahame Grieve 4b07f4f7dc fix missing error validation structure maps 2023-06-27 22:18:56 +10:00
Grahame Grieve 5a55f74a91 fix failing mock test 2023-06-27 06:22:24 +10:00
Grahame Grieve ba27fc9da7 fix testing bugs 2023-06-24 09:36:45 +10:00
Grahame Grieve d35eba6b23 Add -watch-scan-delay and -watch-settle-time 2023-06-24 09:07:07 +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
markiantorno 67cb3006f2 Updating version to: 6.0.17-SNAPSHOT and incrementing test cases dependency. 2023-06-21 07:40:48 +00: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 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 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
dotasek 829882773a
More use of dependencyManagement, bump guava (#1313) 2023-06-19 12:26:21 -04:00