Commit Graph

7756 Commits

Author SHA1 Message Date
Grahame Grieve 1a2c25b531
Merge pull request #1801 from hapifhir/2024-11-gg-slice-validation
2024 11 gg slice validation
2024-11-09 18:01:00 +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
Grahame Grieve 3dd720367f
Merge pull request #1798 from hapifhir/2024-11-gg-pe-code-gen-2
2024 11 gg pe code gen 2
2024-11-07 10:45:08 +10:30
dotasek 6775a09adb Make sure codegen directory exists 2024-11-05 09:56:06 -05:00
Grahame Grieve 31764fc016 Fix to use derived element cardinality not element base cardinality when elementdefinition-json-name is present 2024-11-05 20:58:26 +10:30
Grahame Grieve 6b0175ed38 compile fixes 2024-11-05 20:57:46 +10:30
Grahame Grieve 441f7b4e47 update code generation 2024-11-05 19:19:42 +10:30
Grahame Grieve 497b502a1c compile fix 2024-11-05 10:15:40 +10:30
Grahame Grieve 478c338e10 Fix NPE in FHIRPath engine 2024-11-05 06:06:59 +10:30
Grahame Grieve ada49aee5b More json parsing improvements 2024-11-04 20:25:30 +10:30
Grahame Grieve c6e5521f4a Merge remote-tracking branch 'origin/master' 2024-11-04 17:45:58 +10:30
Grahame Grieve c06051838f
Merge pull request #1763 from alfy91/dev-fix_json_validation
fix parenthesis matching for JSON validation.
2024-11-04 17:45:46 +10:30
Grahame Grieve b76a71d337 compile fix 2024-11-04 17:31:29 +10:30
Grahame Grieve 155ac9d25e release notes 2024-11-04 17:20:05 +10:30
Grahame Grieve 6040ad950c Merge remote-tracking branch 'origin/master' 2024-11-04 17:19:42 +10:30
Grahame Grieve b493f3bb5c Fix issue not retaining extension context when checking constraint expressions in profiles 2024-11-03 07:18:04 +10:30
Grahame Grieve 2666dad534 compile fixes 2024-11-03 07:15:15 +10:30
Grahame Grieve 479b5a7527 update r4 codegen 2024-11-03 07:12:44 +10:30
Grahame Grieve adaa3fa708 improve build() signature in generated profile code 2024-11-02 22:51:08 +10:30
Grahame Grieve f8456fb767 compile fixes 2024-11-02 19:24:52 +10:30
Grahame Grieve 4112da2191 ditto 2024-11-02 19:19:37 +10:30
Grahame Grieve 8bf76f151d validate min-length when found in extension 2024-11-02 19:19:32 +10:30
Grahame Grieve a6f6bdf282 update generated code 2024-11-02 19:19:09 +10:30
Grahame Grieve 607c4fa98b Render min-length extension on profiles 2024-11-02 19:18:39 +10:30
Grahame Grieve a541971532 more work on code generation for profiles 2024-11-02 11:51:14 +10:30
Grahame Grieve 928f1a7365 compile fix 2024-11-02 07:01:25 +10:30
Grahame Grieve 4db933235a PECodeGenerator fixes 2024-11-01 23:11:45 +10:30
Grahame Grieve c2aa01c02a
Merge pull request #1782 from ahdis/oe_context
base workercontext adjustements
2024-11-01 16:27:24 +10:30
Grahame Grieve 4d61317196
Merge pull request #1796 from hapifhir/2024-11-gg-sweep
2024 11 gg sweep
2024-11-01 15:55:06 +10:30
Grahame Grieve 90b6583ac5 Update SQL on FHIR engine for changes as suggested by James 2024-11-01 08:06:51 +10:30
Grahame Grieve 509f8d46c1 update R5 engine for style fixes from R4 2024-11-01 08:06:14 +10:30
Grahame Grieve d58188748c Clone SQL on FHIR engine to R4, and update FHIRPath engine based on R5 current code 2024-11-01 08:05:43 +10:30
Grahame Grieve d883dd37c2 testing fix for R5 server change 2024-11-01 08:04:44 +10:30
Grahame Grieve a65de7b980 Correct fix for bug parsing json-property-key values 2024-11-01 08:04:28 +10:30
Grahame Grieve cdfcd3e7f2 update test case dependency 2024-10-30 21:07:41 +10:30
Grahame Grieve 8ceb1024c0 Update output from tx-tester to include release ready statement 2024-10-30 21:07:32 +10:30
Grahame Grieve 6533f2bd36 Fix rendering of Logical Models for polymorphic elements, and rendering target profiles with versions 2024-10-30 21:06:58 +10:30
Grahame Grieve 8a9039f08f Fix problem validating json key value pairs 2024-10-30 21:05:57 +10:30
Grahame Grieve 1850995465 Render contained resources in List resource 2024-10-30 21:05:22 +10:30
Grahame Grieve e8973a90d8 #1790 - Fix versionFromCanonical returns system instead and systemFromCanonical returns version 2024-10-30 21:05:03 +10:30
Grahame Grieve 1100fe2855 fix special case r5 loading of terminology to fix validation error on ExampleScenario 2024-10-30 21:04:05 +10:30
Grahame Grieve b683b0f778 fix r5 to use r5 end-point on tx.fhir.org 2024-10-30 21:03:40 +10:30
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
Vadim Peretokin cde5d86fe0
Update maven wrapper version (#1769)
* Update mvnw

* Run update command
2024-10-28 09:10:03 -04:00
Grahame Grieve c7f747519c test generated code 2024-10-28 07:33:05 +11: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