Commit Graph

2901 Commits

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