Commit Graph

2363 Commits

Author SHA1 Message Date
Grahame Grieve 96b5b6c520
Merge pull request #1370 from hapifhir/2023-07-gg-extension-context-fixes
2023 07 gg extension context fixes
2023-08-02 06:05:10 +10:00
dotasek fd1eea71e6
Fix error creating new manifest file (#1372) 2023-08-01 14:03:24 -04:00
Grahame Grieve 0eb96f1f0a fixes for extensions IG testing 2023-07-31 20:46:30 +10:00
Grahame Grieve d314a927af FIx up problem resolving URLs 2023-07-31 14:38:09 +10:00
Grahame Grieve b42c908328 More improved FHIRPath checking when validating 2023-07-31 14:37:41 +10:00
Grahame Grieve c58703c63f Improved invariant checking 2023-07-29 08:49:27 +10:00
markiantorno 0165495626 Updating version to: 6.0.24-SNAPSHOT and incrementing test cases dependency. 2023-07-27 14:23:16 +00:00
markiantorno db5d2b07c3 Release: v6.0.23
## Validator Changes

* Update IPS versions for -ips parameter (and get it working again)
* fix up validation of constraints in differentials (wasn't always happening)
* add warnings when collection status isn't right
* Better information messages when CodeSystem.content = not-present
* Add character check in validator for illegal XML Unicode characters
* Fix path problem in NpmPackage (some simplifier packages couldn't be processed)
* Fix NPE validating codes in value sets with improper expansions

## Other code changes

* Add support for Liquid assign
* Switch to DateTime type for Android Support
* Code clean up: remove unused imports
* Fix JSON unicode encoding handling of chars <32 code points
***NO_CI***
2023-07-27 13:56:32 +00:00
Grahame Grieve 06c865badf Fix NPE validating codes in value sets with improper expansions 2023-07-27 17:50:42 +10:00
Grahame Grieve 6afb151dff Better information when CodeSystem.content = not-present 2023-07-27 17:49:03 +10:00
Grahame Grieve a3c32d86a0 add support for Liquid assign + Fix JSON unicode encoding and add character check in validator for illegal XML Unicode characters 2023-07-26 12:32:51 +10:00
Grahame Grieve 3eef08dab8 remove unused imports 2023-07-26 08:31:21 +10:00
Grahame Grieve fefd1ad1d6 fix -ips parameter and add -check-ips-codes parameter 2023-07-26 00:59:02 +10:00
Grahame Grieve 31a76447bd Merge remote-tracking branch 'origin/master' 2023-07-25 05:55:04 +10:00
Grahame Grieve 659da6367d update IPS versions 2023-07-25 05:54:27 +10:00
markiantorno 592fba54cc Updating version to: 6.0.23-SNAPSHOT and incrementing test cases dependency. 2023-07-22 17:06:10 +00:00
markiantorno b7fd3be910 Release: v6.0.22
## Validator Changes

* Add support for private NPM registries requiring authentication
* Don't check FHIRPaths on differentials - not enough type info to test reliably
* Fix bugs in FHIRPath handling of logical models
* Fix minor bugs in type handling for Logical Models and R3 Profile validation
* Remove spurious warning message validating CDA documents
* Add value set qa checking
* Fixes to validator for new CDA package (proper handling of logical model types)
* Fix up bi-di warning message
* Add provisional support for alternate codes
* Workaround ClinicalImpression definition problem in core spec
* Fix to get context variables right when running invariants + fix for parent not always being populated + check type in derived profiles
* Fix checking FHIRPath statements on inner elements of type slices
* Fix scan of naming systems (error validating namespaces)
* Fix issue checking invariant expressions in R5

## Other code changes

* FHIRPath in HAPI mode: Strip returned IIdType of qualifier, version, and resourceType
* Update R4 and R4B FHIRPath implementations for changes picked up in R5 usage
* Fix obligation rendering message
* Fix missing extensions when converting value set properties
* Fix type of x-unknown-code-system in $validate-code response
* Fix CDA validation test case
* Much work on TxServer test case framework + Update terminology server implementation and tests for changes to test cases
* OMOP Vocabulary and ICFImporter development
* Add OWASP dependency check (#1347), upgrade many packages, remove ShEx
* Add github action to upload results
* Remove unused javalin dependency, also generate html reports
* Added test case for ExampleScenario conversion (R4/R5) and significantly bulked up the conversion process
* Remove unneeded resources (#1346) (help16.png)
* Add test for setVsAsUrl parameter setting (#1345)
***NO_CI***
2023-07-22 16:41:19 +00:00
Grahame Grieve 363045c1c8 Fix bugs in FHIRPath handling of logical models 2023-07-22 08:18:55 +10:00
Grahame Grieve 6350d9743e Don't check FHIRPaths on differentials - not enough type info to test reliably 2023-07-21 21:18:38 +10:00
Grahame Grieve ce44ab27fe fix type of x-unknown-code-system 2023-07-21 21:18:10 +10:00
Grahame Grieve 672ebf0348 Fix CDA validation test case 2023-07-21 21:17:51 +10:00
Grahame Grieve 8980df2364 add value set qa checking 2023-07-21 21:17:12 +10:00
Grahame Grieve cf1b53bba0 Update terminology server implementation and tests for changes to test cases 2023-07-21 05:38:09 +10:00
Grahame Grieve 616cf5fdb3 Add provisional support for alternate codes 2023-07-20 08:21:19 +10:00
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
Grahame Grieve 2b8e61e2cb add watch mode to validator 2023-06-19 22:43:54 +10:00
Grahame Grieve 19d3952b11 Validate FHIRPath constraints in IGs and profiles 2023-06-19 22:42:02 +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 dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
Grahame Grieve 64f84274af Validation Derived Questionnaires 2023-06-17 09:41:06 +10:00
Grahame Grieve 99895e7a97 Performance improvements for validation, including -watch engine 2023-06-17 09:40:34 +10:00
dotasek 1afcd224f7 Merge branch 'master' into do-20230602-refactor-cli-params 2023-06-14 10:55:48 -04:00
Grahame Grieve 60fe0fd0f8 fix tx test on tight 2023-06-14 10:54:59 +01:00
dotasek 1a14bf3ef8 Lookahead based regex 2023-06-13 17:30:33 -04:00
dotasek 3c7abb5eff Test coverage 2023-06-13 17:29:16 -04:00
Grahame Grieve 481698cf24 Fix up terminology tests to ignore irrelevant extensions 2023-06-12 17:17:30 +01:00
dotasek ff7997d7d2
Fix older jetbrains annotations transitive dependency (#1299) 2023-06-09 14:43:49 -04:00
markiantorno 8237fb862b Updating version to: 6.0.16-SNAPSHOT and incrementing test cases dependency. 2023-06-08 21:23:36 +00:00
markiantorno cc14a4142f Release: v6.0.15
## Validator Changes

* no changes

## Other code changes

* Update commons-beanutils and apache.poi dependencies
***NO_CI***
2023-06-08 20:56:04 +00:00
dotasek 05134dc99d
Do 20230607 commons beanutils bump (#1297)
* Move property to module

* Document dependency exclusions, RELEASE_NOTES
2023-06-08 15:40:08 -04:00
markiantorno 10f466487b Updating version to: 6.0.15-SNAPSHOT and incrementing test cases dependency. 2023-06-08 05:03:27 +00:00
markiantorno 3969ac75c4 Release: v6.0.14
## Validator Changes

* no changes

## Other code changes

* Fix bugs in language handling
* Implement Trivy vulnerability scanning and update POI and okhttp libraries
***NO_CI***
2023-06-08 04:33:30 +00:00
markiantorno 619703dbf8 Updating version to: 6.0.14-SNAPSHOT and incrementing test cases dependency. 2023-06-07 13:14:17 +00:00
markiantorno b704ea50fc Release: v6.0.13
## Validator Changes

* no changes

## Other code changes

* add clear() to JsonObject
***NO_CI***
2023-06-07 12:48:04 +00:00
markiantorno a605d944bc Updating version to: 6.0.13-SNAPSHOT and incrementing test cases dependency. 2023-06-06 21:27:18 +00:00
markiantorno 8edd61a197 Release: v6.0.12
## Validator Changes

* Improve message when there's multiple display options

## Other code changes

* Fix loading issue with r5 extensions
* NPM package compression improvements
* Update language file handling to handle context
* Remove logical models in minifier, and other improvements
* Auto update minimum slicing cardinality when slicer is assumed (extensions)
***NO_CI***
2023-06-06 20:55:08 +00:00
dotasek b4a34e0bc0 Fix broken test 2023-06-05 18:19:50 -04:00
dotasek a8051d6c45 Rename to ValidationEngineTask 2023-06-05 17:06:10 -04:00
dotasek 19d557788c Add help text for each visible task 2023-06-05 16:39:45 -04:00
dotasek 88883fc5d8 Start implementing help options 2023-06-05 14:30:54 -04:00
dotasek 8eb8787053 Fix missing convert task 2023-06-05 13:51:41 -04:00
dotasek 7922a9947e Add Tests, TxTests, and Compare Tasks 2023-06-05 13:19:51 -04:00
dotasek 949a27f4e6 Tests + start refactor 2023-06-02 18:00:26 -04:00
markiantorno 72eee9cab7 Updating version to: 6.0.12-SNAPSHOT and incrementing test cases dependency. 2023-06-02 14:24:34 +00:00
markiantorno 44db954743 Release: v6.0.11
## Validator Changes

* no changes

## Other code changes

* Increment CQFramework dependency
***NO_CI***
2023-06-02 13:58:04 +00:00
markiantorno f238d1af14 Updating version to: 6.0.11-SNAPSHOT and incrementing test cases dependency. 2023-05-29 22:43:58 +00:00
markiantorno edd06865c7 Release: v6.0.10
## Validator Changes

* no changes

## Other code changes

* Delete unused package import that breaks downstream JavaDoc
***NO_CI***
2023-05-29 22:14:49 +00:00
markiantorno 253357e5aa Updating version to: 6.0.10-SNAPSHOT and incrementing test cases dependency. 2023-05-29 13:44:41 +00:00
markiantorno 4014698c7d Release: v6.0.9
## Validator Changes

* Add support for "Obligation Profiles" (see https://chat.fhir.org/#narrow/stream/179177-conformance/topic/Proposed.20new.20Profile.20features)
* Adjust slice min/max checking to ignore type slices (rules are different in this case)
* Properly handle validating mime/type when terminology server is not available

## Other code changes

* Rework Pipelines - more stability and quicker
* Fix bug where elementmodel.Element.copy() didn't clone children. Users of the Element Model (not the normal model) should check all uses of copy. (Only known users are Validator + IG publisher)
* Add nimbus & ZXing to core library dependencies for forthcoming improved SHC/SHL support
***NO_CI***
2023-05-29 13:18:12 +00:00
Grahame Grieve cba782fcb3 Properly handle case where terminology server is not available 2023-05-29 01:13:30 +03:00
Grahame Grieve 783a8cf28b Support for Obligation Profiles 2023-05-29 01:12:46 +03:00
Grahame Grieve d60b9009b2 get control over caching for terminology testing 2023-05-25 16:41:52 +10:00
dotasek 55ac916133
Refactor Pull Request Pipeline (#1273)
* Try multiple module target directories

* Try different format

* Try displaying cache task name + multiple caches

* Name the maven artifact cache step + add all modules

* Start consuming cached builds + targets

* Fix job list

* Fix other bad params

* Fix bad indent

* Try test task

* Try different value syntax

* Add all modules

* See if cacheing works from linux to windows

* Refactor as testUnits

* Trim tested modules

* missing colon

* It's not an image anymore, it's a unit

* Test exec

* Test exec for real

* Fix parameters format

* Fix r5 url for package fetch (#1260)

* Fix r5 url for package fetch

* Revert previous commit

* Make r6 the only packages fetched from build.fhir.org

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

* Release: v6.0.6
## Validator Changes

* no changes

## Other code changes

* Update R6 package tgz fetching
***NO_CI***

* Updating version to: 6.0.7-SNAPSHOT and incrementing test cases dependency.

* Try using parameters

* Try another way

* Try third way

* Try fourth way

* Try fifth way

* Try 6

* Try 7

* Apply refactor

* Try iterating over images

* Try iterating over images 2

* Test all images

* Conditionally test multiplatform modules

* Test JDKs too

* Fix and()

* Add JDK image to job names + test JDKs for exec

* Better job name for setup

* Fix names

* more granular test configs

* fix repeated jobs

* name for exec jobs

* fix missing s

* Add placeholder Codecov job

* Fix complaint about job name

* Try moving codecov to test template

* Add explicit module for test

* Try setting up job name

* Try setting up job name

* Change job names to use underscore and alphanum

* Move codecov job back to master-branch

* Fix condition to match ubuntu_java_11

* Publish test reports

* Publish test reports

* use value for artifact name

* Use variable for skipJaCoCo conditions

* Skip validation temporarily

* Change artifact names.

* add jacoco:report-aggregate task

* remove leftover cut and paste line

* Improve test job display name

* Add jacoco results + codecov upload

* Fix accidental inclusions in module loop

* Remove JaCoCo coverage condition

* Bump down JaCoCo plugin

* Rearrange JaCoCo plugin

* Fix surefire and jacoco output

* Add jacoco to pipeline

* Try skipping maven cache step

* Add codecov token

* Add missing MAVEN_CACHE_FOLDER

* Change variable syntax

* Move setup to own template

* Change setup template

* rearrange pipeline yml, re-enable validation test module

* Update core version bumps

* Temporarily disable tests

* Move to PR pipeline + Fix unused pool declaration

* Disable some more.

* Restore disabled and ignored tests

* Fix task name + clean up old prototype

---------

Co-authored-by: markiantorno <markiantorno@gmail.com>
2023-05-24 13:09:13 -04:00
markiantorno 8f52ad8fe8 Updating version to: 6.0.9-SNAPSHOT and incrementing test cases dependency. 2023-05-24 14:51:20 +00:00
markiantorno 4f90606776 Release: v6.0.8
## Validator Changes

* Snapshot Generation Changes:
** Check for slicenames without any slicing
** Check that slice names are unique
** Check for additional slicing rules in a set of slices
** Check that the minimum cardinality of a set of slices is correct
* Clean up duplicate errors when dates/dateTimes/instants have invalid formats
* Handle unknown code systems consistently when validating coded elements
* Handle sub-slicing case where slice matches both the slice definition and the sub-slice definition

## Other code changes

* Add support for R4B to loader
* Change type if cache-id parameter
* Change snapshot generation to not update documentation from profile for elements with profiled types that are not extensions
* Add support for TestPlan and SubscriptionTopic in R4 IGs
***NO_CI***
2023-05-24 14:23:30 +00:00
Grahame Grieve 6ded6410b6 just produce the output every time 2023-05-23 20:47:49 +10:00
Grahame Grieve c48fd2b818 All to strip all paragraphs from generated html (post-markdown) 2023-05-23 17:41:03 +10:00
Grahame Grieve 10a0cc7220 Allow meaningWhenMissing on extension definitions 2023-05-23 17:40:13 +10:00
Grahame Grieve a2e2ef714e Handle sub-slicing case where slice matches both the slice definition and the sub-slice definition 2023-05-23 17:39:08 +10:00
Grahame Grieve 035841f13e #692 - error when meaning-when-missing found in profiles 2023-05-22 21:07:17 +10:00
Grahame Grieve 753ca69545 Merge remote-tracking branch 'origin/master' 2023-05-22 17:19:42 +10:00
Grahame Grieve 914615dd57 Clean up error messages on invalid dates etc 2023-05-22 17:18:37 +10:00
Grahame Grieve 96d9581669 increase checking on snapshot generation when validating profiles 2023-05-22 17:18:13 +10:00
Grahame Grieve 4dc9580c90 update tx cache 2023-05-22 17:17:35 +10:00
Grahame Grieve 7da282b5d7 update test cases for various issues encountered and fixed 2023-05-22 17:17:17 +10:00
markiantorno ff8943061c Updating version to: 6.0.8-SNAPSHOT and incrementing test cases dependency. 2023-05-17 04:54:30 +00:00
markiantorno 9221395f06 Release: v6.0.7
## Validator Changes

* Update terminology for changes to tx validation policy: Wrong displays change from a warning to an error
* Add parameter ```-display-issues-are-warnings``` for restoring original behaviour that display issues are warnings
* Relax constraints on Reference targets for logical models
* Update dutch and german validation error messages + minor improvements to error messages
* Fix r5 url for package fetch (#1260)  …

## Other code changes

* Fix up all terminology cache tests
* Switch to System.err for now + report missing constants
* Add I18n tests for coverage and plural validity + fix missing messages
* Partial fix for R4/R5 conversion issues
***NO_CI***
2023-05-17 04:23:04 +00:00
Grahame Grieve 8a3fce9824
Merge pull request #1249 from hapifhir/do-20230503-add-r5-conversion-to-cli
Add r5 + r4b conversion support in CLI
2023-05-17 13:31:38 +10:00
Grahame Grieve 0278518c26 update terminology for changes to tx validation policy 2023-05-17 11:33:45 +10:00
Grahame Grieve ef92f38d9e Fix up all terminology cache tests 2023-05-17 10:33:22 +10:00
Grahame Grieve 52db200d8b change constraints on Reference targets for logical models 2023-05-17 10:32:43 +10:00
Grahame Grieve 6d2e3ee388 Fixes for display warnings 2023-05-13 21:47:25 -07:00
markiantorno 110f695e9c Updating version to: 6.0.7-SNAPSHOT and incrementing test cases dependency. 2023-05-12 23:49:33 +00:00
markiantorno 171a87c777 Release: v6.0.6
## Validator Changes

* no changes

## Other code changes

* Update R6 package tgz fetching
***NO_CI***
2023-05-12 23:22:47 +00:00
markiantorno 44c1b43516 Updating version to: 6.0.6-SNAPSHOT and incrementing test cases dependency. 2023-05-10 15:28:58 +00:00
markiantorno 91de165e2c Release: v6.0.5
## Validator Changes

* Fix NPE validating StructureMap
* Improve error message about uri values
* Fix for wrong display when server returns error
* Slight improvement in performance
* Fix FHIRPath split function (parameter is not regex)
* Stop warning that Markdown autolinks need to be escaped
* Allow NPM package versions to have the form {id}#{url} for direct access to packages

## Other code changes

* Support for NamingSystem conversion of url, version, and title (for THO)
* Update Conversion package docs (#1257)  …
* Return codeableConcept from validate-code
* Refactor: Resource Root Elements Conversion
* Minor fixes for R5 redirector
* Fix bug handling filter, and refactor terminology code
* Fix for dstu2016may Resource equals methods (#1251)  + Tests a
***NO_CI***
2023-05-10 14:58:38 +00:00
Grahame Grieve de0af46394 fix npe and improve error message about uri values 2023-05-09 18:51:03 -05:00
Grahame Grieve ce46eee731 return codeableConcept from validate-code 2023-05-08 13:30:04 -05:00
Grahame Grieve 6232c54f15 Fix core 2023-05-07 12:02:00 -05:00
Grahame Grieve ae13abfc2a performance related changes 2023-05-07 11:04:04 -05:00
Grahame Grieve f734f98c05 update for failing tests 2023-05-05 22:21:05 -05:00
Grahame Grieve b402fd1c45 Fix bug handling filter, and refactor terminology code 2023-05-05 13:55:23 -05:00
dotasek 0d30ccc72f Merge branch 'master' into do-20230503-add-r5-conversion-to-cli 2023-05-04 14:32:27 -04:00
markiantorno 551fe6d7c0 Updating version to: 6.0.5-SNAPSHOT and incrementing test cases dependency. 2023-05-04 13:17:39 +00:00
markiantorno 83a45f95f9 Release: v6.0.4
## Validator Changes

* Fix bug accessing canonical resources on servers

## Other code changes

* Various changes to support terminology service testing
***NO_CI***
2023-05-04 07:22:08 +00:00
Grahame Grieve 3eeec47815 support for value set version 2023-05-04 13:25:43 +10:00
Grahame Grieve e8de25c197 fix tests 2023-05-04 10:35:03 +10:00
Grahame Grieve 806c065fcb fix version return + profile support in testing 2023-05-04 10:01:35 +10:00
dotasek 8a0d0f768d Add r5 conversion support in cli 2023-05-03 15:24:47 -04:00
Grahame Grieve 410f08e6d6 terminology fixes - add expParams to cache key, fix up parameter types, report version 2023-05-02 16:58:54 +10:00
markiantorno 8ba62413ff Updating version to: 6.0.4-SNAPSHOT and incrementing test cases dependency. 2023-05-01 15:33:38 +00:00
markiantorno 9ed0b9ccee Release: v6.0.3
## Validator Changes

* Structure map validation improvements

## Other code changes

* Fix wrong name for systemVersion Parameter
* Language improvements for Lang Packs
* Fix up StructureMap R4/R5 conversion
***NO_CI***
2023-05-01 15:05:34 +00:00
Grahame Grieve 87ca445207 more structure map validation improvements 2023-05-01 18:10:57 +10:00
Grahame Grieve e0286a5326 fix wrong name for systemVersion Parameter 2023-05-01 18:10:33 +10:00
Grahame Grieve 43ef45813b Improvements to StructureMap validation use with profiles (+ fix various bugs) 2023-05-01 18:10:05 +10:00
markiantorno 03a1271508 Updating version to: 6.0.3-SNAPSHOT and incrementing test cases dependency. 2023-04-28 23:47:43 +00:00
markiantorno ccdaf9fe1d Release: v6.0.2
## Validator Changes

* Add support for JSON in tx client batch handling

## Other code changes

* no changes
***NO_CI***
2023-04-28 23:18:04 +00:00
markiantorno 718cd5e369 Updating version to: 6.0.2-SNAPSHOT and incrementing test cases dependency. 2023-04-28 14:29:47 +00:00
markiantorno d43d9bbdd8 Release: v6.0.1
## Validator Changes

* Improved Error messages when code is not in value set + various typo fixes
* Updated Dutch translations for error messages
* More informative failures when questionnaire value set validation fails
* Warnings when extension context is 'Element'
* Fix missing source id for tx server messages in validation output

## Other code changes

* Move HTTP logging to a sub-directory of temp
* Default to text log not HTML log for terminology logging, and don't spuriously escape the text log
* Use JSON not XML by default when using R4 terminology service
* Add support for R6 final version
* Bump HAPI to 6.4.1
***NO_CI***
2023-04-28 14:00:19 +00:00
Grahame Grieve 069dc03c90 Validate Extension Context + fix questionnaire value set validation 2023-04-28 17:28:28 +10:00
dotasek e01aa876c8
Bump HAPI to 6.4.1 (#1237)
* Bump HAPI to 6.4.1

* Fix broken checkstyle configs

* Fix checkstyle in convertors
2023-04-27 18:11:25 -04:00
markiantorno 46259c47e0 Updating version to: 6.0.1-SNAPSHOT and incrementing test cases dependency. 2023-04-26 23:45:01 +00:00
markiantorno 5a4049e0e2 Release: v6.0.0
## Validator Changes

Note: This validator release is accompanied by a new release of tx.fhir.org, and earlier versions
of the validator will not perform validation correctly for some valuesets and languages. This is
in effect a mandatory upgrade

* Major **Breaking** change: test multi-lanugage support on the terminology service API, and make many fixes.
** This release also includes full support for supplements providing designations and properties
* Add support for -install operation to install packages and generate snapshots while at it (support simplifier packages in sushi)
* Add support for ```lang-transform extract``` and ```-lang-transform inject``` to the validator (start of multi-lingual implementation support)
* Add support for -tx-tests to validator
* Change settings file to fhir-settings.json in .fhir, instead of fhir-tools-setting.ini (see [here](https://confluence.hl7.org/display/FHIR/Using+fhir-settings.json) for documentation)
* Add provisional support for running without a network: -no-network. Beware: this is not fully tested at this point
* Warning not error when the code system isn't known validating questionnaires
* Fix up loading of IG bundles
* Work around issue with R5 path in extensions pack
* Fix issue with SearchParameter validation throwing an exception if no expressions are valid

## Other code changes

* Code to support translation functionality
* Partial fix for problem parsing maps from previous versions
* Fix Code System rendering for supplements, and when there's 1..2 display translations
* Remove spurious header from ConceptMap rendering
* Return ID part correctly when FhirPath expression result is converted to string
* fix problem with leaf rendering in profile driven renderer
* Fix R4B tests to be based on R4B
* fix index error validating HierarchicalTable
* fix NPE in requirements renderer
* Fix NPE in code generator
* Rework package cache manager - add testing mode
* Add link to questionnaire rendering questionnaireResponse + Fix access violation rendering questionnaire
* Fix bugs generating narratives
* Defining the existence of R6
* i18n framework for HTML generation in renderers - step #1
* Re-org validation testing to be more memory efficient
* Better error handling loading resources
* Restore broken R4 loading
* Add new R5 fields to R4/R5 conversion for ValueSet
* minor changes two HumanName.getNameAsSingleString (missed family name)
***NO_CI***
2023-04-26 23:16:02 +00:00
Grahame Grieve 085ddde843 bump major version 2023-04-27 08:00:56 +10:00
Grahame Grieve 1f76c6e944
Merge pull request #1230 from hapifhir/MapValidationStuff
Fix IG Loader problems where map conversion no longer works with a 'n…
2023-04-26 22:24:51 +10:00
Grahame Grieve 3ed7813973 language translations support in validator 2023-04-25 21:51:31 +10:00
Grahame Grieve b6b4fbcd0c more tx test fixes 2023-04-24 23:08:29 +10:00
Lloyd McKenzie 5e8f97f57c Fix IG Loader problems where map conversion no longer works with a 'null' context 2023-04-23 14:20:45 -06:00
Grahame Grieve fbaff6cdb0 add -install for packages 2023-04-21 18:53:20 +08:00
Grahame Grieve fe86ab1d7c reorg server settings 2023-04-21 18:52:36 +08:00
Grahame Grieve 45005b9ff7 fix server 2023-04-21 14:17:15 +08:00
Grahame Grieve 5a4d7f4831 remove id from terminology service tests 2023-04-21 12:26:28 +08:00
dotasek 9b4b1ae2cc
Add -fhir-settings param to Validator CLI (#1203)
* Start work

* Tests for new Param

* More tests, add param, refactor

* Rename + JsonProperty annotations

* Logging for API keys

* WIP rename search parameter + add settings object for serialization

* Switch to JSON based settings file.

* Rename FHIRSettings and remove ToolGlobalSettings

* Update default path for settings file + expand test

* Only allow single instantiation with explicitFilePath

* Move and expand tests

* Fix failing test

* Add test for FhirSettings param precedence

* Refactor to only call getInstance() internally in FhirSettings
2023-04-19 17:18:29 -04:00
dotasek 237a9c99f0
Bump jackson (#1222) 2023-04-18 09:49:53 -04:00
Grahame Grieve 3a2b5b1be4
Merge pull request #1224 from hapifhir/gg-202304-rework-tx3
Gg 202304 rework tx3
2023-04-18 11:50:50 +08:00
Grahame Grieve 5ebd695e79 don't build new manifest 2023-04-18 10:31:24 +08:00
Grahame Grieve f60f377a66 update tx cache for vlaidation 2023-04-18 09:42:08 +08:00
Grahame Grieve cc8c7be307 fix which servers tests are based on 2023-04-18 09:41:15 +08:00
Grahame Grieve 02bd1d8ce7 more fixing for language handling issues 2023-04-18 09:40:49 +08:00
dotasek 946b241e65
Bump logback (#1218)
* Fix  SimpleWorkerContextTests, ignore ExternalTerminologyServiceTests

* Bump logback

* Try explicit logback-test.xml for validation

* Try forkNode implementation
2023-04-17 10:44:30 -04:00
Grahame Grieve 6644d9bd6d fix NPE in tests 2023-04-17 04:23:11 +10:00
Grahame Grieve f1d5676425 run txTests from validator 2023-04-16 21:56:41 +10:00
Grahame Grieve dbc1c32750 restore external terminology server tests 2023-04-15 20:21:04 +10:00
dotasek 9530f40f9c
Fix SimpleWorkerContextTests, ignore ExternalTerminologyServiceTests (#1217) 2023-04-14 12:00:44 -04:00
Grahame Grieve 48e86fa905 fix failing tests 2023-04-14 22:39:48 +10:00
Grahame Grieve c9416e9a56 Merge remote-tracking branch 'origin/master' 2023-04-14 18:01:18 +10:00
Grahame Grieve 4c5cc79631 fix tx server reference 2023-04-14 18:00:28 +10:00
Grahame Grieve 6ac00b8c68 rework terminology interface 2023-04-14 17:59:06 +10:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
dotasek 38ea9a9fb5 Fix index out of bounds exception 2023-04-06 13:20:40 -04:00
dotasek c4f8b65ba4
JUnit Bump (#1204)
* Bump JUnit Version and manage dependencies via bom

* Bump JUnit Version and manage dependencies via bom

* Remove explicit version references in child projects

* Vintage engine isn't managed. Manage it explicitly
2023-04-04 22:39:03 -04:00
Grahame Grieve 7d4cb4b5a2 Add support for CodeSystem supplements and correctly processing extensions when doing expansions 2023-04-03 20:47:23 +10:00
Grahame Grieve 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 42a9e47379 Add terminology service tests 2023-04-02 23:07:34 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 7ef17d41d6 warning not error when the code system isn't known validating questionnaire answer options 2023-04-01 07:33:56 +11:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve 9a8392275f fix version of test 2023-03-30 23:31:14 +11:00
Grahame Grieve 473b63dbff reorg validation testing to be more memory efficient 2023-03-30 08:31:48 +11:00
markiantorno aa8cb39580 Updating version to: 5.6.118-SNAPSHOT and incrementing test cases dependency. 2023-03-29 14:03:26 +00:00
markiantorno 3c04b80fdb Release: v5.6.117
## Validator Changes

* no changes

## Other code changes

* Fix R5 path for spec in generated narratives
* Hack to fix wrong R5 paths in generated narratives in extensions pack
* Suppress Prism rendering if ttl source is too big
* Fix up URLs in untouched elements when processing snapshots
* Fix up URLs in binding.description when generating snapshots
***NO_CI***
2023-03-29 13:36:02 +00:00
Grahame Grieve 69f31442bc more trying to save memory in tests 2023-03-29 23:02:42 +11:00
Grahame Grieve 4f8a8108a4 reduce memory use in tests? 2023-03-29 20:58:06 +11:00
markiantorno 7928c858bb Updating version to: 5.6.117-SNAPSHOT and incrementing test cases dependency. 2023-03-27 23:58:35 +00:00
markiantorno 9f671be87b Release: v5.6.116
## Validator Changes

* Make checking displays in concept map not case sensitive and just a warning

## Other code changes

* Fix loading version of extensions package in test cases
* Don't suppress error when FML doesn't parse in FMLParser
* Add PathBuilder (documentation + clean up code)
***NO_CI***
2023-03-27 23:33:00 +00:00
Grahame Grieve 7d7c11dbd6 display checking in concept map not case sensitive and just a warning 2023-03-28 07:46:00 +11:00
markiantorno 794a9c46b6 Updating version to: 5.6.116-SNAPSHOT and incrementing test cases dependency. 2023-03-25 12:24:55 +00:00
markiantorno e68a6171ee Release: v5.6.115
Final Code changes for R5 release

## Validator Changes

* Fix NPE validating maps

## Other code changes

* Refactor Loader for easier loading of earlier versions
* Fix various NPEs from version conversion testing
* First draft of Code generation for Extensions
* Improve summary message for map conversion outcome
* Move web path out of userData into resource field
* Fix FTP problem on windows (remote seperator)
* Update tests to use R5 package from test case repo everywhere
* Finish removing population type
* Rebuild .index.json if it's empty when installing a package
***NO_CI***
2023-03-25 11:55:37 +00:00
Grahame Grieve 8e9b96b4b7 refactor loader for easier loading of old versions 2023-03-25 18:58:22 +11:00
Grahame Grieve ade21ddb1f fix NPEs 2023-03-24 23:09:01 +11:00
Grahame Grieve f27d5b3adf Improve summary message for map conversion outcome 2023-03-24 22:19:37 +11:00
Grahame Grieve b8777319da update tests to use R5 package from test case repo everywhere 2023-03-24 10:18:42 +11:00
Grahame Grieve adf6d5e3a0 updates for R5 final 2023-03-23 20:49:30 +11:00
Grahame Grieve 0ea81d247a fix NPE validating maps 2023-03-23 20:48:54 +11:00
markiantorno ce2480a745 Updating version to: 5.6.115-SNAPSHOT and incrementing test cases dependency. 2023-03-22 14:12:23 +00:00
markiantorno 7736f31847 Release: v5.6.114
## Validator Changes

* Fix up stated path in CodeSystemValidator
* Validate example URLs in value sets correctly
* Fix problem with composition library reference in R4

## Other code changes

* More work to sort out mappings
* Fix broken links in FMM & standards status levels
* Fix type of IG-parameter extension
* FTP: Stop re-initializing file type and mode with each upload (#1178)  …
* Fix snaphot generation warning when when profile-element is used
* fix path failure in tests
* Inline help16.png when generating narrative
* Suppress img.src=data content when rendering narrative
* Suppress value set expansion for core value sets that tx.fhir.org is getting wrong
* Fix NPE in profile comparison
***NO_CI***
2023-03-22 13:46:22 +00:00
Grahame Grieve def2e78276 fix up path in CodeSystemValidator 2023-03-22 23:06:50 +11:00
Grahame Grieve 74a69de992 validate example URLs in value sets correctly 2023-03-22 23:06:33 +11:00
Grahame Grieve 05a367b088 validate example URLs in value sets correctly 2023-03-22 23:06:06 +11:00
Grahame Grieve f796ffc57f fix issues with help16.png 2023-03-21 18:21:42 +11:00
markiantorno 8878bc9cef Updating version to: 5.6.114-SNAPSHOT and incrementing test cases dependency. 2023-03-21 00:29:38 +00:00
markiantorno 950c781ffc Release: v5.6.113
## Validator Changes

* Fix problems validating variables
* No longer ignore hl7.org/fhir/tools when validating

## Other code changes

* Fixed bug with incorrect parameter type when POSTing a $validate-code request to a remote terminology server
* Fix OS issue with zipslip protection
* Fix for where profile_element extension was being ignored when checking types after snapshot generation
* Fix generated name for FML rules to be a valid name
* Allow loaders to decide which resources to load into the context
***NO_CI***
2023-03-21 00:00:30 +00:00
Grahame Grieve 510758ed3e fix problems validating variables 2023-03-21 06:10:22 +11:00
Grahame Grieve 0d61c92997 no longer ignore hl7.org/fhir/tools when validating 2023-03-21 06:08:13 +11:00
markiantorno 2a877b6faa Updating version to: 5.6.113-SNAPSHOT and incrementing test cases dependency. 2023-03-19 04:45:57 +00:00
markiantorno 59d8cf0bee Release: v5.6.112
## Validator Changes

* Don't validate codes in value sets if terminology vlidation is turned…  …
* Fix nPE validating bundles

## Other code changes

* Add file: to URL scheme list when checking for absolute URLs
* Adjust mappings handling code generating snapshots
* More improvements to r4/r5 transform testing
* Better error messages setting properties when transforming
* Better error messages converting types
* FHIRPath tests on element model
* Refactor FTPClient to perform fewer directory creates (#1159)  …
* Document how to build validator_cli locally (#1171)
***NO_CI***
2023-03-19 04:17:32 +00:00
Grahame Grieve f8a19a1bae Refactor how mappings are handled when generating differentials: in R5, mapping names are unique 2023-03-18 05:47:33 +11:00
Grahame Grieve 8dd61f4b2e more improvements to r4/r5 transform testing 2023-03-17 07:56:47 +11:00
Grahame Grieve 2740371c88 don't validate codes in value sets if terminology vlidation is turned off 2023-03-17 07:56:34 +11:00
Grahame Grieve 6bb466a5fe fix nPE validating bundles 2023-03-17 07:56:15 +11:00
markiantorno 90bcab6554 Updating version to: 5.6.112-SNAPSHOT and incrementing test cases dependency. 2023-03-16 11:24:39 +00:00
markiantorno 7a9e5444c5 Release: v5.6.111
## Validator Changes

* Fixing issues parsing Bundle.issues in R5

## Other code changes

* Fix bugs handling XHTML
* Refactor package loading API - List(String) instead of String[]
***NO_CI***
2023-03-16 10:56:41 +00:00
Grahame Grieve 413cbb115a fix issues with R3R4MapTester 2023-03-16 14:08:00 +11:00
Grahame Grieve 27598a382d Fix issues with xhtml handling 2023-03-16 14:07:11 +11:00
Grahame Grieve 4a7abab5e8 Fix for parsing Bundle.issues 2023-03-16 14:05:54 +11:00
Grahame Grieve 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
markiantorno 2e36c8147a Updating version to: 5.6.111-SNAPSHOT and incrementing test cases dependency. 2023-03-14 12:43:23 +00:00
markiantorno e2967d923c Release: v5.6.110
## Validator Changes

* no changes

## Other code changes

* Fix NPE in string handling
***NO_CI***
2023-03-14 12:18:03 +00:00
Grahame Grieve 824f51f82e fixing broken links, and r4/r5 map testing 2023-03-14 13:24:00 +11:00
markiantorno b5bbe5108b Updating version to: 5.6.110-SNAPSHOT and incrementing test cases dependency. 2023-03-13 05:16:16 +00:00
markiantorno f48d413690 Release: v5.6.109
## Validator Changes

* Add format codes ```md``` and ```url``` to FHIRPath escape() and unescape()
* Add second parameter ```s_last``` to FHIRPath join() to use a different separator for the last time (e.g. ```.join(', ', 'and')```)

## Other code changes

* Parse status when parsing FML metadata
* Fix NPE in FHIRPath resolve() for contained resources ([discussion](https://chat.fhir.org/#narrow/stream/179167-hapi/topic/fix.20to.20FHIRPathEngine))
***NO_CI***
2023-03-13 04:45:19 +00:00
Grahame Grieve cf57262fe4 start working on R4/R5 conversion code 2023-03-13 13:53:53 +11:00
Grahame Grieve 07a3962ac2
Merge pull request #1167 from hapifhir/gg-202303-misc3
Gg 202303 misc3
2023-03-13 06:36:00 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
markiantorno 209fcc8c0b Updating version to: 5.6.109-SNAPSHOT and incrementing test cases dependency. 2023-03-11 12:16:50 +00:00
markiantorno 35fb1b20c1 Release: v5.6.108
## Validator Changes

* no changes

## Other code changes

* Tdy up extensions for R5 release
* Hack R5 observation for fix after QA
* Improve StructureMap rendering again
* Clarify Error messages converting between versions
***NO_CI***
2023-03-11 11:49:55 +00:00
markiantorno a3a9017bdb Updating version to: 5.6.108-SNAPSHOT and incrementing test cases dependency. 2023-03-10 13:09:53 +00:00
markiantorno 1e43fe43f0 Release: v5.6.107
## Validator Changes

* Add support for new ColorRGB code system (special case)

## Other code changes

* Add support for special case code systems internally
***NO_CI***
2023-03-10 12:44:48 +00:00
Grahame Grieve 1212b85b5e Change from Error to FHIRException when wrong value type is wrong on polymorphic element 2023-03-10 16:12:59 +11:00
markiantorno a3473354fd Updating version to: 5.6.107-SNAPSHOT and incrementing test cases dependency. 2023-03-09 21:19:20 +00:00
markiantorno d666d0aa80 Release: v5.6.106
## Validator Changes

* no changes

## Other code changes

* Additional checks in path construction for zip slip vulnerability
***NO_CI***
2023-03-09 20:50:18 +00:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
markiantorno f49eee623b Updating version to: 5.6.106-SNAPSHOT and incrementing test cases dependency. 2023-03-09 13:06:01 +00:00
markiantorno 0b8e2c3984 Release: v5.6.105
## Validator Changes

* More validation of StructureMaps

## Other code changes

* Add new R5 version to R4 version enumeration
* Fix for NPE generating profile comparison
* Add FML renderer for StructureMaps + various parsing fixes
***NO_CI***
2023-03-09 12:38:13 +00:00
Grahame Grieve cf080d940c reduce spurious output 2023-03-09 22:20:23 +11:00
Grahame Grieve 187d3e98c7 More fixes for structure map validation 2023-03-09 09:11:31 +11:00
markiantorno 8bd83810ea Updating version to: 5.6.105-SNAPSHOT and incrementing test cases dependency. 2023-03-08 08:23:43 +00:00
markiantorno 2a2fc497c7 Release: v5.6.104
## Validator Changes

* Fix up issues validating whitespace
* Multiple fixes to StructureMap and ConceptMap validation

## Other code changes

* rename ig-r4.json to ig-r4.jsonx in IGs
* move R5 package to test cases
***NO_CI***
2023-03-08 07:53:54 +00:00
Grahame Grieve 09648b7ea0 More bug fixes validating FML 2023-03-08 11:49:23 +11:00
Grahame Grieve 6870c7a32c
Merge pull request #1157 from hapifhir/gg-202303-qa-sm-validation-5
Gg 202303 qa sm validation 5
2023-03-08 10:10:55 +11:00
Grahame Grieve 53e67bc1cb handle re-use of mapping groups when validating maps 2023-03-08 09:11:24 +11:00
markiantorno d4d160eb29 Updating version to: 5.6.104-SNAPSHOT and incrementing test cases dependency. 2023-03-07 16:31:22 +00:00
markiantorno b18181ab7e Release: v5.6.103
## Validator Changes

* Fix structure map validation issues around type
* Revise whitespace handling for unicode conformance in validator
* Improved error message for output directory requirements
* Improve compact version sorting in renderer
* Add timestamp to compact format

## Other code changes

* Fix JSON escaping utility function
* Bug fixes in XHTML processing.
* Convertors: Bug Fixes in spec evaluation
* Convertors: patchUrls now patches fhir-type extension values
* R5: Fix FML parsing missing locations
* R5: Fix location bugs in FML parsing
***NO_CI***
2023-03-07 16:03:02 +00:00
Grahame Grieve 80665f142b Merge remote-tracking branch 'origin/master' 2023-03-07 23:33:46 +11:00
Grahame Grieve 26eb1311a4 release notes 2023-03-07 23:33:35 +11:00
Grahame Grieve d6febda3f6
Merge pull request #1154 from vadi2/patch-1
Clarify output directory has to exist already
2023-03-07 23:31:05 +11:00
Grahame Grieve 77e9e3a317 add timestamp to compact format 2023-03-07 21:47:58 +11:00
Grahame Grieve e5a4d84a6f improve compact version sorting 2023-03-07 20:59:02 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve 453f073411 rename ig-r4.json to ig-r4.jsonx 2023-03-07 20:57:27 +11:00
Vadim Peretokin 9943625df7
Clarify output directory has to exist already 2023-03-07 07:58:30 +01:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
markiantorno 8a546d37eb Updating version to: 5.6.103-SNAPSHOT and incrementing test cases dependency. 2023-03-06 12:05:52 +00:00
markiantorno a7507e9887 Release: v5.6.102
## Validator Changes

* Add ConceptMap validation
* Add StructureMap validation
* Validate using type regex (had been omitted to now, mostly affects decimal validation)
* Add new -output-style values compact and compact-split
* Fix bug validating CDA choice elements without [x] in their names

## Other code changes

* Various fixes and utilities to support StructureMap & ConceptMap validation
* Fix Observation.value conversion between R5 and other versions
* Recognise R4B and R5 core packages
* Improvements to specification diffference engine for R5 publication
* More efficient XHTML AST model
***NO_CI***
2023-03-06 11:39:27 +00:00
Grahame Grieve e449bf9cfe Add compact rendering 2023-03-06 20:45:21 +11:00
Grahame Grieve 6559c4b245 improve SM validation message 2023-03-06 20:45:05 +11:00
Grahame Grieve cbb75520c9
Merge pull request #1107 from ahdis/oe_choice_without_x
CDA Logical model validation: if choice is only value don't add type
2023-03-06 06:11:21 +11:00
Grahame Grieve 58ad99cfd3
Merge pull request #1149 from hapifhir/gg-202303-cm-sm-validation
Gg 202303 cm sm validation
2023-03-06 06:08:59 +11:00
Grahame Grieve 356e500ab6 finish ConceptMap validation 2023-03-05 23:25:12 +11:00
Grahame Grieve ec72b1fcdd fix parsing and validating of concept maps in structure maps + validate terminology part of structure maps 2023-03-05 18:29:11 +11:00
Grahame Grieve 52c97f3c70 test primitive regexes if other tests pass 2023-03-05 06:14:07 +11:00
markiantorno ebd93f570f Updating version to: 5.6.102-SNAPSHOT and incrementing test cases dependency. 2023-03-03 04:08:44 +00:00
markiantorno f317bb15f6 Release: v5.6.101
## Validator Changes

* Fix NPE in Structure Map validation

## Other code changes

* Add back code missed when regenerating R5
* Update conversions for discovered issues for R5
***NO_CI***
2023-03-03 03:21:09 +00:00
Grahame Grieve b18e541b5f
Gg 202303 r5 fixes (#1148)
* update test package dependency

* Add back code missed when regenerating R5

* fix NPE

* update conversions for discovered issues for R5

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-03-02 18:35:33 -05:00
Grahame Grieve f38da36b33 fix NPE 2023-03-03 06:30:17 +11:00
markiantorno da62438802 Updating version to: 5.6.101-SNAPSHOT and incrementing test cases dependency. 2023-03-02 03:50:02 +00:00
markiantorno 578b964cf9 Release: v5.6.100
## Major change:

* New R5 release - rebuild R5 implementation, update a lot of related code

## Validator Changes

* Load separate R5 extensions package
* Load FML directly, and validate mapping as much as possible

## Other code changes

* Fix bugs in Java R5 code generator
* Add more control at the code level over how to handle unknown profiles when generating snapshots
* Rework ConceptMap for major R5 changes
* Fix bug in CommaGeneratedStringBuilder (calling toString() multiple times duplicated content)
* handle case [reference].where(resolve() is X) when analysing types+elements in FHIRPath statements
***NO_CI***
2023-03-02 03:21:29 +00:00
Grahame Grieve 7cf15f248d update version conversions for new version of R5 2023-03-01 21:50:02 +11:00
Grahame Grieve c5d6e0f5f4 Merge remote-tracking branch 'origin/master' 2023-02-28 05:58:54 +11:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
Grahame Grieve a62c8683f2
Merge pull request #1139 from hapifhir/gg-202302-map-validation-2
Work on StructureMap validation
2023-02-27 09:14:13 +11:00
Grahame Grieve 2bd73c650e Work on StructureMap validation 2023-02-27 07:30:04 +11:00
Grahame Grieve edf5ecf275
Merge pull request #1138 from hapifhir/gg-202302-map-validation
FML validation
2023-02-25 16:41:26 +11:00
Grahame Grieve d3a407e369 FML validation 2023-02-25 14:05:03 +11:00
dotasek 76c01a98aa
Add basic checkstyle plugin config (#1122)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-24 15:05:49 -05:00
markiantorno e9607783da Updating version to: 5.6.100-SNAPSHOT and incrementing test cases dependency. 2023-02-23 18:15:08 +00:00
markiantorno e2185d7d5c Release: v5.6.99
## Validator Changes

* Fix validation for query references with empty parameter values
* Fix validation for conditional references

## Other code changes

* Fix resource rendering for conditional references
* Fix bug caused by changing DiagnosticReport.conclusion to markdown
* Track target types on references in FHIRPath
* Minor type checking fixes for FHIRPath
* Fix bugs in FHIRPath type checking discovered during R5 preparation
* Add standardsStatus support to core model
* Update okhttp library
* Allow HTTPS for terminology server URL
* Update table generator to suppress external links in base row and column
***NO_CI***
2023-02-23 17:50:57 +00:00
dotasek 5d6636ba8c
Bump okhttp version (#1131)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-23 11:14:50 -05:00
Grahame Grieve bae27ef706 fix validation for query references with empty parameter values 2023-02-21 16:46:27 +11:00
Grahame Grieve 76a3129b30 fix validation of conditional references 2023-02-20 23:48:16 +11:00
markiantorno 9c768415f2 Updating version to: 5.6.99-SNAPSHOT and incrementing test cases dependency. 2023-02-15 10:37:45 +00:00
markiantorno 7ec74d0321 Release: v5.6.98
## Validator Changes

* Fix bug checking canonical URLs in bundles with dashes in them
* Fix extension messages (modifier and normal messages reversed)
* Change how error location paths are reported in bundles for easier resolution (no counting!)
* fix bugs checking whether binding is allowed in corner cases

## Other code changes

* Rendering Improvements: Additional Bindings, Search Parameters, Operation Definitions
* FHIRPath implementations for comparable(), highBoundary(), lowBoundary()
* Fix list of canonical resources from VersionUtilities
* Fix bug parsing html entities in XHTML parser
* Rename extension to http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile
***NO_CI***
2023-02-15 10:13:36 +00:00
Grahame Grieve 26f7b3a803 FHIR-38789 SD_Dependencies extension needs work 2023-02-15 12:12:28 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Grahame Grieve 3a427385c5 FHIR QA driven changes 2023-02-12 17:53:41 +11:00
oliveregger 8b5e93dc8d if choice is only value don't add type 2023-02-07 17:36:56 +01:00
markiantorno 97604fdff5 Updating version to: 5.6.98-SNAPSHOT and incrementing test cases dependency. 2023-02-07 12:55:19 +00:00
markiantorno c91376f3b9 Release: v5.6.97
## Validator Changes

* no changes

## Other code changes

* Fix for Extensions moving in R5
***NO_CI***
2023-02-07 12:28:44 +00:00
Grahame Grieve 237670fa24 release 2023-02-07 14:18:12 +10:00
markiantorno eec7c33e63 Updating version to: 5.6.97-SNAPSHOT and incrementing test cases dependency. 2023-02-05 21:04:53 +00:00
markiantorno 729e7afb33 Release: v5.6.96
## Validator Changes

* no changes

## Other code changes

* Fix bug with duplicate value in getResourceNames()
***NO_CI***
2023-02-05 20:42:24 +00:00
markiantorno b3cebe7bc6 Updating version to: 5.6.96-SNAPSHOT and incrementing test cases dependency. 2023-02-03 20:09:35 +00:00
markiantorno 1696b56b50 Release: v5.6.95
## Validator Changes

* Fixes for FHIRPath as() operator in r4 and r5

## Other code changes

* no changes
***NO_CI***
2023-02-03 19:45:12 +00:00
markiantorno ea41a8b6a6 Updating version to: 5.6.95-SNAPSHOT and incrementing test cases dependency. 2023-02-02 17:07:22 +00:00
markiantorno 67329e20ad Release: v5.6.94
## Validator Changes

* no changes

## Other code changes

* Test release
***NO_CI***
2023-02-02 16:34:58 +00:00
markiantorno e922cc2a97 Updating version to: 5.6.94-SNAPSHOT and incrementing test cases dependency. 2023-02-01 07:27:59 +00:00
markiantorno 4e97bb0d5a Release: v5.6.93
## Validator Changes

* Fix for NPE rendering resources
* Consider CanonicalResource to be a CanonicalResource when validating profile references
* Work around error in R5 sdf-29 invariant

## Other code changes

* XHTML processing: Cater for "." in XML element and attribute names
* Handle R3 encoding of primitive values when validating profiles
* Improve error messaging when validating StructureDefinition
* Temporary Support for MedicationStatement in R5
* Work around for Identifier.use = ? in THO R5 package (old error)
* Rework Package API to allow for authentication on package servers
* Structure mapping now finds source Structure Definition by URI and sets ParserBase logical property appropriately.
* DOn't convert ig-r4 when converting package versions
***NO_CI***
2023-02-01 07:02:20 +00:00
Grahame Grieve 4a79e89f62 Merge remote-tracking branch 'origin/master' 2023-02-01 14:49:19 +11:00
Grahame Grieve 2cc8ff5e23 extension related validation fixes 2023-02-01 14:49:14 +11:00
Neelima Karipineni 61e63b128a
Enhancements to StructureMap transform to support logical models as source and value set lookup (#1092)
* implement resolveValueSet from AHDIS Matchbox

* get SD from map source type, set logical model

* test for getSourceResourceFromStructureMap DefinitionException

* test resolveValueSet

* test transform logical source

* fix formatting
2023-01-31 16:56:02 -05:00
Grahame Grieve 08ed54fd35 Rework Package API to allow for authentication on package servers 2023-01-31 10:32:21 +11:00
Grahame Grieve bda3a74b40 handle R3 encoding of primitive values when validating profiles 2023-01-31 07:23:33 +11:00
dotasek f5f03442aa Better error description 2023-01-27 11:22:37 -05:00
markiantorno cb441456a8 Updating version to: 5.6.93-SNAPSHOT and incrementing test cases dependency. 2023-01-20 23:14:26 +00:00
markiantorno dc677cad51 Release: v5.6.92
## Validator Changes

* update FHIRPath implementation for corrections to 'as' (R5 only in validator)
* Critical Security fix: enforce correct paths when unpacking archives (SecurityAdvisory-1082, CVE TBA)

## Other code changes

* Update to latest FHIRPath for older versions
* Add new ElementModel based parser for StructureMaps
* go-publish related changes
* FTP Client upload and logging improvements
* Refactor base64 handling for Android compatibility

## Security Note

The validator unzips archive files to the local file system when
it is scanning zip files it has been asked to validate, and when it is
installing packages. These processes are now resistant to the zip-slip
vulnerability.
***NO_CI***
2023-01-20 22:57:29 +00:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11:00
markiantorno 4367813a2c Updating version to: 5.6.92-SNAPSHOT and incrementing test cases dependency. 2023-01-17 21:59:38 +00:00
markiantorno 7b22d0355b Release: v5.6.91
## Validator Changes

* Fixed validation of URNs
* Check profiles don't have slicing on roof

## Other code changes

* Fix significant performance issue with profile xls generation
* Fix issue with setProperty dropping extensions in R3 - R5
* Debug logging improvements generating snapshots
* Fix issues with types missing in CDA IGs
* Fix problem converting ActivityDefinition R4(B)/R5
* More work on FTP Client
***NO_CI***
2023-01-17 21:40:28 +00:00
Grahame Grieve 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
markiantorno c52777c462 Updating version to: 5.6.91-SNAPSHOT and incrementing test cases dependency. 2023-01-14 06:35:33 +00:00
markiantorno ac16aae300 Release: v5.6.90
## Validator Changes

* Better tracking and reporting of snapshot generation issues
* Update FHIRPath implementation to R4 with all corrections and extensions from R5 implemnetation

## Other code changes

* Inclusion of SAXON dependency for processing XSLT
* Error message spacing correction
* Basic FTPClient implementation
* test NPE in markdown processing
* go-publish support
* Start implementing loading structure maps with validation
***NO_CI***
2023-01-14 06:17:06 +00:00
markiantorno b6cec730b5 Updating version to: 5.6.90-SNAPSHOT and incrementing test cases dependency. 2023-01-06 02:08:34 +00:00
markiantorno a6745a9016 Release: v5.6.89
## Validator Changes

* Add support for fhir_comments in R2/R2B
* Add validator checking around versions in extension URLs
* Fix bug generating cross-version extensions

## Other code changes

* Fix minor NPEs running IG publisher
* Add new PE module (PEDefinition/PEInstance)
* Add support for liquid filters (resolve FHIRPath conflict)
* Fix up round-tripping of XPath constraints R4/R5
* Refactor R5 ProfileUtilities (and move rendering to rendering package)
* Fix appending text when generating snapshots
***NO_CI***
2023-01-06 01:51:20 +00:00
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve bb60a338d6 fix 2022-12-17 07:13:49 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
markiantorno aaa5c9d6a4 Updating version to: 5.6.89-SNAPSHOT and incrementing test cases dependency. 2022-12-16 01:40:27 +00:00
markiantorno a3a1e79674 Release: v5.6.88
## Validator Changes

* Remove use of .fhir/package-client cache (only use the main .fhir/package now)

## Other code changes

* Hack work around for broken template input for R5 OperationOutcome
* Fix up problems with test case consistency in R5 test cases
* Add R5-snapshot3 version enum to R4 version list
***NO_CI***
2022-12-16 01:19:52 +00:00
Grahame Grieve 8afc08b6aa test case fixes 2022-12-16 09:27:38 +11:00
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +11:00
markiantorno ba67d790b8 Updating version to: 5.6.88-SNAPSHOT and incrementing test cases dependency. 2022-12-14 03:25:16 +00:00
markiantorno 6d8cd59f1e Release: v5.6.87
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
* Upgrade code to latest R5 release (Snapshot 3)
* Fix bug with version patching loading package for the first time + fix bug determining spec reference
* Add Ids to profile spreadsheets
***NO_CI***
2022-12-14 02:48:33 +00:00
Grahame Grieve 659457bb65
Merge branch 'master' into gg-202212-r5-update 2022-12-14 11:55:31 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
markiantorno 0e619971c4 Updating version to: 5.6.87-SNAPSHOT and incrementing test cases dependency. 2022-12-12 20:14:04 +00:00
markiantorno bbf74e6f91 Release: v5.6.86
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
***NO_CI***
2022-12-12 19:56:58 +00:00
dotasek e8747aa001
Use ig for missed {1} param (#1031)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-12 13:41:59 -05:00
markiantorno 915d5e89b7 Updating version to: 5.6.86-SNAPSHOT and incrementing test cases dependency. 2022-12-09 18:40:17 +00:00
markiantorno c01a9444a4 Release: v5.6.85
## Validator Changes

* Change rules around Document and Link Message validation (see [Jira](https://jira.hl7.org/browse/FHIR-39502) and [Zulip](https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Entry.20isn't.20reachable.20by.20traversing.20from.20first.20Bundle.20entry) for details)
* Allow https://example in questionnaire example links

## Other code changes

* Rendering Improvements for deprecated codes Including deprecation reason
* Add Accept header fetching JSON
* Fix version comparison bug
* Fixes for producing profile summary in IGs
* Add contents to .index.json and bump to v2
* Fix stated package & version in alternate versions packages
* Refactor ProfileUtilities.generateSnapshot
* Fix bug in XHTML generation around empty tags
* Fix NPE appending slashes
* Fix rendering timing to not use a specific verb
* Fix R2 - RX ValueSet convertor for Code Systems
***NO_CI***
2022-12-09 18:23:37 +00:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 7f35843440 all-profiles related fixes 2022-12-06 16:22:08 +11:00
Grahame Grieve 037b615bfc allow https://example... in questionnaires as example links 2022-12-05 13:41:50 +11:00
markiantorno 7966deb05c Updating version to: 5.6.85-SNAPSHOT and incrementing test cases dependency. 2022-12-01 05:52:06 +00:00
markiantorno b0d3dae149 Release: v5.6.84
## Validator Changes

* Perform canonical resolution using package dependencies even for version specific references (workaround for VSAC bad behaviour)

## Other code changes

* Fix conversion between R3 andR4/R5 for Immunization.notGiven
* Fix parameter handling for tx server responses
* Add cast support for more types in FML implementation
* Fixes to GQL Schema generation
***NO_CI***
2022-12-01 05:35:31 +00:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
markiantorno 19e957ef53 Updating version to: 5.6.84-SNAPSHOT and incrementing test cases dependency. 2022-11-29 23:46:32 +00:00
markiantorno b939b33040 Release: v5.6.83
## Validator Changes

* no changes

## Other code changes

* Update FHIR test cases to released version
***NO_CI***
2022-11-29 23:29:15 +00:00
markiantorno ab00f53ee7 Updating version to: 5.6.83-SNAPSHOT and incrementing test cases dependency. 2022-11-29 18:22:35 +00:00
markiantorno b11bf21f9b Release: v5.6.82
## Validator Changes

* no changes

## Other code changes

* Fix Turtle generation
***NO_CI***
2022-11-29 18:05:15 +00:00
markiantorno 63f905d184 Updating version to: 5.6.82-SNAPSHOT and incrementing test cases dependency. 2022-11-28 18:44:16 +00:00
markiantorno 2715d811dc Release: v5.6.81
## Validator Changes

* Avoid repeated R5 Extension loading in ValidatorService
* Fix problems validating logical models
* Fix `-locale` parameter functionality
* Add Spanish internationalization phrases

## Other code changes

* ProfileUtilities: Provide Standards Status in tree view
* JSONParser: numerous r4b/r5 speed improvements and fixes
* FHIRPathEngine: Catch exceptions resolving references in r5
* Handle null source and target in ConceptMap conversions
* Provide consistent rendering of comments in examples in IGs
* Preparations for changes to IG Publisher narrative generation
* Fix for Identifier.use conversion in dstu3
***NO_CI***
2022-11-28 18:23:09 +00:00
Grahame Grieve 4cda6dd998 Don't double load R5 2022-11-28 12:27:57 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00
Grahame Grieve 363a95bb8a more replacing json library 2022-11-25 22:37:43 -03:00
Grahame Grieve 59199075b9
Merge pull request #1003 from hapifhir/gg-202211-json
Gg 202211 json
2022-11-24 19:33:30 -03:00
Grahame Grieve 1617315ed8 minor improvements to validator message 2022-11-24 17:58:15 -03:00
Hank Yang 8e5ad3a693
Fixed -locale parameter for validatorcli (#1002)
* "Added Failing Tests"

* Added Failing Tests

* Failing Tests

* Fixed locale param for validatorcli
2022-11-23 16:02:37 -05:00
markiantorno 01d212afac Updating version to: 5.6.81-SNAPSHOT and incrementing test cases dependency. 2022-11-22 14:28:51 +00:00
markiantorno 3ab720a6af Release: v5.6.80
## Validator Changes

* Improved Loading speed (20% reduction)
* Fix issue handling path on content references on deeply nested content

## Other code changes

* Fix rendering issue when reference.reference missing
* Add rule date to validation messages so new rules can be highlighted
***NO_CI***
2022-11-22 14:05:59 +00:00
Grahame Grieve 4630b86476 More rule dates 2022-11-22 06:45:35 -03:00
Grahame Grieve 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -03:00
Grahame Grieve ed5930b68d fix loading resource types 2022-11-21 22:35:01 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
markiantorno cc842bc114 Updating version to: 5.6.80-SNAPSHOT and incrementing test cases dependency. 2022-11-20 19:32:31 +00:00
markiantorno ee7ba71b29 Release: v5.6.79
## Validator Changes

* no changes

## Other code changes

* fix references to LOINC codes in generated narrative
***NO_CI***
2022-11-20 18:59:55 +00:00
markiantorno d7d93b486b Updating version to: 5.6.79-SNAPSHOT and incrementing test cases dependency. 2022-11-17 21:34:46 +00:00
markiantorno 14a8c388fd Release: v5.6.78
## Validator Changes

* Validate HTML entities in XHTML in resources

## Other code changes

* Stop producing XHTML entities in resources when rendering
***NO_CI***
2022-11-17 21:15:59 +00:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
markiantorno bb8775bfdb Updating version to: 5.6.78-SNAPSHOT and incrementing test cases dependency. 2022-11-16 22:55:59 +00:00
markiantorno 41ffa42dc6 Release: v5.6.77
## Validator Changes

* Minor fix to jurisdiction output (+ handle case where JVM has no locale)
* Add support for extensions parameter
* Make all error messages include version of underlying resource if available
* Accept display for code from ValueSet CLD if no code system available
* Various minor improvements to error messages

## Other code changes

* Minor clean up in test cases
* Fix up i18n support to handle pluralization properly
* Refactor resource narrative generation rules (GenerationRules.X)
* Display resource type in generated narrative
* Add support for generating R4 and R4B packages
* Add support for generating XVer packages
***NO_CI***
2022-11-16 22:38:33 +00:00
Grahame Grieve 47443acaf3 prepare release 2022-11-16 18:36:02 -03:00
Grahame Grieve 24656a20fa typo fix in name 2022-11-15 18:13:45 +11:00
dotasek d724d48f89
Do remove excluded tests 2 (#988)
* WIP remove excluded tests + disable breaking test

* Fix failing test, document test cases.

* Code cleanup

The following are cherry picked from GG branch:

* Fix problem with value set validator hiding errors

* Fix issue rendering resource by name

* fix error location

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-14 13:30:26 -05:00
dotasek 220cf6b531
Remove excluded tests (#984)
* Fix failing test, document test cases.

* Code cleanup

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-14 09:30:43 -05:00
Grahame Grieve db643e8eca fix typo 2022-11-10 10:00:26 +11:00
Grahame Grieve 21b0577249 track hint about code validation 2022-11-10 05:16:10 +11:00
Grahame Grieve 96218a5ce4 refactor resource narrative generation rules 2022-11-10 05:14:59 +11:00
Grahame Grieve a090055fd3
Merge branch 'master' into gg-202211-vs-errors 2022-11-08 09:47:07 +11:00
Grahame Grieve c86d9ee613
Merge pull request #964 from hapifhir/do-i18n-plurals
Internationalization Pluralization
2022-11-08 09:44:23 +11:00
Grahame Grieve 8f0dd5e82d Note about missing locale 2022-11-08 09:37:36 +11:00
Grahame Grieve 19e97c857b Make references to canonical resources in error messages version specific 2022-11-08 09:37:26 +11:00
dotasek 11c369ea09 Remove all _PLURAL labels from constants 2022-11-07 16:52:47 -05:00
dotasek 183f9ecfd2 Remove _PLURAL labels from keys 2022-11-07 16:39:40 -05:00
dotasek 10d104d2f6
Add setExtensions method (#981)
* Add setExtensions method

* Add jsonproperty for setExtensions

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-07 16:09:10 -05:00
dotasek ffec2ce1c5 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 09:23:36 -05:00
markiantorno 212096f228 Updating version to: 5.6.77-SNAPSHOT and incrementing test cases dependency. 2022-11-06 12:50:41 +00:00
markiantorno cc634aecd5 Release: v5.6.76
## Validator Changes

* Add support for R4B to validator (parts were missing)
* Fix bugs in Logical Model snapshot generation and validation (both instances and logical models themselves)
* Check min/max value for decimal values

## Other code changes

* Fix broken links rendering questionnaires
* Fix issue with converting ActivityDefinition.kind between R5 and R4/R4B/R3 (+ update R5 code)
* Fixes to terminology cache management for test cases
* Process relative links in markdown in code descriptions when rendering value sets
* Fix issue with contained resource not always rendering consistently
* Fix bug where Element Model paths are not populated after preforming a transform
* Fix NPE rendering invalid bundles
* refactor Paramters.getParameter helper methods
* Rendering improvements for logical models
***NO_CI***
2022-11-06 12:33:46 +00:00
Grahame Grieve c835201f36 Merge remote-tracking branch 'origin/master' 2022-11-06 10:16:22 +11:00
Grahame Grieve 4b0c42c832 Fix bug with jurisdiction locale in validator 2022-11-06 10:12:36 +11:00
Grahame Grieve d19ff2e1f6
Merge pull request #972 from hapifhir/do-terminology-cache-filewpipechar
Fix pipes in terminologyCache files
2022-11-06 07:04:58 +11:00
Grahame Grieve a6b167a94a sync 2022-11-05 11:31:06 +11:00
Grahame Grieve db8a2758c2 R4B tests 2022-11-04 23:37:58 +11:00
Grahame Grieve b43581f588 #977 Add support for R4B 2022-11-04 23:37:49 +11:00
Grahame Grieve a66bf51e5b #977 add r4b support 2022-11-04 23:37:33 +11:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
dotasek 74659e4648 Merge remote-tracking branch 'origin/master' into do-terminology-cache-filewpipechar 2022-11-03 12:51:19 -04:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
dotasek 16a0a08598 Parse out canonical url version + refactor 2022-11-02 16:58:28 -04:00
dotasek 8e663f3ce9 Merge branch 'master' into do-terminology-cache-filewpipechar 2022-11-02 11:08:45 -04:00
Grahame Grieve 21837ea6d5 fix min/max decimal checks 2022-11-02 20:57:36 +11:00
Grahame Grieve ca96bbfdc4 fix bug where ElementModel paths are not populated 2022-11-02 20:55:35 +11:00
Grahame Grieve 10a876e26a
Merge pull request #968 from alexey-tschudnowsky/ISSUE-967_respect_maxValueDecimal
fixes #967
2022-11-02 14:00:54 +11:00
dotasek 64770b7630 Rename hintPL to hintPlural 2022-11-01 18:08:06 -04:00
Grahame Grieve e4b46f8692 txcache 2022-11-02 08:52:17 +11:00
dotasek 942777da11 Fix token name for code system 2022-10-31 14:27:03 -04:00
dotasek 99087f7e71 Rename RL to Plural 2022-10-31 10:59:11 -04:00
dotasek 827d088732 More renaming 2022-10-28 16:43:38 -04:00
dotasek 25ef2dca4d Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-10-28 14:54:37 -04:00
dotasek 21c2f934b8 ould_not_match_discriminator_for_slice_in_profile_PLURAL_one 2022-10-28 12:14:57 -04:00
Alexey Tschudnowsky 413f3a3543 fixes #967 2022-10-28 14:17:47 +02:00
markiantorno f0c53bd7a9 Updating version to: 5.6.76-SNAPSHOT and incrementing test cases dependency. 2022-10-28 11:57:13 +00:00
markiantorno a285132f5b Release: v5.6.75
## Validator Changes

* Fix problem determining implicit code system when code system only known to tx.fhir.org

## Other code changes

* Fix bugs generating CDSHooks snapshots
* Fix for NPE rendering Patient Photo
* Fix problem generating snapshots for specializations where inherited types have properties
* Work on i18n framework
***NO_CI***
2022-10-28 11:38:37 +00:00
dotasek 44656f7e77 Clean dirty first attempt at pluralization 2022-10-27 17:29:05 -04:00
Grahame Grieve 3e8dea22c8 fix build 2022-10-27 11:49:44 +11:00
Grahame Grieve b187d289b6 fixes for plural messages for i18n 2022-10-26 14:30:25 +11:00
markiantorno cf111ac919 Updating version to: 5.6.75-SNAPSHOT and incrementing test cases dependency. 2022-10-25 09:35:23 +00:00
markiantorno 325fd0736d Release: v5.6.74
## Validator Changes

* Improve error message for extensions without values

## Other code changes

* Add support for Requirements Resource (rendering + caching)
* Tidy up support for ActorDefinition
* Generate better summary for references
* Clean up bug checking data types in ContextUtilities
* Remove Validator dependency on GSON
* Upgrade validator to produce PSVI  for tools to make use of
***NO_CI***
2022-10-25 09:13:57 +00:00
Mark Iantorno 3010546622 Updating test case dependency to v1.1.120
***NO_CI***
2022-10-25 09:12:04 +00:00
Grahame Grieve 3759cac4c5 build fix 2022-10-25 15:42:18 +11:00
Grahame Grieve 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve c13f24ef4c clean up bug checking data types in ContextUtilities 2022-10-25 14:58:00 +11:00
Grahame Grieve a381998500 remove dependency on GSON 2022-10-25 07:27:58 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve 1c3a6ee439 upgrade validator to produce PSVI 2022-10-23 23:13:27 +11:00
markiantorno 308ca865e3 Updating version to: 5.6.74-SNAPSHOT and incrementing test cases dependency. 2022-10-21 07:25:34 +00:00
markiantorno 60022888b1 Release: v5.6.73
## Validator Changes

* Further support for validating CDSHooks content

## Other code changes

* Render period on Identifiers
* Render Tooling IG extensions in Profile table
* Fix NPE building CCDA IG
***NO_CI***
2022-10-21 06:47:50 +00:00
Grahame Grieve 41950eeb0a Updates to validator for CDS Hooks support 2022-10-21 16:25:07 +11:00
markiantorno d0b4a1c247 Updating version to: 5.6.73-SNAPSHOT and incrementing test cases dependency. 2022-10-20 07:11:05 +00:00
markiantorno 4aeac63325 Release: v5.6.72
## Validator Changes

* Improved Errors for bad resource ids
* R5 ballot: Hack around discovered issues in the ballot
* Enforce value set & code system versioning when validating codes
* Enable bulk -snapshot and -convert on multiple/wildcard -source
* Fix bug revalidating profiled abstract types

## Other code changes

* Rework validator test cases to not have inter-test dependencies (+ fix up to allow contexts to be cloned)
* add First draft of xliff production
* Add ActorDefinition conversions R5 -> R4, R4B, R3
* Add support for validating logical model json files (not surfaced in CLI yet)
* Updates for changes to extension URLs in Tools IG
* Fix map rendering in value sets
* Fix broken link in R4 DeviceUseStatement
***NO_CI***
2022-10-20 06:47:38 +00:00
Grahame Grieve aff52322ad Fix bug revalidating profiled abstract types 2022-10-20 16:17:03 +11:00
Grahame Grieve 4850a4c740 eliminate platform dependency in error message 2022-10-20 10:59:17 +11:00
Grahame Grieve 5a9966d1b2 fix up validation tests - remove interdependency issues 2022-10-20 10:05:40 +11:00
Grahame Grieve 86831b34d2 ping build 2022-10-19 21:35:58 +11:00
Grahame Grieve 574cd143ba clarify resource id error + support type characteristics extension 2022-10-19 20:48:37 +11:00
Grahame Grieve a6e31d36d3 value set validation version fixes, support for ActorDefinition, support for validating binaries by Logical Models, Language works starts, 2022-10-18 21:19:51 +11:00
David Simons 50f61901fa
Enable bulk -snapshot and -convert on multiple/wildcard -source (#945)
* initial R4B and 4.3.0 fixes

* Add support for loading ig-folder for R4b. Using R4 stuff for now. Otherwise missing classes and methods

* undo CRLF edits

* enable snapshot generation on multiple sources

* String.valueOf(i)

* Update help.txt

* enable convert generation on multiple sources

* correction in help.txt

* optimize loops

* outfilename to include sourcefilename as prefix

* updated help.txt

* polish-up help.txt

* Tests and add new parameter

* -output XOR -outputSuffix logic

* fix typo

* fixing the logic

* updated help.txt

Co-authored-by: Cees de Jonge <c.de.jonge@philips.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-10-17 10:51:00 -04:00