Commit Graph

2378 Commits

Author SHA1 Message Date
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
Grahame Grieve 3b3ddd28b2 Fix validator not allowing canonical resource extensions in bundles 2023-11-24 08:52:18 +11:00
Grahame Grieve 51ae6a596b More memory work in IGpublisher 2023-11-24 08:48:54 +11:00
Grahame Grieve bd98afaa09 refactor versionutil 2023-11-24 06:10:38 +11:00
dotasek 153c517ea2 Code cleanup, some renaming, adding correct instances of map 2023-11-22 16:05:47 -05:00
dotasek 6916854071 Include Validation time in ValidationResponse 2023-11-20 13:40:03 -05:00
Grahame Grieve f2f10bf27b update test cases 2023-11-17 07:11:24 +11:00
Grahame Grieve a4fa21a868 Add support for IPS validation in test cases 2023-11-17 07:11:13 +11:00
Grahame Grieve e009734d85 fix committee URLs 2023-11-17 07:10:02 +11:00
markiantorno 8fe88a320e Updating version to: 6.2.5-SNAPSHOT and incrementing test cases dependency. 2023-11-15 18:56:03 +00:00
markiantorno 29b1cd98dc Release: v6.2.4
## Validator Changes

* Add support for NZ IPS
* Don't fail on erroneously repeating elements, and more bundle link validation
* Rework bundle references validation
* Fix problem creating CDA type discriminators
* Fix bundle resolution rules to conform to the specification in version R4+

## Other code changes

* Fix issue where markdown with multiple characters was being cut off sometimes
* Fix bundle resolution rules to conform to the specification in version R4+
* More work on versioned API
* Fix up VSAC import for large value sets
* Fix FHIRPath cda tests for empty package cache
* Fix problem with R3 expansion
* Add support for CCDA .hasTemplateIdOf(canonical)
* Fix issue where markdown with multiple characters was being cut off sometimes
***NO_CI***
2023-11-15 18:29:25 +00:00
Grahame Grieve a7e8dc18a1 #1488 - don't fail on erroneously repeating elements, and more bundle link validation 2023-11-15 17:34:13 +11:00
Grahame Grieve 6181d812e6 Rework bundle references validation 2023-11-15 14:20:54 +11:00
Grahame Grieve 9f8eeed5f6 more work on versioned API 2023-11-14 14:46:01 +11:00
Grahame Grieve f2dc77272b fix problem creating CDA type discriminators 2023-11-14 12:00:29 +11:00
Grahame Grieve 618930e5bf Planning ahead: Add fhirVersion to R5 Base and IWorkerContext methods, and move IContextResourceLoader, ValidationResult and CodingValidationRequest out of IWorkerContext to their own clasess 2023-11-14 06:38:40 +11:00
Grahame Grieve e56dfb8693 Add support for NZ IPS 2023-11-13 08:10:56 +11:00
Grahame Grieve 4c6a318749 Fix bundle resolution rules to conform to the specification in version R4+ 2023-11-13 07:38:31 +11:00
markiantorno c128f3b61d Updating version to: 6.2.4-SNAPSHOT and incrementing test cases dependency. 2023-11-11 06:49:45 +00:00
markiantorno 7cb9286e3f Release: v6.2.3
## Validator Changes

* Remove wrong LOINC code for circumference % from vital signs scan
* Remove spurious error when profile discriminators have no value
* Fix as() and ofType() in FHIRPath engine to support type namespaces properly
* Fix problem with FHIRPath engine wrongly checking types in context of CDA
* Fix date validation error in CDA validation
* Update error handling to preserve message ids properly

## Other code changes

* Add rendering of II.system
* Fix extension handling when generating snapshots - which are ignored, overwrite, or add
* Delete some empty java files
* Remove unnecessary snapshot tests
***NO_CI***
2023-11-11 06:24:19 +00:00
Grahame Grieve 89306e6ce3 Remove wrong LOINC code from vital signs scan 2023-11-11 08:26:56 +11:00
Grahame Grieve 7ce6334351 remove spurious error when profile discriminators have no value 2023-11-11 08:26:40 +11:00
Grahame Grieve 110d627e83 fix problem with FHIRPath engine wrongly checking types in context of CDA 2023-11-10 16:39:05 +11:00
Grahame Grieve dc791becaa update error handling to preserve message ids properly 2023-11-09 16:51:15 +11:00
markiantorno c717f898ef Updating version to: 6.2.3-SNAPSHOT and incrementing test cases dependency. 2023-11-07 03:30:21 +00:00
markiantorno 3a7733ea02 Release: v6.2.2
## Validator Changes

