Commit Graph

1759 Commits

Author SHA1 Message Date
dotasek 7fa80ac80b Get rid of too trusting SSLCertTruster 2023-06-12 15:53:41 -04: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
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
Grahame Grieve 8fea7e3710
Merge pull request #1294 from hapifhir/gg-202206-languages
fix bugs in language handling
2023-06-07 22:19:42 +02:00
Grahame Grieve 8c412d78ef fix bugs in language handling 2023-06-07 21:31:25 +02: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
Grahame Grieve bfdb28b96e add JsonObject.clear() 2023-06-07 13:57:56 +02: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
Grahame Grieve a4f54f519f
Merge pull request #1290 from hapifhir/gg-202206-cardinality-fixes
Gg 202206 cardinality fixes
2023-06-05 23:26:13 +02:00
Grahame Grieve 33d60c2496 clean up display error messages 2023-06-05 21:17:12 +02:00
Grahame Grieve 0bcb9d6196 make NPM packages slightly smaller 2023-06-05 21:17:02 +02:00
Grahame Grieve 01b4219259 update language file handling to handle context properly 2023-06-05 21:16:51 +02: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
Grahame Grieve d4d5b42aa1 add Resource Dependency walker + Resource Minifier functionality 2023-05-31 06:32:55 +03: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 ea84271d84 release new test cases 2023-05-29 08:58:52 +03:00
Grahame Grieve 783a8cf28b Support for Obligation Profiles 2023-05-29 01:12:46 +03:00
Grahame Grieve 70a450bf01 more json and xml utils 2023-05-25 16:42:26 +10: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 0ec2dfab78 Add support for SubscriptionTopic in R4 IGs 2023-05-24 16:57:09 +10:00
Grahame Grieve 0bcb2ab268 Strip all paras 2023-05-23 17:41:16 +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 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 f97da1c722
Merge pull request #1261 from hapifhir/gg-202304-display-warning
Gg 202304 display warning
2023-05-17 13:08:13 +10:00
dotasek 9f205044d3 Switch to System.err for now + report missing constants 2023-05-16 10:37:43 -04:00
dotasek 819685b63c Add I18n tests for coverage and plural validity + fix missing messages 2023-05-15 15:41:26 -04:00
patrick-werner d624385da6 Merge remote-tracking branch 'origin/master' into pw/translations-de 2023-05-15 14:40:28 +02:00
patrick-werner 4ef84228cf added missing german translations 2023-05-15 14:39:53 +02:00
Grahame Grieve 6d2e3ee388 Fixes for display warnings 2023-05-13 21:47:25 -07:00
Grahame Grieve 37bf22f8e9 Add path to error message 2023-05-13 21:46:58 -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
dotasek 0382242b1b
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
2023-05-12 16:52:18 -04: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 5242d7c9fa
Allow NPM package versions to have the form {id}#{url} for direct acc… (#1258)
* Allow NPM package versions to have the form {id}#{url} for direct access to packages

* fix case issue

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-05-10 10:22:41 -04:00
Grahame Grieve 28d8491f05
Merge pull request #1247 from pieter-edelman-nictiz/issue-133
#133: Escape just embedded HTML tags, not autolinks in Markdown
2023-05-10 05:46:22 -05:00
Grahame Grieve de0af46394 fix npe and improve error message about uri values 2023-05-09 18:51:03 -05:00
Grahame Grieve ae13abfc2a performance related changes 2023-05-07 11:04:04 -05:00
Grahame Grieve c5f5689714 fixes for R5 redirector 2023-05-07 07:14:44 -05:00
Grahame Grieve d35b881cf1 Fix FHIRPath split function 2023-05-06 09:55:36 -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
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 806c065fcb fix version return + profile support in testing 2023-05-04 10:01:35 +10:00
Pieter Edelman 33694d9e2b 133: Improve regex and tests to escape just embedded HTML tags, not autolinks in Markdown 2023-05-03 16:48:47 +02:00
Pieter Edelman 07c95455a4 #133: Escape just embedded HTML tags, not autolinks in Markdown 2023-05-02 20:40:49 +02: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 43ef45813b Improvements to StructureMap validation use with profiles (+ fix various bugs) 2023-05-01 18:10:05 +10:00
Grahame Grieve 7f8817295b Fix NPE 2023-05-01 18:09:26 +10:00
Grahame Grieve 7b5aceb722 Language improvements for Lang Packs 2023-05-01 18:09:15 +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 28b21d566a Fix up error messages 2023-04-28 18:56:00 +10:00
Grahame Grieve d60db32e37 more quote fixing 2023-04-28 17:50:13 +10:00
Grahame Grieve f9121a51c9
Merge branch 'master' into gg-202304-extension-validation 2023-04-28 17:47:11 +10:00
Alexander Henket d021a9dc7f
Merge branch 'hapifhir:master' into master 2023-04-28 09:39:54 +02:00
Alexander Henket b4870b0a6b Updated Dutch according to Messages.properties 2023-04-28 09:38:53 +02:00
Alexander Henket 9a165b75d4 Fixed some more typos 2023-04-28 09:31:09 +02:00
Grahame Grieve 069dc03c90 Validate Extension Context + fix questionnaire value set validation 2023-04-28 17:28:28 +10:00
Alexander Henket 07a08f5de2
Fixed two typos 2023-04-28 08:51:30 +02:00
Grahame Grieve 4ec909e302
Merge branch 'master' into gg-202304-r6-support 2023-04-28 10:50:28 +10:00
Grahame Grieve 53eae9b51f fix error messages 2023-04-28 10:14:17 +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
Grahame Grieve 6e2b113f94 improved error message 2023-04-28 07:36:39 +10:00
Grahame Grieve 789eae760e
Merge pull request #1236 from ahenket/patch-1
Fixed missing = in key "QUESTIONNAIRE_QR_ITEM_BADOPTION_CS"
2023-04-28 06:33:00 +10:00
Alexander Henket de75e4db52
Fixed missing = in key "QUESTIONNAIRE_QR_ITEM_BADOPTION_CS" 2023-04-27 17:50:43 +02:00
Grahame Grieve 07a2e63941 more http logging to subdirectory of temp 2023-04-27 20:09:23 +10: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 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
Grahame Grieve 907126703f fix default server settings 2023-04-22 18:55:56 +08:00
Grahame Grieve 1498823d5f fix error processing nucc locally 2023-04-21 18:53:03 +08:00
Grahame Grieve fe86ab1d7c reorg server settings 2023-04-21 18:52:36 +08:00
Grahame Grieve 580079f26d allow to prohibit network access from within code 2023-04-21 12:25:54 +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
Grahame Grieve 5ec1bd9f67 fix npe 2023-04-18 09:51:23 +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
Grahame Grieve 81d26c5160 work on no-network-access mode 2023-04-18 09:39:59 +08:00
Grahame Grieve f1d5676425 run txTests from validator 2023-04-16 21:56:41 +10:00