Commit Graph

1459 Commits

Author SHA1 Message Date
Grahame Grieve 1d4f1e9d90 fix bug with duplicate value in getResourceNames() 2023-02-06 05:38:02 +11:00
markiantorno b3cebe7bc6 Updating version to: 5.6.96-SNAPSHOT and incrementing test cases dependency. 2023-02-03 20:09:35 +00:00
markiantorno 1696b56b50 Release: v5.6.95
## Validator Changes

* Fixes for FHIRPath as() operator in r4 and r5

## Other code changes

* no changes
***NO_CI***
2023-02-03 19:45:12 +00:00
markiantorno ea41a8b6a6 Updating version to: 5.6.95-SNAPSHOT and incrementing test cases dependency. 2023-02-02 17:07:22 +00:00
markiantorno 67329e20ad Release: v5.6.94
## Validator Changes

* no changes

## Other code changes

* Test release
***NO_CI***
2023-02-02 16:34:58 +00:00
markiantorno e922cc2a97 Updating version to: 5.6.94-SNAPSHOT and incrementing test cases dependency. 2023-02-01 07:27:59 +00:00
markiantorno 4e97bb0d5a Release: v5.6.93
## Validator Changes

* Fix for NPE rendering resources
* Consider CanonicalResource to be a CanonicalResource when validating profile references
* Work around error in R5 sdf-29 invariant

## Other code changes

