Commit Graph

2140 Commits

Author SHA1 Message Date
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
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 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 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 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 981d233827 fix index error validating HierarchicalTable 2023-04-01 07:34:14 +11: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 e18cfcf0f8 Add reading translations 2023-03-30 23:30:53 +11:00
Grahame Grieve 1b6137967f i18n framework for HTML generation in renderers - step #1 2023-03-30 10:16:51 +11:00
Grahame Grieve 6a8e425696 Merge remote-tracking branch 'origin/master' 2023-03-30 06:37:57 +11:00
Grahame Grieve 12de53f336 Work on language translations 2023-03-30 06:32:10 +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 bbdb3dea89 undo dependency on test case packages (memory reasons) 2023-03-29 17:10:38 +11:00
Grahame Grieve d7817c785a XML utils - add tag 2023-03-29 15:06:59 +11:00
Grahame Grieve 520d13ab51 fix R5 path for spec 2023-03-29 15:06:35 +11:00
Grahame Grieve 0233e48a1c suppress prism if ttl source is too big 2023-03-29 15:06:24 +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 9460f1f64b
Merge pull request #1183 from hapifhir/do-20230315-pathbuilder
Give finer grained control over path building with dedicated PathBuilder class
2023-03-28 05:47:26 +11:00
dotasek 3044a188d9 Add PathBuilder documentation clean up code. 2023-03-27 10:41:44 -04: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 7bf243f593
Merge pull request #1188 from hapifhir/gg-202303-ftp-windows
Fix FTP problem on windows
2023-03-24 22:20:05 +11:00
Grahame Grieve ac64a6bbd7 Fix FTP problem on windows 2023-03-24 21:13:54 +11:00
Grahame Grieve 37206a1f30
Merge pull request #1187 from hapifhir/gg-202303-r5-final-gen
Gg 202303 r5 final gen
2023-03-24 11:50:23 +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 d16e6d3249
Merge pull request #1184 from hapifhir/gg-202303-r5-final-gen
Gg 202303 r5 final gen
2023-03-23 21:42:19 +11:00
Grahame Grieve b5c48d1934 rebuild .index.json if it's empty 2023-03-23 20:49:55 +11:00
Grahame Grieve f122dc164f update code for R5 final 2023-03-23 20:48:38 +11:00
dotasek 36dce28691 Make getter for remote separator 2023-03-22 17:31:40 -04:00
dotasek 8ce7cd8323 Merge remote-tracking branch 'origin/master' into do-20230315-pathbuilder 2023-03-22 12:09:56 -04: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 6173d77a24
Merge pull request #1181 from hapifhir/gg-202303-vs-example-urls
Gg 202303 vs example urls
2023-03-22 23:56:01 +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
dotasek 1442f1609c
Stop re-initializing file type and mode with each upload (#1178)
* Stop re-initializing file type and mode with each upload

* Methods for setting up buffer size
2023-03-21 15:36:19 -04:00
Grahame Grieve f796ffc57f fix issues with help16.png 2023-03-21 18:21:42 +11:00
Grahame Grieve 851d9c149d Merge remote-tracking branch 'origin/master' 2023-03-21 17:41:52 +11:00
Grahame Grieve c053ed9c6e suppress data attributes in XHTML 2023-03-21 17:27:14 +11:00
Grahame Grieve 5444c3a33a Inline help6.png in resources 2023-03-21 17:26:51 +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 7ea1e5197d Fix OS issue with zipslip protection 2023-03-21 06:14:01 +11:00
dotasek 7a85bc00c9 Merge branch 'master' into do-20230315-pathbuilder 2023-03-20 11:38:53 -04: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 e1fed0a8eb Merge remote-tracking branch 'origin/master' 2023-03-19 08:52:55 +11:00
Grahame Grieve 95f3fdd187 Add file: to URL scheme list 2023-03-19 08:52:49 +11:00
dotasek cbf864b1b9
Refactor FTPClient to perform fewer directory creates (#1159)
* Refactor FTPClient to perform fewer directory creates

* Restore old main

* More lenient test for delete timing (delete is fast)

* More timing leniency

* Add more checks for command completion, switch time track to nanos

* Logging logging logging
2023-03-16 14:53:59 -04: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 cf9bd54a74 fix bug in XhtmlNode 2023-03-16 15:42:04 +11: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 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
dotasek 0ae4aa9a0f Start pathbuilder work 2023-03-15 16:20:51 -04: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 6be0becc61 fix for NPE 2023-03-14 21:28:37 +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 a45de03431 add tail() to Utilities 2023-03-13 13:53:41 +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
Grahame Grieve 957e9fe7cc Load all types not no types from Npm Package when no types are specified 2023-03-11 18:54:23 +11: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 10d560c859 Add support for locally processed special case code systems (and an example - rgb) 2023-03-10 21:28:08 +11: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
dotasek cedadbcbe7
Convenience method for unchecked read only use of Utilities.path (#1164)
* Convenience method for unchecked read only use of Utilities.path

* Restore remove first null behaviour

* Method rename and update JavaDoc
2023-03-09 22:08:41 -05: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 95813d9004 Fix FML Comments parsing, and add StructureMap rendering to pretty FML 2023-03-09 19:44:57 +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 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 26eb1311a4 release notes 2023-03-07 23:33:35 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve 58a933094f fix json escaping 2023-03-07 06:30:01 +11:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
Grahame Grieve 5eca02f879 bug fixes 2023-03-06 23:33:38 +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 6559c4b245 improve SM validation message 2023-03-06 20:45:05 +11:00
Grahame Grieve 507ff74c23 recognise R4B and R5 core packages 2023-03-06 20:44:41 +11:00
Grahame Grieve adafa7eec8 Improve Specification Difference Engine 2023-03-06 16:55:02 +11:00
Grahame Grieve 36d22c522a make xhtml nodes use less memory 2023-03-06 10:32:54 +11:00
Grahame Grieve bf202870d9 Merge remote-tracking branch 'origin/master' 2023-03-06 06:20:01 +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 c42da7af68 more package hacking work 2023-03-05 06:14:22 +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
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 99d2421014 fix using wrong version of extensions package 2023-03-02 08:49:22 +11:00
Grahame Grieve 31b770db8a ping build 2023-03-02 07:36:10 +11:00
Grahame Grieve abba72d099 Fix bug in CommaSeparatedStringBuilder 2023-03-01 21:48:43 +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
Grahame Grieve 521e72a5ff
Merge pull request #1110 from balhoff/rdf-wg-r5-with-generated
Implement R5 RDF format changes
2023-02-24 10:21:19 +11: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 1eeee429ce More markdown detection work 2023-02-21 16:52:32 +11:00
Grahame Grieve 3eda8580fc fix rendering for conditional references 2023-02-21 16:46:02 +11:00
Grahame Grieve 76a3129b30 fix validation of conditional references 2023-02-20 23:48:16 +11:00
Grahame Grieve 455d2774da remove reference to package-client folder 2023-02-20 10:44:11 +11:00
Grahame Grieve 38a55d261d update table generator to suppress external links in base row and column 2023-02-18 15:13:13 +11:00
Grahame Grieve fecf024952 FHIR-40387 Improve guidance for markdown datatype 2023-02-16 13:03:37 +11:00
Grahame Grieve 3011b37df4 fix bugs in XHTML parser (common entities) 2023-02-16 10:07:18 +11:00
Jim Balhoff c3580528bb Fix Turtle syntax errors with multiline comments. 2023-02-15 09:58:25 -05: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 d1690a9416
Merge pull request #1101 from hapifhir/do-20230202-fix-jsonobject-instant-test
Fix JsonObjectTests interaction with Instant
2023-02-15 08:31:58 +11:00
Jim Balhoff 97772ada1e Merge branch 'master' into rdf-wg-r5 2023-02-14 13:47:28 -05:00
Grahame Grieve 33a84012f2 fix bug parsing html entities 2023-02-14 17:32:26 +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
Grahame Grieve e6548bcccd add unCamelCaseKeepCapitals 2023-02-09 17:39:47 +11: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
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
Grahame Grieve 1d4f1e9d90 fix bug with duplicate value in getResourceNames() 2023-02-06 05:38:02 +11: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
dotasek 7b3e206b1c Fix JsonObjectTests interaction with Instant 2023-02-02 13:52:01 -05: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
Jim Balhoff 5dc19cd052 Tweak spacing. 2023-02-01 11:55:11 -05: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
Jim Balhoff 69ce2b45f2 Output lists in examples using RDF lists. Don’t output fhir:index. 2023-01-31 14:11:29 -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 4ab03c5c93 cater for "." in XML element and attribute names 2023-01-31 07:23:52 +11:00
dotasek cca38587ce
Cleanup jetbrains annotations (#1090)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-23 18:27:47 -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 f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve 68b36d3cb5 go-publish related changes 2023-01-20 11:23:17 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
dotasek 885e55352f
FTPClient: upload file path creation, logging, and improved default path (#1078)
* More logging of errors.

* WIP create path for file to upload.

* WIP Tests

* More tests

* Improved logging and path fixes

* Clean up imports

* Rename test

* add testing code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-01-18 12:42:59 -05: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 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
Grahame Grieve a61d860ddb FTP passive mode 2023-01-16 22:13:38 +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
Grahame Grieve 615ed8d63f
Update R4 FHIRPath implementation from R5, and get all tests passing (#1063)
* Update R4 FHIRPath implementation from R5, and get all tests passing

* test NPE in markdown processing

* go-publish support

* Start implementing loading structure maps with validation

* release notes

* more work on FTP

* Fix breaking test.

* Add fhir-test-cases to r4 pom to fix breaking test

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 23:08:40 -05:00
dotasek 625ecac3c8
Bump commons-net to 3.9.0 (#1070)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 22:11:51 -05:00
dotasek dc9d5d0ed1 Set file transfers to binary type, ensure file contents match 2023-01-11 13:41:43 -05:00
dotasek edf6d75551
Implement FTP Client (#1064)
* Start with tests against fake FTP

* Dummy test file

* Switch to our FTPClient, make tests break

* Implement FTPClient

* Rely on end caller to set path delimiters

* User port 8021 for tests (not protected in azure pipelines)

* Let mocks use Windows filesystem

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-09 20:06:21 -05:00
dotasek 0fd3c4af42 Merge branch 'master' into do-reintroduce-saxon-dependency 2023-01-06 17:00:40 -05: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
dotasek df100a2d34 Restore saxon dependency dropped by HAPI FHIR 2023-01-05 17:11:35 -05:00
Grahame Grieve e794eca959 Changes to support upgrades to IG publisher -go-publish process 2023-01-05 08:44:45 +11:00
Grahame Grieve 19f1171962 json date handling related changes 2023-01-05 08:43:57 +11:00
Jim Balhoff 673e36b989 Merge branch 'master' into rdf-wg-r5-merging 2023-01-04 15:04:48 -05:00
Grahame Grieve db48892b66 fix failing test 2023-01-03 14:57:08 +11:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
Grahame Grieve 37844bd395 update xver dependency 2022-12-17 08:07:43 +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 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 9aeb39671b fix to get tests passing again. If I'm lucky 2022-12-14 11:54:14 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve e9d8400a78 fix package loading bug 2022-12-14 09:09:53 +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
Grahame Grieve f5d486f171 refactoring package-list.json handling 2022-12-12 19:54:37 +11: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 89486c17fc
Merge pull request #1029 from hapifhir/gg-202212-json-header
Gg 202212 json header
2022-12-10 00:01:26 +11:00
Grahame Grieve 1786122763
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:59 +11:00
Grahame Grieve ee8a58b7e1
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:06 +11:00
Grahame Grieve 7c2c44b333 Add Accept header fetching JSON 2022-12-09 20:09:12 +11:00
Grahame Grieve 474f84c903 fix bug doing version comparison 2022-12-09 20:09:01 +11:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 73cd123234
Merge pull request #1028 from hapifhir/gg-202212-xlsx-csv
Gg 202212 xlsx csv
2022-12-07 06:11:32 +11:00
dotasek d762740950
Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy (#1007)
* Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy

* Failing test

* GitHub complains about missing newlines.

* ACTUALLY bump HAPI, include saxon libs that disappeared

* Update maven.compiler.* properties, drop surefire-java-8 profile

* bump exec plugin

* Try running with JAVA_HOME explicitly

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-06 10:52:52 -05:00
Grahame Grieve 064c4ce896 Add contents to .index.json in package (per update to spec) 2022-12-06 16:21:56 +11:00
Grahame Grieve 66f46bc319 remove test that shouldn't have been committed 2022-12-05 17:56:12 +11:00
Grahame Grieve b778641cf6 fix bug in XHTML generation 2022-12-05 17:27:52 +11:00
Grahame Grieve 5d29a88552 fix npe appending slashes 2022-12-05 17:27:43 +11:00
Grahame Grieve a0c28f3326 Round trip XHTML faithfully wrt empty elements 2022-12-05 13:41:31 +11:00
Grahame Grieve cd8c970045 Add logging to package client 2022-12-01 16:56:55 +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 d24cc6c5ee Merge remote-tracking branch 'origin/master' 2022-12-01 08:22:19 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
dotasek d53aabe2e5
Do not delete previously undefined xmlns attributes when processing Xhtml nodes (#985)
* Add tests

* Add back unseen namespace attributes

* Gentle refactor, document setOriginalNamespacePrefix

* Update validator_test_case_version

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-30 16:01:28 -05: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 49f798de48 Consistency around rendering comments in examples in IGs 2022-11-26 22:24:17 -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 450fa1d02c minor improvements to json library 2022-11-25 22:37:18 -03:00
Grahame Grieve 61d998963a fix debugging 2022-11-24 19:56:07 -03:00
Grahame Grieve 618f98e323 Add spanish messages 2022-11-24 18:02:02 -03:00
Grahame Grieve 1617315ed8 minor improvements to validator message 2022-11-24 17:58:15 -03:00
Grahame Grieve 80f275ff18 upgrade to new JSON parser 2022-11-24 17:57:46 -03:00
Grahame Grieve b2e2c68f7e minor typo fixes in validation messages 2022-11-22 12:45:33 -03: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 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -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
Grahame Grieve bce3f5464f Merge remote-tracking branch 'origin/master' 2022-11-20 12:57:48 -03:00
Grahame Grieve 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03: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
Grahame Grieve 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03: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 011e2488a3 New Json Parser 2022-11-16 15:11:33 -03:00
Grahame Grieve 24656a20fa typo fix in name 2022-11-15 18:13:45 +11:00
Grahame Grieve 0f3e8be43b
Merge pull request #989 from vadi2/patch-1
Fix missing space in slicing validation failure message
2022-11-15 17:49:32 +11:00
Vadim Peretokin 2de7220db4
Fix missing space in slicing validation failure message 2022-11-14 21:18:38 +01:00
Grahame Grieve cf7ef7218a
Merge pull request #979 from lmckenzi/NewIGHelp
Change default help location for tables
2022-11-15 07:18:13 +11:00
Grahame Grieve 231aae6043 Fix issue rendering resource by name 2022-11-14 18:04:27 +11:00
Grahame Grieve e01216b7f3 more xver package related changes 2022-11-11 12:29:45 +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 19e97c857b Make references to canonical resources in error messages version specific 2022-11-08 09:37:26 +11:00
dotasek 90f450ecb6 Rename method + remove dead code 2022-11-07 17:29:21 -05: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 25c12a9e4e Use plural phrase as placeholder for singular in de and nl 2022-11-07 15:20:31 -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
Lloyd McKenzie 90f3321c7d Change default help location for tables 2022-11-05 17:07:38 -06:00
Grahame Grieve a6b167a94a sync 2022-11-05 11:31:06 +11:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
Grahame Grieve 16e21c5bbe fix bug in simple http client when no accept header is set 2022-11-02 20:57:05 +11:00
dotasek aeeaf06d62 Fix de copy error 2022-11-01 18:07:28 -04:00
Grahame Grieve cc1f81bff4 New version of pubpack 2022-11-02 08:51:33 +11:00
dotasek bbf1a3af6f MULTIPLE_LOGICAL_MODELS_PLURAL 2022-10-31 10:58:38 -04:00
dotasek 56bc6bcf4c FHIRPATH_FOCUS_PLURAL 2022-10-31 10:53:41 -04:00
dotasek 0f8ac2958a FHIRPATH_DISCRIMINATOR_MULTIPLE_PROFILES_PLURAL 2022-10-31 10:49:58 -04:00
dotasek c16b42d8da FHIRPATH_DISCRIMINATOR_MULTIPLE_TYPES_PLURAL 2022-10-31 10:43:20 -04:00
dotasek 789bd3f4ba FHIRPATH_RESOLVE_DISCRIMINATOR_NO_TARGET_PLURAL 2022-10-31 10:42:19 -04:00
dotasek 0f01b0b519 FHIRPATH_DISCRIMINATOR_RESOLVE_MULTIPLE_TYPES_PLURAL 2022-10-31 10:28:32 -04:00
dotasek 2f5056c4ef FHIRPATH_LEFT_VALUE_PLURAL + FHIRPATH_RIGHT_VALUE_PLURAL 2022-10-31 10:20:31 -04:00
dotasek 269680608f Merge master 2022-10-31 09:50:26 -04:00
Grahame Grieve 5116536617 Finish CDS hooks extension validation 2022-10-29 19:18:19 +11:00
Grahame Grieve ddf769851b improve error messages in json parser 2022-10-29 11:59:00 +11:00
Grahame Grieve 27511f40dd Add support for json-primitive-choice 2022-10-29 09:11:09 +11:00
dotasek 59df630985 BUNDLE_BUNDLE_ENTRY_MULTIPLE_PROFILES_PLURAL 2022-10-28 16:57:44 -04:00
dotasek 0b0cbab26d XHTML_URL_INVALID_CHARS_PLURAL 2022-10-28 16:56:11 -04:00
dotasek 25ef2dca4d Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-10-28 14:54:37 -04:00
dotasek 2de6340cfa Rename PL to Plural in method signatures 2022-10-28 14:44:09 -04:00
dotasek 71a8c46c1d Display_Name_for__should_be_one_of__instead_of_PLURAL 2022-10-28 13:16:00 -04:00
dotasek 39dbf45a97 Discriminator__is_based_on_type_but_slice__in__has_multiple_types_PLURAL 2022-10-28 13:10:23 -04:00
dotasek f8a439f529 Profile_based_discriminators_must_have_only_one_type__in_profile_PLURAL 2022-10-28 13:09:27 -04:00
dotasek 21c2f934b8 ould_not_match_discriminator_for_slice_in_profile_PLURAL_one 2022-10-28 12:14:57 -04:00
dotasek 839fdc25e3 Reorg nl duplicate keys 2022-10-28 11:15:12 -04:00
dotasek 404f4f712b Validation_VAL_Profile_MultipleMatches_PLURAL 2022-10-28 10:40:13 -04:00
dotasek 36df92c731 Validation_VAL_Profile_NoCheckMin_PLURAL 2022-10-28 10:34:23 -04:00
dotasek d67292676a Validation_VAL_Profile_NoCheckMax_PLURAL 2022-10-28 10:29:27 -04:00
dotasek 1bb3158444 Validation_VAL_Profile_Minimum/Maximum_PLURAL 2022-10-28 09:51:58 -04:00
dotasek f095b04bb1 Bundle_BUNDLE_Entry_Type3_PLURAL 2022-10-28 09:42:59 -04:00
dotasek a1a7e307ae Questionnaire_QR_Item_OnlyOneA special case 2022-10-28 09:36:13 -04: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
Grahame Grieve 83dfcd398c Fix problem with determining implied code system 2022-10-28 09:09:48 +11:00
dotasek da14683990 Refactor, document 2022-10-27 17:52:38 -04:00
dotasek 865f41b71f Typo in test name 2022-10-27 17:37:34 -04:00
dotasek ef2092e500 Start implementing pluralization 2022-10-27 17:34:12 -04:00
dotasek 9e4a19bb61 Improve germal pluralization test 2022-10-27 17:29:34 -04:00
dotasek cd5c9efcec Add ICU4J dependency + initial tests 2022-10-27 16:02:44 -04:00
Grahame Grieve a1a27b359d json fix 2022-10-27 07:39:30 +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
Grahame Grieve 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve 628ace4716 More control over copying files 2022-10-23 23:13:45 +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
Grahame Grieve c053f08a13 fix NPE building CCDA 2022-10-20 22:07:05 +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 4850a4c740 eliminate platform dependency in error message 2022-10-20 10:59:17 +11:00
Grahame Grieve 108321e172 fix i18nconstants 2022-10-19 21:01:12 +11:00
Grahame Grieve 574cd143ba clarify resource id error + support type characteristics extension 2022-10-19 20:48:37 +11:00
Grahame Grieve f13dc58d8b More work on language production 2022-10-19 20:47:18 +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
markiantorno 82e659c8cc Updating version to: 5.6.72-SNAPSHOT and incrementing test cases dependency. 2022-10-14 21:51:04 +00:00
markiantorno 64884ac668 Release: v5.6.71
## Validator Changes

* Fix typos in error messages

## Other code changes

* Fix NPE in xig generation
* Fix bug in validator test framework (packages not being loaded properly)
* Remove references to terminology files no longer found in source specification
* Package generation enhancements for R4/R4B
* Support for CDS Hooks validation (not surfaced outside test cases yet)
***NO_CI***
2022-10-14 21:19:03 +00:00
Grahame Grieve 9dd886ee2b package fixes for r4/r4b package conversion 2022-10-13 06:49:08 +11:00
Grahame Grieve a15b57ef9a Improved support for Logical Models (inc. cds-hooks) 2022-10-13 06:48:29 +11:00
Grahame Grieve 3d83de32c6 fix problem with vocab test because of issue in package cache management 2022-10-12 10:22:05 +11:00
markiantorno 7bf348055a Updating version to: 5.6.71-SNAPSHOT and incrementing test cases dependency. 2022-10-11 01:11:51 +00:00
markiantorno 2fd44c4203 Release: v5.6.70
## Validator Changes

* no changes

## Other code changes

* Fix for logical model issues for cds-hooks logical models
***NO_CI***
2022-10-11 00:50:57 +00:00
Grahame Grieve fb921f6f3f Fix content reference generation 2022-10-10 20:45:46 +11:00
Grahame Grieve a66ca2a197 Add JSON enhancements for CDS hooks logical model 2022-10-10 17:05:12 +11:00
Grahame Grieve e1657c66b0 refactor IWorkerContext 2022-10-07 21:50:59 +11:00
markiantorno 9a39f4570c Updating version to: 5.6.70-SNAPSHOT and incrementing test cases dependency. 2022-10-06 23:36:56 +00:00
markiantorno bdd99a48a7 Release: v5.6.69
## Validator Changes

* Fix R5 error around cnl-1
* Add markdown validation
* add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies
* fix bugs in FHIRPath handling of polymorphism
* fix validation of Coding when system is unknown (align with CodeableConcept handling)
* Fix bug where extranous text in XML was reported in the wrong location

## Other code changes

* Fix links in bundle rendering
* Improvements to rendering for IG publisher (additional bindings)
* Bump jackson-databind dependency
* fix bugs in graphql generation
* populate StructureMap xhtml when loading from mapping language
* align markdown processing with FHIR-38714
***NO_CI***
2022-10-06 23:17:29 +00:00
Grahame Grieve c7ef0a3ac6 Add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies to validator 2022-10-05 21:19:30 +11:00
Grahame Grieve 86a3a56c42 better handling for sax errors and jvm issue 2022-10-04 16:55:17 +11:00
Grahame Grieve 098b2895bc Markdown changes for FHIR-38714 + fix up test framework for validator to use OperationOutcome 2022-10-04 14:06:30 +11:00
markiantorno fa8db082c7 Updating version to: 5.6.69-SNAPSHOT and incrementing test cases dependency. 2022-09-30 20:09:37 +00:00
markiantorno ecc3506457 Release: v5.6.68
## Validator Changes

* Warning in Validator CLI when character encoding is not UTF-8
* Don't validate contained resources against Shareable* profiles, and also check ShareableMeasure

## Other code changes

* Remove CapabilityStatement2 from canonical resources
***NO_CI***
2022-09-30 19:52:48 +00:00
Grahame Grieve d71a5833c1
Gg 202210 shareables (#936)
* Don't validate contained resources against Shareable* Profiles, + validate ShareableMeasure

* release notes

* fix compile problem

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-09-30 15:00:22 -04:00
dotasek eabf51938b
Remove CapabilityStatement2 from reported and checked resource names (#935)
* Remove CapabilityStatement2 from reported and checked resource names

* Update RELEASE_NOTES.md

***NO_CI***

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-30 13:10:51 -04:00
dotasek 6ffb981156
Warn CLI users if file.encoding is not UTF-8 (#933)
* Print warning for wrong file encoding

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-28 15:09:04 -04:00
markiantorno 8893e0c0bc Updating version to: 5.6.68-SNAPSHOT and incrementing test cases dependency. 2022-09-27 15:09:27 +00:00
markiantorno 02435a9889 Release: v5.6.67
## Validator Changes

* Work around R4 issue with http://www.rfc-editor.org/bcp/bcp13.txt value set (should be http://hl7.org/fhir/ValueSet/mimetypes)
* Minor improvements to error messages

## Other code changes

n/a
***NO_CI***
2022-09-27 14:33:05 +00:00
Grahame Grieve a1d97b6ed4 fix test dependency 2022-09-27 08:46:49 -04:00
Grahame Grieve 2285da5f8d minor validation improvements 2022-09-26 23:49:32 -04:00
markiantorno 9d308db001 Updating version to: 5.6.67-SNAPSHOT and incrementing test cases dependency. 2022-09-23 18:40:26 +00:00
markiantorno 303853b7a1 Release: v5.6.66
## Validator Changes

* fix error with code system validation messages

## Other code changes

* Enhanced testing for character encoding issues
* XIG publisher improvements
***NO_CI***
2022-09-23 18:20:37 +00:00
Grahame Grieve 695a8610a2 fix error with code system validation messages 2022-09-23 09:33:25 -04:00
markiantorno e29b3130db Updating version to: 5.6.66-SNAPSHOT and incrementing test cases dependency. 2022-09-20 16:29:09 +00:00
markiantorno fce1d1f1fc Release: v5.6.65
## Validator Changes

* Validator support for -forPublication parameter

## Other code changes

* Improved ConceptMap rendering
* Internal reorganization of extensions
* Fix NPE rendering terminology resources
* Fix bad HTML rendering SearchParameter
* Allow rendering additional information in a comparison
* bug fixes from loading all published packages ever
***NO_CI***
2022-09-20 16:11:15 +00:00
Grahame Grieve 204157c1ec update validator rules for supplements 2022-09-20 08:29:45 -04:00
Grahame Grieve 72b3d2f6d1 escape bare html entities 2022-09-20 04:52:20 -04:00
Grahame Grieve 689b9a57b1 check ShareableValueSet and shareableCodeSystem profiles for publishing resources 2022-09-20 04:52:01 -04:00
Grahame Grieve cfa5d39bdb reorg extensions (clean up) 2022-09-20 04:51:00 -04:00
Jim Balhoff 15361ad600 Provide backward compatibility for predicate methods. 2022-09-19 13:53:04 -04:00
markiantorno 45a4ad77ad Updating version to: 5.6.65-SNAPSHOT and incrementing test cases dependency. 2022-09-17 14:49:41 +00:00
markiantorno 7cce3ef810 Release: v5.6.64
## Validator Changes

* Support for R5 terminology

## Other code changes

* fix error with R5 IG constraint
* fix error with double escaping rendering code system markdown
* Suppress display when generating narrative for code systems if display matches code
* Fix bug in RDF generation in R4B
* fix bug in html parser - misses end of comments when end is --->
***NO_CI***
2022-09-17 14:17:42 +00:00
Grahame Grieve 5cf7e2c3bd fix html parser for comments that end with ---> 2022-09-17 09:51:59 -04:00
Grahame Grieve ccc38e48df Fix NPE processing constraints without keys + fix for R5 terminology package problem 2022-09-16 23:49:26 -04:00
Jim Balhoff 41d23ed56f WIP outputting indexed objects as RDF collections. 2022-09-15 10:34:24 -04:00
Grahame Grieve 43420db756 fix error with IG constraint 2022-09-15 09:00:51 +02:00
markiantorno 09125cbaa4 Updating version to: 5.6.64-SNAPSHOT and incrementing test cases dependency. 2022-09-12 16:58:38 +00:00
markiantorno 0e2ad40b05 Release: v5.6.63
## Validator Changes

* no changes

## Other code changes

* Fix NPE ValueSetRenderer
* More fixes in StructureDefinition validation type characteristic
* Fix typo in ImplementationGuideDefinitionParameterComponent `Value`
***NO_CI***
2022-09-12 16:09:27 +00:00
markiantorno 6169f92cb1 Updating version to: 5.6.63-SNAPSHOT and incrementing test cases dependency. 2022-09-10 06:33:43 +00:00
markiantorno 5286167c02 Release: v5.6.62
## Validator Changes

* More fixing for Type Characteristics

## Other code changes

* Fix rendering of concept map code references
* Fix version conversion problem for MessageHeader.event
***NO_CI***
2022-09-10 06:14:00 +00:00
markiantorno 31238146a0 Updating version to: 5.6.62-SNAPSHOT and incrementing test cases dependency. 2022-09-09 22:13:28 +00:00
markiantorno 9b9c12c97a Release: v5.6.61
## Validator Changes

* no changes

## Other code changes

* Improved HTML compliance (img.alt)
* Improved example generation
* Improved handling of illegal parameters in ImplementationGuideDefinition
***NO_CI***
2022-09-09 21:56:43 +00:00
Grahame Grieve a3ededf92c Merge remote-tracking branch 'origin/master' 2022-09-09 09:03:39 +10:00
Grahame Grieve 8ee2480f61 example generation improvements 2022-09-09 09:03:16 +10:00
markiantorno fadb727e87 Updating version to: 5.6.61-SNAPSHOT and incrementing test cases dependency. 2022-09-08 15:20:07 +00:00
markiantorno ca313fa6fe Release: v5.6.60
## Validator Changes

* no changes

## Other code changes

* Rendering improvements for Patient and extension summary
***NO_CI***
2022-09-08 15:03:24 +00:00
Grahame Grieve ace807bca0 Add missing img.alt tags 2022-09-08 22:45:24 +10:00
Grahame Grieve 4cbbce4ec8 img conformance in xhtml 2022-09-08 22:22:17 +10:00
dotasek 6e80637185
Change message when extension is in modifierExtension field (#917)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-07 16:56:19 -04:00
markiantorno 9f70b2b541 Updating version to: 5.6.60-SNAPSHOT and incrementing test cases dependency. 2022-09-07 13:29:55 +00:00
markiantorno df2e964389 Release: v5.6.59
## Validator Changes

* More fixes to type characteristics
* Validator would hang on some specific xml inputs - no more

## Other code changes

* General: This release contains java code for the as yet unreleased R5 ballot (it's a precondition for releasing it)
* Snapshot Generator handle bindings on CodeableReferences
* Renderer: Don't always render OperationDefinition header
***NO_CI***
2022-09-07 13:12:42 +00:00
Grahame Grieve 6cf6d139c4 fix up for r5 tests 2022-09-07 08:12:20 +10:00
markiantorno df2a768778 Updating version to: 5.6.59-SNAPSHOT and incrementing test cases dependency. 2022-09-04 00:09:47 +00:00
markiantorno 719f28dcd2 Release: v5.6.58
## Validator Changes

* Allow binding as a type characteristic for Extension

## Other code changes

* OID support refactoring
* Remove Contributor Datatype from R5
* R5 Build efficiency fixes
***NO_CI***
2022-09-03 23:48:53 +00:00
Grahame Grieve fa22d50297 utilities for OID rework in R5 2022-09-03 21:31:24 +10:00
Grahame Grieve f366962f51 Fix bindings constraint issue in validator 2022-09-03 07:37:38 +10:00
markiantorno 6f73511fe7 Updating version to: 5.6.58-SNAPSHOT and incrementing test cases dependency. 2022-09-01 13:44:59 +00:00
markiantorno 8a38b36855 Release: v5.6.57
## Validator Changes

* fix erroneous type characteristics error in StructureDefinition.differentials

## Other code changes

* ValuesetExpansion: Pay attention to inactive property, and activeOnly parameter
* fix broken paths rendering extensions
* Process markdown in code definitions when rendering ValueSets
* Fix duplicate ids in generated questionnaires
* Add types to wildcard list
***NO_CI***
2022-09-01 13:27:25 +00:00
markiantorno 4b8f8e3d2b Updating version to: 5.6.57-SNAPSHOT and incrementing test cases dependency. 2022-08-26 21:14:29 +00:00
markiantorno 51199251e8 Release: v5.6.56
## Validator Changes

* Improve support for example code systems in example mode

## Other code changes

* Render Comments as span titles in ProfileDrivenRenderer
* Fix type analysis in FHIRPath for abstract types
* Terminology utilitty improvements for fhir-types code system
* Lighten invariant background colour
* Fixes to DateTimeType for setFieldValue() method
***NO_CI***
2022-08-26 20:57:04 +00:00
Grahame Grieve 5220f2552b Merge remote-tracking branch 'origin/master' 2022-08-26 21:18:44 +10:00
Grahame Grieve 5fcc1866cd better support for allowExamples 2022-08-26 21:00:50 +10:00
markiantorno 540209b68f Updating version to: 5.6.56-SNAPSHOT and incrementing test cases dependency. 2022-08-25 17:05:11 +00:00
markiantorno 5112fe18ca Release: v5.6.55
## Validator Changes

* no changes

## Other code changes

* Return lists for FHIRPath constants in r4
* FHIR-25206 handle deprecated concepts properly when expanding value sets
* Fix SHEX generation issue
* Fix ConceptMap rendering column title
* Fix problem rendering ConceptMaps in value sets
* Fix NPE issue rendering resources without ids
* Improvements to SearchParameterRenderer
* Add Reference.resource to output of copy()
* Migration of r5 changes to r4b
* Bundle rendering improvements
* Fix loading canonical resources so that duplicates with different versions is OK
* Fix generation of profiles on Resource.id
***NO_CI***
2022-08-25 16:46:36 +00:00
Grahame Grieve fba2145a9c Fix bug where instance validator doesn't check type of sub-extensions, and check type characteristics 2022-08-23 22:32:40 +10:00
Grahame Grieve cd820bdf3f Fix problem rendering ConceptMaps in value sets 2022-08-18 09:39:01 +10:00
Grahame Grieve 6fb61b75f0 R5 related fixes 2022-08-12 21:24:14 +10:00
Grahame Grieve 80ca7e31f9 Improvements to SearchParameterRenderer 2022-08-11 19:16:49 +10:00
Grahame Grieve e2d1cbfffa msic commit 2022-08-09 20:19:39 +10:00
markiantorno 8051f476a9 Updating version to: 5.6.55-SNAPSHOT and incrementing test cases dependency. 2022-08-03 15:01:07 +00:00
markiantorno 24dbe8b984 Release: v5.6.54
## Validator Changes

* Fix for errors in FHIRPath evaluation (see https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/String.20functions)

## Other code changes

* R4B BackboneType fixes
* Add R4B to R5 interconversion code
* Improvements to Rendering Documents
* Add uuid to primitive types list
***NO_CI***
2022-08-03 14:28:56 +00:00
Grahame Grieve b43c210e1a Rendering improvements for Documents 2022-07-28 21:30:59 +10:00
Grahame Grieve f3fa8cae24
Merge pull request #886 from hapifhir/gg-202207-fhirpath
Gg 202207 fhirpath
2022-07-28 09:14:17 +10:00
Grahame Grieve 5c76af8dcd fhirpath fixes 2022-07-27 22:39:05 +10:00
markiantorno 8978130451 Updating version to: 5.6.54-SNAPSHOT and incrementing test cases dependency. 2022-07-25 22:10:34 +00:00
markiantorno ec87c3a0b4 Release: v5.6.53
## Validator Changes

* Add support for OID 1.3.160 (very short OIDs are special)
* Fix evaluation of ValueSets that have only one value set import

## Other code changes

* Rework precision checking in datetime
* Update version conversion to not drop modifierExtensions
* Fix DocumentRendering to generate Composition Narrative if not present
* Restore Search Parameters (missing due to R5 draft generation issues)
* Don't access getBinaries directly in XVerExtensionManager

***NO_CI***
2022-07-25 21:49:05 +00:00
markiantorno fa0597f864 Updating version to: 5.6.53-SNAPSHOT and incrementing test cases dependency. 2022-07-22 06:10:23 +00:00
markiantorno aa6094c451 Release: v5.6.52
## Validator Changes

* Fix issue with startsWith in FHIRPath engine
* Fix bugs validating references (some references not resolved)
* Fix minor issue supporting 4.3.0 (R4B)
* fix bug loading R5 extensions

## Other code changes

* Fix NPE rendering bundles
* R5 Changes to ConceptMap
* Fix bug rendering extensions
* Fix bug accessing polymorphic fields when rendering
* Fix bug around lazy loading packages when validating references
* Add ability to suppress serialising ids when serialising element models
***NO_CI***
2022-07-22 05:50:56 +00:00
Grahame Grieve a82bbeb887
Merge pull request #873 from hapifhir/gg-202207-version-annotations
fix up version annotations
2022-07-22 15:16:01 +10:00
Grahame Grieve 5284773527 fix up version annotations 2022-07-22 14:27:26 +10:00
dotasek 6f3c297c35
Fix dependency on resource more consistently (#845)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-19 10:33:31 -04:00
dotasek 5560093c02
Instantiate all ValidationMessage with this() instead of super() (#853)
super() would call Object() instead of ValidationMessage(). This way, debugging can track instantiations of ValidationMessage from one place

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 13:26:13 -04:00
markiantorno bb13edfdc0 Updating version to: 5.6.52-SNAPSHOT and incrementing test cases dependency. 2022-07-18 10:41:30 +00:00
markiantorno 078ca1e13a Release: v5.6.51
## Validator Changes

* no changes

## Other code changes

* Update R5 for revised ConceptMap in R5 cibuild, and release new core library for R5 build process
***NO_CI***
2022-07-18 10:23:13 +00:00
Grahame Grieve 023aea34fb R4B and R5 extension changes 2022-06-28 15:39:15 +03:00
markiantorno 982ce5f58f Updating version to: 5.6.51-SNAPSHOT and incrementing test cases dependency. 2022-06-24 18:48:18 +00:00
markiantorno 4a654122fb Release: v5.6.50
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 18:32:05 +00:00