Commit Graph

2718 Commits

Author SHA1 Message Date
markiantorno 8bd0f0b1ad Release: v6.0.16
## Validator Changes

Post DevDays Release - many significant changes!

* Add ```-watch-mode``` parameter (See [doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-Watchmode))
* Start checking constraint expressions defined in profiles and logical models, and update FHIRPath for logical models
* Start checking ElementDefinition.mustHaveValue and ElementDefinition.valueAlternatives
* Start validating derived questionnaires
* Tighten up checking on FHIRPath - enforce use of ```'```, and don't accept ```"``` for string delimiters
* Add ```-allow-double-quotes-in-fhirpath``` parameter ([doco](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-LegacyFHIRPathSetting))
* Fix error when validating profiles that mix canonical() and Reference() types
* Fix extension context checking
* Fix erroneous FHIRPath expression eld-11 when loading
* Fix incomplete support for ```-display-issues-are-warnings``` parameter
* Fix broken NullFlavor binding in R4
* Fix various NPE errors doing value set validation (+ logging tx operations)
* Minor performance improvements to start up time
* Auto-update implied slicing elements when min < slice min

## Other code changes

* Add CodeQL to the build process
* Various NPE fixes
* Add getValueAsString(TemporalPrecisionEnum) method to date/time types
* Fix rendering for unresolvable ValueSets
* Remove r4b eclipse project files
* Upgrade multiple dependency libraries (per CodeQL)
* Only record sorting errors when generating snapshots when debug mode is on
* Tighten up SSL certificate checking
* Partial refactor of CLI parameter handling
* Fix path regex (per CodeQL)
* Remove erroneous logging from conversion tests
* Rendering improvements for various profile related extensions
* More work on TxTests operation (lenient wrt extensions)
* Fix handling of summary extension (delete duplicate tools summary extension, and don't inherit it)
* Reprocess URLs in Markdown extensions on both StructureDefinition and ElementDefinition
* Improve URL detection in markdown when reprocessing URLs
***NO_CI***
2023-06-21 07:09:07 +00:00
Grahame Grieve 6effe6ebe9 update FHIRPath for logical models and nested type checking and fix repeat() checking 2023-06-21 09:22:18 +10:00
Grahame Grieve 04f7805be4 Auto-update extension min- slicing + fix handling of summary extension + update markdown element url handling + update url detection in markdown 2023-06-21 09:21:05 +10:00
Grahame Grieve 52abef6f2c Auto-update extension min- slicing + fix handling of summary extension + update markdown element url handling + update url detection in markdown 2023-06-21 09:20:35 +10:00
Grahame Grieve 4e5c501b1f
Merge pull request #1315 from hapifhir/do-20230619-datetimetype-string-precision
New getValueAsString(TemporalPrecisionEnum) method for DateTimeType
2023-06-20 09:56:40 +10:00
Grahame Grieve 2607d028a7 fix compile problem 2023-06-20 09:15:36 +10:00
Grahame Grieve 551892c095 Merge remote-tracking branch 'origin/master' 2023-06-20 09:11:51 +10:00
Grahame Grieve 9cf8e0368c fix up extension context checking 2023-06-20 08:36:22 +10:00
Grahame Grieve ec7b79bc1e Fix rendering for unresolvable value sets 2023-06-20 07:02:26 +10:00
dotasek ae59d97ba5 Document new method, add to all FHIR versions 2023-06-19 15:41:04 -04:00
dotasek 92fb21de1e Test and new getValueAsString(TemporalPrecisionEnum) method 2023-06-19 14:47:39 -04:00
dotasek 829882773a
More use of dependencyManagement, bump guava (#1313) 2023-06-19 12:26:21 -04:00
dotasek 195dcc0898
Fix unimplemented method in test (#1312) 2023-06-19 10:51:10 -04:00
Grahame Grieve 394077c8ec fix NPE doing valueset validation 2023-06-19 22:43:43 +10:00
Grahame Grieve 19d3952b11 Validate FHIRPath constraints in IGs and profiles 2023-06-19 22:42:02 +10:00
Grahame Grieve d1a785e5ad only record sorting errors if debugging snapshot generation 2023-06-19 22:40:08 +10:00
Grahame Grieve 38b5295f8d fix error logging headers 2023-06-19 22:39:42 +10:00
Grahame Grieve 96cadbed47
Merge pull request #1259 from hapifhir/Type-validation-fixes
Fix problem when profiling a base type that supports both Reference a…
2023-06-19 02:36:33 +10:00
Grahame Grieve 8bd4fc3ee6
Merge pull request #1309 from hapifhir/do-20230615-tx-request-lenient-display
Add lenient-display-validation param
2023-06-19 02:33:17 +10:00
Grahame Grieve 297313b30a Fix issue with broken NullFlavor binding in R4 2023-06-18 13:02:21 +10:00
Grahame Grieve dfb4404ce6 Add support for mustHaveValue and valueAlternatives + render imposesProfile + compliesWithProfile 2023-06-18 13:00:58 +10:00
Grahame Grieve 11eb2cef53 fix index error 2023-06-17 09:41:15 +10:00
Grahame Grieve 99895e7a97 Performance improvements for validation, including -watch engine 2023-06-17 09:40:34 +10:00
Grahame Grieve 2d0dcbb803 rendering improvements for profile extensions 2023-06-17 09:38:27 +10:00
dotasek f4b6ff2f6e Refactor and introduce test 2023-06-15 10:38:03 -04:00
dotasek 10c50a14f0 Add lenient-display-validation param 2023-06-15 08:31:30 -04:00
Grahame Grieve 481698cf24 Fix up terminology tests to ignore irrelevant extensions 2023-06-12 17:17:30 +01:00
dotasek ff7997d7d2
Fix older jetbrains annotations transitive dependency (#1299) 2023-06-09 14:43:49 -04:00
markiantorno 8237fb862b Updating version to: 6.0.16-SNAPSHOT and incrementing test cases dependency. 2023-06-08 21:23:36 +00:00
markiantorno cc14a4142f Release: v6.0.15
## Validator Changes

* no changes

## Other code changes

* Update commons-beanutils and apache.poi dependencies
***NO_CI***
2023-06-08 20:56:04 +00:00
dotasek 7b05c7514e
Bump poi version, remove unused old dependencies (#1296) 2023-06-08 10:47:37 -04:00
markiantorno 10f466487b Updating version to: 6.0.15-SNAPSHOT and incrementing test cases dependency. 2023-06-08 05:03:27 +00:00
markiantorno 3969ac75c4 Release: v6.0.14
## Validator Changes

* no changes

## Other code changes

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

* no changes

## Other code changes

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

* Improve message when there's multiple display options

## Other code changes

* Fix loading issue with r5 extensions
* NPM package compression improvements
* Update language file handling to handle context
* Remove logical models in minifier, and other improvements
* Auto update minimum slicing cardinality when slicer is assumed (extensions)
***NO_CI***
2023-06-06 20:55:08 +00:00
Grahame Grieve a4f54f519f
Merge pull request #1290 from hapifhir/gg-202206-cardinality-fixes
Gg 202206 cardinality fixes
2023-06-05 23:26:13 +02:00
Grahame Grieve 01b4219259 update language file handling to handle context properly 2023-06-05 21:16:51 +02:00
Grahame Grieve fe7cd1f39a Clean up extension loading issue 2023-06-05 21:16:28 +02:00
Grahame Grieve fd346cc67b Auto update minimum slicing cardinality when slicer is assumed (extensions) 2023-06-05 21:16:14 +02:00
Grahame Grieve 1c4ef1fa00 Improve message when there's multiple display options 2023-06-05 21:15:31 +02:00
Grahame Grieve bf19a2d2fa Remove logical models in minifier, and other improvements 2023-06-05 21:14:56 +02:00
markiantorno 72eee9cab7 Updating version to: 6.0.12-SNAPSHOT and incrementing test cases dependency. 2023-06-02 14:24:34 +00:00
markiantorno 44db954743 Release: v6.0.11
## Validator Changes

* no changes

## Other code changes

* Increment CQFramework dependency
***NO_CI***
2023-06-02 13:58:04 +00:00
Grahame Grieve c31836e734 better error reporting when parsing fails outright 2023-06-01 06:58:46 +03:00
Grahame Grieve d4d5b42aa1 add Resource Dependency walker + Resource Minifier functionality 2023-05-31 06:32:55 +03:00
markiantorno f238d1af14 Updating version to: 6.0.11-SNAPSHOT and incrementing test cases dependency. 2023-05-29 22:43:58 +00:00
markiantorno edd06865c7 Release: v6.0.10
## Validator Changes

* no changes

## Other code changes

* Delete unused package import that breaks downstream JavaDoc
***NO_CI***
2023-05-29 22:14:49 +00:00
dotasek 6626fe1952
Remove unused dependency (#1283) 2023-05-29 16:57:20 -04: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 8c7a5bf724 fix bug checking slice min/max 2023-05-29 03:38:48 +03:00
Grahame Grieve fe474b1ad2 properly handle... 2023-05-29 01:13:45 +03:00
Grahame Grieve 783a8cf28b Support for Obligation Profiles 2023-05-29 01:12:46 +03:00
Grahame Grieve ece4a44ff2 Merge remote-tracking branch 'origin/master' 2023-05-28 15:50:39 +03:00
Gregor Lichtner aaa7490a22 copying element children 2023-05-26 15:42:57 +02:00
Grahame Grieve d60b9009b2 get control over caching for terminology testing 2023-05-25 16:41:52 +10:00
dotasek 55ac916133
Refactor Pull Request Pipeline (#1273)
* Try multiple module target directories

* Try different format

* Try displaying cache task name + multiple caches

* Name the maven artifact cache step + add all modules

* Start consuming cached builds + targets

* Fix job list

* Fix other bad params

* Fix bad indent

* Try test task

* Try different value syntax

* Add all modules

* See if cacheing works from linux to windows

* Refactor as testUnits

* Trim tested modules

* missing colon

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

* Test exec

* Test exec for real

* Fix parameters format

* Fix r5 url for package fetch (#1260)

* Fix r5 url for package fetch

* Revert previous commit

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

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

* Release: v6.0.6
## Validator Changes

* no changes

## Other code changes

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

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

* Try using parameters

* Try another way

* Try third way

* Try fourth way

* Try fifth way

* Try 6

* Try 7

* Apply refactor

* Try iterating over images

* Try iterating over images 2

* Test all images

* Conditionally test multiplatform modules

* Test JDKs too

* Fix and()

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

* Better job name for setup

* Fix names

* more granular test configs

* fix repeated jobs

* name for exec jobs

* fix missing s

* Add placeholder Codecov job

* Fix complaint about job name

* Try moving codecov to test template

* Add explicit module for test

* Try setting up job name

* Try setting up job name

* Change job names to use underscore and alphanum

* Move codecov job back to master-branch

* Fix condition to match ubuntu_java_11

* Publish test reports

* Publish test reports

* use value for artifact name

* Use variable for skipJaCoCo conditions

* Skip validation temporarily

* Change artifact names.

* add jacoco:report-aggregate task

* remove leftover cut and paste line

* Improve test job display name

* Add jacoco results + codecov upload

* Fix accidental inclusions in module loop

* Remove JaCoCo coverage condition

* Bump down JaCoCo plugin

* Rearrange JaCoCo plugin

* Fix surefire and jacoco output

* Add jacoco to pipeline

* Try skipping maven cache step

* Add codecov token

* Add missing MAVEN_CACHE_FOLDER

* Change variable syntax

* Move setup to own template

* Change setup template

* rearrange pipeline yml, re-enable validation test module

* Update core version bumps

* Temporarily disable tests

* Move to PR pipeline + Fix unused pool declaration

* Disable some more.

* Restore disabled and ignored tests

* Fix task name + clean up old prototype

---------

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

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

## Other code changes

* Add support for R4B to loader
* Change type if cache-id parameter
* Change snapshot generation to not update documentation from profile for elements with profiled types that are not extensions
* Add support for TestPlan and SubscriptionTopic in R4 IGs
***NO_CI***
2023-05-24 14:23:30 +00:00
Grahame Grieve 442d9286b5 more checking slice min and max 2023-05-24 22:28:53 +10:00
Grahame Grieve 7eea5158c5 fix npe 2023-05-24 19:06:34 +10:00
Grahame Grieve df26951336 fix npe 2023-05-24 16:57:22 +10:00
Grahame Grieve 0ec2dfab78 Add support for SubscriptionTopic in R4 IGs 2023-05-24 16:57:09 +10:00
Grahame Grieve e724c9d58b
Merge pull request #1274 from hapifhir/ja_20230523_1262_fix_asstringvalue
Fix asStringValue on IdType
2023-05-24 10:37:28 +10:00
Grahame Grieve 426fe1083a
Merge pull request #1265 from rettema/testplan_40_50
#1264 add R5 TestPlan conversion classes to R3, R4 and R4B
2023-05-24 10:37:07 +10:00
James Agnew 0eca8d14ba Fix asStringValue on IdType 2023-05-23 17:02:23 -04:00
Grahame Grieve 87d8323c91
Merge branch 'master' into gg-202304-more-snapshot 2023-05-24 06:52:50 +10:00
Grahame Grieve a7026ca51d
Merge pull request #1272 from pnewhook/getLink-enum-bug
Bundle.getLink(String) comparing string to enum
2023-05-24 06:15:58 +10:00
Richard Ettema 39d221736c
Merge branch 'hapifhir:master' into testplan_40_50 2023-05-23 16:05:09 -04:00
Peter Newhook 671ab4b964 Compare the string value of a LinkRelationTypes enum in Bundle.getLink(String)
Fixes #1266
2023-05-23 11:41:12 -04:00
Grahame Grieve a2e2ef714e Handle sub-slicing case where slice matches both the slice definition and the sub-slice definition 2023-05-23 17:39:08 +10:00
Grahame Grieve 8a5c9c7ca6 Adjust handling of slicing min issues 2023-05-23 17:37:11 +10:00
Richard Ettema 1ee320a462 revert changes to RequirementsRenderer 2023-05-22 17:54:58 -04:00
Grahame Grieve ba45c863db Merge remote-tracking branch 'origin/master' 2023-05-23 07:05:43 +10:00
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