Commit Graph

2691 Commits

Author SHA1 Message Date
Grahame Grieve 49571de18a #1266 fix Bundle.getLink() for enumeration 2023-05-23 06:13:05 +10:00
Grahame Grieve 5979d4abea
Merge pull request #1267 from antvaset/patch-1
Fix typo in ConceptMapRenderer.java
2023-05-23 05:54:51 +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
Grahame Grieve 073e89d98d Handle unknown code systems properly 2023-05-22 17:16:08 +10:00
Grahame Grieve 7339d0ae1d Fix for NPEs 2023-05-22 17:15:44 +10:00
Grahame Grieve 30290b9567 Handle unknown code systems properly 2023-05-22 17:15:29 +10:00
Grahame Grieve 95d8399992 Handle unknown code systems properly 2023-05-22 17:15:16 +10:00
Grahame Grieve c2dfdfea0b Check for erroneous attempts to reslice 2023-05-22 17:14:49 +10:00
Grahame Grieve 6e3171d85f Check for erroneous attempts to slice or re-slice + add checking for getting slicing minimum cardinality right 2023-05-22 17:14:16 +10:00
Anton Vasetenkov b7e802ee79
Fix typo in ConceptMapRenderer.java 2023-05-19 21:16:06 +02:00
Richard Ettema e9c2a5f622 #1264 add R5 TestPlan conversion classes to R3, R4 and R4B 2023-05-18 17:36:21 -04: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 0278518c26 update terminology for changes to tx validation policy 2023-05-17 11:33:45 +10:00
Grahame Grieve ef92f38d9e Fix up all terminology cache tests 2023-05-17 10:33:22 +10:00
Grahame Grieve 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
Lloyd McKenzie 8c494278f4 Fix problem when profiling a base type that supports both Reference and canonical 2023-05-11 21:54:48 -05: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 ecc2a5f634 Remove spurious logging 2023-05-10 05:46:58 -05:00
Grahame Grieve 13254f39a2 support for NamingSystem conversion of url, version, and title (for THO) 2023-05-09 18:46:39 -05:00
Grahame Grieve ce46eee731 return codeableConcept from validate-code 2023-05-08 13:30:04 -05:00
Grahame Grieve 491b5ccb4a Fix for wrong display when server returns error 2023-05-08 07:09:32 -05:00
Grahame Grieve 6232c54f15 Fix core 2023-05-07 12:02:00 -05:00
Grahame Grieve bcb0656ff5 Merge remote-tracking branch 'origin/master' 2023-05-07 11:04:07 -05:00
Grahame Grieve ae13abfc2a performance related changes 2023-05-07 11:04:04 -05:00
Sean McIlvenna fa1e0c5a71 Changes based on performance profiling validation of a large Bundle of 32 patients
Reduced execution time from >2 minutes to 36 seconds
2023-05-07 10:03:12 -05:00
Grahame Grieve d35b881cf1 Fix FHIRPath split function 2023-05-06 09:55:36 -05:00
Grahame Grieve 24b0cc2ee4 Fixes for kindling 2023-05-06 00:55:50 -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 e8de25c197 fix tests 2023-05-04 10:35:03 +10:00
Grahame Grieve 806c065fcb fix version return + profile support in testing 2023-05-04 10:01:35 +10:00
Grahame Grieve 94fd0ae795 more tests fixes 2023-05-03 17:16:16 +10:00
Grahame Grieve 0b71add74c Always report version on validation, and use the correct type for version in expansion parameters 2023-05-03 11:59:54 +10:00
Grahame Grieve 410f08e6d6 terminology fixes - add expParams to cache key, fix up parameter types, report version 2023-05-02 16:58:54 +10:00
markiantorno 8ba62413ff Updating version to: 6.0.4-SNAPSHOT and incrementing test cases dependency. 2023-05-01 15:33:38 +00:00
markiantorno 9ed0b9ccee Release: v6.0.3
## Validator Changes

* Structure map validation improvements

