Commit Graph

2298 Commits

Author SHA1 Message Date
Grahame Grieve 07d81e3a5b
Fix additional bindings html generation issue (#1551)
* Fix additional bindings html generation issue

* Use new test cases snapshot

---------

Co-authored-by: dotasek <dotasek.dev@gmail.com>
2024-01-24 14:47:49 -05:00
dotasek 05e3c76426 If file type is inferred to be null, return error instead of just throwing exception and never returning. 2024-01-19 09:58:22 -05:00
markiantorno 4ffe900fb3 Updating version to: 6.2.14-SNAPSHOT and incrementing test cases dependency. 2024-01-19 12:52:04 +00:00
markiantorno bebd1f31c1 Release: v6.2.13
## Validator Changes

* no changes

## Other code changes

* Fix for handling large expansions correctly
***NO_CI***
2024-01-19 12:17:24 +00:00
Grahame Grieve 41c5f8fee5
Merge pull request #1549 from hapifhir/2024-01-gg-expansion-rework
Fix the way overly large value set expansions are handled
2024-01-19 21:54:51 +11:00
Grahame Grieve a3d4c0645d Fix the way overly large value set expansions are handled 2024-01-19 20:09:57 +11:00
markiantorno a85b5e74cd Updating version to: 6.2.13-SNAPSHOT and incrementing test cases dependency. 2024-01-19 03:37:05 +00:00
markiantorno 8ff31256fe Release: v6.2.12
## Validator Changes

* Handle terminology server errors better

## Other code changes

* Fix expansion related bugs and adjust tests accordingly
* Update test framework for changes to expansion functionality
* Update presentation of fixed and pattern values in profile views
* Handle toString for XhtmlNode when nodeType == null
***NO_CI***
2024-01-19 02:47:02 +00:00
Grahame Grieve bf57789467 Fix expansion related bugs and adjust tests accordingly 2024-01-19 10:39:29 +11:00
markiantorno 2156a44395 Updating version to: 6.2.12-SNAPSHOT and incrementing test cases dependency. 2024-01-18 03:15:19 +00:00
markiantorno 4ca3400a86 Release: v6.2.11
## Validator Changes

* Remove debugging code hiding error from server

## Other code changes

* fix broken links rendering questionnaires
* render target profiles on operation definition parameters
* fix up cvx importer
***NO_CI***
2024-01-18 02:26:19 +00:00
Grahame Grieve 42e3b9a948 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-01-18 11:46:49 +11:00
Grahame Grieve b581e36cb5 add error message for tx.fhir.org 2024-01-18 11:42:27 +11:00
markiantorno 0c431880f7 Updating version to: 6.2.11-SNAPSHOT and incrementing test cases dependency. 2024-01-17 16:48:24 +00:00
markiantorno 9c15aff0f3 Release: v6.2.10
## Validator Changes

* Fix issues with multiple terminology servers (should be live soon)
* Rework terminology system & cache to support new terminology server ecosystem
* Handle value set with exclusion filters when expanding
* Fix to consistent error messages when value sets can't be resolved

## Other code changes

* Fix bug processing empty structure maps
* Performance improvements to common IO routines, with test cases - see https://blog.qligier.ch/posts/2024-improving-perf-ig-publisher-io/ (thanks to Quentin Ligier)
***NO_CI***
2024-01-17 15:53:34 +00:00
Grahame Grieve 61b2b5e481 clarify wrong display message 2024-01-18 00:15:22 +11:00
Grahame Grieve 0a41d467b9 fix bug in external valueset processing 2024-01-17 23:39:02 +11:00
Grahame Grieve 8f5afdbcd1 fix bug with processing external valuesets 2024-01-17 23:31:54 +11:00
Grahame Grieve 686f0afaca add debugging code 2024-01-17 23:17:53 +11:00
Grahame Grieve fddd55f4be fix invalid file names in cache 2024-01-17 22:21:14 +11:00
Grahame Grieve ae944151aa fix bug processing empty structure maps 2024-01-17 20:47:10 +11:00
Grahame Grieve 14697210e5 tidy code up 2024-01-17 20:44:49 +11:00
Grahame Grieve 8613cd3944 rework terminology cache to manage multiple terminology servers 2024-01-17 20:44:37 +11:00
Grahame Grieve 510e3886d6 update tx cache for changes to cache 2024-01-17 20:36:27 +11:00
dotasek 602a113363 Fix version bump 2024-01-16 16:26:25 -05:00
Grahame Grieve fed806e40b updates for new tx ecosystem functionality 2024-01-16 22:11:50 +11:00
Grahame Grieve de0024ceec Add support for fetching unknown value sets from tx.fhir.org/ecosystem 2024-01-16 11:45:13 +11:00
Grahame Grieve 56fc442db4 revise BOM handling for stringToX routines 2024-01-15 17:29:42 +11:00
Grahame Grieve 449821a4b4 update tests to handle missing value sets properly 2024-01-15 15:04:47 +11:00
Grahame Grieve 5b0f154620 tidy up fixmes 2024-01-12 10:10:18 +11:00
Grahame Grieve 362e7e2600 more work on multiple terminology servers 2024-01-12 09:16:16 +11:00
markiantorno e2ba911f4e Updating version to: 6.2.9-SNAPSHOT and incrementing test cases dependency. 2024-01-10 21:29:35 +00:00
markiantorno a5e0b5a1dd Release: v6.2.8
## Validator Changes

* Major rework of tx and validation test cases associated with reworking terminology / validator interface and ongoing testing + reconciliation with Ontoserver
major upgrade to validation - use terminology server to perform more logic, and standardise interface based on agreements with Vocab & Ontoserver
* Improve slicing error message
* Add warning to user when referencing an extension that doesn't exist in FHIRPath
* Fix bugs in FHIRPath implementation of split() and join()
* Fix bug handling null objects in JSON (R5)
* Fix for missing search parameter definition in R4
* fix bug handling XML name extension
* Fix FHIRPath validation errors around use of %resource and %rootResource
* Correct validator enforcement of minValue for decimal and integer (#1538)

## Other code changes

* Properly populate property definitions in expansions
* Add CVX Importer
* R6 release support
* IPS tool development
* Improved errors publishing IGs
* Refactor Context to support multiple terminology services
* change type of error when value set circularity found
* Track generated side files when rendering resources
* Support for extended Unicode characters in XHTML / XML / JSON / Turtle
***NO_CI***
2024-01-10 21:03:47 +00:00
Grahame Grieve 109ed9db2c
Merge pull request #1537 from hapifhir/2024-01-gg-mimetype-header-version
update headers on client to add ;fhirVersion=X
2024-01-10 22:15:41 +11:00
Grahame Grieve 69f13d2754 fix null flavor and rebuild cache 2024-01-10 21:26:35 +11:00
Jelmer ter Wal a50ee725f8
fix: correct usage of min decimal and integer 2024-01-10 10:45:03 +01:00
Grahame Grieve 9b9aa51e36 update headers on client to add ;fhirVersion=X 2024-01-10 15:48:47 +11:00
Grahame Grieve fe41fc9cfe Fix issue with search parameter expression validation not knowing %resource 2024-01-10 07:03:59 +11:00
Grahame Grieve b23c099fd2 WIP on validation advisor 2024-01-10 06:16:08 +11:00
Grahame Grieve 2663bea72b update test cases for new facility to compare array sizes 2024-01-09 13:22:15 +11:00
Grahame Grieve 4160d02bd1 change type of error when value set circularity found 2024-01-09 12:00:00 +11:00
Grahame Grieve d74b0e2b4a Refactor Context to support multiple terminology services 2024-01-08 21:07:08 +11:00
Grahame Grieve 85435f38a2 Improve slicing error message 2024-01-05 13:20:25 +11:00
Grahame Grieve c0f61b585f Revert "Improve message when slice is missing"
This reverts commit cadc326d26.
2024-01-05 12:41:35 +11:00
Grahame Grieve cadc326d26 Improve message when slice is missing 2024-01-05 12:39:53 +11:00
Grahame Grieve cf72798e9f Properly populate property definitions in expansions 2024-01-05 12:39:32 +11:00
Grahame Grieve 2f8c2ea5eb ping build 2024-01-04 23:46:35 +11:00
Grahame Grieve c4865e95c5 more fixing tests 2024-01-04 20:28:52 +11:00
Grahame Grieve a17550dc87 one more set of changes for tx validation 2024-01-04 17:46:09 +11:00
Grahame Grieve 2b978b4d4d more terminology qa updates 2024-01-04 14:29:19 +11:00
Grahame Grieve 92fca7a947 more tx validation improvements 2024-01-03 22:19:05 +11:00
Grahame Grieve 108c6f0847 Fix for FHIRPath split() issue 2024-01-02 22:36:00 +11:00
Grahame Grieve 8abdcc6f83 tracking source of server (fix source) 2023-12-31 08:35:18 +11:00
Grahame Grieve f392abd708 clean up code 2023-12-31 08:35:02 +11:00
Grahame Grieve 159e189520 Add support for tracking source server of issue 2023-12-31 08:34:55 +11:00
Grahame Grieve d429f48760 major upgrade to validation - use terminology server to perform more logic, and standardise interface based on agreements with Vocab & Ontoserver 2023-12-30 23:02:19 +11:00
Grahame Grieve 2dc3a5bc77
Merge pull request #1525 from hapifhir/2023-12-gg-tx-word
2023 12 gg tx work
2023-12-26 08:01:42 +11:00
Grahame Grieve 683408c3c5 Adjust validation for changes to validation behaviour 2023-12-26 07:08:39 +11:00
Grahame Grieve cf28e3b440 update terminology cache after changes to tx validation behaviour 2023-12-26 07:08:07 +11:00
Grahame Grieve 3ed816209d update terminology server for test reconciliation with tx.fhir.org 2023-12-25 00:28:39 +11:00
Grahame Grieve 0fdb8e767a Fix for missing search parameter definition in R4 2023-12-22 21:20:46 +11:00
Grahame Grieve 073311bbb6 Various fixes to terminology service after reconciliation with Michael Lawley 2023-12-22 21:20:10 +11:00
rpassas f9e7f98b4f
configurable sessions expiration (#1501)
* unit test + interface

* Renaming and moving expiry related methods to implementation

---------

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-12-18 09:54:20 -05:00
markiantorno d4d7600635 Updating version to: 6.2.8-SNAPSHOT and incrementing test cases dependency. 2023-12-15 13:00:23 +00:00
markiantorno 6c78cc3e48 Release: v6.2.7
## Validator Changes

* Fix up validation of fragment and example value sets
* Improve handling of terminology messages + handling of example and fragment code systems
* Add support for logical_container extension (for CDA constraint validation)
* Clean up handling of xml_name
* Check for xver extension canonical urls when validating uri elements
* Upgrade xver to latest R5 definitions

## Other code changes

* Fix string index error in xver manager
* Fix rendering of type for previous versions
***NO_CI***
2023-12-15 10:50:47 +00:00
Grahame Grieve d59080b45f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2023-12-15 02:48:27 -05:00
Grahame Grieve ea4ccdf527 Add support for logical_container extension 2023-12-15 02:44:37 -05:00
Grahame Grieve 6caef21869 fix up validation of fragment value sets 2023-12-14 20:40:50 -05:00
Grahame Grieve 8bc062e19d check for xver extension canonical urls when validating uri elements 2023-12-14 07:21:16 -05:00
markiantorno ceaa131d81 Updating version to: 6.2.7-SNAPSHOT and incrementing test cases dependency. 2023-12-13 19:07:52 +00:00
markiantorno b5902aac98 Release: v6.2.6
## Validator Changes

* Fix bug where validator doesn't actually validate web sourced input
* Fix narrative link validation and add id/idref validation
* Remove fhir-test-cases from Validator CLI JAR (#1497) (reduce size)
* Fix to CDA xsi:type validation per SD decision
* Apply regex pattern to literal format if defined
* Improvements to vital signs related messages
* Fix R4 con-3 FHIRPath expression
* Fix bug loading packages with partially specified version that doesn't exist
* Fix for occasional missing warnings around bundle link validation
* Fix using wrong resource type when validating constraints in data type definitions during R6 build
* Fix NPE in validator processing CCDA examples
* Fix problem with version dependencies when loading npm packages directly as files
* Fix for SearchParameter validation using custom resource types

## Other code changes

* Bump commonmark version
* fix Utilities display of time periods (fixed width hour:min)
* Fix stated path for error when code not in value set
* Fix rendering of trigger definition using tables inside paragraphs
* Update VSAC importer to fix timeout issues
* Refactor FHIRPath java package
* Fix problem with profiled resources being called examples in IG publisher
* Remove dependencies for unused UI experiment (#1465)
* Remove AU connectathon
* Include hamcrest dependency
* Fix breaking ValidationEngineTests
* Give kinder error message for missing param
* Fix commonmark group and bump version (#1500)
* Remove dep used for local testing
* Bump jackson & logback versions
* Fix StringType element properties not being copied in various Address, HumanName convertors
* Handle all initial value types when rendering Questionnaires
* Ensure Address.line[] element data is copied over
* Write locking on FilesystemPackageCacheManager
* Fix problems setting owning committee consistently
* Utility classes for fule system package cache pre-loading
***NO_CI***
2023-12-13 18:41:20 +00:00
dotasek 0afea8dc1d
CLI Task to preload package cache (#1508)
* WIP start building preload task

* Slightly refactor exceptions

* sleep between each query

* WIP - FilesystemPackageCacheManager refactor

* Finish refactor

* Customize PackageVisitor

* Remove unused code

* Remove unused code 2

* Add debug logging for failing test

* Point withCacheFolder if to correct param

* Remove console chatter

* Rename to FilesystemPackageCacheManager.Builder

* Move logic to PackageCacheDownloader for re-use in other projects

* Fix spacing
2023-12-13 11:27:15 -05:00
Grahame Grieve 34416b8708 Fix NPE in validator processing CCDA examples 2023-12-13 09:08:06 -05:00
Grahame Grieve ff81c16aeb Fix using wrong resource type when validating constraints in data type definitions (R6) 2023-12-13 09:07:48 -05:00
Grahame Grieve 78669add28 Fix for missing warnings around bundle link validation 2023-12-13 09:07:17 -05:00
Grahame Grieve 166cb445f8 More fixes for SearchParameter validation 2023-12-12 21:00:31 +13:00
Grahame Grieve 289a74301d work around R6 validation issue validating search parameters 2023-12-12 20:32:19 +13:00
Grahame Grieve f9e11e22c1 fix problem with version dependencies when loading npm packages directly in validator 2023-12-12 15:56:23 +13:00
Grahame Grieve de7dc3023d fix validation issues on HL7 publisher 2023-12-11 16:56:27 +11:00
Grahame Grieve 4b1488438e missed files 2023-12-11 14:10:26 +11:00
Grahame Grieve e73404fe8a fix to CDA xsi:type validation per SD decision + apply regex pattern to literal format if defined + improvements to vital signs related messages 2023-12-11 14:09:57 +11:00
Grahame Grieve 2cfc7f3df7 Fix R5 con-3 FHIRPath expression 2023-12-11 14:08:48 +11:00
Grahame Grieve e697ec1c4c check extensions with fhirpath context 2023-12-05 16:56:44 +11:00
Grahame Grieve 49cd2a7bbd actually validate web source in validator 2023-12-01 16:56:45 +11:00
Grahame Grieve 0ae15f7d4d Fix narrative link validation and add id/idref validation 2023-12-01 16:56:11 +11:00
Grahame Grieve 18c4419b9e refactor FHIRPath package 2023-12-01 15:13:33 +11:00
dotasek 09e010b486
Remove dependencies for unused UI experiment (#1465) 2023-11-29 17:33:16 -05:00
dotasek 698849b9f2
Remove fhir-test-cases from Validator CLI JAR (#1497)
* WIP drop fhir-test-cases from CLI jar

* Fix missing JUnit4 tests, update to JUnit5 where possible

* Fix unused import

* Include hamcrest dependency

* Fix breaking ValidationEngineTests

* Give kinder error message for missing param
2023-11-29 14:48:18 -05:00
dotasek 37a8373b94
Fix commonmark group and bump version (#1500)
* Fix commonmark group bump version

* Remove dep used for local testing
2023-11-29 14:47:51 -05:00
dotasek 2ea6d44330 Revert "Fix commonmark group bump version"
This reverts commit 5cf89d8202.
2023-11-27 13:14:18 -05:00
dotasek 5cf89d8202 Fix commonmark group bump version 2023-11-27 11:13:31 -05:00
dotasek a04475ea9c Revert "Fix commonmark group bump version"
This reverts commit 6b45c63638.
2023-11-27 11:10:02 -05:00
dotasek 6b45c63638 Fix commonmark group bump version 2023-11-27 11:06:48 -05:00
markiantorno bf426e2d28 Updating version to: 6.2.6-SNAPSHOT and incrementing test cases dependency. 2023-11-24 19:35:02 +00:00
markiantorno 70d3c801d3 Release: v6.2.5
## Validator Changes

* Fix validator not allowing canonical resource extensions in canonical resources in bundles
* Fix bundle validation error on intneral link checking
* Check parameter type for FHIRPath where() and all()
* Validate that composite search parameters have components

## Other code changes

* Refactor timeout control on client
* Support IPS in validation tests
* Remove orphan R4B test
* Improve expansion error messages
* Fix expansion language - don't set for displayName parameter
* Adjust value set rendering for fragment code systems
* Fix NPE rendering some resources
* Fix rendering of TriggerDefinition
* Support parsing ad-hoc json data type fragments
* More memory work for IG Publisher
* Move ILoggingService & VersionUtil
* Fix timeout issue in vsac
* Introduce ips builder + Infrastructure changes for IPS builder
* Move json and xml extensions from extensions pack to tooling ig
* Add support for rendering union and intersections of profiles in profile comparison
* FHIRPath iif() test case fixes
* Add support for IPS validation in test cases
* Fix for broken markdown re-processing
* Improve identifier rendering
* Fix committee URLs
***NO_CI***
2023-11-24 19:08:02 +00:00
Grahame Grieve 3af3deab3f
Merge pull request #1493 from hapifhir/do-20231120-include-time-stamp
Include time tracking for ValidationResponse
2023-11-25 04:23:23 +11:00
Grahame Grieve d78efdad8f missed code 2023-11-24 08:53:42 +11:00
Grahame Grieve 0e69f6ad89 Support IPS in validation tests 2023-11-24 08:53:32 +11:00
Grahame Grieve c913190d7a validate that composite search parameters have components 2023-11-24 08:53:09 +11:00
Grahame Grieve 3252fb12b0 fix bundle validation error on intneral link checking 2023-11-24 08:52:36 +11:00