Commit Graph

1646 Commits

Author SHA1 Message Date
Grahame Grieve 4a79e89f62 Merge remote-tracking branch 'origin/master' 2023-02-01 14:49:19 +11:00
Grahame Grieve 2cc8ff5e23 extension related validation fixes 2023-02-01 14:49:14 +11:00
Neelima Karipineni 61e63b128a
Enhancements to StructureMap transform to support logical models as source and value set lookup (#1092)
* implement resolveValueSet from AHDIS Matchbox

* get SD from map source type, set logical model

* test for getSourceResourceFromStructureMap DefinitionException

* test resolveValueSet

* test transform logical source

* fix formatting
2023-01-31 16:56:02 -05:00
Grahame Grieve 08ed54fd35 Rework Package API to allow for authentication on package servers 2023-01-31 10:32:21 +11:00
Grahame Grieve bda3a74b40 handle R3 encoding of primitive values when validating profiles 2023-01-31 07:23:33 +11:00
dotasek f5f03442aa Better error description 2023-01-27 11:22:37 -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 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11: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 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +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
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
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve bb60a338d6 fix 2022-12-17 07:13:49 +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 8afc08b6aa test case fixes 2022-12-16 09:27:38 +11: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 d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
markiantorno 0e619971c4 Updating version to: 5.6.87-SNAPSHOT and incrementing test cases dependency. 2022-12-12 20:14:04 +00:00
markiantorno bbf74e6f91 Release: v5.6.86
## 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
***NO_CI***
2022-12-12 19:56:58 +00:00
dotasek e8747aa001
Use ig for missed {1} param (#1031)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-12 13:41:59 -05:00
markiantorno 915d5e89b7 Updating version to: 5.6.86-SNAPSHOT and incrementing test cases dependency. 2022-12-09 18:40:17 +00:00
markiantorno c01a9444a4 Release: v5.6.85
## Validator Changes

* Change rules around Document and Link Message validation (see [Jira](https://jira.hl7.org/browse/FHIR-39502) and [Zulip](https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Entry.20isn't.20reachable.20by.20traversing.20from.20first.20Bundle.20entry) for details)
* Allow https://example in questionnaire example links

## Other code changes

* Rendering Improvements for deprecated codes Including deprecation reason
* Add Accept header fetching JSON
* Fix version comparison bug
* Fixes for producing profile summary in IGs
* Add contents to .index.json and bump to v2
* Fix stated package & version in alternate versions packages
* Refactor ProfileUtilities.generateSnapshot
* Fix bug in XHTML generation around empty tags
* Fix NPE appending slashes
* Fix rendering timing to not use a specific verb
* Fix R2 - RX ValueSet convertor for Code Systems
***NO_CI***
2022-12-09 18:23:37 +00:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 7f35843440 all-profiles related fixes 2022-12-06 16:22:08 +11:00
Grahame Grieve 037b615bfc allow https://example... in questionnaires as example links 2022-12-05 13:41:50 +11:00
markiantorno 7966deb05c Updating version to: 5.6.85-SNAPSHOT and incrementing test cases dependency. 2022-12-01 05:52:06 +00:00
markiantorno b0d3dae149 Release: v5.6.84
## Validator Changes

* Perform canonical resolution using package dependencies even for version specific references (workaround for VSAC bad behaviour)

## Other code changes

* Fix conversion between R3 andR4/R5 for Immunization.notGiven
* Fix parameter handling for tx server responses
* Add cast support for more types in FML implementation
* Fixes to GQL Schema generation
***NO_CI***
2022-12-01 05:35:31 +00:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
markiantorno 19e957ef53 Updating version to: 5.6.84-SNAPSHOT and incrementing test cases dependency. 2022-11-29 23:46:32 +00:00
markiantorno b939b33040 Release: v5.6.83
## Validator Changes

* no changes

## Other code changes

* Update FHIR test cases to released version
***NO_CI***
2022-11-29 23:29:15 +00:00
markiantorno ab00f53ee7 Updating version to: 5.6.83-SNAPSHOT and incrementing test cases dependency. 2022-11-29 18:22:35 +00:00
markiantorno b11bf21f9b Release: v5.6.82
## Validator Changes

* no changes

## Other code changes

* Fix Turtle generation
***NO_CI***
2022-11-29 18:05:15 +00:00
markiantorno 63f905d184 Updating version to: 5.6.82-SNAPSHOT and incrementing test cases dependency. 2022-11-28 18:44:16 +00:00
markiantorno 2715d811dc Release: v5.6.81
## Validator Changes

* Avoid repeated R5 Extension loading in ValidatorService
* Fix problems validating logical models
* Fix `-locale` parameter functionality
* Add Spanish internationalization phrases

## Other code changes

* ProfileUtilities: Provide Standards Status in tree view
* JSONParser: numerous r4b/r5 speed improvements and fixes
* FHIRPathEngine: Catch exceptions resolving references in r5
* Handle null source and target in ConceptMap conversions
* Provide consistent rendering of comments in examples in IGs
* Preparations for changes to IG Publisher narrative generation
* Fix for Identifier.use conversion in dstu3
***NO_CI***
2022-11-28 18:23:09 +00:00
Grahame Grieve 4cda6dd998 Don't double load R5 2022-11-28 12:27:57 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00