Commit Graph

3221 Commits

Author SHA1 Message Date
Grahame Grieve f392abd708 clean up code 2023-12-31 08:35:02 +11:00
Grahame Grieve 159e189520 Add support for tracking source server of issue 2023-12-31 08:34:55 +11:00
Grahame Grieve d429f48760 major upgrade to validation - use terminology server to perform more logic, and standardise interface based on agreements with Vocab & Ontoserver 2023-12-30 23:02:19 +11:00
Grahame Grieve 683408c3c5 Adjust validation for changes to validation behaviour 2023-12-26 07:08:39 +11:00
Grahame Grieve cf28e3b440 update terminology cache after changes to tx validation behaviour 2023-12-26 07:08:07 +11:00
Grahame Grieve 3ed816209d update terminology server for test reconciliation with tx.fhir.org 2023-12-25 00:28:39 +11:00
Grahame Grieve 8e55d76a2e R6 release support 2023-12-22 21:23:40 +11:00
Grahame Grieve 70af787438 IPS development 2023-12-22 21:23:34 +11:00
Grahame Grieve 073311bbb6 Various fixes to terminology service after reconciliation with Michael Lawley 2023-12-22 21:20:10 +11:00
Grahame Grieve cf4a970e47 Fix bug handling null objects in JSON (R5) 2023-12-22 21:15:08 +11:00
Grahame Grieve 1cdcfb3396 fix bug handling XML name extension 2023-12-22 21:14:40 +11:00
markiantorno d4d7600635 Updating version to: 6.2.8-SNAPSHOT and incrementing test cases dependency. 2023-12-15 13:00:23 +00:00
markiantorno 6c78cc3e48 Release: v6.2.7
## Validator Changes

* Fix up validation of fragment and example value sets
* Improve handling of terminology messages + handling of example and fragment code systems
* Add support for logical_container extension (for CDA constraint validation)
* Clean up handling of xml_name
* Check for xver extension canonical urls when validating uri elements
* Upgrade xver to latest R5 definitions

## Other code changes

* Fix string index error in xver manager
* Fix rendering of type for previous versions
***NO_CI***
2023-12-15 10:50:47 +00:00
Grahame Grieve 09c2c8f81b Improve handling of terminology error and warning messages + handling of example and fragment code systems 2023-12-15 04:21:50 -05:00
Grahame Grieve d59080b45f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2023-12-15 02:48:27 -05:00
Grahame Grieve ea4ccdf527 Add support for logical_container extension 2023-12-15 02:44:37 -05:00
Grahame Grieve bb020dd739 clean up handling of xml_name 2023-12-15 02:44:07 -05:00
Grahame Grieve 6caef21869 fix up validation of fragment value sets 2023-12-14 20:40:50 -05:00
Grahame Grieve 046e814b07 fix string index error in xver manager 2023-12-14 07:20:33 -05:00
Grahame Grieve 75a3c325ef fix rendering of type for previous versions 2023-12-14 07:20:21 -05:00
markiantorno ceaa131d81 Updating version to: 6.2.7-SNAPSHOT and incrementing test cases dependency. 2023-12-13 19:07:52 +00:00
markiantorno b5902aac98 Release: v6.2.6
## Validator Changes

* Fix bug where validator doesn't actually validate web sourced input
* Fix narrative link validation and add id/idref validation
* Remove fhir-test-cases from Validator CLI JAR (#1497) (reduce size)
* Fix to CDA xsi:type validation per SD decision
* Apply regex pattern to literal format if defined
* Improvements to vital signs related messages
* Fix R4 con-3 FHIRPath expression
* Fix bug loading packages with partially specified version that doesn't exist
* Fix for occasional missing warnings around bundle link validation
* Fix using wrong resource type when validating constraints in data type definitions during R6 build
* Fix NPE in validator processing CCDA examples
* Fix problem with version dependencies when loading npm packages directly as files
* Fix for SearchParameter validation using custom resource types

## Other code changes

* Bump commonmark version
* fix Utilities display of time periods (fixed width hour:min)
* Fix stated path for error when code not in value set
* Fix rendering of trigger definition using tables inside paragraphs
* Update VSAC importer to fix timeout issues
* Refactor FHIRPath java package
* Fix problem with profiled resources being called examples in IG publisher
* Remove dependencies for unused UI experiment (#1465)
* Remove AU connectathon
* Include hamcrest dependency
* Fix breaking ValidationEngineTests
* Give kinder error message for missing param
* Fix commonmark group and bump version (#1500)
* Remove dep used for local testing
* Bump jackson & logback versions
* Fix StringType element properties not being copied in various Address, HumanName convertors
* Handle all initial value types when rendering Questionnaires
* Ensure Address.line[] element data is copied over
* Write locking on FilesystemPackageCacheManager
* Fix problems setting owning committee consistently
* Utility classes for fule system package cache pre-loading
***NO_CI***
2023-12-13 18:41:20 +00:00
dotasek 0afea8dc1d
CLI Task to preload package cache (#1508)
* WIP start building preload task

* Slightly refactor exceptions

* sleep between each query

* WIP - FilesystemPackageCacheManager refactor

* Finish refactor

* Customize PackageVisitor

* Remove unused code

* Remove unused code 2

* Add debug logging for failing test

* Point withCacheFolder if to correct param

* Remove console chatter

* Rename to FilesystemPackageCacheManager.Builder

* Move logic to PackageCacheDownloader for re-use in other projects

* Fix spacing
2023-12-13 11:27:15 -05:00
Grahame Grieve 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