Commit Graph

2442 Commits

Author SHA1 Message Date
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