## Other code changes

* Fix wrong name for systemVersion Parameter
* Language improvements for Lang Packs
* Fix up StructureMap R4/R5 conversion
***NO_CI***
2023-05-01 15:05:34 +00:00
Grahame Grieve 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 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 829549eeff Add support for R6 formal version 2023-04-28 07:36:13 +10:00
Grahame Grieve 9d53b738df Improved error message when code not in value set 2023-04-28 07:36:00 +10:00
Grahame Grieve 949c57acbf Do not spuriously escape in tx text log 2023-04-27 20:08:54 +10:00
Grahame Grieve 30e8f64962 Switch to use text logger for tx unless html is explicitly requested 2023-04-27 20:08:20 +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 d04242446e standardise lang matching 2023-04-25 21:52:17 +10:00
Grahame Grieve 7487c978f2 fix code system rendering when only 1 or 2 translations 2023-04-25 21:51:59 +10:00
Grahame Grieve 3ed7813973 language translations support in validator 2023-04-25 21:51:31 +10:00
Grahame Grieve 20f73e2094 fix spelling mistakes 2023-04-24 23:07:09 +10: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 81b3295f3c fix path problem 2023-04-21 12:25:10 +08:00
Grahame Grieve a3dc74f3e2 fix bug digging into property type 2023-04-21 12:24:37 +08:00
Grahame Grieve 696f060da3 Remove wrong id from generated value sets 2023-04-21 12:23:37 +08:00
Grahame Grieve de4da1eab5 Remove spurious header from ConceptMap rendering 2023-04-21 12:21:58 +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
James Agnew 2fd0a07d9f Return ID part when FhirPath expression result is converted to string 2023-04-18 09:07:57 -04:00
Grahame Grieve 2d7dfc1ee9 remove spurious debugging code 2023-04-18 09:41:58 +08:00
Grahame Grieve cdadde108f fix problem with leaf rendering in profile driven renderer 2023-04-18 09:41:44 +08:00
Grahame Grieve ec84f6aa0b fix minor issues in terminology engine 2023-04-18 09:41:28 +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
dotasek 9530f40f9c
Fix SimpleWorkerContextTests, ignore ExternalTerminologyServiceTests (#1217) 2023-04-14 12:00:44 -04: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
Amir Toosi b09e536387
Fix HumanName getNameAsSingleString never returning text element (#1207)
* Fix HumanName getNameAsSingleString never returning text element

* Add test + gentle rename in joinStringsSpaceSeparated

* removed unused variable from unit test. added fix for getNameAsSingleString to r5.

* changed variable names in joinStringSpaceSeparated to more meaningful names

* Add tests and fixes for dstu2016may, dstu3, and r4b + gentle refactor

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-04-12 14:31:58 -04:00
dotasek 8ba4d75451
Import original test, and fix with renamed method (#1173) 2023-04-12 13:22:13 -04:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
Grahame Grieve 730a199f7a fix R4/R5 conversion issues 2023-04-08 15:06:09 +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 7d4cb4b5a2 Add support for CodeSystem supplements and correctly processing extensions when doing expansions 2023-04-03 20:47:23 +10:00
Grahame Grieve 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 0188fcedd1 fix NPE in requirements renderer 2023-04-02 23:07:52 +10:00
Grahame Grieve 42a9e47379 Add terminology service tests 2023-04-02 23:07:34 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 4966731195 Add link to questionnaire rendering questionnaireResponse 2023-04-01 07:33:09 +11:00
Grahame Grieve 9e98128eee Fix access violation rendering questionnaire 2023-04-01 07:32:45 +11:00
Grahame Grieve c66da517bb Fix bug generating narratives 2023-04-01 07:32:26 +11:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve 3df8593c48 Fix up loading of IG bundles 2023-03-30 23:30:41 +11:00
Grahame Grieve 76c96a53d6 Work around issue with R5 path in extensions pack 2023-03-30 23:30:23 +11:00
Grahame Grieve 1b6137967f i18n framework for HTML generation in renderers - step #1 2023-03-30 10:16:51 +11:00
Grahame Grieve b1bd539b03 memory conservation testing 2023-03-30 08:31:01 +11:00
Grahame Grieve 5e2330c6e2 Better error handling loading resources 2023-03-30 08:30:47 +11:00
Grahame Grieve bb94efa873 restore broken R4 loading 2023-03-30 08:30:32 +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
Grahame Grieve 50b5802d39 Don't preload resources to fix them 2023-03-30 06:24:50 +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 25d7affba4 fix up R5 paths that are wrong in Extensions package 2023-03-29 15:05:50 +11:00
Grahame Grieve d82bec0f90 Add binding.description to markdown fields that get their URLs processed 2023-03-29 15:03:08 +11:00
Grahame Grieve 77e771af2a Fix up URLs for untouched elements when generating 2023-03-29 15:02:45 +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 18cc404567 fix loading version of extensions package 2023-03-28 07:45:29 +11:00
Grahame Grieve 8101ae8a3b display checking case insensitive 2023-03-28 07:45:14 +11:00
Grahame Grieve d43d6ce19a don't suppress error when FML doesn't parse 2023-03-28 07:44:44 +11:00
markiantorno 794a9c46b6 Updating version to: 5.6.116-SNAPSHOT and incrementing test cases dependency. 2023-03-25 12:24:55 +00:00
markiantorno e68a6171ee Release: v5.6.115
Final Code changes for R5 release

## Validator Changes

* Fix NPE validating maps

## Other code changes

* Refactor Loader for easier loading of earlier versions
* Fix various NPEs from version conversion testing
* First draft of Code generation for Extensions
* Improve summary message for map conversion outcome
* Move web path out of userData into resource field
* Fix FTP problem on windows (remote seperator)
* Update tests to use R5 package from test case repo everywhere
* Finish removing population type
* Rebuild .index.json if it's empty when installing a package
***NO_CI***
2023-03-25 11:55:37 +00:00
Grahame Grieve ce75d57808 fix extension status and extension generator 2023-03-25 21:54:53 +11:00
Grahame Grieve 8e9b96b4b7 refactor loader for easier loading of old versions 2023-03-25 18:58:22 +11:00
Grahame Grieve ade21ddb1f fix NPEs 2023-03-24 23:09:01 +11:00
Grahame Grieve 490e588cf3 First draft of generation for extensions 2023-03-24 22:19:17 +11:00
Grahame Grieve 272f00e786 move web path out of user data into resource field 2023-03-24 22:18:52 +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 fcd6484657 finish removing population type 2023-03-24 10:17:48 +11:00
Grahame Grieve f98c2b2f03 more r5 updates 2023-03-24 01:45:34 +11:00
Grahame Grieve adf6d5e3a0 updates for R5 final 2023-03-23 20:49:30 +11:00
Grahame Grieve f122dc164f update code for R5 final 2023-03-23 20:48:38 +11:00
markiantorno ce2480a745 Updating version to: 5.6.115-SNAPSHOT and incrementing test cases dependency. 2023-03-22 14:12:23 +00:00
markiantorno 7736f31847 Release: v5.6.114
## Validator Changes

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

## Other code changes

* More work to sort out mappings
* Fix broken links in FMM & standards status levels
* Fix type of IG-parameter extension
* FTP: Stop re-initializing file type and mode with each upload (#1178)  …
* Fix snaphot generation warning when when profile-element is used
* fix path failure in tests
* Inline help16.png when generating narrative
* Suppress img.src=data content when rendering narrative
* Suppress value set expansion for core value sets that tx.fhir.org is getting wrong
* Fix NPE in profile comparison
***NO_CI***
2023-03-22 13:46:22 +00:00
Grahame Grieve 417bae01b1 more work to sort out mappings 2023-03-22 23:05:44 +11:00
Grahame Grieve aba6e8958d fix broken links 2023-03-22 13:44:52 +11:00
Grahame Grieve 19760bcaf2 add todo note 2023-03-22 13:44:19 +11:00
Grahame Grieve 085ce861d8 remove warning when profile-element is used 2023-03-21 19:14:00 +11:00
Grahame Grieve 851d9c149d Merge remote-tracking branch 'origin/master' 2023-03-21 17:41:52 +11:00
Grahame Grieve 5444c3a33a Inline help6.png in resources 2023-03-21 17:26:51 +11:00
Grahame Grieve 075bb46fa3 Suppress value set expansion for core value sets that tx.fhir.org is handling wrongly 2023-03-21 17:26:24 +11:00
Grahame Grieve bb61229931 suppress NPE in profile comparison 2023-03-21 17:25:56 +11:00
Grahame Grieve 98a7f26b84 fix problem with composition library reference in R4 2023-03-21 17:25:45 +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 50f2d05a87
Merge pull request #1176 from aehrc/ml-202303-fix-1175-incorrect-type-in-validate-code-call
Make url parameter type UriType, not StringType
2023-03-21 07:59:20 +11:00
Grahame Grieve 900faa2450 part of fix for type checking 2023-03-21 06:12:16 +11:00
Grahame Grieve 71a19710a0 Fix for where profile_element extension was being ignored when checking types after snapshot generation 2023-03-21 06:12:02 +11:00
Grahame Grieve 2fbb607f81 Fix generated name for FML rules to be a valid name 2023-03-21 06:04:31 +11:00
Grahame Grieve 11c80f7d00 allow loaders to decide which resources to load into the context 2023-03-21 06:03:36 +11:00
markiantorno 2a877b6faa Updating version to: 5.6.113-SNAPSHOT and incrementing test cases dependency. 2023-03-19 04:45:57 +00:00
markiantorno 59d8cf0bee Release: v5.6.112
## Validator Changes

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

## Other code changes

* Add file: to URL scheme list when checking for absolute URLs
* Adjust mappings handling code generating snapshots
* More improvements to r4/r5 transform testing
* Better error messages setting properties when transforming
* Better error messages converting types
* FHIRPath tests on element model
* Refactor FTPClient to perform fewer directory creates (#1159)  …
* Document how to build validator_cli locally (#1171)
***NO_CI***
2023-03-19 04:17:32 +00:00
Grahame Grieve 813a850730 adjust mappings handling code generating diffs 2023-03-19 08:52:37 +11:00
Michael Lawley 14edde2ab8
Make url parameter type UriType, not StringType 2023-03-18 10:33:16 +10:00
Grahame Grieve f8a19a1bae Refactor how mappings are handled when generating differentials: in R5, mapping names are unique 2023-03-18 05:47:33 +11:00
Grahame Grieve fe538ea530 fhirpath tests on element model 2023-03-17 07:56:06 +11:00
Grahame Grieve 72d97a2960 better error messages setting properties when transforming 2023-03-17 07:55:53 +11:00
Grahame Grieve d9c632d9ad better error messages converting types 2023-03-17 07:55:32 +11:00
markiantorno 90bcab6554 Updating version to: 5.6.112-SNAPSHOT and incrementing test cases dependency. 2023-03-16 11:24:39 +00:00
markiantorno 7a9e5444c5 Release: v5.6.111
## Validator Changes

* Fixing issues parsing Bundle.issues in R5

## Other code changes

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

* no changes

## Other code changes

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

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

## Other code changes

* Parse status when parsing FML metadata
* Fix NPE in FHIRPath resolve() for contained resources ([discussion](https://chat.fhir.org/#narrow/stream/179167-hapi/topic/fix.20to.20FHIRPathEngine))
***NO_CI***
2023-03-13 04:45:19 +00:00
Grahame Grieve 46ed0157ce fix bug parsing FML metadata 2023-03-13 13:53:27 +11:00
Grahame Grieve a6466f4265 add url and md escaping and unescape in FHIRPath + 2nd param to join() 2023-03-13 13:53:04 +11:00
Grahame Grieve 753a90b463 fix bug listing types when old versions are loaded 2023-03-13 13:52:31 +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 7b30dc02f9 check for NPE 2023-03-13 05:10:08 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
Grahame Grieve f11bdb9560 fix NPE 2023-03-12 21:55:44 +11:00
Grahame Grieve 2dc72fcaf1 fix bug parsing FML (id) 2023-03-12 21:54:21 +11:00
Grahame Grieve 43253e8d10 improve extension representation 2023-03-12 21:53:38 +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 525ba127e8 make sorter public and static 2023-03-11 18:59:31 +11:00
Grahame Grieve 26ed139031 fix up build extensions 2023-03-11 18:58:35 +11:00
Grahame Grieve 571c170e13 hack observation for change 2023-03-11 18:54:35 +11:00
Grahame Grieve 83f608597a fix errors rendering mapping file 2023-03-11 18:53:53 +11:00
Grahame Grieve 939d1d06c0 improve error message 2023-03-11 18:53:29 +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
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 9e87e6915c Fix for NPE in R5 IG 2023-03-09 22:20:10 +11:00
Grahame Grieve 3338cfbe39 fix issues parsing test maps 2023-03-09 20:57:37 +11: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 ce246df4a0 fix comment parsing 2023-03-09 19:44:06 +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 0e41463886 move test cases 2023-03-08 15:32:52 +11:00
Grahame Grieve eb852a8d03 mark location for input parsing FML 2023-03-08 11:48:37 +11:00
Grahame Grieve 6870c7a32c
Merge pull request #1157 from hapifhir/gg-202303-qa-sm-validation-5
Gg 202303 qa sm validation 5
2023-03-08 10:10:55 +11:00
Grahame Grieve 015d53e8ee fix problem parsing types 2023-03-08 09:11:00 +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 4486c12df5 fix location bugs in FML parsing 2023-03-07 21:47:38 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve bbc3cd5121 Fix FML parsing missing locations 2023-03-07 20:58:01 +11:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
markiantorno 8a546d37eb Updating version to: 5.6.103-SNAPSHOT and incrementing test cases dependency. 2023-03-06 12:05:52 +00:00
markiantorno a7507e9887 Release: v5.6.102
## Validator Changes

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

## Other code changes

* Various fixes and utilities to support StructureMap & ConceptMap validation
* Fix Observation.value conversion between R5 and other versions
* Recognise R4B and R5 core packages
* Improvements to specification diffference engine for R5 publication
* More efficient XHTML AST model
***NO_CI***
2023-03-06 11:39:27 +00:00
Grahame Grieve 6fe16d1812 fix bug parsing parameters in FML 2023-03-06 20:44:17 +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
markiantorno ebd93f570f Updating version to: 5.6.102-SNAPSHOT and incrementing test cases dependency. 2023-03-03 04:08:44 +00:00
markiantorno f317bb15f6 Release: v5.6.101
## Validator Changes

* Fix NPE in Structure Map validation

## Other code changes

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

* Add back code missed when regenerating R5

* fix NPE

* update conversions for discovered issues for R5

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-03-02 18:35:33 -05:00
Grahame Grieve 8ac01bd5a4 update conversions for discovered issues for R5 2023-03-03 06:30:49 +11:00
Grahame Grieve 5e070b226b Add back code missed when regenerating R5 2023-03-03 06:30:10 +11:00
markiantorno da62438802 Updating version to: 5.6.101-SNAPSHOT and incrementing test cases dependency. 2023-03-02 03:50:02 +00:00
markiantorno 578b964cf9 Release: v5.6.100
## Major change:

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

## Validator Changes

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

## Other code changes

* Fix bugs in Java R5 code generator
* Add more control at the code level over how to handle unknown profiles when generating snapshots
* Rework ConceptMap for major R5 changes
* Fix bug in CommaGeneratedStringBuilder (calling toString() multiple times duplicated content)
* handle case [reference].where(resolve() is X) when analysing types+elements in FHIRPath statements
***NO_CI***
2023-03-02 03:21:29 +00:00
Grahame Grieve 99d2421014 fix using wrong version of extensions package 2023-03-02 08:49:22 +11:00
Grahame Grieve 042c1dd29e last qa fixes for R5 preview 2023-03-01 23:46:32 +11:00
Grahame Grieve 68090356cb Update for regenerated java code in 5.0.0-draft-final 2023-03-01 21:49:49 +11:00
Grahame Grieve 2e11041fc5 Regenerate R5 for 5.0.0-draft-final 2023-03-01 21:49:11 +11:00
Grahame Grieve 0425a2beff suppress spurious log message 2023-03-01 05:30:10 +11:00
Grahame Grieve fe9eaca741 Merge remote-tracking branch 'origin/master' 2023-03-01 04:54:25 +11:00
Grahame Grieve 94de728553
Merge pull request #1144 from hapifhir/do-20230227-fhircat-shex-fix
Fix for build failures in #1120
2023-03-01 04:54:10 +11:00
dotasek 792561c9ab Make shexs_2.12 optional to allow cli build 2023-02-28 10:33:17 -05:00
Grahame Grieve 85eea1df09 tidy up generator code 2023-02-28 22:51:16 +11:00
Grahame Grieve 4055635396
Merge pull request #1143 from hapifhir/gg-202302-fhirpath-where-cleverness
pick up types in FHIRPath when filtering references with .where(resol…
2023-02-28 21:44:10 +11:00
Grahame Grieve 18abfdc920 pick up types in FHIRPath when filtering references with .where(resolve() is X) 2023-02-28 20:51:08 +11:00
Grahame Grieve 64cea66959
Merge pull request #1141 from balhoff/anyuri-types
Output literal datatypes for anyURI types in RDF examples
2023-02-28 16:29:27 +11:00
Grahame Grieve 1a88c6ebc8 fix for R5 hack 2023-02-28 11:13:19 +11:00
Deepak Sharma 83a323ac33
Merge branch 'hapifhir:master' into master 2023-02-27 14:04:23 -06:00
Grahame Grieve c5d6e0f5f4 Merge remote-tracking branch 'origin/master' 2023-02-28 05:58:54 +11:00
Jim Balhoff 13fbf16daa Output literal datatypes for anyURI types. 2023-02-27 13:40:01 -05:00
dksharma 6ba6a0ae62 Removed BASE directive, sorted value-set rendering and correct imports 2023-02-27 12:23:20 -06:00
Grahame Grieve b0daf66672
Merge pull request #1140 from hapifhir/gg-202302-map-validation-3
structuremap validation and invariant fixes for forthcoming R5 release
2023-02-27 19:46:38 +11:00
dksharma a593e9a60d Minor correction to align with FHIR R5 RDF changes 2023-02-27 02:18:24 -06:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
dksharma 5fde3a2106 Minor correction to align with FHIR R5 RDF changes 2023-02-26 21:44:07 -06: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
dksharma e64461e940 Corrected TypeArcs and Node Roles 2023-02-24 23:12:43 -06: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
dksharma 9ca531ff0a Added IMPORT for all SDs, enabled batch SD ShEx Generation. Disabled Context translation temporarily 2023-02-23 23:19:13 -06:00
Grahame Grieve 3c0fb89cd7
Merge pull request #1121 from costateixeira/master
StructureDef: remove example label when no label is given
2023-02-24 11:40:20 +11:00
Grahame Grieve b12dbe2dfe
Merge pull request #1134 from hapifhir/gg-202302-conceptmap-hack
Gg 202302 conceptmap hack
2023-02-24 10:41:18 +11: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
Grahame Grieve b2ef9a3336 fix typo 2023-02-24 09:02:52 +11:00
Grahame Grieve 17eaff9995 Merge remote-tracking branch 'origin/master' 2023-02-24 06:52:56 +11:00