Commit Graph

1716 Commits

Author SHA1 Message Date
dotasek 5d6636ba8c
Bump okhttp version (#1131)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-23 11:14:50 -05:00
Grahame Grieve bae27ef706 fix validation for query references with empty parameter values 2023-02-21 16:46:27 +11:00
Grahame Grieve 76a3129b30 fix validation of conditional references 2023-02-20 23:48:16 +11:00
markiantorno 9c768415f2 Updating version to: 5.6.99-SNAPSHOT and incrementing test cases dependency. 2023-02-15 10:37:45 +00:00
markiantorno 7ec74d0321 Release: v5.6.98
## Validator Changes

* Fix bug checking canonical URLs in bundles with dashes in them
* Fix extension messages (modifier and normal messages reversed)
* Change how error location paths are reported in bundles for easier resolution (no counting!)
* fix bugs checking whether binding is allowed in corner cases

## Other code changes

* Rendering Improvements: Additional Bindings, Search Parameters, Operation Definitions
* FHIRPath implementations for comparable(), highBoundary(), lowBoundary()
* Fix list of canonical resources from VersionUtilities
* Fix bug parsing html entities in XHTML parser
* Rename extension to http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile
***NO_CI***
2023-02-15 10:13:36 +00:00
Grahame Grieve 26f7b3a803 FHIR-38789 SD_Dependencies extension needs work 2023-02-15 12:12:28 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Grahame Grieve 3a427385c5 FHIR QA driven changes 2023-02-12 17:53:41 +11:00
oliveregger 8b5e93dc8d if choice is only value don't add type 2023-02-07 17:36:56 +01:00
markiantorno 97604fdff5 Updating version to: 5.6.98-SNAPSHOT and incrementing test cases dependency. 2023-02-07 12:55:19 +00:00
markiantorno c91376f3b9 Release: v5.6.97
## Validator Changes

* no changes

## Other code changes

* Fix for Extensions moving in R5
***NO_CI***
2023-02-07 12:28:44 +00:00
Grahame Grieve 237670fa24 release 2023-02-07 14:18:12 +10:00
markiantorno eec7c33e63 Updating version to: 5.6.97-SNAPSHOT and incrementing test cases dependency. 2023-02-05 21:04:53 +00:00
markiantorno 729e7afb33 Release: v5.6.96
## Validator Changes

* no changes

## Other code changes

* Fix bug with duplicate value in getResourceNames()
***NO_CI***
2023-02-05 20:42:24 +00: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 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
Grahame Grieve 363a95bb8a more replacing json library 2022-11-25 22:37:43 -03:00
Grahame Grieve 59199075b9
Merge pull request #1003 from hapifhir/gg-202211-json
Gg 202211 json
2022-11-24 19:33:30 -03:00
Grahame Grieve 1617315ed8 minor improvements to validator message 2022-11-24 17:58:15 -03:00
Hank Yang 8e5ad3a693
Fixed -locale parameter for validatorcli (#1002)
* "Added Failing Tests"

* Added Failing Tests

* Failing Tests

* Fixed locale param for validatorcli
2022-11-23 16:02:37 -05:00
markiantorno 01d212afac Updating version to: 5.6.81-SNAPSHOT and incrementing test cases dependency. 2022-11-22 14:28:51 +00:00
markiantorno 3ab720a6af Release: v5.6.80
## Validator Changes

* Improved Loading speed (20% reduction)
* Fix issue handling path on content references on deeply nested content

## Other code changes

* Fix rendering issue when reference.reference missing
* Add rule date to validation messages so new rules can be highlighted
***NO_CI***
2022-11-22 14:05:59 +00:00
Grahame Grieve 4630b86476 More rule dates 2022-11-22 06:45:35 -03:00
Grahame Grieve 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -03:00
Grahame Grieve ed5930b68d fix loading resource types 2022-11-21 22:35:01 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
markiantorno cc842bc114 Updating version to: 5.6.80-SNAPSHOT and incrementing test cases dependency. 2022-11-20 19:32:31 +00:00
markiantorno ee7ba71b29 Release: v5.6.79
## Validator Changes

* no changes

## Other code changes

* fix references to LOINC codes in generated narrative
***NO_CI***
2022-11-20 18:59:55 +00:00
markiantorno d7d93b486b Updating version to: 5.6.79-SNAPSHOT and incrementing test cases dependency. 2022-11-17 21:34:46 +00:00
markiantorno 14a8c388fd Release: v5.6.78
## Validator Changes

* Validate HTML entities in XHTML in resources

## Other code changes

* Stop producing XHTML entities in resources when rendering
***NO_CI***
2022-11-17 21:15:59 +00:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
markiantorno bb8775bfdb Updating version to: 5.6.78-SNAPSHOT and incrementing test cases dependency. 2022-11-16 22:55:59 +00:00
markiantorno 41ffa42dc6 Release: v5.6.77
## Validator Changes

* Minor fix to jurisdiction output (+ handle case where JVM has no locale)
* Add support for extensions parameter
* Make all error messages include version of underlying resource if available
* Accept display for code from ValueSet CLD if no code system available
* Various minor improvements to error messages

## Other code changes

* Minor clean up in test cases
* Fix up i18n support to handle pluralization properly
* Refactor resource narrative generation rules (GenerationRules.X)
* Display resource type in generated narrative
* Add support for generating R4 and R4B packages
* Add support for generating XVer packages
***NO_CI***
2022-11-16 22:38:33 +00:00
Grahame Grieve 47443acaf3 prepare release 2022-11-16 18:36:02 -03:00
Grahame Grieve 24656a20fa typo fix in name 2022-11-15 18:13:45 +11:00
dotasek d724d48f89
Do remove excluded tests 2 (#988)
* WIP remove excluded tests + disable breaking test

* Fix failing test, document test cases.

* Code cleanup

The following are cherry picked from GG branch:

* Fix problem with value set validator hiding errors

* Fix issue rendering resource by name

* fix error location

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-14 13:30:26 -05:00
dotasek 220cf6b531
Remove excluded tests (#984)
* Fix failing test, document test cases.

* Code cleanup

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-14 09:30:43 -05:00
Grahame Grieve db643e8eca fix typo 2022-11-10 10:00:26 +11:00
Grahame Grieve 21b0577249 track hint about code validation 2022-11-10 05:16:10 +11:00
Grahame Grieve 96218a5ce4 refactor resource narrative generation rules 2022-11-10 05:14:59 +11:00
Grahame Grieve a090055fd3
Merge branch 'master' into gg-202211-vs-errors 2022-11-08 09:47:07 +11:00
Grahame Grieve c86d9ee613
Merge pull request #964 from hapifhir/do-i18n-plurals
Internationalization Pluralization
2022-11-08 09:44:23 +11:00
Grahame Grieve 8f0dd5e82d Note about missing locale 2022-11-08 09:37:36 +11:00
Grahame Grieve 19e97c857b Make references to canonical resources in error messages version specific 2022-11-08 09:37:26 +11:00
dotasek 11c369ea09 Remove all _PLURAL labels from constants 2022-11-07 16:52:47 -05:00
dotasek 183f9ecfd2 Remove _PLURAL labels from keys 2022-11-07 16:39:40 -05:00