Commit Graph

1095 Commits

Author SHA1 Message Date
dotasek cc75799664 Updating version to: 6.4.2-SNAPSHOT and incrementing test cases dependency. 2024-11-12 21:52:10 +00:00
dotasek d306cb0dcb Release: v6.4.1
## Validator Changes

* Support authentication for terminology servers (see https://confluence.hl7.org/display/FHIR/Using+fhir-settings.json)
* Fix issue where valdiator not retaining extension context when checking constraint expressions in profiles
* Validate min-length when found in extension
* Correct bug parsing json-property-key values with meant validation failed
* Fix problem validating json-property-key value pairs
* Fix special case r5 loading of terminology to fix validation error on ExampleScenario
* Improve handling of JSON format errors
* Fix bug where extension slices defined in other profiles are not found when processing slices based on extension
* Validate fhirpath expression in slice discriminators
* Fix slicing by type and profile to allow multiple options per slice
* List measure choices when a match by version can't be found
* Check server metadata when executing terminology test cases

## Other code changes

* More work on code generation for profiles
* Render min-length extension on profiles
* Clone SQL on FHIR engine to R4, and update FHIRPath engine based on R5 current code
* Update SQL on FHIR engine to allow push as well as pull
* Change R5 tx server to use http://tx.fhir.org/r5 (instead of /r4)
* Update output from tx-tester to include release ready statement
* Fix rendering of Logical Models for polymorphic elements, and rendering target profiles with versions
* Render contained resources in List resource
* #1790 - Fix versionFromCanonical returns system instead and systemFromCanonical returns version
***NO_CI***
2024-11-12 21:19:51 +00:00
dotasek 06fbc0c77b Roll back to fix release (again) 2024-11-12 15:42:50 -05:00
dotasek 63c77e52fa Release: v6.4.1
## Validator Changes

* Support authentication for terminology servers (see https://confluence.hl7.org/display/FHIR/Using+fhir-settings.json)
* Fix issue where valdiator not retaining extension context when checking constraint expressions in profiles
* Validate min-length when found in extension
* Correct bug parsing json-property-key values with meant validation failed
* Fix problem validating json-property-key value pairs
* Fix special case r5 loading of terminology to fix validation error on ExampleScenario
* Improve handling of JSON format errors
* Fix bug where extension slices defined in other profiles are not found when processing slices based on extension
* Validate fhirpath expression in slice discriminators
* Fix slicing by type and profile to allow multiple options per slice
* List measure choices when a match by version can't be found
* Check server metadata when executing terminology test cases

## Other code changes

* More work on code generation for profiles
* Render min-length extension on profiles
* Clone SQL on FHIR engine to R4, and update FHIRPath engine based on R5 current code
* Update SQL on FHIR engine to allow push as well as pull
* Change R5 tx server to use http://tx.fhir.org/r5 (instead of /r4)
* Update output from tx-tester to include release ready statement
* Fix rendering of Logical Models for polymorphic elements, and rendering target profiles with versions
* Render contained resources in List resource
* #1790 - Fix versionFromCanonical returns system instead and systemFromCanonical returns version
***NO_CI***
2024-11-12 18:54:04 +00:00
dotasek be330ba38a Rollback to fix release 2024-11-12 12:40:55 -05:00
dotasek 29cc135f6c Release: v6.4.1
## Validator Changes

* Support authentication for terminology servers (see https://confluence.hl7.org/display/FHIR/Using+fhir-settings.json)
* Fix issue where valdiator not retaining extension context when checking constraint expressions in profiles
* Validate min-length when found in extension
* Correct bug parsing json-property-key values with meant validation failed
* Fix problem validating json-property-key value pairs
* Fix special case r5 loading of terminology to fix validation error on ExampleScenario
* Improve handling of JSON format errors
* Fix bug where extension slices defined in other profiles are not found when processing slices based on extension
* Validate fhirpath expression in slice discriminators
* Fix slicing by type and profile to allow multiple options per slice
* List measure choices when a match by version can't be found
* Check server metadata when executing terminology test cases

## Other code changes

* More work on code generation for profiles
* Render min-length extension on profiles
* Clone SQL on FHIR engine to R4, and update FHIRPath engine based on R5 current code
* Update SQL on FHIR engine to allow push as well as pull
* Change R5 tx server to use http://tx.fhir.org/r5 (instead of /r4)
* Update output from tx-tester to include release ready statement
* Fix rendering of Logical Models for polymorphic elements, and rendering target profiles with versions
* Render contained resources in List resource
* #1790 - Fix versionFromCanonical returns system instead and systemFromCanonical returns version
***NO_CI***
2024-11-12 16:30:30 +00:00
dotasek 59fe0c6d20
Manage FhirRequestBuilders via ManagedWebAccess (#1788)
* WIP start moving FhirRequestBuilder to ManagedWebAccess

* Update PECodeGenerator.java

* WIP keep moving FhirRequestBuilder to ManagedWebAccess + fix some tests

* WIP move logging, retry, timeout and proxy

* WIP move accept to parameter

* WIP some HTTP Header refactoring, rename FhirRequest to HTTPRequest

* WIP fix removed import

* Tidy up code

***NO_CI***

* Fix for renamed class

* Change mem settings for build

* Adjust pipeline mem again

* Apply changes to r4b

* Actually add headers from HTTPRequest to OkHttp request

* Use ManagedFhirWebAccess in r4

* Removing leftover okttp usage

* Remove unused classes and okhttp usages and add tests for r4

* Make dstu3 use ManagedFhirWebAccess

* Make sure we get response headers

* Add test coverage (some failing) for DSTU2 ClientUtils

* Add FHIRToolingClient tests

* Use ManagedFhirWebAccess for DSTU2

* WIP restore format header tests - turns out they break

* Fix format header issues

* Switch to static fhirBuilder for all FhirRequestBuilders

+ Fix null user agent issue
+ Load ManagedWebAccess from FHIR settings
+ Add terminology servers to FhirSettings

* fix slicing by type and profile to allow multiple options per slice

* List measure choices when a match by version can't be found

* Validate fhirpath expression in slice discriminators

* Remove conflicting authorization header setting methods

* fix VSAC importer for changes to ManagedWebAccess

* Tests 1

* Rename ...AccessBuilder classes to ...Accessor

* Fix api-key token mixup, more tests

* Resolve all deletions enclosed in FIXME + fix headers in dstu2 postfeed

* More TODO erasures. Plus found missing functionality

* Move tests to utilities. Clarify missing functionality

* Clean up comments and JavaDoc

* Final rename

* update vsac access code

* Fix get bytes for -1 or chunked content

---------

Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-11-08 16:42:26 -05:00
markiantorno 54d239a38a Updating version to: 6.4.1-SNAPSHOT and incrementing test cases dependency. 2024-10-24 14:15:50 +00:00
markiantorno 26c445c8fc Release: v6.4.0
## Validator Changes

* Improve warning messages about collections in SQL ViewDefinitions
* Fix type evaluation of .item() in FHIRPath
* Revise message about unknown usage context on additional binding
* Add support for code generation
* Add check for # in CanonicalResource.version
* Fix problem parsing urls in cds-hooks formats
* Fix issues with output folder running tx tests
* Fix bug evaluating resolve() in contained resources when doing slicing

## Other code changes

* Fix NPE processing markdown
* Capture missing snapshot generation messages
* Track OID status
* Improve rendering of coded values
* update tests for changes to PE code generation
* Tx Tests: Add support for special header on specific tests
* Tx Tests: Fix framework to handle diagnostics correctly
* Tx Tests: check http code in tx test cases
* Add support for NCI code rendering
* Adding missing lombok annotation (cannot build without it from scratch) (#1785)
* Remove Encounter Renderer
* Profile code generation fixes
* Add r4 code gen classes
* Draft work for tx server authentication (not landed yet)
* Move XXE safe SAXParserFactory and XMLReader instantiation to XMLUtil
* Bump commons-compress version
***NO_CI***
2024-10-24 13:30:23 +00:00
Grahame Grieve 89be42a649 Merge remote-tracking branch 'origin/master' 2024-10-24 07:16:05 +10:30
Grahame Grieve d652aa2f30 Fix NPE processing markdown 2024-10-23 22:19:08 +10:30
dotasek f0a25dabe3 Move XXE safe SAXParserFactory and XMLReader instantiation to XMLUtil 2024-10-17 15:46:05 -04:00
dotasek 2d80a09deb Merge remote-tracking branch 'origin/master' into do-20241009-documentbuilderfactory-refactor 2024-10-16 11:59:24 -04:00
markiantorno cabee9a341 Updating version to: 6.3.33-SNAPSHOT and incrementing test cases dependency. 2024-10-14 06:03:42 +00:00
markiantorno 54bf319161 Release: v6.3.32
## Validator Changes

* Fix validation issue with open-choice questions in R4 questionnaires
* Add command line parameter ```-tx-routing```
* Add command line parameter ```-clear-tx-cache```
* Add command line parameter ```-advisor-file```

## Other code changes

* Render extensions on some data types
* Fix rendering of complex data types when doing profile rendering
***NO_CI***
2024-10-14 05:18:21 +00:00
markiantorno a7e216e2c3 Updating version to: 6.3.32-SNAPSHOT and incrementing test cases dependency. 2024-10-10 14:35:11 +00:00
markiantorno 0388bd0835 Release: v6.3.31
## Validator Changes

* Don't send expansion to tx server if there's a compose when sending value sets
* Better handling of error messages from terminology servers
* Stop hitting VSAC server directly

## Other code changes

* Add support for $id$ in terminology tests
* Move new documentbuilderfactory calls to XMLUtils (Security)
***NO_CI***
2024-10-10 13:54:40 +00:00
dotasek 7ede053a5f Move new documentbuilderfactory calls to XMLUtils 2024-10-09 09:26:41 -04:00
markiantorno c030740d9e Updating version to: 6.3.31-SNAPSHOT and incrementing test cases dependency. 2024-10-08 15:52:36 +00:00
markiantorno ad0af19fb3 Release: v6.3.30
## Validator Changes

* Show message ids in validator (-show-message--ids)
* Fix bug where message id not showing for slicing messages
* Add advisor documentation (not yet functional)
* Fix issue checking package currency for #current packages
* Add warning when code system is marked complete but has no content
* Fix bug processing adding discriminators in derived profiles
* Break valueset concept validation into multiple smaller batches for performance reasons

## Other code changes

* More work on translations in IGs
* Override inheritance of HAPI's old maven-compiler-plugin
* do not use loadPackageFromCacheOnly from outside cache manager
* Fix issues with rendering example scenario
* refactor sql view validation to fix NPE
* Fix misc warnings flagged by builds (#1772) + TRIVY typo
* Bump codeql actions to v3
* Bump checkout action to v4
* Bump commons.io to 2.14.0 (#1771)
* Workaround for ghcr rate limiting of trivy db downloads (#1770)
* Add VSACfinder (template for package analysis)
* Fix github urls
* Spelling fixes
***NO_CI***
2024-10-08 15:04:29 +00:00
markiantorno e8a0bba072 Updating version to: 6.3.30-SNAPSHOT and incrementing test cases dependency. 2024-09-26 12:30:18 +00:00
markiantorno 53ec745184 Release: v6.3.29
## Validator Changes

* remove spurious logging statement

## Other code changes

* no changes
***NO_CI***
2024-09-26 11:44:41 +00:00
markiantorno 8358354d2f Updating version to: 6.3.29-SNAPSHOT and incrementing test cases dependency. 2024-09-25 21:46:09 +00:00
markiantorno 569fe4b697 Release: v6.3.28
## Validator Changes

* Validator supports R6 from now on (using last stable release)
* Set default language to tag not display
* Handle tx server issues better
* Do not use server piecemeal when validating complex value sets
* Add support for -txCache parameter

## Other code changes

* Add support for R6 to R4 version enumeration
* Fix SCT link to include version and point to the right place
* Add response time to tx log
* Allow for code to turn off use of cache-id on tx interface (for debugging)
* Support n/a for tx cache folder
* Update tx cache for tests
* Add more logging for too costly validation
* Fix xml annotation suppression
***NO_CI***
2024-09-25 21:01:00 +00:00
Grahame Grieve 004d367340 fix tests 2024-09-24 22:27:50 -04:00
Grahame Grieve a1f014730e Add response time to tx log 2024-09-24 20:25:02 -04:00
markiantorno be8944ab94 Updating version to: 6.3.28-SNAPSHOT and incrementing test cases dependency. 2024-09-22 18:36:30 +00:00
markiantorno 102e755283 Release: v6.3.27
## Validator Changes

* Work around problem with language value set being marked experimental
* Fix validation id/idref to resolve in document if in a document
* Fix various issues rendering and validating additional bindings with usage contexts
* Upgrade lock management in Package Cache

## Other code changes

* Fix case typo on Consent.provision in R4
* Fix R3 Quantity.copyValues()
* Remove debugging code
* Add more debugging to validation failure
* Add support for active only to VSAC importer
* Add r4b support to Package Version Generation
* Fix argument confusion in format in time validation
* Added support for tracking whether elements are ellipsed and for rendering accordingly
***NO_CI***
2024-09-22 17:51:33 +00:00
Grahame Grieve 69525144f3 #1723 fix R3 Quantity.copyValues() 2024-09-18 14:07:09 +10:00
markiantorno f3bd5b9be8 Updating version to: 6.3.27-SNAPSHOT and incrementing test cases dependency. 2024-09-17 22:00:24 +00:00
markiantorno 46affee48f Release: v6.3.26
## Validator Changes

* Validate of experimental property on bindings
* Add -no-experimental-content flag
* Allow JSON named extensions to be structure types other than logical
* Process relative URLs properly in base when generating snapshots

## Other code changes

* Fix rendering path for value set references for kindling
* refactor error handling in ProfileUtilities
* Fix for NPE processing packages
***NO_CI***
2024-09-17 21:09:53 +00:00
markiantorno 4af3deff26 Updating version to: 6.3.26-SNAPSHOT and incrementing test cases dependency. 2024-09-11 18:28:22 +00:00
markiantorno f09bc48f7d Release: v6.3.25
## Validator Changes

* no changes

## Other code changes

* Fix logic for cache clearing on package cache initialization
***NO_CI***
2024-09-11 17:40:08 +00:00
markiantorno 2c8122a42e Updating version to: 6.3.25-SNAPSHOT and incrementing test cases dependency. 2024-09-09 19:09:24 +00:00
markiantorno 813f8200a2 Release: v6.3.24
## Validator Changes

* Fix expression for con-3 properly (fix validation problem on some condition resources)
* Fix FHIRPath bug using wrong type on simple elements when checking FHIRPath types
* FHIRPath: Allow _ in constant names (per FHIRPath spec)
* Fix value set rendering creating wrong references
* Fix bug processing value set includes / excludes that are just value sets (no system value)
* Alter processing of unknown code systems per discussion at ,https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Don't.20error.20when.20you.20can't.20find.20code.20system and implement unknown-codesystems-cause-errors
* Improve message for when elements are out of order in profile differentials

## Other code changes

* fix problem where profile rendering had spurious 'slices for' nodes everywhere
* Update SQL-On-FHIR implementation for latest cases, and clone test cases to general test care repository
* Fix problem generating value set spreadsheets
* fix concurrent modification error processing language translations
* Check for null fetcher processing ConceptMaps (#1728)
***NO_CI***
2024-09-09 18:23:37 +00:00
markiantorno 19c8b17575 Updating version to: 6.3.24-SNAPSHOT and incrementing test cases dependency. 2024-08-28 18:45:30 +00:00
markiantorno 2721ebb8c6 Release: v6.3.23
## Validator Changes

* no changes

## Other code changes

* Set fhir-test-cases to release 1.5.20
***NO_CI***
2024-08-28 17:59:21 +00:00
markiantorno 1e5cb4da49 Updating version to: 6.3.23-SNAPSHOT and incrementing test cases dependency. 2024-08-27 21:23:55 +00:00
markiantorno 0bdba83faf Release: v6.3.22
## Validator Changes

* no changes

## Other code changes

* BugFix: Restore loadFromFolder method in FilesystemPackageCacheManager
***NO_CI***
2024-08-27 20:30:39 +00:00
markiantorno c172df802d Updating version to: 6.3.22-SNAPSHOT and incrementing test cases dependency. 2024-08-27 17:54:17 +00:00
markiantorno c92ee550c0 Release: v6.3.21
## Validator Changes

* Security Fix: Move all instantiation of transformerFactory to XMLUtils and set ACCESS_EXTERNAL flags automatically (slightly improvement to output message, but closes possible attack vector)
* Handle 308 redirects when fetching packages
* Fix NPE in ValueSetValidator
* Fix for NPE in IGLoader
* fix version conversion problem for ConceptMap (4<->5): relationship comment getting lost for noMap entries
* Add check for multiple WG extensions (HL7 context)

## Other code changes

* Suppress spurious logging statement
* Add Australian CDA name prefix & uri to mapping transform code
* Add new messages for tx.fhir.org
* Remove narrative from snapshot tests
* Improve complex extension rendering when rendering by profile
* Rewrite processing of map statements when generating snapshots to fix known bugs
* Updates to Capability Statement rendering (and minor Operation Definition rendering improvement)
* Fix wrong reference to CDA classes for unscoped class names
* fix rendering issue for R4 relationship codes in ConceptMap
* rework decimal lowBoundary() and highBoundary() after discussion on Zulip, and add extensive testing
* Fix existing test case for fixed up boundary handling in FHIRPath
* Add CodeSystem fetching for selected code systems for VSAC import
* Drop to saxon 11.6 for now
* fix issue with json unicode whitespace enscaping
* get Java generator running again (though no code regenerated)
* don't escape unicode whitespace in json files
* Fix NPE in questionnaire renderer
* Hack workaround for R4 issue with ProcessPriority
* Rewrite concurrency management for file system package cache
***NO_CI***
2024-08-27 16:42:13 +00:00
dotasek 60470b1a28 Move all instantiation of transformerFactory to XMLUtils
and set ACCESS_EXTERNAL flags automatically
2024-08-16 10:34:50 -04:00
markiantorno fe2a8e6d11 Updating version to: 6.3.21-SNAPSHOT and incrementing test cases dependency. 2024-08-13 17:31:22 +00:00
markiantorno 1800948c7a Release: v6.3.20
## Validator Changes

* Improved handling of display validation for various languages
* fix xml:space message after discussion on Zulip

## Other code changes

* ValueSet rendering improvements
* Add isUnknownLocalReferencesNotLinks to RenderingContext
* Fix up conceptMap rendering (remove spurious summary table)
* Add R6 ballot 2 to FHIRVersion enum in R5
* rendering fixes for implementers
* improve rendering of bindings with no value sets
***NO_CI***
2024-08-13 16:46:00 +00:00
markiantorno e6e4efa540 Updating version to: 6.3.20-SNAPSHOT and incrementing test cases dependency. 2024-08-04 15:24:42 +00:00
markiantorno aac96cf897 Release: v6.3.19
## Validator Changes

* Improve performance of supplement processing
* Add support for validating xml:space
* Fix NPE validating maps
* Fix duplicate removal code that caused missed WARNING messages (#1698)
* Fix interaction between terminology cache and validation location  (#1700)
* Better concept map validation
* Improved base64 parsing error
* Add support for unknown code system version validating concept maps
* Fix bug using wrong profile when profiling recursive properties

## Other code changes

* Return null for all toCode enum params that are null
* fix bugs adding publishing WG in element mode
* Fix equality method that caused missed WARNING messages
* fix rendering issues
  * rendering fixes for R6 build
  * don't throw error for wrong rendering mode
  * Document rendering fixes - subject and section
  * more work on forcing valid html generation
  * more hyperlink validation improvements
  * further fixes to link validation
  * fix list inside paragraph
  * fix actor capabilities in wrong place
  * Support missing datatypes
  * Fill out missing anchors
  * Fix wrong handling of contained resources)
  * #1678 - add div to children when exploring Narrative
***NO_CI***
2024-08-04 14:35:44 +00:00
Grahame Grieve 714b0a0fd4 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-25 17:30:17 +08:00
Grahame Grieve 7ba860c4ed fix rendering issues (list inside paragraph, actor capabilities in wrong place, missing datatypes, missing anchors, wrong handling of contained resources) 2024-07-25 17:00:42 +08:00
dotasek ea0a158ae8 Return null for all toCode enum params that are Enum.NULL (dstu3) 2024-07-19 11:39:46 -04:00
markiantorno 0b10290f0f Updating version to: 6.3.19-SNAPSHOT and incrementing test cases dependency. 2024-07-17 06:14:05 +00:00