* Validate Vital signs Profiles when validating observations
* Hack around problem with vs-1 constraint in R4
* Check for retired status when multiple OID matches exist
* Fix for validating extensions on R5 resources in R4 (R4 special case)
* Minor fixes for standalone ViewDefinition validator

## Other code changes

* Revised Capability Statement rendering (Thanks Vassil Peytchev)
* Fix bug rendering primitive types with an extension that provides a value alternative
* Add links to references when rendering json and xml instances in IG publisher
* Fix bug generating profile spreadsheets
* Support suppress examples when generating snapshots
* VSAC Import improvements
***NO_CI***
2023-11-07 02:46:28 +00:00
Grahame Grieve 0685bc7a81 Fix for validating extensions on R5 resources in R4 (R4 special case) 2023-11-07 09:14:42 +11:00
Grahame Grieve 35c7e18e55 Validate Vital signs Profiles when validating observations 2023-11-05 09:19:39 +11:00
Benjamin Flessner 301e5acfaa Update CDA validation targets 2023-11-01 14:44:11 -05:00
markiantorno a47dccc7f6 Updating version to: 6.2.2-SNAPSHOT and incrementing test cases dependency. 2023-10-31 16:23:32 +00:00
markiantorno 3c198658e1 Release: v6.2.1
## Validator Changes

* Validate contextInvariant in extension definitions
* fix Typo in TI WG name
* Handle unknown constants properly in FHIRPath
* Fix handling of type ancestors at the root of FHIRPath expressions
* CDA templates with no extension value use urn:oid: not urn:hl7ii:
* Allow URL as a type of string in FHIRPath type checking
* Fix semver validation
* Fix problem resolving context in CDA invariants

## Other code changes

* Finish SQL in FHIR Implementation, but disable sql on fhir tests until package is packaged properly by next release of IG publisher
* Fixes to Search Parameter rendering per FHIR-I decision
* Fix broken links in extension references done by [[[]]]
* Fix broken links in code system rendering of parents
* Support using names in [[[markdown]]] when rendering
* Remove "profile" from tx operations
* Include checkIPSCodes and bundleValidationRules in json
***NO_CI***
2023-10-31 15:51:40 +00:00
dotasek 7386b2b8f8
Include checkIPSCodes and bundleValidationRules in json (#1473)
+ gentle renaming
2023-10-31 09:49:37 -04:00
Grahame Grieve 89fc407479 fix 2023-10-31 17:00:59 +11:00
Grahame Grieve 034b1057e6 CDA templates with no extension value use urn:oid: not urn:hl7ii: 2023-10-28 06:38:16 +11:00
Grahame Grieve a327f0312e code clean up 2023-10-28 06:35:20 +11:00
markiantorno b60d9e4f81 Updating version to: 6.2.1-SNAPSHOT and incrementing test cases dependency. 2023-10-24 23:01:44 +00:00
markiantorno 7c3863c6ad Release: v6.2.0
## Validator Changes

* Validation by templateId for CDA
* Fix NPE validating concept maps
* Update ViewDefinition validator for change (alias -> name)
* Fix for NPE validating sql-on-fhir ViewDefinition
* Fix for index out of bounds error when extension uses itself
* Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system)
* Implement FHIRPath slice() function in validator
* Fix bug where Snapshot generation can run off the end of the differential

## Other code changes

* Breaking API Change: Revise FHIRPath API so hosts can evaluate expressions in custom functions
* Add package use tracking to FHIR cache for validator.fhir.org
* Support for instance-name and instance-description in IG publisher
* Element.removeExtension (support for instance-name and instance-description extensions in IG publisher)
* Split terminology service tests
* Hack for wrong URLs in subscriptions backport
* Remove dependencies for unused UI experiment
* More improvements to profile code generation
***NO_CI***
2023-10-24 22:34:10 +00:00
Grahame Grieve e2ac0c56c7 bump minor version correctly 2023-10-25 08:20:34 +11:00
Grahame Grieve e431770caf
2023 10 gg code gen (#1469)
* Revise FHIRPath API so hosts can evaluate expressions in custom functions

* Implement slice() function in validator

* more improvements to profile generation

* Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system)

* release notes

