Commit Graph

1506 Commits

Author SHA1 Message Date
hl7-devops 35c43456b1 Updating version to: 6.4.5-SNAPSHOT and incrementing test cases dependency. 2024-11-22 14:50:01 +00:00
hl7-devops 7195a6ff10 Release: v6.4.4
## Validator Changes

* fix pattern discriminator validation rule

## Other code changes

* no changes
***NO_CI***
2024-11-21 23:36:21 +00:00
Grahame Grieve 5256154b75 set up release 2024-11-22 09:57:34 +11:00
hl7-devops 48821e4202 Updating version to: 6.4.4-SNAPSHOT and incrementing test cases dependency. 2024-11-21 17:03:30 +00:00
hl7-devops 22cfc6c28e Release: v6.4.3
## Validator Changes

* fix value set validation on import validation to find external value sets
* Fix terminology tester for change to language header
* Adjust wording of R5 slicing check
* Sort entries in error message about profiles to make the order reproducible

## Security Issues

* Automate testing for XMLUtils factory methods

## Other code changes

* update language files and add french
* make HTA messages translatable
* new release - pubpack
* NPE fixes
* suppress Json resourceType property in some logical models
* Fix missing isModifierReason on modifier extensions
* fix bug converting NamingSystem.url between versions
* Fix IG dependsOn.reason conversion
* fix code generation for enums
* Whitespace formatting and support for complex extensions
***NO_CI***
2024-11-21 16:34:08 +00:00
dotasek 51b8ecf417 Bump to test case release 2024-11-21 10:03:18 -05:00
Grahame Grieve ed117dd8e5 updates 2024-11-21 20:38:06 +11:00
hl7-devops ba678453b8 Updating version to: 6.4.3-SNAPSHOT and incrementing test cases dependency. 2024-11-19 17:42:15 +00:00
hl7-devops 5d60270e5f Release: v6.4.2
## Validator Changes

* Suppress error in v6.1.0 of THO
* Fix NPE for Ontoserver tests?
* make HL7 WG validation rule publication dependent
* Fix for illegal names in profiles when code generating
* Handle search syntax in value set filter

## Other code changes

* Apply noTerminologyTests inside terminology resource validation
* Add support for validator session for internal cache management
* Support ViewDefinition as a custom resource
* refactor UserData names to use constants and expose user data through ResourceWrapper
* Add GEM path to fhir-settings.json for Jekyll on some systems
***NO_CI***
2024-11-19 17:15:08 +00:00
dotasek.dev e1b626f1ed Bump to fhir test cases 1.6.6 2024-11-19 09:37:23 -05:00
dotasek 52bc843ce2
Update pom.xml 2024-11-13 15:59:33 -05:00
hl7-devops 0733e323bb Updating test case dependency to v1.6.5
***NO_CI***
2024-11-13 19:37:19 +00:00
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 9804b1fd7d
Bump test cases to release 1.6.4 (#1807) 2024-11-12 10:20:15 -05: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
dotasek 0ebf628bec
Fix expected generated code (#1793)
* Fix expected generated code

* Update PECodeGenerator.java

---------

Co-authored-by: Jens Kristian Villadsen <jenskristianvilladsen@gmail.com>
2024-10-29 10:21:53 -04: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 5ec1e3e15f setup release 2024-10-24 23:12:14 +10:30
Grahame Grieve 5a4f794add Merge remote-tracking branch 'origin/master' 2024-10-23 23:34:39 +10:30
Grahame Grieve 8bc1f493c0 upgrade minor version 2024-10-22 20:56:19 +10:30
Jens Kristian Villadsen b5a94e0f34
Adding missing lombok anntation (cannot build without it from scratch) (#1785) 2024-10-21 09:46:39 -04:00
dotasek e983cf1e8e
Update test cases to latest snapshot 2024-10-18 10:20:21 -04:00
dotasek d0bbc93c32
Add commons-lang3 to support commons-compress bump (#1784) 2024-10-18 00:38:24 -04:00
dotasek d94d49d25b Bump commons-compress 2024-10-17 13:05:11 -04:00
Grahame Grieve ef800e372f Fix bug evaluating resolve() in contained resources when doing slicing 2024-10-15 07:51:23 +08: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
Grahame Grieve 85f58655d1 set up release 2024-10-14 12:49:05 +08:00
Grahame Grieve 56965820ea Add support for -advisor-file, and -clear-tx-cache 2024-10-13 22:40:17 +08: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
Mark Iantorno 15ab689547 Updating test case dependency to v1.5.26
***NO_CI***
2024-10-10 13:13:41 +00:00
Grahame Grieve fd34048c81 test case version bump 2024-10-09 23:10:51 +08: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
dotasek.dev cca1c650ab Bump to release version of fhir-test-cases 2024-10-08 09:45:57 -04:00
dotasek 9c4f9eb2f5
Bump commons.io to 2.14.0 (#1771)
* Bump commons.io

* One more bump
2024-10-07 14:57:41 -04:00
dotasek 093fbbc0f3
maven-compiler-plugin maintenance (#1731)
* Override inheritance of HAPI's old maven-compiler-plugin

and stop using deprecated forceJavacCompilerUse

* Take checkstyle plugin out of default build

* Use less for initial JVM opts (maybe forked compilers will need this)

* Try on a mac?

* Report free space, add MAVEN_OPTS

* No MAVEN_OPTS?

* Back to ubuntu

* Try some compiler args and max mem

* Try some MaxRamPercentage on surefire too

* Try 75.0 MaxRamPercentage

* 60?

* Update surefire version, even less Xmx

* Revert I18nBase style fix (get tests to pass, apply later)

* Now that memory is less of an issue, try checkstyle again

* Fix missing single quote

* Try 50% of 7G for Xmx
2024-10-07 11:01:08 -04:00
Grahame Grieve 6890349be2 spelling fixes 2024-09-30 08:33:02 +10: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
dotasek eeb92b069a Bump test cases for release 2024-09-25 15:48:13 -04:00