Commit Graph

2363 Commits

Author SHA1 Message Date
Grahame Grieve 3d57cec0f1 fix validation of concept maps containing SCT 2024-03-26 06:27:42 +11:00
Grahame Grieve a4055877c4 more work on multi-language rendering, and add test id to error message on comparison 2024-03-25 10:06:00 +11:00
dotasek.dev 6032e64ffc more renaming 2024-03-22 11:10:01 -04:00
Grahame Grieve 02b6e80b6d refactor language handling in R5 renderers 2024-03-22 22:49:31 +11:00
dotasek.dev 0549903ade Separate loading logic from data 2024-03-20 19:27:19 -04:00
dotasek.dev 4793e574b1 Break out helper classes 2024-03-20 18:52:20 -04:00
dotasek.dev 890776604d variable renaming 2024-03-20 18:26:10 -04:00
dotasek.dev 69491f1996 Merge remote-tracking branch 'origin/master' into do-20240319-tx-test-reuse 2024-03-20 14:27:54 -04:00
markiantorno 0cebf9af9f Updating version to: 6.3.4-SNAPSHOT and incrementing test cases dependency. 2024-03-20 13:31:17 +00:00
markiantorno ec51399045 Release: v6.3.3
## Validator Changes

* Fix grammar in validation messages
* Fix NPE in validator for SIDs
* Duplicate designations in a code system is a warning, not an error
* Fix value set validation to validate codes in example code systems

## Other code changes

* Improved multi-language support for IG development (LanguageUtils)
***NO_CI***
2024-03-20 12:38:29 +00:00
Grahame Grieve 9a66c1968e more work on language utilities 2024-03-20 22:44:13 +11:00
Grahame Grieve 1ecbf365be fix NPE in validator for SIDs 2024-03-20 21:00:16 +11:00
Grahame Grieve 95cd30d100 duplicate designations is a warning, not an error 2024-03-20 20:59:59 +11:00
Grahame Grieve 8f2f414c78 Fix value set validation to validate codes in example code systems 2024-03-20 20:59:41 +11:00
dotasek.dev 82c36de65d WIP refactor terminology service tests for reuse outside core 2024-03-19 17:53:45 -04:00
markiantorno b2e3c261e4 Updating version to: 6.3.3-SNAPSHOT and incrementing test cases dependency. 2024-03-18 15:09:50 +00:00
markiantorno 5b5a0a2cdf Release: v6.3.2
## Validator Changes

* CodeSystem property validation improvements
* More valueset validation improvements after real world testing
* Fix processing of NotSelectable filters using in | not-in
* Fix wrong collection type checking FHIRPath subsetOf parameter type

## Other code changes

* Fix rendering of contained resources in Kindling
* Put jurisdiction in NPM package file
* Rendering improvements for xver IG
* More xver support for concept maps
* Fix NPE in ContextUtilities (kindling)
* Add OID Assigner utility
***NO_CI***
2024-03-18 14:24:12 +00:00
Grahame Grieve 30545d31c1 CodeSystem property validation improvements 2024-03-18 18:09:56 +11:00
Grahame Grieve e39bbba7ef More valueset validation improvements after real world testing 2024-03-14 16:48:39 +11:00
markiantorno da3bb9e353 Updating version to: 6.3.2-SNAPSHOT and incrementing test cases dependency. 2024-03-10 21:41:17 +00:00
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 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 a51c3f96ad don't walk into nested bundles when validating links in bundles 2024-03-08 22:32:13 +11:00
Grahame Grieve a94b41add8 fix up implementation of notSelectable in value set filters 2024-03-08 22:31:53 +11:00
Grahame Grieve 13dcebb3e4 add check for multiple version matches for a versionless canonical reference 2024-03-08 22:29:51 +11:00
Grahame Grieve 1bab5bcb5b missed code 2024-03-07 13:48:21 +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
Grahame Grieve 499d682286 rebuild txcache - except LOINC 2024-03-06 13:29:51 +11: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
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 f22316d55f fix up structure mapping tests 2024-02-28 12:21:15 +11:00
dotasek 6b55cc8eb0 Merge branch 'master' into do-20240131-cda-ccda-cli-versions 2024-02-27 09:40:50 -05:00
Grahame Grieve 2bcc3fb7ae
Merge pull request #1568 from hapifhir/2024-02-gg-monster
2024 02 gg monster
2024-02-25 23:42:32 +11:00
Grahame Grieve 982d5521da Improved ConceptMap validation 2024-02-25 19:26:07 +11:00
Grahame Grieve 0139723822 Improved ConceptMap validation 2024-02-25 19:25:43 +11:00
Grahame Grieve 1eb8067d6b Fix where validator was ignoring minimum cardinality for XML attributes (especially in CDA) 2024-02-25 19:25:17 +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
Dylan Hall f1096a8ebd
Introduce new validator cliContext option disableDefaultResourceFetcher (#1526)
* introduce new cliContext option doNotFetchUnknownProfiles

* rename parameter to disable-default-resource-fetcher

* missed renaming a couple items

* review feedback
2024-02-20 17:06:55 -05:00
Grahame Grieve 5783481a26 fix ig loading from direct URL (#1559) 2024-02-13 13:02:23 +11:00
Grahame Grieve d128c2d3fc rebuild tx cache 2024-02-12 16:21:36 +11:00
Grahame Grieve 9e60fdb7ad Hack fix for opd-3 2024-02-10 23:12:12 +11:00
Grahame Grieve 3e642e8bd8 validate value set internal codeSystem references 2024-02-10 23:04:56 +11:00
Grahame Grieve 368376d36d update observation validator for committee decision not to enforce Blood Pressure profile for Mean Blood Pressure 2024-02-10 23:04:06 +11:00
Grahame Grieve 1a121adc43 Improve concept map code validation 2024-02-10 23:02:29 +11:00
Grahame Grieve 3a1cc2e75a Replace dom-3 with custom java code, and check xhtml references to contained content 2024-02-10 23:01:52 +11:00
Grahame Grieve 20bf70ed68 fix bug loading R5 extensions with imported value sets 2024-02-10 22:51:32 +11:00
dotasek.dev 7855a40d4e Fix CDA and CCDA IG versions in CLI options 2024-01-31 10:49:24 -05: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 e09e0adbbe fix parameter type for system-version 2024-01-30 20:06:10 +11:00
Grahame Grieve dd3770d093 fix bug in deciding whether a value is supported by the server 2024-01-30 19:06:06 +11:00
Grahame Grieve ebfd70477c fix mini-terminology server bugs around unknown systems 2024-01-30 19:05:49 +11:00
Grahame Grieve 975f4fd28b rework server decision making when multiple code systems being used 2024-01-30 19:05:20 +11:00
Grahame Grieve c34f439da5
Merge pull request #1550 from hapifhir/do-20230119-fix-filetype-detect-in-service
Fix file type inference in ValidationService
2024-01-28 23:12:08 +11:00
Grahame Grieve 42bddb9fdb
Merge pull request #1554 from hapifhir/2024-01-gg-fix-expand-params
2024 01 gg fix expand params
2024-01-28 23:05:18 +11:00
dotasek.dev 56d3da1722 Bump version 2024-01-26 11:12:00 -05:00
dotasek fa88082c14 Merge remote-tracking branch 'origin/master' into do-20230119-fix-filetype-detect-in-service 2024-01-25 16:38:49 -05:00
Grahame Grieve 81569a3984 remove duplicate way of handling parameters on expand value set 2024-01-26 06:27:24 +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
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