Commit Graph

2125 Commits

Author SHA1 Message Date
markiantorno 072be957d4 Release: v6.3.1
## Validator Changes

* Add validation for CodeSystem Properties and ValueSet filters
* More validation for Code Systems: contained code systems, supplement cross checks
* Add more validation around ValueSet.compose.include.system - must be a proper URL, and not a direct reference to a supplement
* HL7: Don't require HL7 publishing status on contained resources
* Don't walk into nested bundles when validating links in bundles
* fix up implementation of notSelectable in value set filters
* Add check for multiple version matches for a versionless canonical reference

## Other code changes

* Fix narrative generator generating duplicate anchors (prefix 'hc')
* exclude .DS_Store from generated zip files
* Add cross-version support extension
* Add ConceptMap utilities in support of cross-version module
***NO_CI***
2024-03-10 20:52:29 +00:00
Grahame Grieve 27bf474d7e
Merge pull request #1572 from hapifhir/2024-03-gg-tx-improvements
2024 03 gg tx improvements
2024-03-11 06:10:45 +11:00
Grahame Grieve 9e8a010c13 ValueSetValidation improvements 2024-03-11 00:19:16 +11:00
Grahame Grieve 33a1814d4e CodeSystem validation - properties and designations 2024-03-08 22:32:55 +11:00
Grahame Grieve 045718d582 Fix narrative generator generating duplicate anchors (prefix 'hc') 2024-03-08 22:31:25 +11:00
Grahame Grieve 635ac6f109 exclude .DS_Store from generated zip files 2024-03-08 22:30:07 +11:00
Grahame Grieve 19bd64f81a more validation for Code Systems (contained code systems, supplement cross check, HL7 publishing status) 2024-03-07 13:48:13 +11:00
dotasek.dev dd9dd6b64a Remove unused import breaking the maven build 2024-03-06 14:46:40 -05:00
Grahame Grieve 0f08bb4e49 Add more validation around ValueSet.compose.include.system - must be a proper URL, and not a reference to a supplement 2024-03-06 13:29:35 +11:00
Grahame Grieve 7ba1511748 Fix bug where some XHTML elements wrongly serialised concisely 2024-03-01 16:41:32 +11:00
Grahame Grieve 7fb2b1ea00 fix bug in Publisher where examples with profiles aren't properly interpreted as examples in R5 2024-03-01 16:40:24 +11:00
markiantorno 48023c0ba4 Updating version to: 6.3.1-SNAPSHOT and incrementing test cases dependency. 2024-02-28 05:56:31 +00:00
markiantorno b44c34c7e2 Release: v6.3.0
## Validator Changes

