Commit Graph

3351 Commits

Author SHA1 Message Date
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 46e063cc87 Handle all initial value types when rendering Questionnaires 2023-12-13 09:08:32 -05:00
Grahame Grieve 166cb445f8 More fixes for SearchParameter validation 2023-12-12 21:00:31 +13:00
Grahame Grieve cc424a04e1 fix problems setting owning committee consistently 2023-12-12 16:52:11 +13:00
Grahame Grieve 9fae571412 fix NPE in CDA check 2023-12-11 15:37:14 +11:00
Grahame Grieve 4b1488438e missed files 2023-12-11 14:10:26 +11:00
Grahame Grieve 161e92d439 other code 2023-12-06 17:57:35 +11:00
Grahame Grieve f30fda2382 more fixes for R6 build 2023-12-05 16:56:21 +11:00
Grahame Grieve c4f6fe4676 Addressing WG problems in kindling 2023-12-03 20:05:10 +11:00
Grahame Grieve 3eb8ad3ab1 minor vs logging fixes 2023-12-03 20:04:25 +11:00
Grahame Grieve 006958cf88 minor fix for vs rendering 2023-12-03 20:04:11 +11:00
Grahame Grieve 2b232c8b1b Fix stated path for error when code not in value set 2023-12-01 16:55:16 +11:00
Grahame Grieve 694251cb85 fix rendering of trigger definition using tables inside paragraphs 2023-12-01 16:54:54 +11:00
Grahame Grieve 18c4419b9e refactor FHIRPath package 2023-12-01 15:13:33 +11:00
Grahame Grieve 516ec50afa Fix problem with profiled resources being called examples in IG publisher 2023-12-01 10:37:46 +11: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 36361eaa1d refactor timeout control on client 2023-11-24 12:06:18 +11:00
Grahame Grieve 5ee11cb3a8 Fix expansion language - don't set for displayName parameter 2023-11-24 08:51:20 +11:00
Grahame Grieve 3cd75ef89e adjust value set rendering for fragment code systems 2023-11-24 08:51:02 +11:00
Grahame Grieve bb9064a8cc fix NPE on some resources 2023-11-24 08:50:46 +11:00
Grahame Grieve 96b7d159a7 Fix rendering of TriggerDefinition 2023-11-24 08:50:21 +11:00
Grahame Grieve 31ffd84667 Checking parameter type for where() and all() 2023-11-24 08:49:59 +11:00
Grahame Grieve 289ab6b29c Support parsing ad-hoc json data type fragments 2023-11-24 08:49:24 +11:00
Grahame Grieve 51ae6a596b More memory work in IGpublisher 2023-11-24 08:48:54 +11:00
Grahame Grieve d1bec7bdba move ILoggingService 2023-11-24 08:47:52 +11:00
Grahame Grieve e8520b1907 Move json and xml extensions from extensions pack to tooling ig 2023-11-22 07:58:50 +11:00
Grahame Grieve 97a778302c Add support for rendering union and intersections of profiles in profile comparison 2023-11-22 07:55:16 +11:00
Grahame Grieve 6aaff35495 fhirpath iif() test case fixes 2023-11-22 07:52:47 +11:00
Grahame Grieve ee02e21710 fix identifier rendering 2023-11-17 07:10:24 +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
dotasek 4906037448 Fix mockito matcher 2023-11-14 10:08:39 -05:00
Grahame Grieve 6cba0db3ac try to fix mock 2023-11-14 22:22:09 +11:00
Grahame Grieve c65dcd0f26 fix compile error 2023-11-14 15:08:10 +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 ecd62b6feb fix FHIRPath cda tests for empty package cache 2023-11-14 06:43: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 bd1b90b9a5 Add support for CCDA .hasTemplateIdOf(canonical) 2023-11-13 15:00:53 +11:00
Grahame Grieve 90b0e0d3d6 Fix issue where markdown with multiple characters was being cut off sometimes 2023-11-13 07:38:59 +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 cec6425a7f Add rendering of II.system 2023-11-11 08:26:18 +11:00
Grahame Grieve fad683ddaa remove unnecessary snapshot tests 2023-11-10 16:39:43 +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 eb1940e9c0 fix date validation error in CDA validation 2023-11-09 17:44:40 +11:00
Grahame Grieve dc791becaa update error handling to preserve message ids properly 2023-11-09 16:51:15 +11:00
Grahame Grieve f07a779d36 Fix extension handling when generating snapshots - which are ignored, overwrite, or add 2023-11-09 16:50:13 +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 80fe954a37
Merge pull request #1480 from vassilpeytchev/master
Enhanced Capability Statement rendering
2023-11-07 11:06:11 +11:00
Grahame Grieve 841de5657e vsac improvements 2023-11-06 20:23:17 +11:00
Grahame Grieve 3fbc88a019 missed code 2023-11-06 07:14:17 +11:00
Grahame Grieve bdc0ff8819 check for retired status when multiple OID matches exist 2023-11-06 07:05:33 +11:00
Grahame Grieve 35c7e18e55 Validate Vital signs Profiles when validating observations 2023-11-05 09:19:39 +11:00
Grahame Grieve 0a1bf05a8e minor fixes for standalone ViewDefinition validator 2023-11-05 09:17:08 +11:00
Grahame Grieve cb8b959322 fix bug generating profile spreadsheets 2023-11-05 09:16:27 +11:00
Grahame Grieve 307ae9b0a0 Fix bug rending primitive types with an extension that provides a value alternative 2023-11-05 09:16:07 +11:00
Grahame Grieve cc7320c3a3 Add links to references when rendering json and xml instances in IG publisher 2023-11-05 09:15:38 +11:00
Grahame Grieve af0c8d8edf Hack around problem with vs-1 constraint in R4 2023-11-05 09:14:43 +11:00
Grahame Grieve b657823373 support suppress examples when generating snapshots 2023-11-05 09:14:20 +11:00
Vassil Peytchev 4c4156d539
Merge branch 'hapifhir:master' into master 2023-11-01 14:44:46 -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 1557e52f77 disable sql on fhir tests until package is packaged properly by next release of IG publisher 2023-10-31 17:00:20 +11:00
Grahame Grieve d419d5a5e6 Handle unknown constants properly, and fix handling of type ancestors at the root 2023-10-31 16:59:49 +11:00
Grahame Grieve 5898691293 Fixes to Search Parameter rendering per FHIR-I decision 2023-10-31 16:58:12 +11:00
Grahame Grieve c3f469374a fix broken links in extension references done by [[[]]] 2023-10-31 16:57:42 +11:00
Grahame Grieve 809b2f68ea Fix broken links in code system rendering of parents 2023-10-31 16:57:25 +11:00
Grahame Grieve e4a1a556a2 get sql viewDefinition implementation passing all tests 2023-10-30 23:59:35 +11:00
Vassil Peytchev c173df9f5b Updates for Capability Statement rendering 2023-10-27 15:03:19 -05:00
Grahame Grieve 903d4c9d66 Support using names in [[[markdown]]] when rendering 2023-10-28 06:37:06 +11:00
Grahame Grieve 892b124259 Fix problem resolving context in CDA invariants 2023-10-28 06:36:16 +11:00
Grahame Grieve 83f0009f2d remove "profile" from tx operations 2023-10-28 06:35:52 +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 238793b4a4 rename union to unionAll 2023-10-25 06:44:11 +11:00
Grahame Grieve 345d4ace69 catching up
Merge branch '2023-10-gg-code-gen' of https://github.com/hapifhir/org.hl7.fhir.core
2023-10-25 06:25:49 +11:00
Grahame Grieve 3e98c25cc2 Fix bug processing snapshot 2023-10-25 06:23:49 +11:00
dotasek 3ea42ca1b0 Fix test ignore/exclude issues, bump test cases 2023-10-24 14:29:05 -04:00
Grahame Grieve 103984c10e Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system) 2023-10-24 17:37:01 +11:00
Grahame Grieve be9f5e0d36 more improvements to profile generation 2023-10-24 17:36:23 +11:00
Grahame Grieve f3ddf1a0f4 Implement slice() function in validator 2023-10-23 10:25:03 +11:00
Grahame Grieve 40c996828a Revise FHIRPath API so hosts can evaluate expressions in custom functions 2023-10-23 10:24:54 +11:00
Grahame Grieve 2f8a5a071e validation by templateId for CDA 2023-10-20 21:30:25 +11:00
Grahame Grieve 7d15f271d0 update ViewDefinition validator for change (alias -> name) 2023-10-20 16:31:59 +11:00
Grahame Grieve 69a8c5b2e4 Support for instance-name and instance-description in IG publisher 2023-10-20 16:31:39 +11:00
Grahame Grieve c8357c8a13 fix for NPE building sql-on-fhir 2023-10-20 16:28:34 +11:00
Grahame Grieve 2b0d778767 Element.removeExtension (support for instance-name and instance-description extensions in IG publisher) 2023-10-20 16:26:46 +11:00
Grahame Grieve 20929abc58 fix for index out of bounds error 2023-10-20 16:25:27 +11:00
Grahame Grieve 12cdccf3bb Hack for wrong URLs in subscriptions backport 2023-10-20 16:25:09 +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 4100315ee7 fix bug processing value sets containing URLs 2023-10-16 23:14:02 +11:00
Grahame Grieve ac10ddc9ac Add initial support for http://hl7.org/fhir/tools/StructureDefinition/type-profile-style 2023-10-16 23:13:46 +11:00
Grahame Grieve 1e98e69338 more work on sql-on-fhir implementation 2023-10-16 23:12:15 +11:00
Grahame Grieve 41eaad7356 allow for type parameter to custom functions in FHIRPath 2023-10-16 23:11:12 +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 5f9b169261 fix json parsing of CDA 2023-10-13 12:39:44 +11:00
Grahame Grieve c4c73ada42 Make .OfType(CDA.X) work for CDA types 2023-10-13 12:31:57 +11: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 2f304a6576 more 2023-10-12 20:15:31 +11:00
Grahame Grieve 84e3bec25f more XML checking for CDA + control over date rules 2023-10-12 20:15:16 +11:00
Grahame Grieve 04597eea27 OID related fixes 2023-10-12 20:13:48 +11:00
Grahame Grieve 4917dd7815 fix typo 2023-10-12 20:12:43 +11:00
Grahame Grieve a10ac3c590 Build OID -> URL Index 2023-10-12 12:53:55 +11:00
Grahame Grieve e8a162cabb Update XML Parser & logical model renderer for XML choice groups 2023-10-11 22:54:09 +08:00
Grahame Grieve 62835ff54d restore JSON Parser short cut for HAPI 2023-10-11 22:53:37 +08: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
Grahame Grieve c83b232f7c Fix URL of concept map extension 2023-10-10 15:42:36 +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 d2a8c91214 fix UUID() and don't throw errors processing StructureMaps 2023-10-09 21:09:56 +11:00
Grahame Grieve d08039a3a7 fix issue in extension processing 2023-10-09 21:09:39 +11:00
Grahame Grieve 423e50c797 fix missed code 2023-10-09 17:57:25 +11:00
Grahame Grieve 97914518fa update test case dependency 2023-10-09 17:47:49 +11:00
Grahame Grieve 7b7484e08e Add support for test folder in NPM packages 2023-10-09 17:47:15 +11:00
Grahame Grieve 737c51f2a5 Fix rendering of XML Attributes in profiles 2023-10-09 17:46:49 +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
Grahame Grieve 33776523ae make sure snapshots are generated when fetching types 2023-10-09 17:44:03 +11:00
Grahame Grieve f860af857d 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) 2023-10-09 17:41:26 +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
dotasek ff29b09083 Fix junit detection of sql on fhir, temporarily disable
***NO_CI***
2023-10-04 13:28:30 -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
Grahame Grieve d6eb345692
Merge pull request #1449 from hapifhir/2023-10-gg-xig_steps
2023 10 gg xig steps
2023-10-04 03:57:22 +03:00
Grahame Grieve 64403db109 rework xig into 3 steps 2023-10-04 03:16:07 +03:00
Grahame Grieve f70b3ac23b Initial SQL On FHIR implementation 2023-10-03 16:11:47 +03:00
Grahame Grieve 264e289bb3 Add getDistalNames() to FHIRPath for SQL-on-FHIR support 2023-10-03 16:11:18 +03:00
Grahame Grieve ee819e3f08 fix join implementation to make separator parameter optional 2023-10-03 16:10:48 +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 589d566c0a fix FHIRPath type resolution for logical models 2023-09-30 22:29:42 +10:00
Grahame Grieve 1ba4d276c0 update parsers to record the element format for logical model validation 2023-09-30 22:29:32 +10:00
Grahame Grieve 6c08e58d7a fix type fetching to use either URL or type 2023-09-30 22:29:03 +10:00
dotasek 2a6538cd02 Merge remote-tracking branch 'origin/master' into do-20230921-shc-validation-service 2023-09-29 11:00:19 -04:00
dotasek c2071379f4 Use txt extension for shc fragment 2023-09-29 11:00:01 -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 3de8aa69fe handle additional bindings when generating snapshots for R5 profiles 2023-09-29 13:42:25 +10:00
Grahame Grieve ed07d18506 Add support for special case codes in v2 (NNnnn) 2023-09-29 13:35:36 +10:00
Grahame Grieve bd52aa5277 Fix problem rendering additional bindings in R5 2023-09-29 13:35:15 +10:00
Grahame Grieve a22923f193 fix problem parsing logical model cda fragments 2023-09-29 13:34:39 +10:00
Grahame Grieve 104973a1d9 fix parsing logical model list attributes 2023-09-29 13:34:19 +10:00
Grahame Grieve 69526476ba fix issue parsing parameters in a target expression 2023-09-29 13:33:04 +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 e819ea6e8f improve error message 2023-09-27 16:35:19 +10:00
Grahame Grieve 75f2d559ca Improve comparison of generated java code 2023-09-27 11:36:16 +10:00
Grahame Grieve e18ba8a2e1 fix up removeChild in R4/R4B/R5 2023-09-27 09:52:34 +10:00
Grahame Grieve ec1d61f177 fix bom 2023-09-27 09:45:09 +10:00
Grahame Grieve 79b45832e4 Fix timezone issue in PE tests 2023-09-27 09:06:04 +10:00
Grahame Grieve 24905a2c16 fix path issue parsing SHC 2023-09-27 09:05:38 +10:00
Grahame Grieve 6bd1354f46 remove BOM 2023-09-27 07:10:23 +10:00
dotasek d850944057 WIP track derived content for ValidatedFragment 2023-09-26 16:46:22 -04:00
Grahame Grieve 2fdf1f626d fix up generation ValidationFragment generation parsing SHC fragments 2023-09-27 06:40:14 +10:00
Grahame Grieve f48c6a26f2 Major upgrade of PE subsystem - pass initial tests 2023-09-27 05:49:25 +10:00
Grahame Grieve a159ce7db5 Add removeChild to generated model 2023-09-27 05:48:36 +10:00
Grahame Grieve a77a8f5bda fix up WG internal model 2023-09-25 13:49:07 +10:00
Grahame Grieve 4eb6563adf fix type handling for logical models 2023-09-25 13:48:49 +10:00
Grahame Grieve 0ae55e7b1f fix misleading error message 2023-09-25 13:48:26 +10:00
Grahame Grieve b078560645 fix rendering extension and missed profile on Reference() 2023-09-25 13:48:05 +10:00
Grahame Grieve 957dc3f733 fix up parsing of logical models 2023-09-25 13:34:43 +10:00
Grahame Grieve 798a93bbec fix bug parsing extension with no value in JSON for the validator 2023-09-25 13:34:15 +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 c79fa08473 Refactor "focus" ValidatedFragment usage 2023-09-21 13:59:41 -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 7c2f403d55 fix problem with Element childMap getting out of sync 2023-09-21 12:40:30 +10:00
Grahame Grieve 3801f2e702 fix problem caching look up of implied value sets 2023-09-21 12:39:49 +10:00
Grahame Grieve 73051109b4 better handling of errors on server batches 2023-09-21 12:38:15 +10:00
Grahame Grieve 483477c9c4 don't load type definitions from example package 2023-09-20 16:58:56 +10:00
Grahame Grieve 1326108207 better error message when diff contains bad paths 2023-09-20 11:15:15 +10:00
Grahame Grieve 8d3fff4d4e pass dependent resources to server and make sure cache-id is filled out properly 2023-09-20 11:14:56 +10:00
Grahame Grieve 96469972de fix error in FML parser parsing parameters 2023-09-20 11:14:31 +10:00
Grahame Grieve bf00cc17b4 Fix error in FML parser parsing parameters 2023-09-20 11:14:10 +10:00
Grahame Grieve 980ff89de3 Fix Liquid Include processing 2023-09-20 11:13:53 +10:00
Grahame Grieve 7517f181c7 Fix up rendering of profile names for abstract profile instantiations 2023-09-20 11:13:43 +10:00
Grahame Grieve 366cb85506 Fix up handling of includes in liquid templates 2023-09-20 11:13:21 +10:00
Grahame Grieve eecc6633d3 Improved rendering of codes in include when rendering valuesets 2023-09-20 11:12:50 +10:00
Grahame Grieve 8a81237bd0 Better handling of errors from tx.fhir.org 2023-09-20 11:10:20 +10:00
Grahame Grieve 19e651b7bf minor fixes from testing 2023-09-19 10:37:10 +10:00
Grahame Grieve d3ba55018b fix for abstract types 2023-09-19 10:09:32 +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 30dfcfe3a6 turn logging off in JsonParser 2023-09-18 17:06:46 +10:00
Grahame Grieve ebf706b837 Fix NPE in version comparison 2023-09-18 17:06:31 +10:00
Grahame Grieve 0565b27f02 more performance improvements 2023-09-17 16:54:47 +10:00
Grahame Grieve ea7cd290a8 More performance improvements for JsonParser 2023-09-17 15:45:02 +10:00
Grahame Grieve e7010d7af0 Add support for .index.db 2023-09-15 22:01:12 -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 daf69cef37 fix NPE checking codes 2023-09-15 12:46:56 -07:00
Grahame Grieve 6b5ca97aa8 Fix error in Comparisons 2023-09-15 12:46:45 -07:00
Grahame Grieve 34a029d5df cross-version extensions 2023-09-15 10:15:50 -07:00
Grahame Grieve 71def00e24 Improve rendering of message about logical target 2023-09-15 10:15:31 -07:00
Grahame Grieve d40006ba8c Performance improvements for IG Publisher 2023-09-15 10:13:53 -07:00
Grahame Grieve a59a9619d9 Improve error message from validator when invariants fail 2023-09-15 10:13:02 -07:00
Grahame Grieve 55c800e80d fix issue evaluating FHIRPath correctness on CDA.Observation 2023-09-14 19:38:06 -07:00
Grahame Grieve f72dfa83ef fix for NPE in HAPI 2023-09-14 19:31:15 -07:00
Grahame Grieve 771947a958 remove unused code 2023-09-14 19:31:04 -07:00
Grahame Grieve 906c7dea45 fix bug processing CDA snapshots 2023-09-14 19:29:50 -07:00
Grahame Grieve 518adf9826 Correct validation when CodeSystem.content = example and server doesn't know code system 2023-09-13 05:40:13 -07:00
Grahame Grieve aa46d3698d make parent property a link 2023-09-12 15:47:35 -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
Grahame Grieve ef401d0fe8 canonical helper methods 2023-09-10 13:12:05 -07: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 eef084f4b3
Merge pull request #1427 from hapifhir/do-20230905-fix-system-cache-directory
Fix system cache directory
2023-09-10 09:29:57 +10:00
Grahame Grieve 3a6e6fe39a more xig related fixes 2023-09-08 13:03:51 +10:00
Grahame Grieve 493f2f51f2 more xig fixes 2023-09-08 12:15:52 +10:00
Grahame Grieve 71ff6a81db Another XIG fix 2023-09-08 10:22:13 +10:00
Grahame Grieve f67596f25b fix for npe in xig 2023-09-08 10:07:06 +10:00
Grahame Grieve 307623fd05 Fix failing tests due to jvm difference 2023-09-08 09:00:05 +10:00
Grahame Grieve 6b38a730e9 SHC signature verification 2023-09-08 07:35:11 +10:00
Grahame Grieve 4e92a7759a fix bug overwriting source package on canonical resources 2023-09-07 17:06:24 +10:00
Grahame Grieve c270f1761f Allow suppressing snapshot errors for XIG 2023-09-07 17:05:23 +10:00
dotasek 430833616a Merge branch 'master' into do-20230905-fix-system-cache-directory 2023-09-06 09:26:05 -04: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 b980eeddf2 Render Requirements.reference 2023-09-06 09:51:09 +10:00
Grahame Grieve 87f7984f8b test concept map code validity 2023-09-06 09:12:25 +10:00
dotasek cf398fbbcd Fix test that breaks on local machines 2023-09-05 15:36:33 -04:00
dotasek 82813a88d2 Fix system path for FileSystemPackageCacheManager 2023-09-05 15:35:21 -04:00
Grahame Grieve beb89b575a rework type checking on target profiles to support imposesProfile 2023-09-05 23:09:18 +10:00
Grahame Grieve 68b30fe819 fix unknown code message to include code system version 2023-09-04 13:39:45 +10:00
Grahame Grieve 808acb9d29 NPE proofing property handling for Code Systems 2023-09-04 13:38:37 +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
Grahame Grieve be4957c9af fix typos 2023-09-02 23:35:00 +07:00
Grahame Grieve bfac7f06de Add SHLinks validation 2023-09-02 23:21:32 +07:00
markiantorno bca705a3c6 Updating version to: 6.1.3-SNAPSHOT and incrementing test cases dependency. 2023-08-31 13:58:37 +00:00
markiantorno f5e218c279 Release: v6.1.2
## Validator Changes

