Commit Graph

1213 Commits

Author SHA1 Message Date
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
Grahame Grieve cd820bdf3f Fix problem rendering ConceptMaps in value sets 2022-08-18 09:39:01 +10:00
Grahame Grieve 6fb61b75f0 R5 related fixes 2022-08-12 21:24:14 +10:00
Grahame Grieve 80ca7e31f9 Improvements to SearchParameterRenderer 2022-08-11 19:16:49 +10:00
Grahame Grieve e2d1cbfffa msic commit 2022-08-09 20:19:39 +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 b43c210e1a Rendering improvements for Documents 2022-07-28 21:30:59 +10: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 5c76af8dcd fhirpath fixes 2022-07-27 22:39:05 +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
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
dotasek 6f3c297c35
Fix dependency on resource more consistently (#845)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-19 10:33:31 -04:00
dotasek 5560093c02
Instantiate all ValidationMessage with this() instead of super() (#853)
super() would call Object() instead of ValidationMessage(). This way, debugging can track instantiations of ValidationMessage from one place

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 13:26:13 -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 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 ae8b21014a Bump version to 5.6.50-SNAPSHOT 2022-06-24 11:29:30 -04:00
Grahame Grieve 3caa59719d Merge remote-tracking branch 'origin/master' 2022-06-24 16:25:59 +02:00
Grahame Grieve 7205cd91da New version of pubpack 2022-06-24 16:25:52 +02: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 30aefb8fde Load R5 extensions when validating 2022-06-24 11:43:34 +02:00
Grahame Grieve 8e2958c7d6 use pkgCanonical when fetching packages 2022-06-24 11:42:38 +02:00
dotasek 552127464c Rename again + pass tests 2022-06-23 12:39:35 -04:00
dotasek c6a69e81ae Failing test + gentle refactor 2022-06-23 12:32:02 -04:00
dotasek 3f7163b41b Case insensitive fhir.txcache.rebuild 2022-06-17 17:03:03 -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
Grahame Grieve 2783a5e3aa
Merge pull request #836 from hapifhir/gg-202206-r4b
R4b update
2022-06-14 13:26:51 +10:00
Grahame Grieve 74e348f021 fix for NPE in package 2022-06-13 21:40:04 +03: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
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
dotasek caf4632464
Update CommonPackages.java
Update hl7.fhir.pubpack to release 0.1.0
2022-05-26 16:08:54 -04:00
Grahame Grieve 47e205883c Performance work in the validator 2022-05-23 12:23:23 +10:00
Grahame Grieve 919d6e6d8b extend FHIRPath to support lowBoundary(), highBoundary() and precision() 2022-05-14 00:19:08 +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
Grahame Grieve eddcaba803 get packages by dependency 2022-05-12 16:19:01 +10:00
Grahame Grieve 9c20a28710 allow suppression of npm management logging 2022-05-11 06:58:46 +10:00