Commit Graph

3661 Commits

Author SHA1 Message Date
Grahame Grieve ce0f4a2700 Merge remote-tracking branch 'origin/master' 2024-11-22 09:24:13 +11:00
Grahame Grieve ffbbc498f7 Fix issue with pattern test :-( 2024-11-22 09:24:04 +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
Grahame Grieve 284c0e5335 NPE fixes 2024-11-21 20:36:18 +11:00
Grahame Grieve 4f99754e75 suppress Json resourceType property in some logical models 2024-11-21 20:35:57 +11:00
Grahame Grieve fc8152c717 Fix missing isModifierReason on modifier extensions 2024-11-21 20:34:13 +11:00
Grahame Grieve a7d0b645dc fix code generation for enums 2024-11-20 12:14:52 +11:00
Grahame Grieve 2d59c27418
Merge pull request #1817 from jkiddo/patch-6
Update PECodeGenerator.java
2024-11-20 11:12:47 +11:00
Jens Kristian Villadsen 4ee6bb4552 Fix for R5 2024-11-19 19:25:00 +01: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
Grahame Grieve ed00484879
Merge pull request #1816 from hapifhir/2024-11-gg-npe-fixes
2024 11 gg npe fixes
2024-11-19 14:53:07 +11:00
Grahame Grieve 711eae48e0
Merge pull request #1795 from brianpos/BP-fhirpath-tostring
fhirpath `tostring` implementation fix
2024-11-19 13:19:55 +11:00
Grahame Grieve a0b87c7947 apply noTerminologyTests inside terminology resources 2024-11-19 12:46:48 +11:00
Grahame Grieve 1321ae421e Fix for illegal names in profiles when code generating 2024-11-19 07:42:18 +11:00
Grahame Grieve 2c47234f27 Auto stash before merge of "master" and "origin/master" 2024-11-18 17:36:59 +11:00
Grahame Grieve 0843ce7f49 Merge remote-tracking branch 'origin/master' 2024-11-16 21:22:40 +11:00
Grahame Grieve 65133a76f6 support for custom resources 2024-11-16 21:21:53 +11:00
Grahame Grieve 39bcaa05df fix broken link for custom resources 2024-11-16 21:21:37 +11:00
Grahame Grieve 05cc3b47da Add support for validator session for internal cache management 2024-11-16 21:18:07 +11:00
Grahame Grieve ce06b3f9c5 refactor UserDataNames round 2 2024-11-16 21:16:36 +11:00
Grahame Grieve 3873d56764 Support ViewDefinition as a custom resource 2024-11-16 21:15:42 +11:00
Grahame Grieve c38420a280 expose user data through ResourceWrapper 2024-11-16 21:14:57 +11:00
Grahame Grieve 356661eef0 Implementation for ViewDefinition as custom resource 2024-11-14 22:51:13 +10:30
Grahame Grieve a5c23e119c expose User data through ResourceWrapper interface 2024-11-14 22:50:40 +10:30
Grahame Grieve 4f61f6f29e refactor UserData names to use constants 2024-11-14 22:50:20 +10:30
dotasek b0b79cd779 Don't return a mutable object in getClientHeaders 2024-11-13 17:20:11 -05: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
Grahame Grieve 8a831a9e45 Start testing metadata in tx tests, and consequent bugs and library upgrades for that (patternMode in ComparisonUtilities) 2024-11-12 13:24:09 +10:30
dotasek 5cbb45abec Allow ManagedWebAccess to fetch specific server types for auth 2024-11-11 14:35:06 -05:00
dotasek 4ee4a89a76 Fix refactor misses 2024-11-11 11:06:09 -05:00
dotasek 4c5c71411b
Merge branch 'master' into 2024-11-gg-web-mode2 2024-11-09 11:19:10 -05:00
Grahame Grieve 60acdd0b88 Add mode to web access 2024-11-09 18:39:12 +10:30
Grahame Grieve 275df1aba6
Merge branch 'master' into 2024-11-gg-slice-validation 2024-11-09 08:20:36 +10:30
Grahame Grieve 28b19212e4 Validate slice expressions where possible 2024-11-09 08:19:07 +10:30
Grahame Grieve 93a1f192f1 Fix bug where extension slices defined in other profiles are not found when processing slices based on extension 2024-11-09 08:13:58 +10:30
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 d724a27d95 Final rename 2024-11-08 14:35:36 -05:00
dotasek fb6a22c3b1 Clean up comments and JavaDoc 2024-11-08 14:29:40 -05:00
dotasek cc00bb903c Move tests to utilities. Clarify missing functionality 2024-11-08 11:26:43 -05:00
dotasek 2bbfcb8845 Resolve all deletions enclosed in FIXME + fix headers in dstu2 postfeed 2024-11-08 11:08:06 -05:00
dotasek 822f0866b4 Fix api-key token mixup, more tests 2024-11-07 18:07:23 -05:00
dotasek e9917defb0 Rename ...AccessBuilder classes to ...Accessor 2024-11-07 17:53:14 -05:00
dotasek 4592dc1a82 Tests 1 2024-11-07 17:42:32 -05:00