* Fix significant bug where validator gets internal child lists incorrect and doesn't do complete validation when switching between validating profiles and resources directly
* Performance improvement for validator parsing - thanks Brian Postlethwaite
* Fix Crash on slicing a sliced element #862
* Fix ig loading from direct URL (#1559)
* Fix bug copying constraints into Bundle.entry.resource profiles
* Fix bug loading R5 extensions with imported value sets
* Replace dom-3 with custom java code, and check xhtml references to contained content
* Improve concept map code validation
* Update observation validator for committee decision not to enforce Blood Pressure profile for Mean Blood Pressure
* Validate value set internal codeSystem references
* Split value set validation into 10k batches for very large extensional value sets
* Hack fix for opd-3
* Fix bug where using ontoserver when not appropriate
* Fix issues with inferSystem
* Don't require HL7 committee for contained resources in HL7 namespace
* Fix where validator was ignoring minimum cardinality for XML attributes (especially in CDA)
* Improved ConceptMap validation
* Updated IG versions used for -cda and -ccda CLI validation options.
* Change validator so that it marks value properties in primitive data types as illegal

## Other code changes

* Fix code system rendering for uri properties
* Fix broken links Bundle and Profile rendering
* Take copy of code when doing local validation
* WIP: major refactor of cross version analysis
* Add support for subsumes in tx client
* Don't generate snapshots when scanning structure definitions for resource names
* Work on ConceptMap infrastructure for cross-version analysis
* Fix bug where not rendering ConceptMap relationships
* Fix wrong URLs rendering Profiles and Questionnaires
* Fix bug using wrong version constant for R3
* Updates for R5 StructureMap syntax
* Support for case sensitive Code system tests
* Add TurtleGeneratorTests for R5
* Introduce new validator cliContext option disableDefaultResourceFetcher (#1526)
* Render contained resources when rendering Patient resources
* Fix bug in FML Parser
***NO_CI***
2024-02-28 05:04:13 +00:00
Grahame Grieve db5605a5ab fix compile problem 2024-02-28 15:30:12 +11:00
Grahame Grieve da56e4296b Change validator so that it marks value properties in primitive data types as illegal 2024-02-28 12:22:33 +11:00
Grahame Grieve eb770f830a fix parsing bugs in StructureMap parser 2024-02-27 00:14:11 +11:00
Grahame Grieve 1d4898eee6 Support for case sensitive Code system tests 2024-02-25 19:22:25 +11:00
Grahame Grieve c05ad6cb2c fix bug using wrong version constant for R3 2024-02-25 19:21:58 +11:00
Grahame Grieve 13342f09a3 more XHTML fluent routines 2024-02-25 19:21:14 +11:00
Grahame Grieve d128c2d3fc rebuild tx cache 2024-02-12 16:21:36 +11:00
Grahame Grieve 2628010dff Fix code system rendering for uri properties 2024-02-10 23:10:31 +11:00
Grahame Grieve 3e642e8bd8 validate value set internal codeSystem references 2024-02-10 23:04:56 +11:00
Grahame Grieve 20bf70ed68 fix bug loading R5 extensions with imported value sets 2024-02-10 22:51:32 +11:00
markiantorno 3a1946e37d Updating version to: 6.2.16-SNAPSHOT and incrementing test cases dependency. 2024-01-30 11:13:01 +00:00
markiantorno 0bb2010409 Release: v6.2.15
## Validator Changes

* Fix bug in deciding whether a ValueSet is supported by the server
* Rework server decision making when multiple code systems being used
* Fix file type inference in ValidationService for unknown file types

## Other code changes

* Kindling related fixes for terminology stability
* Fix parameter type for system-version
* Fix mini-terminology server bugs around unknown systems
* Improvements to Identifier rendering
***NO_CI***
2024-01-30 10:29:12 +00:00
Grahame Grieve 975f4fd28b rework server decision making when multiple code systems being used 2024-01-30 19:05:20 +11:00
markiantorno f492c2114a Updating version to: 6.2.15-SNAPSHOT and incrementing test cases dependency. 2024-01-25 17:19:04 +00:00
markiantorno 485bb2a9a7 Release: v6.2.14
## Validator Changes

* no changes

## Other code changes

* Fix text creation on wrong xhtml node type
***NO_CI***
2024-01-25 16:34:27 +00: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
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 8a3f1037b3
Merge pull request #1547 from hapifhir/do-20240118-fix-null-ex-on-xhtml-tostring
Handle toString for XhtmlNode when nodeType == null
2024-01-19 12:52:57 +11:00
Grahame Grieve f1d81856a5 update presentation of fixed and pattern values in profile views 2024-01-19 10:40:03 +11:00
Grahame Grieve bf57789467 Fix expansion related bugs and adjust tests accordingly 2024-01-19 10:39:29 +11:00
dotasek 8ab4340014 Handle toString for XhtmlNode when nodeType == null 2024-01-18 14:17:54 -05: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 a3ffe348fb add semver sorter 2024-01-17 22:32:29 +11:00
Grahame Grieve 8613cd3944 rework terminology cache to manage multiple terminology servers 2024-01-17 20:44:37 +11:00
dotasek 602a113363 Fix version bump 2024-01-16 16:26:25 -05:00
Grahame Grieve ff33d9cf71 add TextFile test cases 2024-01-16 19:14:08 +11:00
Grahame Grieve 516b932717 include qligier's performance improvements 2024-01-16 16:18:05 +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
markiantorno 7786596091 Updating version to: 6.2.10-SNAPSHOT and incrementing test cases dependency. 2024-01-11 21:54:37 +00:00
markiantorno 70ba6654fe Release: v6.2.9
## Validator Changes

* no changes

## Other code changes

* Test release for changes to pipeline
***NO_CI***
2024-01-11 21:10:16 +00:00
markiantorno e2ba911f4e Updating version to: 6.2.9-SNAPSHOT and incrementing test cases dependency. 2024-01-10 21:29:35 +00:00
Grahame Grieve 97ea3903b0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-01-11 08:20:12 +11:00
Grahame Grieve 00842e64e5 Suppress date errors when searching for packages 2024-01-11 08:20:00 +11: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 9b9aa51e36 update headers on client to add ;fhirVersion=X 2024-01-10 15:48:47 +11:00
Grahame Grieve 33f43da3d7 more unicode work 2024-01-10 10:14:43 +11:00
Grahame Grieve eb95ed00b6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-01-10 09:06:36 +11:00
Grahame Grieve 096033c002
Merge pull request #1532 from adrianclay/handle-multi-character-html-entities
Add support to XhtmlParser to handle 2 character HTML Entities
2024-01-10 09:06:02 +11:00
Grahame Grieve 7c6d5fa688 extended unicode support 2024-01-10 08:00:32 +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
Adrian Clay 287949308e
Merge branch 'hapifhir:master' into handle-multi-character-html-entities 2024-01-06 12:51:22 +00: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
Adrian Clay b8e8e771f0 Add support to XhtmlParser to handle 2 character HTML Entities
Previously, the parser would mangle any HTML entity greater than
0xFFFF
2024-01-04 16:29:05 +00: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 84659e501c fix split implementation 2024-01-02 09:40:32 +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 3ed816209d update terminology server for test reconciliation with tx.fhir.org 2023-12-25 00:28:39 +11:00
Grahame Grieve 70af787438 IPS development 2023-12-22 21:23:34 +11:00
Grahame Grieve 74893e42e7 Improved errors publishing IGs 2023-12-22 21:23:17 +11:00
Grahame Grieve 073311bbb6 Various fixes to terminology service after reconciliation with Michael Lawley 2023-12-22 21:20:10 +11: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 09c2c8f81b Improve handling of terminology error and warning messages + handling of example and fragment code systems 2023-12-15 04:21:50 -05:00
Grahame Grieve 45b35c52d5 upgrade xver to latest R5 definitions 2023-12-14 07:20:45 -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
dotasek 27e0fbad16 Merge remote-tracking branch 'origin/master' into do-20231127-package-cache-threadsafe 2023-12-11 09:56:39 -05: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 f88f4e492e fix bug loading packages with no specified version that don't exist 2023-12-11 14:08:28 +11:00
Grahame Grieve e697ec1c4c check extensions with fhirpath context 2023-12-05 16:56:44 +11:00
Grahame Grieve 53586dfba5 update pubpack 2023-12-03 20:05:21 +11:00
Grahame Grieve c4f6fe4676 Addressing WG problems in kindling 2023-12-03 20:05:10 +11:00
Grahame Grieve 592c1a4315 fix display of time periods (fixed width hour:min) 2023-12-01 16:56:28 +11:00
Grahame Grieve 0ae15f7d4d Fix narrative link validation and add id/idref validation 2023-12-01 16:56:11 +11: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 1866be1673 Use a smaller package 2023-11-29 12:02:41 -05:00
dotasek 09ab60405d Add per-file ReadWriteLock to CacheLock 2023-11-29 10:59:01 -05:00