* Fix test ignore/exclude issues, bump test cases

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-10-24 15:26:24 -04:00
Grahame Grieve e06fee93c2 release notes 2023-10-21 06:44:08 +11:00
Grahame Grieve 2f8a5a071e validation by templateId for CDA 2023-10-20 21:30:25 +11:00
Grahame Grieve 2e71297478 fix NPE validating concept maps 2023-10-20 16:31:09 +11:00
Grahame Grieve 6066de7784 split terminology service tests 2023-10-20 16:30:47 +11:00
markiantorno 87b756e0c7 Updating version to: 6.1.17-SNAPSHOT and incrementing test cases dependency. 2023-10-16 22:48:30 +00:00
markiantorno b9338024a6 Release: v6.1.16
## Validator Changes

* Fix bug processing value sets containing URLs

## Other code changes

* Add initial support for http://hl7.org/fhir/tools/StructureDefinition/type-profile-style
* More work on sql-on-fhir implementation
* Allow for type parameter to custom functions in FHIRPath
* Fix bugs in processing current packages for XIG
***NO_CI***
2023-10-16 22:19:52 +00:00
Grahame Grieve 1e98e69338 more work on sql-on-fhir implementation 2023-10-16 23:12:15 +11:00
markiantorno a31120f15f Updating version to: 6.1.16-SNAPSHOT and incrementing test cases dependency. 2023-10-13 16:03:08 +00:00
markiantorno 17b7528c0f Release: v6.1.15
## Validator Changes

* Support for CDA code validation

## Other code changes

* Update XML Parser & logical model renderer for XML choice groups
* Restore JSON Parser method for HAPI compatibility.
* Maintain OID to URL lookup index
* Fix json parsing of CDA
***NO_CI***
2023-10-13 15:36:00 +00:00
Grahame Grieve 9d742dcd24 rework OID handling 2023-10-13 10:27:53 +11:00
Grahame Grieve 3d039a89eb get tests passing 2023-10-12 21:50:39 +11:00
Grahame Grieve 84e3bec25f more XML checking for CDA + control over date rules 2023-10-12 20:15:16 +11:00
Grahame Grieve 1207e32e20 Support for CDA code validation 2023-10-12 12:54:25 +11:00
markiantorno 65161437cb Updating version to: 6.1.15-SNAPSHOT and incrementing test cases dependency. 2023-10-10 10:28:06 +00:00
markiantorno faf0e0684c Release: v6.1.14
## Validator Changes

* Make sure logical models get a snapshot generated

## Other code changes

* Fix URL of concept map extension in version conversion
***NO_CI***
2023-10-10 10:01:13 +00:00
Grahame Grieve 2cc40452d7 make sure logical models get a snapshot generated 2023-10-10 15:43:09 +11:00
markiantorno 5f96bcd35d Updating version to: 6.1.14-SNAPSHOT and incrementing test cases dependency. 2023-10-09 19:09:40 +00:00
markiantorno 2d5efc33d1 Release: v6.1.13
## Validator Changes

* Improve language on constraint error message + add expression checking for SQL on FHIR project

## Other code changes

* Fix uuid() executing StructureMaps and don't throw errors processing StructureMaps
* Add support for test folder in NPM packages
* Fix rendering of XML Attributes in profiles
* Add support for hosts to manage certificate resolution using ISignatureServices + fix issue matching type names when validating logical models
* Make sure snapshots are generated when fetching types
* Workaround issue where R5 build wrongly adds ele-1 to base
* Fix conversion issue associated with ConceptMap.element.target.equivalence in versions previous to R5 (use proper extension URL, and move extension so it can be a modifier. And fix for modifierExtension handling)
* Fix birthDate editing in CmdLineApp
***NO_CI***
2023-10-09 18:43:48 +00:00
Grahame Grieve 9da31ae8ad improve language on constraint error message + add expression checking for SQL on FHIR project 2023-10-09 17:46:33 +11:00
Grahame Grieve af0f9bc765 Add support for hosts to manage certificate resolution using ISignatureServices + fix issue matching type names when validating logical models 2023-10-09 17:45:38 +11:00
markiantorno 9ec1c68cfc Updating version to: 6.1.13-SNAPSHOT and incrementing test cases dependency. 2023-10-05 02:20:25 +00:00
markiantorno d705905c8c Release: v6.1.12
## Validator Changes

