Commit Graph

1459 Commits

Author SHA1 Message Date
dotasek d67292676a Validation_VAL_Profile_NoCheckMax_PLURAL 2022-10-28 10:29:27 -04:00
dotasek 1bb3158444 Validation_VAL_Profile_Minimum/Maximum_PLURAL 2022-10-28 09:51:58 -04:00
dotasek f095b04bb1 Bundle_BUNDLE_Entry_Type3_PLURAL 2022-10-28 09:42:59 -04:00
dotasek a1a7e307ae Questionnaire_QR_Item_OnlyOneA special case 2022-10-28 09:36:13 -04: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
Grahame Grieve 83dfcd398c Fix problem with determining implied code system 2022-10-28 09:09:48 +11:00
dotasek da14683990 Refactor, document 2022-10-27 17:52:38 -04:00
dotasek 865f41b71f Typo in test name 2022-10-27 17:37:34 -04:00
dotasek ef2092e500 Start implementing pluralization 2022-10-27 17:34:12 -04:00
dotasek 9e4a19bb61 Improve germal pluralization test 2022-10-27 17:29:34 -04:00
dotasek cd5c9efcec Add ICU4J dependency + initial tests 2022-10-27 16:02:44 -04:00
Grahame Grieve a1a27b359d json fix 2022-10-27 07:39:30 +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
Grahame Grieve 1c1138ec9b improve error message for extensions without values 2022-10-25 14:58:38 +11:00
Grahame Grieve 7c78bdd59c Merge remote-tracking branch 'origin/master' 2022-10-24 21:58:38 +11:00
Grahame Grieve 628ace4716 More control over copying files 2022-10-23 23:13:45 +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
Grahame Grieve c053f08a13 fix NPE building CCDA 2022-10-20 22:07:05 +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 4850a4c740 eliminate platform dependency in error message 2022-10-20 10:59:17 +11:00
Grahame Grieve 108321e172 fix i18nconstants 2022-10-19 21:01:12 +11:00
Grahame Grieve 574cd143ba clarify resource id error + support type characteristics extension 2022-10-19 20:48:37 +11:00
Grahame Grieve f13dc58d8b More work on language production 2022-10-19 20:47:18 +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
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 9dd886ee2b package fixes for r4/r4b package conversion 2022-10-13 06:49:08 +11:00
Grahame Grieve a15b57ef9a Improved support for Logical Models (inc. cds-hooks) 2022-10-13 06:48:29 +11:00
Grahame Grieve 3d83de32c6 fix problem with vocab test because of issue in package cache management 2022-10-12 10:22:05 +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 fb921f6f3f Fix content reference generation 2022-10-10 20:45:46 +11:00
Grahame Grieve a66ca2a197 Add JSON enhancements for CDS hooks logical model 2022-10-10 17:05:12 +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 c7ef0a3ac6 Add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies to validator 2022-10-05 21:19:30 +11:00
Grahame Grieve 86a3a56c42 better handling for sax errors and jvm issue 2022-10-04 16:55:17 +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 eabf51938b
Remove CapabilityStatement2 from reported and checked resource names (#935)
* Remove CapabilityStatement2 from reported and checked resource names

* Update RELEASE_NOTES.md

***NO_CI***

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-30 13:10:51 -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 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 204157c1ec update validator rules for supplements 2022-09-20 08:29:45 -04:00
Grahame Grieve 72b3d2f6d1 escape bare html entities 2022-09-20 04:52:20 -04:00
Grahame Grieve 689b9a57b1 check ShareableValueSet and shareableCodeSystem profiles for publishing resources 2022-09-20 04:52:01 -04:00
Grahame Grieve cfa5d39bdb reorg extensions (clean up) 2022-09-20 04:51:00 -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 5cf7e2c3bd fix html parser for comments that end with ---> 2022-09-17 09:51:59 -04:00
Grahame Grieve ccc38e48df Fix NPE processing constraints without keys + fix for R5 terminology package problem 2022-09-16 23:49:26 -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
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
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 a3ededf92c Merge remote-tracking branch 'origin/master' 2022-09-09 09:03:39 +10:00
Grahame Grieve 8ee2480f61 example generation improvements 2022-09-09 09:03:16 +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
Grahame Grieve ace807bca0 Add missing img.alt tags 2022-09-08 22:45:24 +10:00
Grahame Grieve 4cbbce4ec8 img conformance in xhtml 2022-09-08 22:22:17 +10:00
dotasek 6e80637185
Change message when extension is in modifierExtension field (#917)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-09-07 16:56:19 -04: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 6cf6d139c4 fix up for r5 tests 2022-09-07 08:12:20 +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 fa22d50297 utilities for OID rework in R5 2022-09-03 21:31:24 +10:00
Grahame Grieve f366962f51 Fix bindings constraint issue in validator 2022-09-03 07:37:38 +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
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 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
Grahame Grieve 0999c8d460 fix issue with complex extension snapshot goes into 3rd level when it doesn't need to 2022-05-11 02:13:35 +10: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
Grahame Grieve d820260184 Support IGs with main not master 2022-05-06 10:00:04 +10: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 3bc1f4bb38 release notes 2022-05-05 07:56:10 +10: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 a464c81474 release notes 2022-04-23 23:02:22 +10:00
Grahame Grieve 79bff7d1bb fix bugs in temp rework 2022-04-22 16:36:16 +10:00
Grahame Grieve fa92f85f3c Merge remote-tracking branch 'origin/master' 2022-04-22 07:36:53 +10:00
Grahame Grieve 10f2325e19 R4B quality fixes 2022-04-22 07:36:28 +10: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
dotasek a7354f999e
Dotasek oe r4r5structuremapconversion (#775)
* Fix exception R5 to R4 of StructureMap #771

* Fix typo

* Enhance conversion from r5 to r4 + add failing test for r4 to r5

* WIP Convert R4 variable to R5 parameter and try to get correct dataType

* Clean up rough-work test

* Move static methods to FHIRPathConstant class

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-13 18:22:58 -04: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 6f3fe23f49 refactor additional bindings 2022-04-12 13:11:42 +10:00
Grahame Grieve b9902833c5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-04-12 09:12:35 +10:00
Grahame Grieve c3281340a0 Add Additional Bindings rendering 2022-04-12 09:11:18 +10: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
Grahame Grieve 90e34f89ff Add clarification to error message about value set interpretation 2022-03-31 07:16:11 +11:00
dotasek 6e45dd522e Merge remote-tracking branch 'origin/master' into dotasek-primitivetype-conversion-via-stringvalue 2022-03-18 14:09:12 -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
Grahame Grieve 3c4440d430 fix core package test 2022-03-17 21:43:25 +11:00
dotasek 3cc8affbdf Disable time zone based test until it's fixed 2022-03-15 14:24:05 -04:00
dotasek ce796e81bc Fix locale for DateTimeUtilTests 2022-03-15 13:52:51 -04:00
dotasek 209a5e777b Merge remote-tracking branch 'origin/master' into dotasek-primitivetype-conversion-via-stringvalue 2022-03-15 12:36:09 -04: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
dotasek fb8e2cfa66 WIP Start building tests 2022-03-11 17:32:09 -05: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 a3e8fca51a
Merge pull request #759 from hapifhir/R4B-datatypes-and-xml-cleanup
R4 b datatypes and xml cleanup
2022-03-11 10:53:52 +11:00
Grahame Grieve 791f16a05d fix failing tests. 2022-03-10 11:18:03 +11: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
Grahame Grieve 2ff53e9bf1 merge
# Conflicts:
#	RELEASE_NOTES.md
2022-03-08 13:25:16 +11:00
Lloyd McKenzie 478663cdf8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into R4B-datatypes-and-xml-cleanup 2022-03-07 19:20:19 -07:00
Grahame Grieve cc983073cd more cross version extensions 2022-03-08 13:19:19 +11:00
Grahame Grieve 9bc11f5b67
Merge pull request #754 from hapifhir/dotasek--package-client-extract-package-id
PackageClient - Get package id from 'package' field when 'npm-package' unavailable
2022-03-08 09:40:33 +11:00
dotasek bb06bae4e6 Apply uniform capitalization requirements for JSON 2022-03-07 16:02:00 -05:00