* XHTML processing: Cater for "." in XML element and attribute names
* Handle R3 encoding of primitive values when validating profiles
* Improve error messaging when validating StructureDefinition
* Temporary Support for MedicationStatement in R5
* Work around for Identifier.use = ? in THO R5 package (old error)
* Rework Package API to allow for authentication on package servers
* Structure mapping now finds source Structure Definition by URI and sets ParserBase logical property appropriately.
* DOn't convert ig-r4 when converting package versions
***NO_CI***
2023-02-01 07:02:20 +00:00
Grahame Grieve 08ed54fd35 Rework Package API to allow for authentication on package servers 2023-01-31 10:32:21 +11:00
Grahame Grieve 4ab03c5c93 cater for "." in XML element and attribute names 2023-01-31 07:23:52 +11:00
dotasek cca38587ce
Cleanup jetbrains annotations (#1090)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-23 18:27:47 -05:00
markiantorno cb441456a8 Updating version to: 5.6.93-SNAPSHOT and incrementing test cases dependency. 2023-01-20 23:14:26 +00:00
markiantorno dc677cad51 Release: v5.6.92
## Validator Changes

* update FHIRPath implementation for corrections to 'as' (R5 only in validator)
* Critical Security fix: enforce correct paths when unpacking archives (SecurityAdvisory-1082, CVE TBA)

## Other code changes

* Update to latest FHIRPath for older versions
* Add new ElementModel based parser for StructureMaps
* go-publish related changes
* FTP Client upload and logging improvements
* Refactor base64 handling for Android compatibility

## Security Note

The validator unzips archive files to the local file system when
it is scanning zip files it has been asked to validate, and when it is
installing packages. These processes are now resistant to the zip-slip
vulnerability.
***NO_CI***
2023-01-20 22:57:29 +00:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve f8e6371e1f
Merge branch 'master' into gg-202301-sm-errors 2023-01-20 19:44:24 +11:00
Grahame Grieve 68b36d3cb5 go-publish related changes 2023-01-20 11:23:17 +11:00
dotasek f58b7acfb5
Swaps isBase64 with internal implementation for Android compatibility (#1079)
* Adding animal sniffer to display all issues related to android compatibility.

* Duplicate isBase64 internally

Co-authored-by: Vitor Pamplona <vitor@vitorpamplona.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-18 18:40:24 -05:00
dotasek 885e55352f
FTPClient: upload file path creation, logging, and improved default path (#1078)
* More logging of errors.

* WIP create path for file to upload.

* WIP Tests

* More tests

* Improved logging and path fixes

* Clean up imports

* Rename test

* add testing code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-01-18 12:42:59 -05:00
markiantorno 4367813a2c Updating version to: 5.6.92-SNAPSHOT and incrementing test cases dependency. 2023-01-17 21:59:38 +00:00
markiantorno 7b22d0355b Release: v5.6.91
## Validator Changes

* Fixed validation of URNs
* Check profiles don't have slicing on roof

## Other code changes

* Fix significant performance issue with profile xls generation
* Fix issue with setProperty dropping extensions in R3 - R5
* Debug logging improvements generating snapshots
* Fix issues with types missing in CDA IGs
* Fix problem converting ActivityDefinition R4(B)/R5
* More work on FTP Client
***NO_CI***
2023-01-17 21:40:28 +00:00
Grahame Grieve 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
Grahame Grieve a61d860ddb FTP passive mode 2023-01-16 22:13:38 +11:00
markiantorno c52777c462 Updating version to: 5.6.91-SNAPSHOT and incrementing test cases dependency. 2023-01-14 06:35:33 +00:00
markiantorno ac16aae300 Release: v5.6.90
## Validator Changes

* Better tracking and reporting of snapshot generation issues
* Update FHIRPath implementation to R4 with all corrections and extensions from R5 implemnetation

## Other code changes

* Inclusion of SAXON dependency for processing XSLT
* Error message spacing correction
* Basic FTPClient implementation
* test NPE in markdown processing
* go-publish support
* Start implementing loading structure maps with validation
***NO_CI***
2023-01-14 06:17:06 +00:00
Grahame Grieve 615ed8d63f
Update R4 FHIRPath implementation from R5, and get all tests passing (#1063)
* Update R4 FHIRPath implementation from R5, and get all tests passing

* test NPE in markdown processing

* go-publish support

* Start implementing loading structure maps with validation

* release notes

* more work on FTP

* Fix breaking test.

* Add fhir-test-cases to r4 pom to fix breaking test

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 23:08:40 -05:00
dotasek 625ecac3c8
Bump commons-net to 3.9.0 (#1070)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 22:11:51 -05:00
dotasek dc9d5d0ed1 Set file transfers to binary type, ensure file contents match 2023-01-11 13:41:43 -05:00
dotasek edf6d75551
Implement FTP Client (#1064)
* Start with tests against fake FTP

* Dummy test file

* Switch to our FTPClient, make tests break

* Implement FTPClient

* Rely on end caller to set path delimiters

* User port 8021 for tests (not protected in azure pipelines)

* Let mocks use Windows filesystem

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-09 20:06:21 -05:00
dotasek 0fd3c4af42 Merge branch 'master' into do-reintroduce-saxon-dependency 2023-01-06 17:00:40 -05:00
markiantorno b6cec730b5 Updating version to: 5.6.90-SNAPSHOT and incrementing test cases dependency. 2023-01-06 02:08:34 +00:00
markiantorno a6745a9016 Release: v5.6.89
## Validator Changes

* Add support for fhir_comments in R2/R2B
* Add validator checking around versions in extension URLs
* Fix bug generating cross-version extensions

## Other code changes

* Fix minor NPEs running IG publisher
* Add new PE module (PEDefinition/PEInstance)
* Add support for liquid filters (resolve FHIRPath conflict)
* Fix up round-tripping of XPath constraints R4/R5
* Refactor R5 ProfileUtilities (and move rendering to rendering package)
* Fix appending text when generating snapshots
***NO_CI***
2023-01-06 01:51:20 +00:00
dotasek df100a2d34 Restore saxon dependency dropped by HAPI FHIR 2023-01-05 17:11:35 -05:00
Grahame Grieve e794eca959 Changes to support upgrades to IG publisher -go-publish process 2023-01-05 08:44:45 +11:00
Grahame Grieve 19f1171962 json date handling related changes 2023-01-05 08:43:57 +11:00
Grahame Grieve db48892b66 fix failing test 2023-01-03 14:57:08 +11:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
Grahame Grieve 37844bd395 update xver dependency 2022-12-17 08:07:43 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
markiantorno aaa5c9d6a4 Updating version to: 5.6.89-SNAPSHOT and incrementing test cases dependency. 2022-12-16 01:40:27 +00:00
markiantorno a3a1e79674 Release: v5.6.88
## Validator Changes

* Remove use of .fhir/package-client cache (only use the main .fhir/package now)

## Other code changes

* Hack work around for broken template input for R5 OperationOutcome
* Fix up problems with test case consistency in R5 test cases
* Add R5-snapshot3 version enum to R4 version list
***NO_CI***
2022-12-16 01:19:52 +00:00
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +11:00
markiantorno ba67d790b8 Updating version to: 5.6.88-SNAPSHOT and incrementing test cases dependency. 2022-12-14 03:25:16 +00:00
markiantorno 6d8cd59f1e Release: v5.6.87
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
* Upgrade code to latest R5 release (Snapshot 3)
* Fix bug with version patching loading package for the first time + fix bug determining spec reference
* Add Ids to profile spreadsheets
***NO_CI***
2022-12-14 02:48:33 +00:00
Grahame Grieve 659457bb65
Merge branch 'master' into gg-202212-r5-update 2022-12-14 11:55:31 +11:00
Grahame Grieve 9aeb39671b fix to get tests passing again. If I'm lucky 2022-12-14 11:54:14 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve e9d8400a78 fix package loading bug 2022-12-14 09:09:53 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00