* fix CDA parsing error for sdtc:raceCode
* fix xml output to deal with namespaces properly
* fix FHIRPath join implementation to make separator parameter optional

## Other code changes

* Improve rendering for xml_no_order extension
* add command line demo app
* rework xig into 3 steps
* add userData to JSON element
* Initial SQL On FHIR implementation
* Add getDistalNames() to FHIRPath for SQL-on-FHIR support
***NO_CI***
2023-10-05 01:50:02 +00:00
Grahame Grieve 752ab7a3d1
2023 10 gg cda parsing fix 2 (#1451)
* fix xml output to deal with namespaces properly

* Improve rendering or xml_no_order

* add command line demo app

* fix CDA parsing error for sdtc:raceCode

* Fix error message

* Bump test case version

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <dotasek.dev@gmail.com>
2023-10-04 18:42:29 -04:00
Grahame Grieve 7698ee4b7f
Merge pull request #1443 from hapifhir/do-20230921-shc-validation-service
SHC Validation
2023-10-04 06:01:07 +03:00
markiantorno 627e40934b Updating version to: 6.1.12-SNAPSHOT and incrementing test cases dependency. 2023-10-02 13:18:11 +00:00
markiantorno 9b5c26be25 Release: v6.1.11
## Validator Changes

* Fix FHIRPath type resolution for logical models
* Update parsers to record the element format for logical model validation
* fix profile matching for CDA logical models

## Other code changes

* Upgrade PackageVisitor for XIG
***NO_CI***
2023-09-30 18:21:42 +00:00
Grahame Grieve c2aa221c98 fix profile matching for CDA logical models 2023-09-30 22:30:20 +10:00
Grahame Grieve d675d9d4a0 upgrade PackageVisitor for XIG 2023-09-30 22:28:44 +10:00
dotasek 2a6538cd02 Merge remote-tracking branch 'origin/master' into do-20230921-shc-validation-service 2023-09-29 11:00:19 -04:00
markiantorno f9b3dbde57 Updating version to: 6.1.11-SNAPSHOT and incrementing test cases dependency. 2023-09-29 11:11:34 +00:00
markiantorno ddd3889268 Release: v6.1.10
## Validator Changes

* Change Mapping type validation error to warning validating maps
* Add support for special case codes in v2 (NNnnn)
* Fix problem parsing logical model cda fragments
* Fix parsing logical model list attributes
* Fix issue parsing parameters in a target expression

## Other code changes

* Handle additional bindings when generating snapshots for R5 profiles
* Fix problem rendering additional bindings in R5
* Fix for new pubpack version
***NO_CI***
2023-09-29 10:45:20 +00:00
Grahame Grieve 0d4e1af1a6
Merge pull request #1447 from hapifhir/2023-09-gg-cda-fixes
2023 09 gg cda fixes
2023-09-29 19:23:05 +10:00
Grahame Grieve 6fa4bb1061 change error to warning validating maps 2023-09-29 13:38:05 +10:00
dotasek 7548ea37ae Merge remote-tracking branch 'origin/master' into do-20230921-shc-validation-service 2023-09-28 15:19:02 -04:00
markiantorno 90d683907d Updating version to: 6.1.10-SNAPSHOT and incrementing test cases dependency. 2023-09-27 16:01:56 +00:00
markiantorno b276d8a793 Release: v6.1.9
## Validator Changes

* Fix for issue parsing SHC and not recording line/col correctly
* Fix issue validating CDA FHIR Path constraints
* Better error handling validating codes in concept maps
* Validate special resource rules on contained resources and Bundle entries
* Improved error messages of observation bp
* Fix up WG internal model for changes to workgroups
* fix misleading error message inferring system when filters in play
* Fix type handling for logical models (CDA fixes)
* Fix up parsing of logical models
* Fix bug parsing extension with no value in JSON for the validator

## Other code changes

* Major uplift of PEModel to support generated code for profiles in R4 + R5
* Add removeChild in R4/R4B/R5 model
* Fix version conversion issue between r4 and r5 charge definition issue
* Fix rendering extension and missed profile on Reference()
***NO_CI***
2023-09-27 15:35:08 +00:00
dotasek c0f61dac17 Merge branch 'master' into do-20230921-shc-validation-service 2023-09-27 10:16:06 -04:00
Grahame Grieve 79b45832e4 Fix timezone issue in PE tests 2023-09-27 09:06:04 +10:00
dotasek d850944057 WIP track derived content for ValidatedFragment 2023-09-26 16:46:22 -04:00
Grahame Grieve 527b2cb35b Fix issue validating CDA FHIR Path constraints 2023-09-27 05:51:46 +10:00
Grahame Grieve 72a6b50cf2 better error handling validating concept maps 2023-09-25 13:50:16 +10:00
Grahame Grieve 194e2113ce Valid special cases on contained resources and Bundle entries 2023-09-25 13:50:02 +10:00
markiantorno 7d4816f628 Updating version to: 6.1.9-SNAPSHOT and incrementing test cases dependency. 2023-09-21 19:51:51 +00:00
markiantorno 8413995d8b Release: v6.1.8
## Validator Changes

* no changes

## Other code changes

* Fix typo in CodeSystem renderer fixed string
***NO_CI***
2023-09-21 19:24:42 +00:00
dotasek ba8a4797e5 If fileType is null, use ResourceChecker 2023-09-21 13:15:42 -04:00
dotasek ef6f92a21e WIP return validation fragments 2023-09-21 09:50:08 -04:00
markiantorno 14e6f210e6 Updating version to: 6.1.8-SNAPSHOT and incrementing test cases dependency. 2023-09-21 06:36:25 +00:00
markiantorno 23a0bc3f14 Release: v6.1.7
## Validator Changes

* Significant Performance improvements parsing JSON resources
* Refactor Type handling for faster performance
* Validate the stated publisher/WG/contacts for HL7 published resources
* Better error message when diff contains bad paths
* pass dependent resources to server and make sure cache-id is filled out properly in all contexts
* Fix error in FML parser parsing parameters
* Fix issue with dom-6 and contained elements (Internal ChildMap synchro issues)
* Better handling of errors from tx.fhir.org
* Fix bug checking for implicit value sets
* Fix bug checking of mixing snomed display types
* Reduce size of validatable concept map to 500 - for now + better handling of errors on server batches
* Improve UCUM validation BP rule

## Other code changes

* Fix up handling of includes in liquid templates
* Fix up rendering of profile names for abstract profile instantiations
* Improved rendering of codes in include when rendering valuesets
* Start generating .index.db as well as .index.json in packages for faster package reading
* Fix problem caching look up of implied value sets
* Add okio dependency for running vsac
***NO_CI***
2023-09-21 06:06:01 +00:00
Grahame Grieve 31ea68f69b Fix bug checking for implicit value sets 2023-09-21 12:42:36 +10:00
Grahame Grieve 9ef82e7e23 Fix bug checking of mixing snomed display types 2023-09-21 12:42:18 +10:00
Grahame Grieve 66b69deb37 reduce size of validatable concept map - for now 2023-09-21 12:41:55 +10:00
Grahame Grieve 6f17713ae8 Improve UCUM validation BP rule 2023-09-21 12:41:23 +10:00
Grahame Grieve a6f43420d5 publication WG checking not for example resources 2023-09-20 16:58:17 +10:00
Grahame Grieve eecc6633d3 Improved rendering of codes in include when rendering valuesets 2023-09-20 11:12:50 +10:00
Grahame Grieve 91abf50cdc Fix issue with dom-6 and contained elements 2023-09-20 11:11:05 +10:00
Grahame Grieve 46c12d1a22 Performance improvements for type handling, and rename NamedElement to ValidatedFragment 2023-09-19 09:58:36 +10:00
Grahame Grieve 4d2868f21e Add support for validating WG info in HL7 resources 2023-09-15 22:01:30 -07:00
markiantorno a68ba66d1a Updating version to: 6.1.7-SNAPSHOT and incrementing test cases dependency. 2023-09-15 22:58:19 +00:00
markiantorno 43e73b1281 Release: v6.1.6
## Validator Changes

* Add R4B binding-definition URL to validator exception list
* Correct validation when CodeSystem.content = example and server doesn't know code system
* Fix bug processing CDA snapshots
* Fix issue evaluating FHIRPath correctness on CDA.Observation
* Improve error message from validator when invariants fail
* Fix NPE validating concept maps
* Add parameter for easy CDA validation
* Suppress wrong invariants on compiler magic types
* fix NPE checking codes

## Other code changes

* Improve CodeSystem rendering - make parent property a link
* Add file tracking when npm package performing file unpacking
* Remove env variables from path builder
* Fix bug in version comparison
* fix for NPE in HAPI
* Performance improvements for IG Publisher
* Start working on cross-version extensions
* Improve rendering of message about logical target
***NO_CI***
2023-09-15 22:32:55 +00:00
Grahame Grieve 65ea3ddf95 Merge remote-tracking branch 'origin/master' 2023-09-15 13:13:40 -07:00
Grahame Grieve 1b65cb5ca2 Suppress wrong invariants on compiler magic types 2023-09-15 12:47:15 -07:00
Grahame Grieve 96ce441f9a more IG publisher efficiency work 2023-09-15 10:15:04 -07:00
Grahame Grieve c6b7a4f47d start working on cross-version extensions 2023-09-15 10:14:43 -07:00
Grahame Grieve f90308d7d3 easy CDA validation 2023-09-15 10:14:23 -07:00
Grahame Grieve a620e2aa30 fix NPE validating concept maps 2023-09-15 10:14:06 -07:00
Grahame Grieve a59a9619d9 Improve error message from validator when invariants fail 2023-09-15 10:13:02 -07:00
Grahame Grieve a6b6a9d330 Add R4B binding-definition URL to validator exception list 2023-09-12 15:48:22 -07:00
markiantorno a8967b378f Updating version to: 6.1.6-SNAPSHOT and incrementing test cases dependency. 2023-09-11 01:26:15 +00:00
markiantorno a09216c6e8 Release: v6.1.5
## Validator Changes

* no changes

## Other code changes

* Add baseUrl and version methods to r5 CanonicalType
***NO_CI***
2023-09-11 01:00:01 +00:00
markiantorno 30ed1bf615 Updating version to: 6.1.5-SNAPSHOT and incrementing test cases dependency. 2023-09-10 01:22:26 +00:00
markiantorno 1c24341056 Release: v6.1.4
## Validator Changes

* Fix bug preventing Best Practice invariants being reported on, and add -best-practice parameter
* Fix issue not validating bundles when there are multiple profiles on entry.resource
* Add Japanese translations

## Other code changes

* Fixes for minor bugs discovered testing the XIG
* fix package program data path
***NO_CI***
2023-09-10 00:51:54 +00:00
Grahame Grieve 6b38a730e9 SHC signature verification 2023-09-08 07:35:11 +10:00
Grahame Grieve 304fa3f493 Adjust tests for best-practice flag 2023-09-08 04:21:14 +10:00
Grahame Grieve c610e7a8b5 Make Best Practice Recommendations work properly 2023-09-07 22:01:13 +10:00
Grahame Grieve a061db8f01 Fix issue not validating bundles when there are multiple profiles on entry.resource 2023-09-07 17:07:09 +10:00
markiantorno 980f04557c Updating version to: 6.1.4-SNAPSHOT and incrementing test cases dependency. 2023-09-06 08:22:50 +00:00
markiantorno 6d37127e63 Release: v6.1.3
## Validator Changes

* Test concept map code validity
* Rework type checking on target profiles to support imposesProfile
* Fix imposesProfile extension being missed on primary profile
* Add support for IPS-AU
* Fix warning/error message about experimental property on CodeSystems and ValueSets
* Fix unknown code message to include code system version
* Add provisional SHLinks validation

## Other code changes

* Render Requirements.reference
* Convert Requirements.reference between versions
* Fix test that breaks on local machines + Fix system path for FileSystemPackageCacheManager
* Update to cqframework 2.11 and remove unused common-beanutils declaration (#1419)
* Better xhtml logging for debugging
* Fix DF markdown engine to escape < properly
* Support for sub-packages in packagelist.json
* NPE proofing property handling for Code Systems
* rework the way intermediary content is handled in the validator
* Restore CodeQL regex queries (#1422) + Whitelist BSD 3-clause license
***NO_CI***
2023-09-06 06:12:07 +00:00
Grahame Grieve f1f45f91e1 fix npe 2023-09-06 11:14:56 +10:00
Grahame Grieve 87f7984f8b test concept map code validity 2023-09-06 09:12:25 +10:00
Thomas Papke f05b2f5966
Update to cqframework 2.11 and remove unused common-beanutils declaration (#1419) 2023-09-05 09:08:22 -04:00
Grahame Grieve d7d56f5cec Support for IPS-AU 2023-09-04 13:40:29 +10:00
Grahame Grieve 5cc4e3ef03 rework the way intermediary content is handled in the validator + fix impose-profile handling for IPS-AU 2023-09-04 13:38:22 +10:00