* FHIRPath fixes checking types discovered testing R6 build

## Other code changes

* Fix rendering of impose-profile extension
* Improvements to performance tracking code
* get FHIRFormat from SHC code
***NO_CI***
2023-08-31 13:29:31 +00:00
Grahame Grieve ab8f84f492
Merge pull request #1421 from hapifhir/2023-08-gg-fhirpath-validation-fixes
2023 08 gg fhirpath validation fixes
2023-08-31 14:23:53 +02:00
Grahame Grieve 3cd1119c2f fix wording mistake 2023-08-31 13:09:09 +02:00
Grahame Grieve 4bba1c2cde fix bugs in FHIRPath checking and track special time when validating resources 2023-08-31 06:30:29 +02:00
dotasek 8709e946d9 Get FhirFormat from shc code 2023-08-30 16:32:15 -04:00
Grahame Grieve 2deb88cdc9 Merge remote-tracking branch 'origin/master' 2023-08-30 09:38:45 +02:00
volodymyr-korzh 119bfcba4e
Fixed Out Of Memory issue during resource validation with local reference check enabled (#1413)
* Fixed Out Of Memory issue during resource validation with local reference check enabled

* Fixed Out Of Memory issue during resource validation with local reference check enabled - fix
2023-08-29 13:29:22 -04:00
Grahame Grieve a78aa25c14 #1415 review system.out.println() statements 2023-08-29 19:21:45 +02:00
Grahame Grieve ac33590b96 #1412 - fix out of memory issues 2023-08-29 17:34:03 +02:00
markiantorno 9048983155 Updating version to: 6.1.2-SNAPSHOT and incrementing test cases dependency. 2023-08-29 08:56:09 +00:00
markiantorno 2f6c61af78 Release: v6.1.1
## Validator Changes

* Fix problem validating code systems with content = not-present
* Further development of multi-language support on the tx server, and:
* Change the validator so that the default language is '*' (all languages) not 'en'

## Other code changes

* Improve license scanning and readme documentation
* Change xpp3 dependency
* Add client version to tx user-agent requests
* Suppress spurious xml parsing messages to System.err
***NO_CI***
2023-08-29 08:27:41 +00:00
Grahame Grieve 4201d51d63 Merge remote-tracking branch 'origin/master' 2023-08-29 09:18:56 +02:00
Grahame Grieve 51003669db no meld 2023-08-29 06:43:46 +02:00
Grahame Grieve f3112342d6 ping build 2023-08-28 21:06:28 +02:00
Grahame Grieve d0815682b8
Merge branch 'master' into language-rework 2023-08-28 20:13:42 +02:00
Grahame Grieve 4e43c425b1 syntax fixes 2023-08-28 17:30:06 +02:00
Grahame Grieve 47f5da6b3f fix failing test 2023-08-28 16:50:49 +02:00
Grahame Grieve a22338cd54 fix up failing tests 2023-08-28 15:58:37 +02:00
Grahame Grieve 9899906045 Suppress XML fatal errors to System.err 2023-08-28 12:57:01 +02:00
Grahame Grieve 684f6bd740 fix test cases 2023-08-28 12:56:47 +02:00
Grahame Grieve 84edac9abe Better cache control 2023-08-25 18:43:36 +02:00
Grahame Grieve 333ffc340e Accept-Language 2023-08-25 16:21:56 +02:00
Grahame Grieve 7eaa723ec9 rewrite the way language works in value sets 2023-08-25 13:09:36 +02:00
dotasek 985b66c276 Add version to agent header
+ remove unused getValidationEngine methods in Common
2023-08-24 15:31:09 -04:00
dotasek 490e57fa7c Swap out xpp3 dependency 2023-08-23 15:51:44 -04:00
markiantorno fb64a720c8 Updating version to: 6.1.1-SNAPSHOT and incrementing test cases dependency. 2023-08-22 17:26:57 +00:00
markiantorno e90863a271 Release: v6.1.0
## Validator Changes

* Performance fix: Delay loading content when loading IGs
* CodeSystem validation around count and content
* Add checking around internal status consistency and across dependencies (draft/experimental/retired/deprecated)
* Improved error messages on server failure
* Fix bug in warning about No valid Display Names found
* Use Supplements when validating display names
* Fix issue in FHIRPath .combine focus handling
* Check Extension fixed values for URLs - enforce consistency
* Fix R4 FML parser problem
* Track and report inactive status when reported from terminology server
* Add defense against large terminology operations causing obscure java errors
* Fix bug with client sending too much data to tx.fhir.org (big performance hit in some cases)
* Fix obscure bug with designations in a more specific language the the code system they are in

## Other code changes

* Significant upgrade of version comparison for profiles/extensions, value sets, and code systems, and integration into rendering framework
* Many minor changes to terminology functionality (reconciliation with differences with OntoServer) including service protection
  * Rename implySystem parameter to inferSystem per TI decision
  * rework how definitions are handled after discussion with Michael
  * add flat mode to tests for Ontoserver, and add experimental functionality
* fix rendering issue in subscription topic
* Add a renderer for ExampleScenario
* Automatically render markdown in code system concept definitions
* Fix loading issues in test mode for simplifier packages
* Remove spurious logging in FHIRPath engine
* Fix addChild error in PEBuilder (#1343) + Add test case
* CPT Importer
* Dependencies fixed/updated: okhttp, thymeleaf, commonmark & UCUM
* Xhtml fluent improvements + related XHtmlNode improvements
* Release new pubpack for new icons
* Json Object comparison: fix bug in arrays with multiple optional elements + improved error messages + support for external strings
* fix cross-version extensions web references where possible
* Don't suppress exceptions in terminology clients
* Add first cut of Profile Generation code
* Stop putting invalid codes in expansions if they are not in the code system
***NO_CI***
2023-08-22 17:01:34 +00:00
dotasek 1b33d2a537 Bump minor version 2023-08-22 11:56:22 -04:00
Grahame Grieve 54eb35fa1a fix bug with client sending too much data to tx.fhir.org 2023-08-22 21:47:02 +10:00
Grahame Grieve e11f03bd8a Fix erroneous handling of designations with a matching language to the base display 2023-08-22 12:08:53 +10:00
Grahame Grieve f795394fd2 Sorting ValueSet.expansion.contains in the tx tests 2023-08-21 19:35:10 +10:00
Grahame Grieve 69d2a12a2b fix bug handling invalid codes when expanding 2023-08-21 16:29:54 +10:00
Grahame Grieve 2c6be77ee2 fix comparison logic 2023-08-21 11:06:04 +10:00
Grahame Grieve 6d3e555620 First cut at profile code generation 2023-08-20 19:06:20 +10:00
Grahame Grieve 390e25ddae more test fixes 2023-08-19 22:46:23 +10:00
Grahame Grieve e4f6ec5a7b more revisions to tests 2023-08-19 20:18:15 +10:00
Grahame Grieve 497a81a544 Track and report inactive status when reported from terminology server 2023-08-19 20:17:42 +10:00
Grahame Grieve 2acf546059 Don't suppress exceptions in clients 2023-08-19 20:15:29 +10:00
Grahame Grieve d2698f115c debugging fix 2023-08-19 11:36:41 +10:00
Grahame Grieve 1248bae5e4 $externals works like $fragments when no external string provided 2023-08-19 09:13:32 +10:00
Grahame Grieve b8d89d253e fix cross-version extensions URLs where possible 2023-08-19 09:04:19 +10:00
Grahame Grieve 6f0d54a8dc terminology service bug fixes 2023-08-19 09:03:59 +10:00
Grahame Grieve fa54f7748e fix java exception 2023-08-18 13:48:08 +10:00
Grahame Grieve a87e4728a4 fix bug in structure definition creating links to core spec 2023-08-18 13:47:53 +10:00
Grahame Grieve d571f48376 fix bug in compare utilities around json arrays with multiple optional elements 2023-08-18 13:47:34 +10:00
Grahame Grieve bb2e87c250 automatically process markdown in code system concept definitions 2023-08-18 13:47:16 +10:00
Grahame Grieve c32492a66b improve error draft error where possible 2023-08-18 13:46:56 +10:00
Grahame Grieve 87a9a58771 fix for testing IGs 2023-08-17 21:19:56 +10:00
Grahame Grieve f7c606e88b rendering fixes for IGs 2023-08-17 18:29:59 +10:00
Grahame Grieve 0d1072616e rework comparison and related rendering 2023-08-17 18:14:12 +10:00
Grahame Grieve eacffd11df Add support for external strings for tx tests 2023-08-17 11:14:34 +10:00
Grahame Grieve c71d3a107d always return x-caused-by-unknown-system when system is unknown 2023-08-16 22:38:21 +10:00
Grahame Grieve 57d1a973e4 fix return paths when validating codes 2023-08-16 22:38:01 +10:00
Grahame Grieve 3cb9c195a0 change to used-xxx parameters instead of version 2023-08-16 22:37:48 +10:00
Grahame Grieve bf5a2ba768 More work on comparison functionality 2023-08-16 22:29:11 +10:00
dotasek 976915f3bc Merge branch 'master' into do-20230815-bump-okhttp-dependencies 2023-08-15 17:41:02 -04:00
dotasek dacc73a114 Bump okhttp dependency, exclude vulnerable transitives 2023-08-15 12:52:01 -04:00
Grahame Grieve ced8a36f37 Work on comparison and rendering for showing differences properly 2023-08-15 19:33:39 +10:00
Grahame Grieve ebc755bc2a Check consistency between standards status and resource status 2023-08-14 21:11:49 +10:00
Grahame Grieve e3dd645b75 more differencing improvements 2023-08-14 15:36:08 +10:00
Grahame Grieve dd70d185df improve error message when comparing JSON arrays 2023-08-14 15:35:53 +10:00
Grahame Grieve a57afef5a4 Fix up return issue code for unkown issues 2023-08-14 15:35:36 +10:00
Grahame Grieve 0fc4398dfc Rendering improvements for showing difference analysis (WIP) 2023-08-14 15:34:54 +10:00
Grahame Grieve b45f6caf60 Improve error message for unknown properties 2023-08-14 15:33:48 +10:00
Grahame Grieve 9cde582732 Update Comparers for annotating models with version differences 2023-08-14 15:33:24 +10:00
Grahame Grieve 1d4eefa62b Rename implySystem to inferSystem per TI decision 2023-08-13 19:55:52 +10:00
Grahame Grieve 2474c198c7 fix FML parser problem 2023-08-12 23:06:27 +10:00
Grahame Grieve a5ff5b50a8 rework how extensions are handled after discussion with Michael 2023-08-11 22:27:50 +10:00
Grahame Grieve ec31868486 improve version annotation presentation 2023-08-11 14:16:50 +10:00
Grahame Grieve 9c65d7a20f Fix for NPE validating codes 2023-08-11 14:16:29 +10:00
Grahame Grieve 4a11c5ffe1 fix failing test 2023-08-11 14:16:15 +10:00
Grahame Grieve 6041660e9b Improved error messages on server failure 2023-08-11 14:16:09 +10:00
Grahame Grieve 991a2defee Start working on showing changes when rendering 2023-08-11 12:26:21 +10:00
Grahame Grieve b7fd419509 Check experimental / draft in mini terminology service 2023-08-11 12:25:37 +10:00
Grahame Grieve 1208d691b2 Fix loading issues in test mode for simplifier packages 2023-08-11 12:25:01 +10:00
Grahame Grieve 9625f9b818 remove spurious logging 2023-08-11 12:24:38 +10:00
Grahame Grieve d9df51fa63 Add test case for PE Engine based on issue #1343 2023-08-11 12:24:25 +10:00
Grahame Grieve b85b588825 restructure validators to properly validate deprecated dependencies 2023-08-11 12:24:08 +10:00
Grahame Grieve 5aefd6a268 add flat mode to tests, and add experimental functionality 2023-08-11 12:11:22 +10:00
Grahame Grieve cce9d9cdac
Merge pull request #1388 from hapifhir/ExampleScenarioPause
Added support for pause
2023-08-10 00:05:00 +10:00
Grahame Grieve 952dedd06b #1343 - addChild error in PEBuilder 2023-08-09 19:48:01 +10:00
Grahame Grieve 93868669fe Fix issue in FHIRPath .combine focus handling 2023-08-09 16:29:08 +10:00
Grahame Grieve 8d826aba44 fix rendering issue in subscription topic 2023-08-09 16:27:56 +10:00
Lloyd McKenzie d8c8f26e2b Fix bad link in response 2023-08-08 19:55:17 -06:00
Lloyd McKenzie 7155b940fd Added support for pause 2023-08-08 14:18:50 -06:00
Grahame Grieve 4b006f82ab delay loading content when loading IGs 2023-08-08 21:36:46 +10:00
Grahame Grieve 752f0e1983 fix bug in warning about No valid Display Names found 2023-08-08 19:58:51 +10:00
Grahame Grieve 4c132852c0 include ExampleScenario renderer in factory and refactor 2023-08-08 19:58:27 +10:00
Lloyd McKenzie 820a945807 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into ExampleScenarioRendering 2023-08-07 09:27:29 -06:00
Lloyd McKenzie 6eeeb2400f Removed debug code, handle escaping of aliases 2023-08-07 09:27:05 -06:00
markiantorno 9c3a6a7f37 Updating version to: 6.0.26-SNAPSHOT and incrementing test cases dependency. 2023-08-04 17:55:11 +00:00
markiantorno bc3f348108 Release: v6.0.25
## Validator Changes

* Fix problem with evaluating extension contexts
* Fix up support for inactive codes and fix error message syntax
* Fix issue with collection status of resolve() being wrong
* Improved paths in profile error messages
* Fix problem with extension slicing being missed sometimes.
* Fix problem with code validation caching ignoring whitespace
* Produce useful error message when whitespace is wrong in display name
* Support for x-version extensions when generating snapshots

## Other code changes

* Render inactive property in expansions
* Resolve URL for x-version extensions
* Don't warn for loading a wrong version package more than once
* Do not supercede R4 terminology when loading R5 IGs
* Migrate type support when generating differentials
***NO_CI***
2023-08-04 17:27:42 +00:00
Grahame Grieve 4727bc57ff Fix up support for inactive codes and fix error message syntax 2023-08-04 18:44:40 +10:00
Grahame Grieve f1571ea2b4 Do not supercede R4 terminology when loading R5 IGs 2023-08-04 18:42:40 +10:00
Grahame Grieve e0b9a6dcc7 migrate type support when generating differentials 2023-08-04 18:42:18 +10:00
Grahame Grieve 7da1e419e9 remove unwanted debugging statements 2023-08-04 11:57:18 +10:00
Grahame Grieve c069538d2e what happened to that code? 2023-08-04 11:54:18 +10:00
Grahame Grieve ad08255740 Merge remote-tracking branch 'origin/master' 2023-08-04 11:49:19 +10:00
Grahame Grieve 45b5631e62 Fix issue with collection status of resolve() being wrong 2023-08-04 11:47:44 +10:00
Grahame Grieve 8cc698af5d Improved paths in profile error messages, and fix problem with extension slicing being missed sometimes. 2023-08-04 11:47:08 +10:00
dotasek f835c7efe4 Only trim whitespace outside of the json 2023-08-03 16:38:42 -04:00
Grahame Grieve 6d0883468b
2023 08 gg extension paths (#1380)
* fix problem with whitespace in terminology caching

* Support for x-version extensions when generating snapshots

* Fix problem with evaluating extension contexts

* Produce useful error message when whitespace is wrong in display name

* Resolve URL for x-version extensions

* render inactive property in expansions

* fix tests

* ping build

* Point to correct test-cases version

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-08-03 16:12:48 -04:00
Grahame Grieve b668f4a04a fix tests 2023-08-03 21:33:57 +10:00
Grahame Grieve dfc8a006e2 render inactive property in expansions 2023-08-03 20:29:22 +10:00
Grahame Grieve ecefe55cd5 Resolve URL for x-version extensions 2023-08-03 20:29:00 +10:00
Grahame Grieve 3a5dffa4a7 Produce useful error message when whitespace is wrong in display name 2023-08-03 20:28:42 +10:00
Grahame Grieve df4432b49d Fix problem with evaluating extension contexts 2023-08-03 20:28:04 +10:00
Grahame Grieve 09b6fda419 Support for x-version extensions when generating snapshots 2023-08-03 20:27:20 +10:00
Grahame Grieve 24d67798d6 fix problem with whitespace in terminology caching 2023-08-03 20:26:57 +10:00
markiantorno 011167a218 Updating version to: 6.0.25-SNAPSHOT and incrementing test cases dependency. 2023-08-02 23:28:12 +00:00
markiantorno 42274a7bd3 Release: v6.0.24
## Validator Changes

* Create warnings for status on terminology resources
* Don't load resources from core examples package

## Other code changes

* fix up copy directory for case differences
***NO_CI***
2023-08-02 23:02:37 +00:00
Lloyd McKenzie 9cb786bcd4 Changed to use StringBuilder as recommended 2023-08-02 10:59:05 -06:00
Grahame Grieve b23e31d44c fix narrative rendering 2023-08-02 22:53:57 +10:00
Grahame Grieve 42aef4ad40 fix for npe 2023-08-02 21:38:01 +10:00
Grahame Grieve 32f2f6acc7 warnings for status on terminology resources 2023-08-02 18:12:02 +10:00
Lloyd McKenzie 3c06f76df7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into FixExampleScenarioConversion 2023-08-01 09:38:11 -06:00
Lloyd McKenzie cbebc13501 Added support for ExampleScenario rendering 2023-08-01 09:37:30 -06:00
Grahame Grieve d314a927af FIx up problem resolving URLs 2023-07-31 14:38:09 +10:00
Grahame Grieve be8276bd4a Add rendering for UsageContext 2023-07-31 14:37:51 +10:00
Grahame Grieve b42c908328 More improved FHIRPath checking when validating 2023-07-31 14:37:41 +10:00
Grahame Grieve bd3d718256 Update obligation handling code for split definitions 2023-07-29 08:48:54 +10:00
markiantorno 0165495626 Updating version to: 6.0.24-SNAPSHOT and incrementing test cases dependency. 2023-07-27 14:23:16 +00:00
markiantorno db5d2b07c3 Release: v6.0.23
## Validator Changes

* Update IPS versions for -ips parameter (and get it working again)
* fix up validation of constraints in differentials (wasn't always happening)
* add warnings when collection status isn't right
* Better information messages when CodeSystem.content = not-present
* Add character check in validator for illegal XML Unicode characters
* Fix path problem in NpmPackage (some simplifier packages couldn't be processed)
* Fix NPE validating codes in value sets with improper expansions

## Other code changes

* Add support for Liquid assign
* Switch to DateTime type for Android Support
* Code clean up: remove unused imports
* Fix JSON unicode encoding handling of chars <32 code points
***NO_CI***
2023-07-27 13:56:32 +00:00
Grahame Grieve 06c865badf Fix NPE validating codes in value sets with improper expansions 2023-07-27 17:50:42 +10:00
Grahame Grieve 4eff9a3b68 fix up validation of FHIRPaths in differentials, and add warnings when collection status isn't right 2023-07-27 17:49:57 +10:00
Grahame Grieve a3c32d86a0 add support for Liquid assign + Fix JSON unicode encoding and add character check in validator for illegal XML Unicode characters 2023-07-26 12:32:51 +10:00
Grahame Grieve fefd1ad1d6 fix -ips parameter and add -check-ips-codes parameter 2023-07-26 00:59:02 +10:00
markiantorno 592fba54cc Updating version to: 6.0.23-SNAPSHOT and incrementing test cases dependency. 2023-07-22 17:06:10 +00:00
markiantorno b7fd3be910 Release: v6.0.22
## Validator Changes

* Add support for private NPM registries requiring authentication
* Don't check FHIRPaths on differentials - not enough type info to test reliably
* Fix bugs in FHIRPath handling of logical models
* Fix minor bugs in type handling for Logical Models and R3 Profile validation
* Remove spurious warning message validating CDA documents
* Add value set qa checking
* Fixes to validator for new CDA package (proper handling of logical model types)
* Fix up bi-di warning message
* Add provisional support for alternate codes
* Workaround ClinicalImpression definition problem in core spec
* Fix to get context variables right when running invariants + fix for parent not always being populated + check type in derived profiles
* Fix checking FHIRPath statements on inner elements of type slices
* Fix scan of naming systems (error validating namespaces)
* Fix issue checking invariant expressions in R5

## Other code changes

* FHIRPath in HAPI mode: Strip returned IIdType of qualifier, version, and resourceType
* Update R4 and R4B FHIRPath implementations for changes picked up in R5 usage
* Fix obligation rendering message
* Fix missing extensions when converting value set properties
* Fix type of x-unknown-code-system in $validate-code response
* Fix CDA validation test case
* Much work on TxServer test case framework + Update terminology server implementation and tests for changes to test cases
* OMOP Vocabulary and ICFImporter development
* Add OWASP dependency check (#1347), upgrade many packages, remove ShEx
* Add github action to upload results
* Remove unused javalin dependency, also generate html reports
* Added test case for ExampleScenario conversion (R4/R5) and significantly bulked up the conversion process
* Remove unneeded resources (#1346) (help16.png)
* Add test for setVsAsUrl parameter setting (#1345)
***NO_CI***
2023-07-22 16:41:19 +00:00
dotasek 2654e85df3
Implement private NPM server (#1337)
* WIP start adding NPM data.

* WIP 2 Testing against verdaccio npm

* WIP private npm package servers

* WIP2 add server type config

* WIP3 parse tarball url

* Fix package date parsing, start mocking server tests

* Add dummy package, assert authorization and content

* Add more tests

* Add serverType to settings test

* Ignore tgz files for bidi check

* tighter bidi ignore

* different ignore regex

* Make packageManagement settings, allow ignoring default package servers

* New tests + token authentication

* Manage 404s when configured servers don't have package
2023-07-22 11:01:36 -04:00
dotasek b62f9afc5a
Remove resourceType, version, and qualifier from FHIRPath id results (#1357)
* Breaking test

* Strip returned IIdType of qualifier, version, and resourceType

* Add fix to r4b

* Add fix to r5
2023-07-22 11:01:13 -04:00
Grahame Grieve bb4379f5dd fix bugs in type handling 2023-07-22 21:01:08 +10:00
Grahame Grieve 363045c1c8 Fix bugs in FHIRPath handling of logical models 2023-07-22 08:18:55 +10:00
Grahame Grieve 5a858949d4 Merge remote-tracking branch 'origin/master' 2023-07-21 21:18:42 +10:00
Grahame Grieve e324047735 Fix issue with type evaluation in R3 checking FHIRPath types 2023-07-21 21:16:48 +10:00
Grahame Grieve 4e8f0f0c0c
Merge pull request #1353 from hapifhir/2023-07-gg-context-fixes
2023 07 gg context fixes
2023-07-21 14:48:19 +10:00
Grahame Grieve d8e2e020af fix failing tests 2023-07-21 12:41:56 +10:00
Grahame Grieve cf1b53bba0 Update terminology server implementation and tests for changes to test cases 2023-07-21 05:38:09 +10:00
Grahame Grieve f52df7c0cc Fix obligation rendering message 2023-07-20 08:21:51 +10:00
Grahame Grieve 616cf5fdb3 Add provisional support for alternate codes 2023-07-20 08:21:19 +10:00
Grahame Grieve 274c49bde5 Workaround ClinicalImpression definition problem in core spec 2023-07-20 08:20:18 +10:00
dotasek 2f11af9bfa
Return HumanName getText() preferentially in getNameAsSingleString (#1355)
* Failing tests

* Return getText if it exists in HumanName
2023-07-18 12:22:53 -04:00
Grahame Grieve 3f67cbee9e Merge remote-tracking branch 'origin/master' 2023-07-18 11:12:10 +10:00
Grahame Grieve 8c0539136c suppress spurious error message 2023-07-18 11:08:09 +10:00
Grahame Grieve 55c12301ba remove shex 2023-07-18 11:06:06 +10:00