Commit Graph

1977 Commits

Author SHA1 Message Date
markiantorno 578b964cf9 Release: v5.6.100
## Major change:

* New R5 release - rebuild R5 implementation, update a lot of related code

## Validator Changes

* Load separate R5 extensions package
* Load FML directly, and validate mapping as much as possible

## Other code changes

* Fix bugs in Java R5 code generator
* Add more control at the code level over how to handle unknown profiles when generating snapshots
* Rework ConceptMap for major R5 changes
* Fix bug in CommaGeneratedStringBuilder (calling toString() multiple times duplicated content)
* handle case [reference].where(resolve() is X) when analysing types+elements in FHIRPath statements
***NO_CI***
2023-03-02 03:21:29 +00:00
Grahame Grieve 7cf15f248d update version conversions for new version of R5 2023-03-01 21:50:02 +11:00
Grahame Grieve c5d6e0f5f4 Merge remote-tracking branch 'origin/master' 2023-02-28 05:58:54 +11:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
Grahame Grieve a62c8683f2
Merge pull request #1139 from hapifhir/gg-202302-map-validation-2
Work on StructureMap validation
2023-02-27 09:14:13 +11:00
Grahame Grieve 2bd73c650e Work on StructureMap validation 2023-02-27 07:30:04 +11:00
Grahame Grieve edf5ecf275
Merge pull request #1138 from hapifhir/gg-202302-map-validation
FML validation
2023-02-25 16:41:26 +11:00
Grahame Grieve d3a407e369 FML validation 2023-02-25 14:05:03 +11:00
dotasek 76c01a98aa
Add basic checkstyle plugin config (#1122)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-02-24 15:05:49 -05:00
markiantorno e9607783da Updating version to: 5.6.100-SNAPSHOT and incrementing test cases dependency. 2023-02-23 18:15:08 +00:00
markiantorno e2185d7d5c Release: v5.6.99
## Validator Changes

* Fix validation for query references with empty parameter values
* Fix validation for conditional references

## Other code changes

* Fix resource rendering for conditional references
* Fix bug caused by changing DiagnosticReport.conclusion to markdown
* Track target types on references in FHIRPath
* Minor type checking fixes for FHIRPath
* Fix bugs in FHIRPath type checking discovered during R5 preparation
* Add standardsStatus support to core model
* Update okhttp library
* Allow HTTPS for terminology server URL
* Update table generator to suppress external links in base row and column
***NO_CI***
2023-02-23 17:50:57 +00:00
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
dotasek 10d104d2f6
Add setExtensions method (#981)
* Add setExtensions method

* Add jsonproperty for setExtensions

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-07 16:09:10 -05:00
dotasek ffec2ce1c5 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-07 09:23:36 -05:00
markiantorno 212096f228 Updating version to: 5.6.77-SNAPSHOT and incrementing test cases dependency. 2022-11-06 12:50:41 +00:00
markiantorno cc634aecd5 Release: v5.6.76
## Validator Changes

* Add support for R4B to validator (parts were missing)
* Fix bugs in Logical Model snapshot generation and validation (both instances and logical models themselves)
* Check min/max value for decimal values

## Other code changes

* Fix broken links rendering questionnaires
* Fix issue with converting ActivityDefinition.kind between R5 and R4/R4B/R3 (+ update R5 code)
* Fixes to terminology cache management for test cases
* Process relative links in markdown in code descriptions when rendering value sets
* Fix issue with contained resource not always rendering consistently
* Fix bug where Element Model paths are not populated after preforming a transform
* Fix NPE rendering invalid bundles
* refactor Paramters.getParameter helper methods
* Rendering improvements for logical models
***NO_CI***
2022-11-06 12:33:46 +00:00
Grahame Grieve c835201f36 Merge remote-tracking branch 'origin/master' 2022-11-06 10:16:22 +11:00
Grahame Grieve 4b0c42c832 Fix bug with jurisdiction locale in validator 2022-11-06 10:12:36 +11:00
Grahame Grieve d19ff2e1f6
Merge pull request #972 from hapifhir/do-terminology-cache-filewpipechar
Fix pipes in terminologyCache files
2022-11-06 07:04:58 +11:00
Grahame Grieve a6b167a94a sync 2022-11-05 11:31:06 +11:00
Grahame Grieve db8a2758c2 R4B tests 2022-11-04 23:37:58 +11:00
Grahame Grieve b43581f588 #977 Add support for R4B 2022-11-04 23:37:49 +11:00
Grahame Grieve a66bf51e5b #977 add r4b support 2022-11-04 23:37:33 +11:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
dotasek 74659e4648 Merge remote-tracking branch 'origin/master' into do-terminology-cache-filewpipechar 2022-11-03 12:51:19 -04:00
Grahame Grieve 2519858dcd update logical model snapshot generation and validation 2022-11-03 15:59:22 +11:00
dotasek 16a0a08598 Parse out canonical url version + refactor 2022-11-02 16:58:28 -04:00
dotasek 8e663f3ce9 Merge branch 'master' into do-terminology-cache-filewpipechar 2022-11-02 11:08:45 -04:00
Grahame Grieve 21837ea6d5 fix min/max decimal checks 2022-11-02 20:57:36 +11:00
Grahame Grieve ca96bbfdc4 fix bug where ElementModel paths are not populated 2022-11-02 20:55:35 +11:00
Grahame Grieve 10a876e26a
Merge pull request #968 from alexey-tschudnowsky/ISSUE-967_respect_maxValueDecimal
fixes #967
2022-11-02 14:00:54 +11:00
dotasek 64770b7630 Rename hintPL to hintPlural 2022-11-01 18:08:06 -04:00
Grahame Grieve e4b46f8692 txcache 2022-11-02 08:52:17 +11:00
dotasek 942777da11 Fix token name for code system 2022-10-31 14:27:03 -04:00
dotasek 99087f7e71 Rename RL to Plural 2022-10-31 10:59:11 -04:00
dotasek 827d088732 More renaming 2022-10-28 16:43:38 -04:00
dotasek 25ef2dca4d Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-10-28 14:54:37 -04:00
dotasek 21c2f934b8 ould_not_match_discriminator_for_slice_in_profile_PLURAL_one 2022-10-28 12:14:57 -04:00
Alexey Tschudnowsky 413f3a3543 fixes #967 2022-10-28 14:17:47 +02:00
markiantorno f0c53bd7a9 Updating version to: 5.6.76-SNAPSHOT and incrementing test cases dependency. 2022-10-28 11:57:13 +00:00
markiantorno a285132f5b Release: v5.6.75
## Validator Changes

* Fix problem determining implicit code system when code system only known to tx.fhir.org

## Other code changes

* Fix bugs generating CDSHooks snapshots
* Fix for NPE rendering Patient Photo
* Fix problem generating snapshots for specializations where inherited types have properties
* Work on i18n framework
***NO_CI***
2022-10-28 11:38:37 +00:00
dotasek 44656f7e77 Clean dirty first attempt at pluralization 2022-10-27 17:29:05 -04:00
Grahame Grieve 3e8dea22c8 fix build 2022-10-27 11:49:44 +11:00
Grahame Grieve b187d289b6 fixes for plural messages for i18n 2022-10-26 14:30:25 +11:00
markiantorno cf111ac919 Updating version to: 5.6.75-SNAPSHOT and incrementing test cases dependency. 2022-10-25 09:35:23 +00:00
markiantorno 325fd0736d Release: v5.6.74
## Validator Changes

* Improve error message for extensions without values

## Other code changes

* Add support for Requirements Resource (rendering + caching)
* Tidy up support for ActorDefinition
* Generate better summary for references
* Clean up bug checking data types in ContextUtilities
* Remove Validator dependency on GSON
* Upgrade validator to produce PSVI  for tools to make use of
***NO_CI***
2022-10-25 09:13:57 +00:00
Mark Iantorno 3010546622 Updating test case dependency to v1.1.120
***NO_CI***
2022-10-25 09:12:04 +00:00
Grahame Grieve 3759cac4c5 build fix 2022-10-25 15:42:18 +11:00
Grahame Grieve 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve c13f24ef4c clean up bug checking data types in ContextUtilities 2022-10-25 14:58:00 +11:00
Grahame Grieve a381998500 remove dependency on GSON 2022-10-25 07:27:58 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve 1c3a6ee439 upgrade validator to produce PSVI 2022-10-23 23:13:27 +11:00
markiantorno 308ca865e3 Updating version to: 5.6.74-SNAPSHOT and incrementing test cases dependency. 2022-10-21 07:25:34 +00:00
markiantorno 60022888b1 Release: v5.6.73
## Validator Changes

* Further support for validating CDSHooks content

## Other code changes

* Render period on Identifiers
* Render Tooling IG extensions in Profile table
* Fix NPE building CCDA IG
***NO_CI***
2022-10-21 06:47:50 +00:00
Grahame Grieve 41950eeb0a Updates to validator for CDS Hooks support 2022-10-21 16:25:07 +11:00
markiantorno d0b4a1c247 Updating version to: 5.6.73-SNAPSHOT and incrementing test cases dependency. 2022-10-20 07:11:05 +00:00
markiantorno 4aeac63325 Release: v5.6.72
## Validator Changes

* Improved Errors for bad resource ids
* R5 ballot: Hack around discovered issues in the ballot
* Enforce value set & code system versioning when validating codes
* Enable bulk -snapshot and -convert on multiple/wildcard -source
* Fix bug revalidating profiled abstract types

## Other code changes

* Rework validator test cases to not have inter-test dependencies (+ fix up to allow contexts to be cloned)
* add First draft of xliff production
* Add ActorDefinition conversions R5 -> R4, R4B, R3
* Add support for validating logical model json files (not surfaced in CLI yet)
* Updates for changes to extension URLs in Tools IG
* Fix map rendering in value sets
* Fix broken link in R4 DeviceUseStatement
***NO_CI***
2022-10-20 06:47:38 +00:00
Grahame Grieve aff52322ad Fix bug revalidating profiled abstract types 2022-10-20 16:17:03 +11:00
Grahame Grieve 4850a4c740 eliminate platform dependency in error message 2022-10-20 10:59:17 +11:00
Grahame Grieve 5a9966d1b2 fix up validation tests - remove interdependency issues 2022-10-20 10:05:40 +11:00
Grahame Grieve 86831b34d2 ping build 2022-10-19 21:35:58 +11:00
Grahame Grieve 574cd143ba clarify resource id error + support type characteristics extension 2022-10-19 20:48:37 +11:00
Grahame Grieve a6e31d36d3 value set validation version fixes, support for ActorDefinition, support for validating binaries by Logical Models, Language works starts, 2022-10-18 21:19:51 +11:00
David Simons 50f61901fa
Enable bulk -snapshot and -convert on multiple/wildcard -source (#945)
* initial R4B and 4.3.0 fixes

* Add support for loading ig-folder for R4b. Using R4 stuff for now. Otherwise missing classes and methods

* undo CRLF edits

* enable snapshot generation on multiple sources

* String.valueOf(i)

* Update help.txt

* enable convert generation on multiple sources

* correction in help.txt

* optimize loops

* outfilename to include sourcefilename as prefix

* updated help.txt

* polish-up help.txt

* Tests and add new parameter

* -output XOR -outputSuffix logic

* fix typo

* fixing the logic

* updated help.txt

Co-authored-by: Cees de Jonge <c.de.jonge@philips.com>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-10-17 10:51:00 -04:00
Grahame Grieve b17735a15b Add support for ActorDefinition 2022-10-17 11:43:33 +11:00
markiantorno 82e659c8cc Updating version to: 5.6.72-SNAPSHOT and incrementing test cases dependency. 2022-10-14 21:51:04 +00:00
markiantorno 64884ac668 Release: v5.6.71
## Validator Changes

* Fix typos in error messages

## Other code changes

* Fix NPE in xig generation
* Fix bug in validator test framework (packages not being loaded properly)
* Remove references to terminology files no longer found in source specification
* Package generation enhancements for R4/R4B
* Support for CDS Hooks validation (not surfaced outside test cases yet)
***NO_CI***
2022-10-14 21:19:03 +00:00
Grahame Grieve 9a044604c1 fix test framework 2022-10-14 20:49:26 +11:00
Grahame Grieve 3dfce595fe fix typo in error message 2022-10-13 06:49:20 +11:00
Grahame Grieve a15b57ef9a Improved support for Logical Models (inc. cds-hooks) 2022-10-13 06:48:29 +11:00
markiantorno 7bf348055a Updating version to: 5.6.71-SNAPSHOT and incrementing test cases dependency. 2022-10-11 01:11:51 +00:00
markiantorno 2fd44c4203 Release: v5.6.70
## Validator Changes

* no changes

## Other code changes

* Fix for logical model issues for cds-hooks logical models
***NO_CI***
2022-10-11 00:50:57 +00:00
Grahame Grieve 04869062ee Fix errors on ShareableMeasure Validation 2022-10-10 17:05:29 +11:00
Grahame Grieve e1657c66b0 refactor IWorkerContext 2022-10-07 21:50:59 +11:00
markiantorno 9a39f4570c Updating version to: 5.6.70-SNAPSHOT and incrementing test cases dependency. 2022-10-06 23:36:56 +00:00
markiantorno bdd99a48a7 Release: v5.6.69
## Validator Changes

* Fix R5 error around cnl-1
* Add markdown validation
* add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies
* fix bugs in FHIRPath handling of polymorphism
* fix validation of Coding when system is unknown (align with CodeableConcept handling)
* Fix bug where extranous text in XML was reported in the wrong location

## Other code changes

* Fix links in bundle rendering
* Improvements to rendering for IG publisher (additional bindings)
* Bump jackson-databind dependency
* fix bugs in graphql generation
* populate StructureMap xhtml when loading from mapping language
* align markdown processing with FHIR-38714
***NO_CI***
2022-10-06 23:17:29 +00:00
Grahame Grieve 231636ae11
Merge pull request #942 from hapifhir/gg-202210-additional-bindings
rendering improvements
2022-10-06 15:51:55 +11:00
Grahame Grieve 9195d7ae8b rendering improvements 2022-10-06 12:54:45 +11:00
dotasek a802f2a03b
Bump jackson-databind (#941)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-10-05 18:26:16 -04:00
Grahame Grieve c45a61a0be Add test case for xml parser problem 2022-10-05 21:20:04 +11:00
Grahame Grieve ac3d4add7e fix error in cnl-5 in R5 ballot 2022-10-05 21:19:52 +11:00
Grahame Grieve c7ef0a3ac6 Add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies to validator 2022-10-05 21:19:30 +11:00
Grahame Grieve 456ab88b9c validation fixes 2022-10-04 18:50:07 +11:00
Grahame Grieve 86a3a56c42 better handling for sax errors and jvm issue 2022-10-04 16:55:17 +11:00
Grahame Grieve 93ec88ee24 fix up test case dependency 2022-10-04 15:20:21 +11:00
Grahame Grieve 098b2895bc Markdown changes for FHIR-38714 + fix up test framework for validator to use OperationOutcome 2022-10-04 14:06:30 +11:00
markiantorno fa8db082c7 Updating version to: 5.6.69-SNAPSHOT and incrementing test cases dependency. 2022-09-30 20:09:37 +00:00
markiantorno ecc3506457 Release: v5.6.68
## Validator Changes

* Warning in Validator CLI when character encoding is not UTF-8
* Don't validate contained resources against Shareable* profiles, and also check ShareableMeasure

## Other code changes

* Remove CapabilityStatement2 from canonical resources
***NO_CI***
2022-09-30 19:52:48 +00:00
Grahame Grieve d71a5833c1
Gg 202210 shareables (#936)
* Don't validate contained resources against Shareable* Profiles, + validate ShareableMeasure

* release notes

* fix compile problem

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-09-30 15:00:22 -04:00
dotasek 6ffb981156
Warn CLI users if file.encoding is not UTF-8 (#933)
* Print warning for wrong file encoding

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-28 15:09:04 -04:00
markiantorno 8893e0c0bc Updating version to: 5.6.68-SNAPSHOT and incrementing test cases dependency. 2022-09-27 15:09:27 +00:00
markiantorno 02435a9889 Release: v5.6.67
## Validator Changes

* Work around R4 issue with http://www.rfc-editor.org/bcp/bcp13.txt value set (should be http://hl7.org/fhir/ValueSet/mimetypes)
* Minor improvements to error messages

## Other code changes

n/a
***NO_CI***
2022-09-27 14:33:05 +00:00
Grahame Grieve a1d97b6ed4 fix test dependency 2022-09-27 08:46:49 -04:00
Grahame Grieve 2285da5f8d minor validation improvements 2022-09-26 23:49:32 -04:00
markiantorno 9d308db001 Updating version to: 5.6.67-SNAPSHOT and incrementing test cases dependency. 2022-09-23 18:40:26 +00:00
markiantorno 303853b7a1 Release: v5.6.66
## Validator Changes

* fix error with code system validation messages

## Other code changes

* Enhanced testing for character encoding issues
* XIG publisher improvements
***NO_CI***
2022-09-23 18:20:37 +00:00
Grahame Grieve 0b40db7f0b
Merge pull request #929 from hapifhir/gg-2022-09-cs_vs
Gg 2022 09 cs vs
2022-09-23 12:14:22 -04:00
dotasek c51f7c2327
Enhanced testing for character encoding issues (#928)
* Redo pull pipeline to check for alternate file encodings

* Fix jdkVersion references in pull-request-pipeline

* Failing test for Cp1252 encoded Java environments

* Fix file encoding mistake

* Add fix + refactor test

* Backport ParserBase changes and tests to previous versions

* And I mean it, this time

* Update tx cache resources

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-23 10:38:10 -04:00
Grahame Grieve 695a8610a2 fix error with code system validation messages 2022-09-23 09:33:25 -04:00
markiantorno e29b3130db Updating version to: 5.6.66-SNAPSHOT and incrementing test cases dependency. 2022-09-20 16:29:09 +00:00
markiantorno fce1d1f1fc Release: v5.6.65
## Validator Changes

* Validator support for -forPublication parameter

## Other code changes

* Improved ConceptMap rendering
* Internal reorganization of extensions
* Fix NPE rendering terminology resources
* Fix bad HTML rendering SearchParameter
* Allow rendering additional information in a comparison
* bug fixes from loading all published packages ever
***NO_CI***
2022-09-20 16:11:15 +00:00
Grahame Grieve 7846ae5169 support for -forPublication parameter to validator 2022-09-20 11:42:07 -04:00
Grahame Grieve 204157c1ec update validator rules for supplements 2022-09-20 08:29:45 -04:00
Grahame Grieve 689b9a57b1 check ShareableValueSet and shareableCodeSystem profiles for publishing resources 2022-09-20 04:52:01 -04:00
Grahame Grieve df0bc26d47 rationalise extensions 2022-09-17 14:54:20 -04:00
markiantorno 45a4ad77ad Updating version to: 5.6.65-SNAPSHOT and incrementing test cases dependency. 2022-09-17 14:49:41 +00:00
markiantorno 7cce3ef810 Release: v5.6.64
## Validator Changes

* Support for R5 terminology

## Other code changes

* fix error with R5 IG constraint
* fix error with double escaping rendering code system markdown
* Suppress display when generating narrative for code systems if display matches code
* Fix bug in RDF generation in R4B
* fix bug in html parser - misses end of comments when end is --->
***NO_CI***
2022-09-17 14:17:42 +00:00
Grahame Grieve 2045b8eee6 update tests again 2022-09-17 09:17:11 -04:00
Grahame Grieve 43420db756 fix error with IG constraint 2022-09-15 09:00:51 +02:00
markiantorno 09125cbaa4 Updating version to: 5.6.64-SNAPSHOT and incrementing test cases dependency. 2022-09-12 16:58:38 +00:00
markiantorno 0e2ad40b05 Release: v5.6.63
## Validator Changes

* no changes

## Other code changes

* Fix NPE ValueSetRenderer
* More fixes in StructureDefinition validation type characteristic
* Fix typo in ImplementationGuideDefinitionParameterComponent `Value`
***NO_CI***
2022-09-12 16:09:27 +00:00
Grahame Grieve dd7b44d3d8 more type characteristic fixes 2022-09-11 07:30:41 +10:00
markiantorno 6169f92cb1 Updating version to: 5.6.63-SNAPSHOT and incrementing test cases dependency. 2022-09-10 06:33:43 +00:00
markiantorno 5286167c02 Release: v5.6.62
## Validator Changes

* More fixing for Type Characteristics

## Other code changes

* Fix rendering of concept map code references
* Fix version conversion problem for MessageHeader.event
***NO_CI***
2022-09-10 06:14:00 +00:00
Grahame Grieve 5f4a319801 more type characteristics fixing 2022-09-10 15:02:59 +10:00
markiantorno 31238146a0 Updating version to: 5.6.62-SNAPSHOT and incrementing test cases dependency. 2022-09-09 22:13:28 +00:00
markiantorno 9b9c12c97a Release: v5.6.61
## Validator Changes

* no changes

## Other code changes

* Improved HTML compliance (img.alt)
* Improved example generation
* Improved handling of illegal parameters in ImplementationGuideDefinition
***NO_CI***
2022-09-09 21:56:43 +00:00
Grahame Grieve 7214a32209 more type characteristics work 2022-09-09 20:57:30 +10:00
markiantorno fadb727e87 Updating version to: 5.6.61-SNAPSHOT and incrementing test cases dependency. 2022-09-08 15:20:07 +00:00
markiantorno ca313fa6fe Release: v5.6.60
## Validator Changes

* no changes

## Other code changes

* Rendering improvements for Patient and extension summary
***NO_CI***
2022-09-08 15:03:24 +00:00
markiantorno 9f70b2b541 Updating version to: 5.6.60-SNAPSHOT and incrementing test cases dependency. 2022-09-07 13:29:55 +00:00
markiantorno df2e964389 Release: v5.6.59
## Validator Changes

* More fixes to type characteristics
* Validator would hang on some specific xml inputs - no more

## Other code changes

* General: This release contains java code for the as yet unreleased R5 ballot (it's a precondition for releasing it)
* Snapshot Generator handle bindings on CodeableReferences
* Renderer: Don't always render OperationDefinition header
***NO_CI***
2022-09-07 13:12:42 +00:00
Grahame Grieve 7dd2f3edf6 r4b snapshot tests 2022-09-07 21:56:24 +10:00
Grahame Grieve fffe96c765 fix more issues with type characteristics 2022-09-07 17:31:27 +10:00
Grahame Grieve 6cf6d139c4 fix up for r5 tests 2022-09-07 08:12:20 +10:00
Grahame Grieve bc77c2d031 Merge remote-tracking branch 'origin/master' 2022-09-07 06:02:44 +10:00
Grahame Grieve 1917476135 new R5 release coming 2022-09-06 20:28:04 +10:00
markiantorno df2a768778 Updating version to: 5.6.59-SNAPSHOT and incrementing test cases dependency. 2022-09-04 00:09:47 +00:00
markiantorno 719f28dcd2 Release: v5.6.58
## Validator Changes

* Allow binding as a type characteristic for Extension

## Other code changes

* OID support refactoring
* Remove Contributor Datatype from R5
* R5 Build efficiency fixes
***NO_CI***
2022-09-03 23:48:53 +00:00
Grahame Grieve f366962f51 Fix bindings constraint issue in validator 2022-09-03 07:37:38 +10:00
Grahame Grieve f0a9089bc4 Merge remote-tracking branch 'origin/master' 2022-09-02 21:57:55 +10:00
Grahame Grieve 40ff51b75e remove useless FHIRPath tests 2022-09-02 21:57:46 +10:00
markiantorno 6f73511fe7 Updating version to: 5.6.58-SNAPSHOT and incrementing test cases dependency. 2022-09-01 13:44:59 +00:00
markiantorno 8a38b36855 Release: v5.6.57
## Validator Changes

* fix erroneous type characteristics error in StructureDefinition.differentials

## Other code changes

* ValuesetExpansion: Pay attention to inactive property, and activeOnly parameter
* fix broken paths rendering extensions
* Process markdown in code definitions when rendering ValueSets
* Fix duplicate ids in generated questionnaires
* Add types to wildcard list
***NO_CI***
2022-09-01 13:27:25 +00:00
Grahame Grieve d55120d34f debugging fix 2022-09-01 22:44:26 +10:00
Grahame Grieve e8b329bc84 #908 - fix erroneous type characteristics error in differentials 2022-09-01 20:02:29 +10:00
Grahame Grieve 4db936752a FHIR-24884 Define best practices for narrative for a resource 2022-08-29 15:53:47 +10:00
markiantorno 4b8f8e3d2b Updating version to: 5.6.57-SNAPSHOT and incrementing test cases dependency. 2022-08-26 21:14:29 +00:00
markiantorno 51199251e8 Release: v5.6.56
## Validator Changes

* Improve support for example code systems in example mode

## Other code changes

* Render Comments as span titles in ProfileDrivenRenderer
* Fix type analysis in FHIRPath for abstract types
* Terminology utilitty improvements for fhir-types code system
* Lighten invariant background colour
* Fixes to DateTimeType for setFieldValue() method
***NO_CI***
2022-08-26 20:57:04 +00:00
Grahame Grieve 5220f2552b Merge remote-tracking branch 'origin/master' 2022-08-26 21:18:44 +10:00
Grahame Grieve 5fcc1866cd better support for allowExamples 2022-08-26 21:00:50 +10:00
markiantorno 540209b68f Updating version to: 5.6.56-SNAPSHOT and incrementing test cases dependency. 2022-08-25 17:05:11 +00:00
markiantorno 5112fe18ca Release: v5.6.55
## Validator Changes

* no changes

## Other code changes

* Return lists for FHIRPath constants in r4
* FHIR-25206 handle deprecated concepts properly when expanding value sets
* Fix SHEX generation issue
* Fix ConceptMap rendering column title
* Fix problem rendering ConceptMaps in value sets
* Fix NPE issue rendering resources without ids
* Improvements to SearchParameterRenderer
* Add Reference.resource to output of copy()
* Migration of r5 changes to r4b
* Bundle rendering improvements
* Fix loading canonical resources so that duplicates with different versions is OK
* Fix generation of profiles on Resource.id
***NO_CI***
2022-08-25 16:46:36 +00:00
Grahame Grieve 2f6dfa62ca more 2022-08-23 22:32:46 +10:00
Grahame Grieve fba2145a9c Fix bug where instance validator doesn't check type of sub-extensions, and check type characteristics 2022-08-23 22:32:40 +10:00
markiantorno 8051f476a9 Updating version to: 5.6.55-SNAPSHOT and incrementing test cases dependency. 2022-08-03 15:01:07 +00:00
markiantorno 24dbe8b984 Release: v5.6.54
## Validator Changes

* Fix for errors in FHIRPath evaluation (see https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/String.20functions)

## Other code changes

* R4B BackboneType fixes
* Add R4B to R5 interconversion code
* Improvements to Rendering Documents
* Add uuid to primitive types list
***NO_CI***
2022-08-03 14:28:56 +00:00
Grahame Grieve f3fa8cae24
Merge pull request #886 from hapifhir/gg-202207-fhirpath
Gg 202207 fhirpath
2022-07-28 09:14:17 +10:00
Grahame Grieve cc35c23c7d fixes to validator for FHIRPath engine fixes 2022-07-28 08:48:33 +10:00
markiantorno 8978130451 Updating version to: 5.6.54-SNAPSHOT and incrementing test cases dependency. 2022-07-25 22:10:34 +00:00
markiantorno ec87c3a0b4 Release: v5.6.53
## Validator Changes

* Add support for OID 1.3.160 (very short OIDs are special)
* Fix evaluation of ValueSets that have only one value set import

## Other code changes

* Rework precision checking in datetime
* Update version conversion to not drop modifierExtensions
* Fix DocumentRendering to generate Composition Narrative if not present
* Restore Search Parameters (missing due to R5 draft generation issues)
* Don't access getBinaries directly in XVerExtensionManager

***NO_CI***
2022-07-25 21:49:05 +00:00
Grahame Grieve 168e40f12c cache update 2022-07-26 06:09:42 +10:00
Grahame Grieve 8d7ccff29e Add support for 1.3.160 2022-07-26 06:09:29 +10:00
dotasek 6b7ac47076
Don't access getBinaries directly in XVerExtensionManager (#864)
* Don't access getBinaries directly in XVerExtensionManager

* Remove getBinaries() add getBinaryKeysAsSet()

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-22 11:13:42 -04:00
markiantorno fa0597f864 Updating version to: 5.6.53-SNAPSHOT and incrementing test cases dependency. 2022-07-22 06:10:23 +00:00
markiantorno aa6094c451 Release: v5.6.52
## Validator Changes

* Fix issue with startsWith in FHIRPath engine
* Fix bugs validating references (some references not resolved)
* Fix minor issue supporting 4.3.0 (R4B)
* fix bug loading R5 extensions

## Other code changes

* Fix NPE rendering bundles
* R5 Changes to ConceptMap
* Fix bug rendering extensions
* Fix bug accessing polymorphic fields when rendering
* Fix bug around lazy loading packages when validating references
* Add ability to suppress serialising ids when serialising element models
***NO_CI***
2022-07-22 05:50:56 +00:00
Grahame Grieve a82bbeb887
Merge pull request #873 from hapifhir/gg-202207-version-annotations
fix up version annotations
2022-07-22 15:16:01 +10:00
Grahame Grieve 5284773527 fix up version annotations 2022-07-22 14:27:26 +10:00
Grahame Grieve 78c372961e
Merge pull request #872 from hapifhir/gg-202207-bug-fixes
Gg 202207 bug fixes
2022-07-22 13:19:50 +10:00
Grahame Grieve 83bfb07d0e Fix bug around lazy loading packages 2022-07-22 07:57:34 +10:00
Grahame Grieve 0fe28f48e0 fix bugs validating references 2022-07-20 11:25:43 +10:00
dotasek de3eaad982
Remove all expired entries in SessionCache on validator init (#846)
+ fix typo in JsonParserBase

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 13:26:53 -04:00
markiantorno bb13edfdc0 Updating version to: 5.6.52-SNAPSHOT and incrementing test cases dependency. 2022-07-18 10:41:30 +00:00
markiantorno 078ca1e13a Release: v5.6.51
## Validator Changes

* no changes

## Other code changes

* Update R5 for revised ConceptMap in R5 cibuild, and release new core library for R5 build process
***NO_CI***
2022-07-18 10:23:13 +00:00
Grahame Grieve 392b064433 updates for new release of R5 2022-07-18 17:56:23 +10:00
Grahame Grieve 023aea34fb R4B and R5 extension changes 2022-06-28 15:39:15 +03:00
markiantorno 982ce5f58f Updating version to: 5.6.51-SNAPSHOT and incrementing test cases dependency. 2022-06-24 18:48:18 +00:00
markiantorno 4a654122fb Release: v5.6.50
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 18:32:05 +00:00
dotasek 48967bd9cb Remove toublesome test jars in validation pom 2022-06-24 12:17:15 -04:00
dotasek ae8b21014a Bump version to 5.6.50-SNAPSHOT 2022-06-24 11:29:30 -04:00
markiantorno 891aaf4a20 Release: v5.6.49
## Validator Changes

* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)

## Other code changes

* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
2022-06-24 12:41:29 +00:00
Grahame Grieve 95dee12d0e
Merge pull request #844 from hapifhir/gg-202206-amsterdam
Gg 202206 amsterdam
2022-06-24 13:53:33 +02:00
Grahame Grieve ba7b0d8bfa reduce text logging running tests 2022-06-24 13:15:55 +02:00
Grahame Grieve ced9a748ad better logging on discriminator misses 2022-06-24 11:44:29 +02:00
Grahame Grieve 8769846d5d Start working on IPA validation 2022-06-24 11:44:02 +02:00
Grahame Grieve 1c92448b98 IPS related validator fixes 2022-06-24 11:43:48 +02:00
Grahame Grieve 30aefb8fde Load R5 extensions when validating 2022-06-24 11:43:34 +02:00
dotasek 8db5d64a17 Add help text for validator -tests mode 2022-06-22 09:51:15 -04:00
dotasek af7fd15667 Rebuild caches + fix parse of JSON in FHIRRequestBuilder 2022-06-17 18:15:48 -04:00
dotasek 1fee28fe84
Feature - run JUnit tests from validator_cli (#835)
* WIP add initial test running code

* Importing test modules fix breaking tests 1

* Clean up pom dependencies, move execution before context load

* Re-org and document cli pom

* Set more dependencies to compile. Print entries in classpath

* Try running via internal Executors

* Clearer class names + provide clear output

* Clean up test summarys and output + update class regex to junit default

* Refactor to avoid having to extend class

* Trim down dependency additions in pom + javadoc

* Add the rest of the modules to TestExecutor

* Parse additional params for classname filter and module

* Add experimental JUnit 4 runner in case JUnit 5 hates us.

* Include JUnit4 tests via adapters. Need to refactor for better naming.

* Update LoadIgTests to JUnit 5

* Gentle refactor, print execution time

* Remove unnecessary interface, organize packages

* Remove cached resources (need to fix this)

* Allow setting of txCache globally for tests + fix r5 tests

* Mild refactor of TestExecutor + Reorder test execution

* Add fhirTestCasesDirectory to testConfig + get r4 tests working

* Add dstu2016may and dstu3 tests

* Add dstu2 tests

* Add convertors tests

* Refactor resourceNameForFile + don't copy existing files

* Get all txCache directories centrally and allow all to live in same dir

* Start extracting txCache resources

* Finish extracting txCache resources

* Fix failing GraphQLEngineTest

* Try an mvn install for the pull pipeline

* Clean and refactor

* Test coverage

* Fix GraphQLEngineTests for local jar run

* More refactoring, more tests

* Add bare test for TxCacheResourceExtractor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-14 17:04:00 -04:00
markiantorno 3484b891d5 Updating version to: 5.6.49-SNAPSHOT and incrementing test cases dependency. 2022-06-08 07:01:23 +00:00
markiantorno 17ce4678d4 Release: v5.6.48
## Validator Changes

* Clean up the -extension parameter - make implementation conistent with documentation
* Stop auto-converting parameters to strings for string functions e.g. .length() in the FHIRPath engine
* Add parameter -implicit-fhirpath-string-conversions for old FHIRPath string conversion functionality

## Other code changes

* Fix NPE counting descendents when validating
* Fix bug processing invalid HTTP response
***NO_CI***
2022-06-08 06:41:48 +00:00
Mark Iantorno cd38bdd43a Updating test case dependency to v1.1.101
***NO_CI***
2022-06-08 04:26:16 +00:00
dotasek ed48ea071f
Add -extension parameter to validator cli help (#829)
* Add -extension parameter to validator cli help

* Make extension param match confluence docs

Semantically, a single URL is associated with each instance of this param. Singular -extension is shorter and correct-er.

* Replace * wildcard with `any`

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-07 22:35:21 -04:00
Grahame Grieve b0dfc9f281 fix bug counting children + fix issue with automatic string conversion in FHIRPath + fix bug in HTTP client + fix bug rendering profile comparison 2022-06-08 08:56:46 +10:00
markiantorno 2c8db93787 Updating version to: 5.6.48-SNAPSHOT and incrementing test cases dependency. 2022-05-27 17:24:16 +00:00
markiantorno 567a9b2ce7 Release: v5.6.47
## Validator Changes

* Significant improvement in performance of validation (10-100 fold for simple resources)
* Add output tracker to trask progress of validation (Validate %R against %P..........20..........40..........60..........80.........|)
* Alter per-1 to handle different precision on start/end
* Add support for a -jurisdiction parameter, preparing for jurisdictionally specific constraints in profiles
* Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory
* Add warnings when potential matches are found when performing reference resolution in bundles

## Other code changes

* extend FHIRPath to support lowBoundary(), highBoundary() and precision()
* Fix for inefficiency in StructureMap engine
* Update version of PubPack used by the IGPublisher
* Handle scope on TestScript R4 <-> r5 conversion
* Fix bug converting extension context = Resource (R4 <-> R5 conversion)
* Update VSAC importer for changes to VSAC FHIR authorization
* Fix broken links in profile comparison due to cross version issues
***NO_CI***
2022-05-27 16:52:13 +00:00
Grahame Grieve 12a1dbfc05 #820 Add warnings when potential matches are found when performing reference resolution in bundles 2022-05-27 13:43:19 +10:00
Grahame Grieve bdf78cad79 fix total offset error 2022-05-23 21:25:03 +10:00
Grahame Grieve 47e205883c Performance work in the validator 2022-05-23 12:23:23 +10:00
Grahame Grieve d39ed690f8 Add jurisdiction parameter to Validator 2022-05-18 08:23:05 +10:00
markiantorno 3ab828c381 Updating version to: 5.6.47-SNAPSHOT and incrementing test cases dependency. 2022-05-12 10:35:09 +00:00
markiantorno eca2fa5a5c Release: v5.6.46
## Validator Changes

* Trim unknown resource types when pre-adopting cross version extensions with type=Reference

## Other code changes

* Package Client: Get Packages by Dependency
* Snapshot Generator (R4b/R5): Fix generation of complex extension snapshot + improve rendering
* New tests for StructureMap execution
***NO_CI***
2022-05-12 10:18:11 +00:00
dotasek 8a8bbb7308
Add tests for evaluate transforms using json StructureMap (#807)
* Add tests for evaluate transforms using json StructureMap

Fixes issues/802

* Reduce test chatter, fix missing ',' in EVALUATE render

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-05-11 12:52:47 -04:00
dotasek 2d45427b8f Better error reporting for unexpected exceptions in test 2022-05-06 16:01:46 -04:00
markiantorno a4fd92633d Updating version to: 5.6.46-SNAPSHOT and incrementing test cases dependency. 2022-05-06 01:02:54 +00:00
markiantorno f2134e9643 Release: v5.6.45
## Validator Changes

* Support IGs #current where main instead of master

## Other code changes

* Add id to Profile CSVs
***NO_CI***
2022-05-06 00:29:32 +00:00
markiantorno 264e79bc24 Updating version to: 5.6.45-SNAPSHOT and incrementing test cases dependency. 2022-05-05 01:29:36 +00:00
markiantorno 5801daeb08 Release: v5.6.44
## Validator Changes

* Handle invalid HTTP responses better when accessing packages

## Other code changes

* Fix various rendering NPEs
***NO_CI***
2022-05-05 01:09:45 +00:00
Grahame Grieve c6d1ff1fa0 Handle invalid HTTP responses better 2022-05-05 05:41:32 +10:00
markiantorno 6df50d482b Updating version to: 5.6.44-SNAPSHOT and incrementing test cases dependency. 2022-04-28 02:39:13 +00:00
markiantorno 3fffad10e3 Release: v5.6.43
## Validator Changes

* fix problem with non-new data types on xver extensions
* enable -extension parameter for validator

## Other code changes

* Fix bug when converting resolved clinical status for allergy intolerance
***NO_CI***
2022-04-28 02:20:19 +00:00
Grahame Grieve 0a58140163 enable -extension parameter for validator 2022-04-27 08:28:29 +10:00
markiantorno 5fc2e9d6ec Updating version to: 5.6.43-SNAPSHOT and incrementing test cases dependency. 2022-04-23 14:25:48 +00:00
markiantorno 4f5aa8754c Release: v5.6.42
## Validator Changes

* Fix invalid FHIR version bug when loading IGs with explicit FHIR version

## Other code changes

* Fix reverse references in GraphQL searches
* Regenerate R4B code for candidate final release (not quite final yet)
* Various minor fixes for bugs found doing R4B finalization (wildcard types, version difference comparisons)
***NO_CI***
2022-04-23 14:06:50 +00:00
Grahame Grieve b47b0653c4 moving FHIRPublication 2022-04-23 23:18:23 +10:00
Grahame Grieve fa92f85f3c Merge remote-tracking branch 'origin/master' 2022-04-22 07:36:53 +10:00
dotasek 7009ba7beb Fix valid version evaluation for explicit versions in validator-cli -ig args 2022-04-21 10:51:49 -04:00
Grahame Grieve 5fef79c08d Update Validator -version handling, and improve tx server error handling 2022-04-20 11:17:40 +10:00
Grahame Grieve c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
markiantorno 6328230f9f Updating version to: 5.6.42-SNAPSHOT and incrementing test cases dependency. 2022-04-12 04:03:54 +00:00
markiantorno 8785babf24 Release: v5.6.41
## Validator Changes

* Handle reslicing within the same profile
* Fix up wrong handling of context on exists() in FHIRPath
* Add hints to profiles around behavior of pattern on repeating elements
* Ignore all tooling extensions when validating
* support specifying an alternative version when loading source using -ig parameter
* Don't validate Bundle.entry.fullUrl as a reference to some other content

## Other code changes

* Improved output for unit test comparisons
* Fix conversion issues around Base64Binary
* Fix for R4/R5 DataRequirements conversion for DeviceUsage
* Add AdditionalBindings Rendering (draft)
* Display all designations when rendering ValueSets
* Fix bug where expansions have empty objects some times
* Fix R4B Snapshot generation
* Enable Linking to fragment CodeSystems
***NO_CI***
2022-04-12 03:31:27 +00:00
Grahame Grieve a0e26d0995 tx cache changes 2022-04-12 11:39:57 +10:00
Grahame Grieve b9902833c5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-04-12 09:12:35 +10:00
dotasek 47f37ffd50 Add two more tests. 2022-04-08 11:12:17 -04:00
dotasek ccf6513113 Add fhir verison to IG specification in man doc 2022-04-08 11:08:11 -04:00
dotasek f0757d1a10 Fix sentence fragment in questionnaire man doc 2022-04-08 11:04:16 -04:00
dotasek 293aa12bd8 Limit help.txt to 80 char width to make output more consistent 2022-04-07 18:13:36 -04:00
dotasek cb1d20afeb Add distinct FHIR version per IG parameter + tests 2022-04-07 17:30:50 -04:00
dotasek 489218da82 WIP test loading IGs with explicit fhir version for each IG 2022-04-06 16:32:51 -04:00
Grahame Grieve 7e9b148837 Don't validate Bundle.entry.fullUrl as a reference 2022-04-07 00:20:43 +10:00
Grahame Grieve 76411218ac
Merge pull request #782 from hapifhir/gg-202204-various
various fixes
2022-04-06 09:28:09 +10:00
Grahame Grieve 8a05e4b2b2 various fixes
* Handle reslicing within the same profile
* Fix up wrong handling of context on exists() in FHIRPath
* Add hints to profiles around behavior of pattern on repeating elements
* Ignore all tooling extensions when validating
2022-04-05 15:52:33 +10:00
dotasek 880039c78b
Reorganize TestingUtilities to use expected/actual convention from JUnit (#780)
* Make testing utilities conform to JUnit expected-actual convention

* Refactor to CompareUtilities

* Add tests for CompareUtilities

* RELEASE_NOTES

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-04 09:44:04 -04:00
markiantorno 87fed0cfc8 Updating version to: 5.6.41-SNAPSHOT and incrementing test cases dependency. 2022-03-30 23:21:31 +00:00
markiantorno f80a28816c Release: v5.6.40
## Validator Changes

* Add further clarification to Value set imports warning message

## Other code changes

* Consistent use of string values for primitive type conversions
* Fix problem with generated NPM Packages
* Fix URls when processing markdown while generating snapshots
* Default output to console, with additional output available via -debug option in CLI.
* Bump jackson-databind version to fix security vulnerability.
***NO_CI***
2022-03-30 23:05:39 +00:00
dependabot[bot] d429f48677
Bump jackson-databind in /org.hl7.fhir.validation
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.10.5.1 to 2.12.6.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 23:08:31 +00:00
dotasek 86b714bb7b Pass -debug param to default logger + add logger to context builders 2022-03-25 13:38:24 -04:00
markiantorno b075c5695f Updating version to: 5.6.40-SNAPSHOT and incrementing test cases dependency. 2022-03-18 04:05:44 +00:00
markiantorno e053d5a260 Release: v5.6.39
## Validator Changes

* no changes
* Add messageid to OperationOutcome from Validation
* Add support for new rules around value set interpretation with multiple imported value sets (https://jira.hl7.org/browse/FHIR-25179)

## Other code changes

* Fix for FHIRPathEngine.funcReplaceMatches() incorrectly returning Boolean in DSTU2 & DSTU3
* Fix NPE Processing missing markdown in definitions when generating snapshots
* add support for .matchesFull() and fix .matches() in FHIRPath
* Fix core package identification when loading new R5 core packages
***NO_CI***
2022-03-18 03:46:59 +00:00
Grahame Grieve 48d87a2075
Merge branch 'master' into gg-202203-misc 2022-03-18 12:54:53 +11:00
Grahame Grieve cf95c1a2ba Fix for Jira 25179 - change handling of imports
See https://chat.fhir.org/#narrow/stream/179202-terminology/topic/ValueSet.20defined.20by.20an.20intersection.20.3F
2022-03-18 12:45:40 +11:00
markiantorno 8f5db15937 Updating version to: 5.6.39-SNAPSHOT and incrementing test cases dependency. 2022-03-14 21:48:39 +00:00
markiantorno 9ad69aca53 Release: v5.6.38
## Validator Changes

* no changes

## Other code changes

* Fix for FHIRPathEngine.funcReplaceMatches() incorrectly returning Boolean in DSTU2 & DSTU3
***NO_CI***
2022-03-14 21:32:32 +00:00
Lloyd McKenzie 335800c932 Replaced hard-coded extension reference with constant value 2022-03-13 20:56:40 -06:00
markiantorno e4ce145a0b Updating version to: 5.6.38-SNAPSHOT and incrementing test cases dependency. 2022-03-11 03:21:07 +00:00
markiantorno e86c9afc7a Release: v5.6.37
## Validator Changes

* fix handling of xver extensions with choice sub-extensions
* validate consistency of extension modifier flag with extension use in a profile

## Other code changes

* more presenting extensions when rendering.
* Get package id from 'package' field when 'npm-package' unavailable
* Ignore META-INF contents from other dependencies while building Validator jar
* Fix to r5 TestingUtilities to allow NarrativeGenerationTests to pass.
* fix handling to xver extensions generating snapshots
***NO_CI***
2022-03-11 03:04:43 +00:00
Grahame Grieve 89b912dde2 Fix cross version extension validation, and check that extensions are consistent wrt isModifier in profiles 2022-03-09 17:37:26 +11:00
dotasek 6f57013f98 Fix intermittent failures in NarrativeGenerationTests 2022-03-03 16:19:39 -05:00
markiantorno 4909286a4b Updating version to: 5.6.37-SNAPSHOT and incrementing test cases dependency. 2022-02-26 05:00:46 +00:00
markiantorno 17bf21ecf8 Release: v5.6.36
## Validator Changes

* No changes

## Other code changes

* fix expansions where inactive = false (was wrongly including inactive codes)
***NO_CI***
2022-02-26 04:42:17 +00:00
Grahame Grieve c918f724ee fix problem missing profiles on references in discriminators 2022-02-26 06:22:42 +11:00
Grahame Grieve c5b3e022a4 fix bug where inactive codes always put in expansions, and add unit tests for this 2022-02-25 13:07:07 +11:00
markiantorno 9e693b6a03 Updating version to: 5.6.36-SNAPSHOT and incrementing test cases dependency. 2022-02-19 22:00:05 +00:00
markiantorno 685ea98d37 Release: v5.6.35
## Validator Changes

* no changes

## Other code changes

* fix various rendering issues from core spec
***NO_CI***
2022-02-19 21:28:34 +00:00
markiantorno 73baca035e Updating version to: 5.6.35-SNAPSHOT and incrementing test cases dependency. 2022-02-16 05:52:52 +00:00
markiantorno edd2c43e64 Release: v5.6.34
## Validator Changes

* Improve code validation error when value set can't be supported on tx.fhir.org
* Hide error about regex in core package

## Other code changes

* Fix wrong URL links in processed markdown
* Don't let txCache errors stop the process
* Fix broken links in questionnaire +
***NO_CI***
2022-02-16 05:32:34 +00:00
Grahame Grieve db19b0dd00 Fix broken links + remove error about regex in core package 2022-02-16 14:04:35 +11:00
Grahame Grieve 647d3efcee Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-02-16 13:15:19 +11:00
Grahame Grieve 0f1d9db24f Fix wrong URL links + txCache errors + questionnaire rendering at root 2022-02-16 13:14:55 +11:00