Commit Graph

357 Commits

Author SHA1 Message Date
Grahame Grieve e01216b7f3 more xver package related changes 2022-11-11 12:29:45 +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 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 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 c01d434b33 fix SDC rendering issue for R4B 2022-11-05 15:55:27 +11:00
Grahame Grieve 305f93ca26 Fix broken SDC links in Q & QR rendering 2022-11-05 11:30:27 +11:00
dotasek 14fdb713d9 Backport TerminologyCache changes to r4, r4b 2022-11-03 17:47:48 -04:00
dotasek fc7cd56335 Merge remote-tracking branch 'origin/master' into do-i18n-plurals 2022-11-03 13:35:40 -04:00
Grahame Grieve 1ae7093eef #934 Parameters object's getParameter(String theParameterName) is misnamed 2022-11-02 08:51:17 +11: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 2de6340cfa Rename PL to Plural in method signatures 2022-10-28 14:44:09 -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 cc38567c93 fix r4b test failure 2022-10-26 23:20:42 +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
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
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 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
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
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 56e8774c8f Fix problem with R4B FHIRPath tests 2022-10-07 09:20:34 +11:00
Grahame Grieve b9036524d5 R5 FHIRPath engine fixes for polymorphism + update R4B FHIRPath engine to match R5 2022-10-07 08:08:04 +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
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
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
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
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
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 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 ccc38e48df Fix NPE processing constraints without keys + fix for R5 terminology package problem 2022-09-16 23:49:26 -04:00
Grahame Grieve f4aed6f2a2 Fix bug in RDF generation in R4B 2022-09-15 08:58:52 +02:00
Grahame Grieve 35233ee1e5 R5 updates for IG publisher 2022-09-15 08:41:37 +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
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 4cbbce4ec8 img conformance in xhtml 2022-09-08 22:22:17 +10: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 f30f3e9ca9 fix failing rendering test 2022-09-07 11:12:57 +10:00
Grahame Grieve 44aeaa1a80 R4b Narrative tests fix up 2022-09-07 08:10:51 +10:00
Grahame Grieve 4dde247466 fix npe in narrative generation (r4b) 2022-09-07 08:10:39 +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
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 1c29587015 fixed 2022-08-26 21:18:39 +10:00
Grahame Grieve ac9a1fc2c7
Merge pull request #903 from hapifhir/do-datetimetype-gregorian-zero
Fix DateTimeType inconsistencies when using field setting
2022-08-26 06:43:03 +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
dotasek e79b2bf199
Return lists for FHIRPath constants in r4 (#902)
* Test for r5

* Test for r4b

* r4 test + fix

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-08-25 10:02:13 -04:00
dotasek cc2ec05afe Improve test 2022-08-24 15:24:45 -04:00
dotasek 5b1ac27b12 Fix 2022-08-24 14:54:08 -04:00
dotasek f8d7aa755e Failing tests 2022-08-24 14:53:56 -04:00
Grahame Grieve 84cb59683c r4b changes for r5 2022-08-10 22:22:50 +10:00
jamesagnew 056e41d19d Add Reference.resource to output of copy(). 2022-08-09 11:23:23 -04:00
Grahame Grieve 1aab88f6a7 migrate r5 changes to r4b 2022-08-09 22:29:59 +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 1ac49bdce2 Add R4B / R5 Conversions 2022-07-28 21:30:12 +10:00
Grahame Grieve 780be4096a fix rendering note - more informative 2022-07-28 21:29:33 +10:00
Grahame Grieve b9d86aa5af fix classes that inherit from BackboneType in R4B 2022-07-28 21:29:02 +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 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
James Agnew f010804e44
Rework precision checking in datetime (#874) 2022-07-25 16:40:55 -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
dotasek 14494d23b9
Use property to set apache poi version (#861)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-07-18 10:43:51 -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
dependabot[bot] 49196fe7cb
Bump poi from 4.0.1 to 4.1.1 in /org.hl7.fhir.r4b
Bumps poi from 4.0.1 to 4.1.1.

---
updated-dependencies:
- dependency-name: org.apache.poi:poi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-29 18:40:47 +00: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
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 ba7b0d8bfa reduce text logging running tests 2022-06-24 13:15:55 +02:00
dotasek 0ecba5bf2a Fix validation message for toCalendarZulu day validation 2022-06-20 09:26:11 -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 dd7c607155 Regenerate R4B 2022-06-13 21:40:33 +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
dotasek a435beb29c
Backport ProfileUtilities changes from r5 to r4b (#827)
Plus update fhir-test-cases version

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-02 09:30:43 -04: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 4cc0a8dfba Add support for 4.3.0 2022-05-27 22:17:32 +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
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
Grahame Grieve 4b1b99a61c r4b changes to match r5 2022-05-11 02:48:22 +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
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
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
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
dotasek 1645982389
Fix for issues/766 - reverse references with _history in GraphQL (#790)
* Create and use getIdPart

* Add tests and changes for dstu3, r4, r4b, and r5

* Update get/set Id javadoc

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-22 18:06:24 -04:00
Grahame Grieve 8c610c1a01 Regenerate R4B code 2022-04-22 11:56:24 +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 c58516ce44 remove references to c:\temp 2022-04-20 09:59:30 +10:00
dotasek 4d9bb2c76a
Fix generated temp file that breaks git pulls for windows (#788)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-04-14 12:52:59 -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 b9902833c5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-04-12 09:12:35 +10:00
Grahame Grieve 4927d23273 Add integrityt check utils for R4B integrity 2022-04-12 09:10:23 +10:00
dotasek 2eae5ade6b Remove c:\temp\test.xml 2022-04-11 16:18:42 -04:00
dotasek a8da416ee3 Fix xml test + add unit tests 2022-04-11 14:57:10 -04:00
dotasek 2181cb14d5 Change tests to xml + fix breaking test 2022-04-11 14:10:53 -04:00
Grahame Grieve 404b4d4f79 fix r4b snapshot generation 2022-04-05 16:26:33 +10: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
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
dotasek d0feacaaa8 Add tests and changes for Decimal 2022-03-17 15:41:07 -04:00
dotasek b5b43836eb Add tests and changes for Base64Binary 2022-03-16 12:20:58 -04:00
dotasek 9903d15ecc Add tests for setValueAsString and contructor precision checking 2022-03-15 17:47:23 -04:00
dotasek 1a7e076479 Move precision checking code to setValueAsString 2022-03-15 16:49:51 -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
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 ef3aee75f1 make fhir version code case independent 2022-03-11 10:37:28 +11:00
Grahame Grieve 3f9d651b9b updates for r5 changes 2022-03-11 06:43:12 +11:00
Grahame Grieve a34c33c0c0 =fix r4b tests 2022-03-10 07:43:01 +11: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
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
markiantorno 1d02e04edd Updating version to: 5.6.34-SNAPSHOT and incrementing test cases dependency. 2022-02-15 11:21:29 +00:00
markiantorno cf7415b33e Release: v5.6.33
## Validator Changes

* no changes

## Other code changes

* Fix error access experimental on canonical
***NO_CI***
2022-02-15 11:00:55 +00:00
markiantorno e1613a7087 Updating version to: 5.6.33-SNAPSHOT and incrementing test cases dependency. 2022-02-14 06:57:10 +00:00
markiantorno 4a8aeda4e9 Release: v5.6.32
## Validator Changes

* no changes

## Other code changes

* Fix NPE error in Patient renderer
***NO_CI***
2022-02-14 06:25:49 +00:00
markiantorno 4ab3fea400 Updating version to: 5.6.32-SNAPSHOT and incrementing test cases dependency. 2022-02-14 01:27:51 +00:00
markiantorno 04bb17783e Release: v5.6.31
## Validator Changes

* accept regex on ElementDefinition and ElementDefinition.type, and an error for regex on ElementDefintion.type (though core packages have it on the wrong place)
* fix handling of cross-version extensions on choice elements
* fix OID validation (accept 1.3.88 GTIN OID)
* only consider bindable types when checking for multi-type bindings

## Other code changes

* Fix definitions in ListResource ("List" not "ListResource")
* introduce fhir-tools-settings.conf (see https://confluence.hl7.org/display/FHIR/Using+fhir-tool-settings.conf)
* Rendering fixes & improvements for Questionnaire and Patient and partial dates
* improvements to relative link handling in markdown when generating snapshots
* updates to package tools for changes to package.json#type (see https://confluence.hl7.org/pages/viewpage.action?pageId=35718629#NPMPackageSpecification-Packagemanifest)
* fix semver handling for tags in versions
* Bump mockito and bytebuddy versions for Java 17 compatibility & fix Kotlin ref
***NO_CI***
2022-02-14 01:08:37 +00:00
Grahame Grieve e36e1d2973 fix list issues #722 2022-02-14 09:15:30 +11:00
Grahame Grieve 2a8dbcf8a4 fix r4b compile problem 2022-02-12 11:00:41 +11:00
dotasek f6d3139461 Clean up duplicate entries for httpclient in pom.xml 2022-02-10 13:44:54 -05:00
dotasek 223f55b817 Fix kotlin ref
Sneaky kotlin. There's a reference to kotlinBuilder in the r4b project, likely autogenerated and committed, that breaks the build on systems without that specific kotlin setup.
2022-02-08 09:36:55 -05:00
markiantorno 045299ae7a Updating version to: 5.6.31-SNAPSHOT and incrementing test cases dependency. 2022-02-07 15:56:51 +00:00
markiantorno 7ee476a9b6 Release: v5.6.30
## Validator Changes

* no changes

## Other code changes

* Use builders for SimpleWorkerContext and ValidationEngine to enforce initialization order for caches and capabilities
***NO_CI***
2022-02-07 15:07:54 +00:00
markiantorno 703f907289 Updating version to: 5.6.30-SNAPSHOT and incrementing test cases dependency. 2022-02-03 23:15:06 +00:00
markiantorno 9a89045bac Release: v5.6.29
## Validator Changes

* no changes

## Other code changes

* Fix package location for CacheVerificationLogger
***NO_CI***
2022-02-03 22:42:27 +00:00
markiantorno c41fcf9fa9 Updating version to: 5.6.29-SNAPSHOT and incrementing test cases dependency. 2022-02-01 02:57:54 +00:00
markiantorno fe073b6a8a Release: v5.6.28
## Validator Changes

* no changes
* Add ability to [compile a map file to a StructureDefinition](https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Mapping+Language#UsingtheFHIRMappingLanguage-runtransformsjavavalidator)
* Add knowledge of additional R5 extensions for StructureDefinitions
* Fix problem validating extension context on choice types
* Add hint when binding found on element with multiple types
* Fix validator to guess system on all uses of code (not just most)

## Other code changes

* Use cached terminology server responses for unit and integration tests.
* Add more HTTP logging
* Clean up various issues with graphQL and polymorphic elements
* Add better support for date/time rendering
* Significant speed improvement for terminology caching
***NO_CI***
2022-02-01 02:36:54 +00:00
Grahame Grieve 96538ba249
Merge pull request #704 from lmckenzi/Add_map_compile
Add map compile
2022-02-01 11:50:41 +11:00
Grahame Grieve cae92c8621
Merge pull request #727 from hapifhir/ja_20220130_graphql_cleanup
Updates to GraphQL
2022-02-01 11:49:10 +11:00
Grahame Grieve 54f280437f fix bug in tests 2022-02-01 10:46:14 +11:00
dotasek 99650f041b Fix DateTime formatting in r4b tests 2022-01-31 10:45:28 -05:00
jamesagnew 846866472b Updates to GraphQL 2022-01-30 17:04:10 -05:00
markiantorno f69a30421f Updating version to: 5.6.28-SNAPSHOT and incrementing test cases dependency. 2022-01-21 21:43:26 +00:00
markiantorno 90008b7744 Release: v5.6.27
## Validator Changes

* no changes

## Other code changes

* Fix unnecessary JsonParser/XmlParser class load
***NO_CI***
2022-01-21 21:12:00 +00:00
markiantorno 8818acfbf8 Updating version to: 5.6.27-SNAPSHOT and incrementing test cases dependency. 2022-01-21 16:20:40 +00:00
markiantorno b82cc42663 Release: v5.6.26
## Validator Changes

* no changes

## Other code changes

* Avoid unnecessary JsonParser/XmlParser class load
***NO_CI***
2022-01-21 16:02:59 +00:00
markiantorno 15fcc4607e Updating version to: 5.6.26-SNAPSHOT and incrementing test cases dependency. 2022-01-17 22:42:22 +00:00
markiantorno 4b808f140c Release: v5.6.25
## Validator Changes

* no changes

## Other code changes

* fix bug where generated packages have files in the wrong places
* fix inclusion of Java constants in CLI help text.
* fix bug on `-compile` output when using 'current' version.
***NO_CI***
2022-01-17 22:24:48 +00:00
markiantorno 7823945213 Updating version to: 5.6.25-SNAPSHOT and incrementing test cases dependency. 2022-01-17 11:31:30 +00:00
markiantorno c2bcb08855 Release: v5.6.24
## Validator Changes

* No changes to the validator

## Other code changes

* Improved rendering for value sets
***NO_CI***
2022-01-17 11:13:36 +00:00
dotasek bd74bf3cee Fix typos 2022-01-14 14:53:36 -05:00
markiantorno f368b021e3 Updating version to: 5.6.24-SNAPSHOT and incrementing test cases dependency. 2022-01-14 04:30:14 +00:00
markiantorno a536ceba7f Release: v5.6.23
## Validator
* changes to profile comparison based on discussion at Jan 2022 connectathon
* fix FHIRPath handling for incomplete FHIRPath expressions

## Other code changes
* fix markdown related dependencies
* fix NPE in Utilities.pathURL()
* fix logging problem in tx server logging
* fix problem caching value sets during validation
* fix NPE setting locale based on canonical jurisdiction
* Improve rendering for Quantity/Range + return display when validating for rendering purposes

***NO_CI***
2022-01-14 03:58:44 +00:00
Grahame Grieve 5313706a9a fix compile problems 2022-01-14 06:24:46 +11:00
Grahame Grieve 554a458b57 fix up logging problem 2022-01-13 17:38:39 +11:00