Commit Graph

3221 Commits

Author SHA1 Message Date
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