Commit Graph

1582 Commits

Author SHA1 Message Date
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
Lloyd McKenzie 074da98066 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into R4B-datatypes-and-xml-cleanup
# Conflicts:
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/Enumerations.java
2022-03-04 22:01:48 -07:00
Lloyd McKenzie a5302b8934 Fix XML escaping to not escape single-quotes - because our XML serializer always wraps attributes in double-quotes, making escaping unnecessary. 2022-03-04 21:55:31 -07:00
Grahame Grieve 4f652bceee more presenting extensions when rendering. 2022-03-03 07:43:09 +11:00
dotasek cb7cfe9141 Refactor for testing, add tests 2022-03-02 09:43:41 -05:00
dotasek 27732602e3 Extract package-id when default id unavailable 2022-03-01 17:03:17 -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 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
Grahame Grieve 4923382138 fix whitespace in messages 2022-02-19 21:45:28 +11:00
Grahame Grieve 99b8122728 Fix rendering problem. to XML resources 2022-02-19 21:43:14 +11: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
markiantorno 1d02e04edd Updating version to: 5.6.34-SNAPSHOT and incrementing test cases dependency. 2022-02-15 11:21:29 +00:00
Grahame Grieve fd36a5b0d2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-02-15 22:17:36 +11:00
Grahame Grieve fcd1d1494a change location of dev server 2022-02-15 22:16:50 +11: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
Grahame Grieve d91f6a450b Fix Patient Renderer 2022-02-14 16:23:22 +11: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 2dfa821e12 Add content to whitespace message 2022-02-14 09:13:35 +11:00
Grahame Grieve ea3ae8d82c fix bug in ini file 2022-02-12 09:53:33 +11:00
Grahame Grieve a570ef08a6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-02-12 08:37:02 +11:00
Grahame Grieve 76ed4abba7 Changes for debugging on OSX (fhir-tools-settings.conf) 2022-02-12 07:55:59 +11:00
Grahame Grieve b49e791cd1 Updates for changes to package.json type 2022-02-11 09:36:47 +11:00
Grahame Grieve 9f2d9f9dac
Merge pull request #735 from hapifhir/gg-202202-last-windows-commit
Gg 202202 last windows commit
2022-02-10 12:18:35 +11:00
Grahame Grieve 60cd37eca6 fix semver version for -tag tags 2022-02-10 11:18:51 +11:00
Grahame Grieve e547bb749b fix OID validation 2022-02-10 11:17:49 +11: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
dotasek 0e3e410ea1 Merge branch 'master' into simpleworkercontextbuilder 2022-02-04 09:50:42 -05: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
dotasek e0bdbda5b7 Fix package location for CacheVerificationLogger 2022-02-03 16:35:26 -05:00
Grahame Grieve 1979ec61d7 more http logging 2022-02-04 07:26:47 +11:00
dotasek 4897922fde Merge branch 'master' into simpleworkercontextbuilder 2022-02-03 14:34:39 -05:00
Grahame Grieve ee6dc981e2 include server message in http errors 2022-02-03 08:26:30 +11:00
dotasek 847ede5f88 Refactor SimpleWorkerContext and ValidationEngine 2022-02-01 15:28:19 -05: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 a29461057e fix up http issues? 2022-02-01 12:09:55 +11: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 5b66d3fe42
Merge pull request #718 from hapifhir/test-simplehttpclient-https
Add test for SimpleHttpClient and https
2022-02-01 11:50:20 +11:00
Grahame Grieve bac81752c8 merge and fix testing bugs 2022-02-01 10:20:56 +11:00
Grahame Grieve 4c48d597a6
Merge pull request #721 from dotasek/tx-server-cache-analysis
TX Server Caching for Tests
2022-02-01 08:09:41 +11:00
Grahame Grieve 1aa1e288ec merge 2022-01-30 07:57:39 +11:00
Grahame Grieve 3559bd6638 fix tests problems with date formats and java versions 2022-01-29 09:16:48 +11:00
Grahame Grieve dd65f5a975 add check for binding on multiple types 2022-01-29 09:16:05 +11:00
Gregor Lichtner abcaea9d53 fixed detection of FHIR R5 from version string 2022-01-24 12:53:26 +01:00
dotasek 09ddd964ff Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-21 17:39:51 -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
dotasek fb177d8a76 Add test for SimpleHttpClient and https 2022-01-20 13:44:03 -05:00
dotasek 4826424499 Make additional caches to cover NativeHostService and ValidationService 2022-01-19 18:36:39 -05:00
dotasek 0a3e9d3f31 Merge branch 'master' into tx-server-cache-analysis 2022-01-18 16:10:21 -05: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
dotasek 4c66dbaca9
Merge pull request #713 from hapifhir/dotasek-missing-constants-in-cli-help
Fix literal inclusion of Java constants in static text file in cli help
2022-01-17 12:08:42 -05: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 b9fe85996b Fix literal inclusion of Java contants in static text file in cli hjelp 2022-01-14 16:16:26 -05:00
dotasek 43fb17e5d2 Merge branch 'master' into Add_map_compile 2022-01-14 10:41:19 -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
dotasek 6e0b14b0b6 Merge branch 'master' into tx-server-cache-analysis 2022-01-13 09:46:45 -05:00
Grahame Grieve 5b69a30919 fix npe in Utilities.pathURL() 2022-01-13 17:39:02 +11:00
Grahame Grieve c661dae9f5 fix NPE setting locale 2022-01-13 05:14:36 +11:00
Grahame Grieve 7d3f34b0ca fix error in FHIRPath handling for incomplete FHIR Path expressions 2022-01-12 17:44:11 +11:00
markiantorno b08691b425 Updating version to: 5.6.23-SNAPSHOT and incrementing test cases dependency. 2022-01-11 00:07:58 +00:00
markiantorno 8a933094b1 Release: v5.6.22
* fix bug for NullPointerException in Bundle convertors when resource is not available.
* fix Java locale backward compatibility in surefire
***NO_CI***
2022-01-10 23:53:00 +00:00
Lloyd McKenzie 195872a9cc Better handle error conditions 2022-01-10 10:29:47 -07:00
dotasek 2d4bbe3749 Clean code 2022-01-04 13:57:39 -05:00
dotasek 7ee5d0c5e4 Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-04 13:23:32 -05:00
markiantorno 13bc0d73ca Updating version to: 5.6.22-SNAPSHOT and incrementing test cases dependency. 2021-12-28 17:45:19 +00:00
markiantorno 0394b96b14 Release: v5.6.21
* Restored missing search parameter constants for R5 model classes
***NO_CI***
2021-12-28 17:28:47 +00:00
markiantorno 4a8d66bd89 Updating version to: 5.6.21-SNAPSHOT and incrementing test cases dependency. 2021-12-23 00:04:24 +00:00
markiantorno 3523d38052 Release: v5.6.20
## Validator Changes

* fix bug looking for contained resources inside bundles when validating resources using conformsTo()
* fix problems validating canonical reference profile types

## Other code changes

n/a
***NO_CI***
2021-12-22 23:46:57 +00:00
markiantorno 2d2000b009 Updating version to: 5.6.20-SNAPSHOT and incrementing test cases dependency. 2021-12-22 20:12:54 +00:00
markiantorno 6bfb964c28 Release: v5.6.19
## Validator Changes:

* ignore canonical resources found in core examples packages
* get .ofType() working in discriminators (round #1!)
* fix bug checking enableWhen - ignoring items in answers
* Improved Error messages validating bundle entries

## Other Code Changes

* Improve rendering of uris that point to known resources
* Fix wrong reference rendering questionnaire
* Fix rendering of QuestionnaireResponses - render items in answers properly
* Improve Error message when snapshot can't be generated
* fix up support for R5
***NO_CI***
2021-12-22 19:57:14 +00:00
Grahame Grieve 614dff8367 fix up support for R5 2021-12-22 22:40:25 +11:00
Grahame Grieve 98f218fe78 Improved Error messages validating bundle entries 2021-12-22 22:39:54 +11:00
markiantorno 66ab13dba7 Updating version to: 5.6.19-SNAPSHOT and incrementing test cases dependency. 2021-12-21 22:32:14 +00:00
markiantorno 4e3bde76e9 Release: v5.6.18
## Validator

* Allow both -output and -output-style parameters (output-style applies to output now) + add csv output style
* Implement the ```-level``` parameter
* Add support for R4B validation
* fix bug in deep profiles (profiles that don't start at the root)

## Other code changes

* Regenerate R5 code for 5.0.0-snapshot1 & many consequential changes
* Add version support for R4B and R5 (R4B code generation still to be done)
***NO_CI***
2021-12-21 22:16:52 +00:00
Grahame Grieve 3a33cb2174 ## Validator
* Allow both -output and -output-style parameters (output-style applies to output now) + add csv output style
* Implement the ```-level``` parameter
* Add support for R4B validation
* fix bug in deep profiles (profiles that don't start at the root)

## Other code changes
* Regenerate R5 code for 5.0.0-snapshot1 & many consequential changes
* Add version support for R4B and R5 (R4B code generation still to be done)
2021-12-21 19:53:20 +11:00
markiantorno a2a5ad1334 Updating version to: 5.6.18-SNAPSHOT and incrementing test cases dependency. 2021-12-18 00:00:06 +00:00
markiantorno af18cc0225 Release: v5.6.17
Validator:
* check StructureDefinition derivation consistency
* fix bug looking for contained resources inside bundles
* fix up determination criteria for IRIs on identifiers in urn:ietf:rfc:3986

Other code changes:
* Add support for new FHIR releases
* Fix escaping bug in graphQL encoder
***NO_CI***
2021-12-17 23:38:05 +00:00
dotasek a519d7a686 Fix describeSizeTest
1 out of 500 runs would produce a 0, meaning that _JUST_UNDER or _JUST_OVER values would be actually be _EXACT, which would fail by definition.

This adds a minimum value of 1 to nextInt()
2021-12-17 17:05:47 -05:00
dotasek a635c06af9 Updating version to: 5.6.17-SNAPSHOT 2021-12-17 15:58:22 -05:00
markiantorno f9893fbcb5 Release: v5.6.16
Validator:
* check StructureDefinition derivation consistency
* fix bug looking for contained resources inside bundles

Other code changes:
* Add support for new FHIR releases
***NO_CI***
2021-12-17 19:39:05 +00:00
Grahame Grieve 1a713d9b85
Merge pull request #690 from reasonableJP/fix_escaping_json_control_characters
fix for escaping json control characters in graphql
2021-12-18 05:41:15 +11:00
Grahame Grieve a13a43ffdf check StructureDefinition derivation consistency 2021-12-17 12:09:29 +11:00
Jan-Peter Lechler 185c8b99f7 fix for escaping json control characters in graphql
double escape, once for java and once for json

fixes https://github.com/hapifhir/hapi-fhir/issues/3069
2021-12-16 12:27:02 +01:00
dotasek 80382865de Merge branch 'master' into tx-server-cache-analysis 2021-12-15 16:49:39 -05:00
markiantorno 19087d2cb5 Updating version to: 5.6.16-SNAPSHOT and incrementing test cases dependency. 2021-12-15 16:12:57 +00:00
markiantorno 906c5c9785 Release: v5.6.15
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources

Other code changes:
* new version of FHIR (4.3.0)
* start using release indicators in FHIR versions
* various generation related fixes for the main specification build process
***NO_CI***
2021-12-15 01:31:54 +00:00
dotasek 89bc6090f2 Updating version to: 5.6.14-SNAPSHOT 2021-12-14 19:54:14 -05:00
markiantorno cf77dd9492 Release: v5.6.14
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources

Other code changes:
* new version of FHIR (4.3.0)
* start using release indicators in FHIR versions
* various generation related fixes for the main specification build process
***NO_CI***
2021-12-14 22:45:02 +00:00
dotasek d2c2220ab6 Update core version 2021-12-14 17:09:08 -05:00
Grahame Grieve ea87f94253
Merge pull request #688 from hapifhir/gg-202112-r4b-fixes
main Build fixes: new version of FHIR (4.3.0) + transit to using rele…
2021-12-15 09:03:54 +11:00
Grahame Grieve 8eb78c4696 add some logging 2021-12-15 08:25:12 +11:00
Grahame Grieve c15e60f2c6 main Build fixes: new version of FHIR (4.3.0) + transit to using release indicators in version + fix various build issues 2021-12-15 07:28:19 +11:00
dotasek 5cbdc8b49d Updating version to: 5.6.14-SNAPSHOT 2021-12-14 12:04:27 -05:00
markiantorno 6275af3a5e Release: v5.6.13
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-14 01:44:11 +00:00
dotasek a3fa5a52f1 Updating version to: 5.6.13-SNAPSHOT 2021-12-13 18:28:41 -05:00
markiantorno 0dab4e8e2b Release: v5.6.12
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 21:28:17 +00:00
dotasek fb66078678 Updating version to: 5.6.12-SNAPSHOT 2021-12-13 15:33:32 -05:00
dotasek cbd1394549 Merge branch 'master' into tx-server-cache-analysis 2021-12-13 15:22:21 -05:00
markiantorno 0211796882 Release: v5.6.11
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 18:52:29 +00:00
dotasek d9d1c5afe4 Updating version to: 5.6.11-SNAPSHOT 2021-12-13 13:01:16 -05:00
markiantorno e59194de6b Release: v5.6.10
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 10:51:11 +00:00
Grahame Grieve 65e65d3e7b fix bug in client caching for unidentified value sets + look for code system definitions in local context + fix path error in Questionnaire Response validation 2021-12-13 18:39:44 +11:00
Grahame Grieve 81249998c2 fix up r4b canonical list 2021-12-13 18:37:16 +11:00
Grahame Grieve b79d71f947 better version specific resolution of special canonical resources 2021-12-13 18:36:56 +11:00
markiantorno e310c8c1ef Updating version to: 5.6.10-SNAPSHOT and incrementing test cases dependency. 2021-12-09 22:18:07 +00:00
markiantorno 08dc513480 Release: v5.6.9
Validator:
* enforce minValue and maxValue for decimal and Quantity types
* add checks for whitespace in base64 content (warning in <R5)

Other code changes:
* Fix trailing slashes for JAVA_HOME tests
* remove relative URL prefixing
* Add delayed load resources to all resources
* Don't load resources from core examples package over other resources
* Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* fix error rendering lists with encounter references
* fix error rendering questionnaire answer lists
* improve rendering of version specific and targetted references
***NO_CI***
2021-12-09 21:51:38 +00:00
dotasek 2f9dda50b6 Updating version to: 5.6.9-SNAPSHOT 2021-12-09 15:57:57 -05:00
markiantorno e0b72c5731 Release: v5.6.8
Validator:
* enforce minValue and maxValue for decimal and Quantity types
* add checks for whitespace in base64 content (warning in <R5)

Other code changes:
* Fix trailing slashes for JAVA_HOME tests
* remove relative URL prefixing
* Add delayed load resources to all resources
* Don't load resources from core examples package over other resources
* Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* fix error rendering lists with encounter references
* fix error rendering questionnaire answer lists
* improve rendering of version specific and targetted references
***NO_CI***
2021-12-09 19:57:46 +00:00
Grahame Grieve 07443ef6f8 fix broken tests 2021-12-09 10:56:04 +11:00
Grahame Grieve 0cbc88cb54 * check that base64 content doesn't have whitespace (warning in <R5) 2021-12-09 09:30:01 +11:00
Grahame Grieve ccdb0c434f * Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* enforce minValue and maxValue for decimal and Quantity types
2021-12-09 08:20:56 +11:00
dotasek e5976307f4 Refactor to get consistent ValidationEngine with txCache in tests 2021-12-08 12:34:35 -05:00
dotasek 1c1e7d22ca WIP track server requests 2021-12-07 16:08:28 -05:00
dotasek aae8c42903
Merge branch 'master' into normalized-java-home-tests 2021-12-06 17:48:29 -05:00
markiantorno 714922a84b Updating version to: 5.6.8-SNAPSHOT and incrementing test cases dependency. 2021-12-06 22:35:25 +00:00
dotasek 198d9092ac
Merge branch 'master' into normalized-java-home-tests 2021-12-06 17:16:43 -05:00
markiantorno 186b0b23b7 Release: v5.6.7
* More import updates
***NO_CI***
2021-12-06 22:04:52 +00:00
dotasek fad3e34e04
Merge branch 'master' into normalized-java-home-tests 2021-12-06 15:10:11 -05:00
markiantorno 5d416f7602 Updating version to: 5.6.7-SNAPSHOT and incrementing test cases dependency. 2021-12-06 19:46:52 +00:00
markiantorno 9bb4807c92 Release: v5.6.6
* Removing unused dependency as it is causing downstream errors in HAPI builds
***NO_CI***
2021-12-06 19:21:58 +00:00
markiantorno 8d873be2a3 Updating version to: 5.6.6-SNAPSHOT and incrementing test cases dependency. 2021-12-06 18:41:00 +00:00
markiantorno 113a89b13b Release: v5.6.5
* Removing IJ annotations
***NO_CI***
2021-12-06 18:13:58 +00:00
dotasek 72eef08cd4 Fix JAVA_HOME tests with trailing slashes 2021-12-06 13:10:42 -05:00
markiantorno ac8f2b6ba9 Updating version to: 5.6.5-SNAPSHOT and incrementing test cases dependency. 2021-12-03 06:14:31 +00:00
markiantorno aef3f6fffe Release: v5.6.4
* Add usesExtension to ToolingExtensions
***NO_CI***
2021-12-03 05:47:37 +00:00
Grahame Grieve a090ea15fe
Merge pull request #681 from hapifhir/gg-202112-q-validation
Gg 202112 q validation
2021-12-03 07:50:47 +11:00
Grahame Grieve d303dba48d fix problem resolving nested contained value sets in QuestionnaireResponses + fix NPE rendering questionnaire + fix bug validating profile on resource at root of Bundle 2021-12-03 06:51:23 +11:00
markiantorno 71b7409210 Updating version to: 5.6.4-SNAPSHOT and incrementing test cases dependency. 2021-12-02 19:49:44 +00:00
markiantorno 9a5b721220 Release: v5.6.3
* more work on date time test cases
* fix date/time rendering test
* fix bug in code system handling (NPE) + add support for json test cas…
* extend policy advisor to control terminology validation + hack fixes
* fix up SHC parsing problem
* improvements to code system rendering + fix date/time rendering tests

***NO_CI***
2021-12-02 19:23:28 +00:00
dotasek 7c630b6680 Updating version to: 5.6.3-SNAPSHOT 2021-12-02 13:11:27 -05:00
markiantorno f0f49b890d Release: v5.6.2
* more work on date time test cases
* fix date/time rendering test
* fix bug in code system handling (NPE) + add support for json test cas…
* extend policy advisor to control terminology validation + hack fixes
* fix up SHC parsing problem
* improvements to code system rendering + fix date/time rendering tests

***NO_CI***
2021-12-02 16:52:05 +00:00
Grahame Grieve 5b99283a52 more work on date time test cases 2021-11-30 18:05:18 +11:00
markiantorno 79a6b81e10 Updating version to: 5.6.2-SNAPSHOT and incrementing test cases dependency. 2021-11-26 15:21:24 +00:00
markiantorno 9717d321b4 Release: v5.6.1
* Validation process now has the option to control level of validation on both references and contained resources,
through the addition of two new interfaces, this is reflected in the new fields I added in fire test cases
(see https://github.com/FHIR/fhir-test-cases/pull/101)
* Improve output for describeSize Utility unit tests.
* Fix logging of requests for dstu3
***NO_CI***
2021-11-26 14:55:52 +00:00
dotasek 8adf461ef2 Add TODO 2021-11-23 09:53:51 -05:00
dotasek 0e42de50f7 Add additional output for size tests 2021-11-23 09:45:51 -05:00
markiantorno 1ac0e90c07 Updating version to: 5.6.1-SNAPSHOT and incrementing test cases dependency. 2021-11-22 21:58:23 +00:00
markiantorno 54fcb8dcab Release: v5.6.0
Validator:
* no changes

Other code changes
* Bumping version to reflect current HAPI version
* fix bug in renderer rendering R3 resources

***NO_CI***
2021-11-22 21:32:27 +00:00
dotasek 0b441d3b30 Restore version after failed build 2021-11-22 15:57:23 -05:00
markiantorno f6b4cf5c45 Release: v5.5.16
Validator:
* no changes

Other code changes
* Bumping version to reflect current HAPI version
* fix bug in renderer rendering R3 resources

***NO_CI***
2021-11-22 18:54:45 +00:00
dotasek 13004b85cc Bumping version to reflect current HAPI version 2021-11-22 10:35:17 -05:00
markiantorno d799fcdf27 Release: v5.5.16
Validator:
* no changes

Other code changes
* fix bug in renderer rendering R3 resources
***NO_CI***
2021-11-22 12:00:35 +00:00
markiantorno f80b0984e1 Updating version to: 5.5.16-SNAPSHOT and incrementing test cases dependency. 2021-11-22 00:22:18 +00:00
markiantorno ed4ef0a2c3 Release: v5.5.15
Validator:
* fix processing of modifier extensions and cross-version modifier extensions

Other changes:
* improvements to data types rendering based on new test cases (URLs, Money, Markdown)
* add locale to rendering context, and fix up timezone related rendering based on locale
***NO_CI***
2021-11-21 23:56:27 +00:00
Grahame Grieve 41b7a0566c fix processing of modifier extensions and cross-version modifier extensions 2021-11-21 19:37:05 +11:00
Grahame Grieve 73fa4fb242 fix bug doing non-namespaced XML comparison 2021-11-20 06:33:07 +11:00
markiantorno 0a8334e543 Updating version to: 5.5.15-SNAPSHOT and incrementing test cases dependency. 2021-11-18 05:00:53 +00:00
markiantorno 601863b765 Release: v5.5.14
* fix bug generating CapabilityStatement Narratives
***NO_CI***
2021-11-18 04:28:59 +00:00
Grahame Grieve 11149b567d fix bug generating CapabilityStatement Narratives 2021-11-18 14:54:35 +11:00
markiantorno 2cc3d2a1e2 Updating version to: 5.5.14-SNAPSHOT and incrementing test cases dependency. 2021-11-18 02:23:28 +00:00
markiantorno 2be62cd496 Release: v5.5.13
Validator:
* Check for using CodeSystem not ValueSet in a value set binding
* remove verbose logging statements

Other code Changes:
* Render Expressions + supported profiles in CapabilityStatements
* Fix NPE rendering date with no value (only extension)
* Fix NPEs rendering code system properties
* Date tracking in new Terminology Cache
* Define Extensions for contained resources in IGs
***NO_CI***
2021-11-18 01:54:52 +00:00
Grahame Grieve dbf8179b6d
Merge pull request #663 from hapifhir/gg-202111-cs-work
Gg 202111 cs work
2021-11-18 11:43:37 +11:00
Grahame Grieve f4ec323587 add extra logging for package access failure 2021-11-18 11:05:13 +11:00
Grahame Grieve de15633f4f Address issues around fragment and example code systems + fix value set related validation messages 2021-11-18 10:59:49 +11:00
dotasek cccf1cebae
Update maven config and tests to allow Java 8, 11 and 17 builds (#653)
* Updates to enable Java 8, 11, and 17 builds

* Set surefire args according to profile + update jacoco verison

* Add comments for surefire profile args.

* Temporarily skip failing test

* Object based parameters ***NO_CI***

* Cleanup skipped test, move new pipeline codo

* Update validator_test_case_version
2021-11-16 09:26:53 -05:00
Grahame Grieve 0f087234de * Check for using CodeSystem not ValueSet in a value set binding 2021-11-16 17:25:18 +11:00
markiantorno d483a7dbc3 Updating version to: 5.5.13-SNAPSHOT and incrementing test cases dependency. 2021-11-13 22:03:00 +00:00
markiantorno 86eb372965 Release: v5.5.12
Code changes:
* remove erroneous logging to c:\temp
***NO_CI***
2021-11-13 21:33:11 +00:00
Grahame Grieve bbec9e0d43 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-12 10:30:24 +11:00
Grahame Grieve c5999e4624 remove erroneous logging to c:\temp 2021-11-12 10:30:06 +11:00
markiantorno 24efd996e0 Updating version to: 5.5.12-SNAPSHOT and incrementing test cases dependency. 2021-11-11 06:51:17 +00:00
markiantorno 31e05f39fa Release: v5.5.11
Validator Changes
* Add warning about resources not linked to in bundles
* Fix up support for pre-adopting R5 extensions

Other Code Changes
* Updating client logger to log both req and resp
* Refactoring of converter loader and misc packages.
* rework all HTTP access through a single access point (todo: refactor this to use okhttp)
* Improvements to rendering for IG publication (including fixing broken links)
* fix NPE in QuestionnaireRenderer
* Move tx-cache management to tx.fhir.org instead of git
* fix concept map rendering
***NO_CI***
2021-11-11 06:24:42 +00:00
Grahame Grieve 78eeba7045 fix bugs in TerminologyCacheManager 2021-11-10 17:05:32 +11:00
Grahame Grieve 1e69909466 Add warning about resources not linked to in bundles 2021-11-10 17:04:51 +11:00
Grahame Grieve 5a33d5c15a merge conflicts + rework rendering + gather all HTTP access to SimpleHTTPClient + add TerminologyCacheManager 2021-11-09 16:24:21 +11:00
Grahame Grieve 1aae6c8c76 rework HTTP client - all client calls route through SimpleHTTPClient + define CommonPackages infrastructure 2021-11-09 11:38:25 +11:00
markiantorno 7bcd2b6434 Adding changes for logging request and resp 2021-11-08 16:10:04 -05:00
markiantorno 52cbe69651 Updating version to: 5.5.11-SNAPSHOT and incrementing test cases dependency. 2021-11-03 04:58:39 +00:00
markiantorno 2c2fb1179a Release: v5.5.10
Validator
* Fix validation of RiskAssessment probability
* Don't check MeasureReport groups if Measure doesn't have any groups

Other code changes
* Fix generation of GraphQL schema
* remove spurious log files
***NO_CI***
2021-11-03 04:32:39 +00:00
Grahame Grieve 4cde3369ff
Merge pull request #637 from hapifhir/gg-202110-CVE-2021-42574
Gg 202110 CVE 2021 42574
2021-11-03 12:08:42 +11:00
Grahame Grieve 5494b14b4b fix tests 2021-11-03 11:33:50 +11:00
Grahame Grieve 36ea3f5b45 whatever I really hate git 2021-11-03 10:35:47 +11:00
markiantorno 02080df896 changing JAVA_HOME to remove trailing slash 2021-11-02 15:47:39 -04:00
Grahame Grieve 57edd95e81 add -no_unicode_bidi_control_chars to the validator for CVE-2021-42574 (https://trojansource.codes/) 2021-11-02 17:47:25 +11:00
markiantorno ccd8567edb Updating version to: 5.5.10-SNAPSHOT and incrementing test cases dependency. 2021-10-29 21:37:57 +00:00
markiantorno 9f789edd41 Release: v5.5.9
* https://github.com/hapifhir/org.hl7.fhir.core/issues/623
* add explicit control over the User-Agent header, and make sure header…
* #328 - wrong processing of markdown URLs
* test fixes for URL handling
* fix tests
* improved validation of UUIDs
***NO_CI***
2021-10-29 21:12:02 +00:00
Grahame Grieve 1c65a9b261
Gg 202110 validation various (#634)
* add explicit control over the User-Agent header, and make sure headers flow through properly to all calls

* #328 - wrong processing of markdown URLs

* test fixes for URL handling

* fix tests

* improved validation of UUIDs

* fix test case dependency

* Add Dicom Package builder
2021-10-29 16:26:50 -04:00
Grahame Grieve e4b503751c improved validation of UUIDs 2021-10-29 09:20:23 +11:00
Grahame Grieve 53c5211033 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-10-29 09:19:11 +11:00
Grahame Grieve 5b9736dbff add explicit control over the User-Agent header, and make sure headers flow through properly to all calls 2021-10-23 05:56:36 +11:00
markiantorno 6f32a85d66 Updating version to: 5.5.9-SNAPSHOT and incrementing test cases dependency. 2021-10-22 01:16:56 +00:00
markiantorno 7254337c5b Release: v5.5.8
* add -output-style parameter
* handle naming system URLs when resolving URLs
* fix profile comparison
* fix tests dependency
* ping build
* more validation for canonical URLs
* fix terminology version management and caching + better error message… …
* Merge pull request #620 from EricLemieux/fix-618 …
* fix json issue, and add tests for it
* Fix Issue 618 | NPE bundle validation …
* Removing pinentry option for gpg as it breaks in ubuntu 20.04
***NO_CI***
2021-10-22 00:52:33 +00:00
Grahame Grieve 3f66b3d474 ping build 2021-10-20 19:22:06 +11:00
Grahame Grieve 4cdead6f80 more validation for canonical URLs 2021-10-20 17:06:59 +11:00
Grahame Grieve e21a9830b8 fix terminology version management and caching + better error messages for extension context 2021-10-19 12:47:37 +11:00
markiantorno 28bdc66c64 Updating version to: 5.5.8-SNAPSHOT and incrementing test cases dependency. 2021-10-10 23:07:21 +00:00
markiantorno f450904bdb Release: v5.5.7
* NPE fixes
* Smart Health Cards support in validator
* Fix bug generating spreadsheets due to sheet name length limitations
* Implement descendent-of filter
* more NPE fixes
* add Element.removeChild
* fix issue generation snapshot and content reference, and work around …
* improve SHC validation error
* fix for NPE generating ConceptMap spreadsheet
* fix crash in IG publisher rendering illegal content
* Improve slicing error messages
* more improving error message resolving slicing
* add missing code + track prohibited / required elements (improve rend…
* fix for broken links in R4B IGs
* fix bug related to logger in FHIRToolingClient
* fix bug related to logger in context
* enable detection of whether tx server knows about value set and bette…
* make likely source URL visible outside ProfileUtilities
* fix renderers - don't make nonvalid URLs into html links + fix NPE +
* fix bug with sheetnames generating spreadsheets
* supper branches in current version of packages
* report slicing information automatically where slicing is based on pr…
* fix misleading validation message + add -ips parameter for validator
* hint not warning when it's an example questionnaire
***NO_CI***
2021-10-10 22:40:40 +00:00
Grahame Grieve 237897965b
Gg 202110 misc validation (#617)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs

* fix bug related to logger in FHIRToolingClient

* fix bug related to logger in context

* enable detection of whether tx server knows about value set and better track returned errors from tx server

* make likely source URL visible outside ProfileUtilities

* fix renderers - don't make nonvalid URLs into html links + fix NPE +

* fix bug with sheetnames generating spreadsheets

* supper branches in current version of packages

* report slicing information automatically where slicing is based on profile + fix shc support + support codesystem-properties-mode + fix value set validation on profiles + fix wrong entry point on vaildating contained resources with profiles

* fix misleading validation message + add -ips parameter for validator

* hint not warning when it's an example questionnaire
2021-10-10 17:37:02 -04:00
markiantorno df724155e0 Updating version to: 5.5.7-SNAPSHOT and incrementing test cases dependency. 2021-10-09 22:05:18 +00:00
markiantorno 04ceca78b1 Release: v5.5.6
* incrementing test case dependency
***NO_CI***
2021-10-09 21:34:22 +00:00
markiantorno c33a3b5e82 forgot to change module versions 2021-10-08 13:31:53 -04:00
markiantorno f0997bc0c0 Updating version to: 5.5.5-SNAPSHOT and incrementing test cases dependency. 2021-09-29 17:51:23 +00:00
markiantorno 6aaf495c85 Release: v5.5.4
* https://github.com/hapifhir/org.hl7.fhir.core/issues/499
* https://github.com/hapifhir/org.hl7.fhir.core/issues/602
* https://github.com/hapifhir/org.hl7.fhir.core/issues/611
***NO_CI***
2021-09-29 17:22:54 +00:00
Grahame Grieve 342d75b2df
Gg 202109 misc snapshot (#610)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs
2021-09-29 10:29:10 -04:00
markiantorno 3db881a93b Updating version to: 5.5.4-SNAPSHOT and incrementing test cases dependency. 2021-09-10 03:27:13 +00:00
markiantorno 6b479d16cd Release: v5.5.3
* Adding option to modify headers for http tx requests
***NO_CI***
2021-09-10 02:57:44 +00:00
markiantorno 9b37e0fdc2 bumping version because github deploy failed 2021-09-09 22:38:51 -04:00
markiantorno f72d115f0f Release: v5.5.2
* Adding option to modify headers for http tx requests
***NO_CI***
2021-09-10 01:57:53 +00:00
Grahame Grieve 9a8394bc2a handle network failures better in IG publisher 2021-09-10 06:50:10 +10:00
Grahame Grieve 4a8d626ab9 check for latest version of package 2021-09-04 04:41:39 +10:00
Grahame Grieve bd6225cf9e fix bugs to do with value set expansion 2021-09-03 17:27:23 +10:00
markiantorno 19d255636c Updating version to: 5.5.2-SNAPSHOT and incrementing test cases dependency. 2021-09-02 15:37:47 +00:00
markiantorno 23688f54f6 Release: v5.5.1
* The release failed and we need to do a quick release to fix versioning.
***NO_CI***
2021-09-02 15:09:38 +00:00
markiantorno b36f54eb6b bumping version to fix release issues 2021-09-02 08:56:49 -04:00
markiantorno ae571d4bfb Updating version to: 1.1.68-SNAPSHOT and incrementing test cases dependency. 2021-09-02 03:52:18 +00:00
markiantorno 2bd2e3b864 Release: v1.1.67
Validator
* fix NPE bug logging terminology server calls
* fix NPE bug validating logical models
* fix problem with Type Name when validating against Logical Models
***NO_CI***
2021-09-02 03:26:20 +00:00
Grahame Grieve bcee0603e5 fix version 2021-09-02 12:20:48 +10:00
markiantorno f58cdec1c0 Updating version to: 5.4.13-SNAPSHOT and incrementing test cases dependency. 2021-09-01 04:29:12 +00:00
markiantorno 175eeeca2d Release: v5.4.12
Validator:

* Hack around erroneous R3 Invariant (ref-1)
* Add support for generating terminology spreadsheets from the command line validator
* Validate Resource.id and Element.id properly

Other Code Changes:
* Change the FHIRPath interface IEvaluationContext.resolveConstant to return List<Base> not Base (BREAKING CHANGE!)
* Binary Resource Renderer
* Spreadsheet Generation for terminology resources (org.hl7.fhir.r5.renderers.spreadsheets package)
* Fix various NPEs discovered by users
* Fix rendering of value sets that have no definition
* Mark generated narrative with a flag in user data
* return system for display when IWorkerContext.validateCode is called
***NO_CI***
2021-09-01 03:59:20 +00:00
Grahame Grieve 66fb0893ad Rendering for Binary Resources 2021-09-01 09:54:03 +10:00
Grahame Grieve 3cb384a297 revise validation of resource and element id 2021-08-27 09:59:17 +10:00
markiantorno 99e85360d7 Updating version to: 5.4.12-SNAPSHOT and incrementing test cases dependency. 2021-08-25 23:38:16 +00:00
markiantorno 1b4c675c19 Release: v5.4.11
* Differential element fields minValue/maxValue are now correctly treated in the snapshot generation process
* Conversion context added to conversions process
* Users can now define custom behavior for CodeSystems, Extensions, BundleEntries, and Types by extending BaseAdvisor.
* Resource Conversions are now thread-safe, each using their own instance of the conversion context that is unique
* ConversionFactory classes are statically accessed, to minimize changes downstream
* I need to add more tests, there were very few to begin with, and it's my next task
* All conversion libraries and no play makes Mark a dull boy
* Exposed showMessagesFromReferences on the command line interface to support reporting validation errors on referenced types (particularly useful when validating messages & documents)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/564
* https://github.com/hapifhir/org.hl7.fhir.core/issues/513
***NO_CI***
2021-08-25 23:10:46 +00:00
Mark Iantorno 88efa6f863
Issue 513 (#587)
* wip

* wip

* sdjkhfakjsdhllkjsdhfsdkh

* wip
2021-08-25 14:45:21 -04:00
Mark Iantorno be25055574
https://github.com/hapifhir/org.hl7.fhir.core/issues/564 (#572)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/564

* updating help text as per Grahame's feedback.

* wip
2021-08-25 14:06:34 -04:00
Grahame Grieve aa5ab74003
Merge pull request #236 from ahdis/oe_xmlwriter_utf8_attr
XmlWriter for UTF-8 should not encode umlaut in attributes (elementmodel)
2021-08-24 05:55:28 +10:00
Grahame Grieve c7681852fe
Merge pull request #581 from hapifhir/2021-06-gg-fixes-1
2021 06 gg fixes 1
2021-08-24 05:33:57 +10:00
Grahame Grieve 36413d55b8 fix up isAbsoluteUrl check 2021-08-20 08:28:11 +10:00
Grahame Grieve 968e6432ed Actually fix US Core 4.0.0 references 2021-08-20 08:27:45 +10:00
markiantorno 9a66c87a05 Updating version to: 5.4.11-SNAPSHOT and incrementing test cases dependency. 2021-08-19 02:59:51 +00:00
markiantorno 0853126597 Release: v5.4.10
* Conversion context added to conversions process
* Users can now define custom behavior for CodeSystems, Extensions, BundleEntries, and Types by extending BaseAdvisor.
* Resource Conversions are now thread-safe, each using their own instance of the conversion context that is unique
* ConversionFactory classes are statically accessed, to minimize changes downstream
* I need to add more tests, there were very few to begin with, and it's my next task
* All conversion libraries and no play makes Mark a dull boy
***NO_CI***
2021-08-19 02:26:11 +00:00
Grahame Grieve 6e5108afcc Fix tests for attack on packages2.fhir.org 2021-08-18 07:05:41 +10:00
markiantorno 99fcac64ac Updating version to: 5.4.10-SNAPSHOT and incrementing test cases dependency. 2021-07-15 16:29:01 +00:00
markiantorno 296ab05f10 Release: v5.4.9
* Big refactoring of conversion code. First big step in being able to add conversion context.
* https://github.com/HL7/fhir-ig-publisher/issues/295
***NO_CI***
2021-07-15 15:57:12 +00:00
Mark Iantorno 4742b54355
https://github.com/HL7/fhir-ig-publisher/issues/295 (#560) 2021-07-15 09:34:33 -04:00
markiantorno c53cc54b96 Updating version to: 5.4.9-SNAPSHOT and incrementing test cases dependency. 2021-07-06 19:01:20 +00:00
markiantorno 1330ad7cf8 Release: v5.4.8
Fixed issue where validator fails to detect invariant issue when there are multiple profiles that use the same invariant on the same element. Also addressed issue revealed by the fix where the context resource wasn't being set properly when checking certain invariants (identified by one of the existing test cases).
***NO_CI***
2021-07-06 18:31:40 +00:00
markiantorno 1d7e8bf63d Updating version to: 5.4.8-SNAPSHOT and incrementing test cases dependency. 2021-07-05 17:01:20 +00:00
markiantorno c1adf78ed9 Release: v5.4.7
* Releasing to bring latest release up to Grahame's latest changes.
***NO_CI***
2021-07-05 16:01:31 +00:00
Grahame Grieve 17c7879122 add special exemption for immds due to it changing realms 2021-06-25 17:37:28 +10:00
markiantorno 887365e778 Updating version to: 5.4.7-SNAPSHOT and incrementing test cases dependency. 2021-06-24 19:44:46 +00:00
markiantorno aa0b7bc056 Release: v5.4.6
Validator:
* Fix problem importing x-version extensions with multiple targets
* fix bug validating profiles on bundle.entry.resource
* Fix loading issues with German translations (Unicode encoding problem)

Version Conversion:

* Round trip old questionnaires properly with R5 (item.type)

Other code changes:

* Fix up questionnaire rendering for old versions
* Add support for using https:// references to HL7 website
* Add support for using https:// references to HL7 website
* Add support for R4B to context
* update pubpack to v0.0.9
***NO_CI***
2021-06-24 19:18:37 +00:00
Grahame Grieve 309dbba9b6 update pubpack to v0.0.9 2021-06-24 21:47:50 +10:00
Grahame Grieve 54f085545d Add support for R4B 2021-06-24 21:47:06 +10:00
Grahame Grieve 9862f0a390 Add support for using https:// references to HL7 website 2021-06-24 21:46:13 +10:00
Grahame Grieve a64d7440df Remove rule that heirarchical tables must have rows 2021-06-24 15:07:45 +10:00
Grahame Grieve e022acb569
Merge pull request #544 from hapifhir/gg-202106-validator-paths
Gg 202106 validator paths
2021-06-23 22:07:22 +10:00
Grahame Grieve 3a319a5d57 Fix pathing issues in the validator 2021-06-23 20:35:38 +10:00
Mark Iantorno 1a1278b396
Fixes to display umlauts correctly in validation messaging. (#542)
* Fixes to display umlauts correctly in validation messaging.

* adding tests
2021-06-22 20:29:27 -04:00
Grahame Grieve 1aaf086c55 Fix wrong profile error message + NPE prevention 2021-06-21 15:32:06 +10:00
markiantorno e68b5857b1 Updating version to: 5.4.6-SNAPSHOT and incrementing test cases dependency. 2021-06-17 22:28:48 +00:00
markiantorno 02e761c3dc Release: v5.4.5
* Fix validation bug on Canonical references
***NO_CI***
2021-06-17 21:59:19 +00:00
markiantorno dd49561bd7 Updating version to: 5.4.5-SNAPSHOT and incrementing test cases dependency. 2021-06-17 09:06:05 +00:00
markiantorno 952db0248a Release: v5.4.4
Validator:

* Add support for $index on aggregators in FHIRPath
* don't fail with an exception if an unknown resource type appears in contained resource
* improved validation for some value sets that are based on unknown code systems
* add the -verbose parameter, and add additional verbose messages
* CDA: Fix erroneous type validation on CDA templates

Conversion code:

* Ignoring abatementBoolean when converting from dstu2 to r4

Snapshot generator:

* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types

Other code changes:

* Fix rendering of slices so type on slicer is not hidden
* Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render)
* Fix NPE rendering code systems with some kinds of properties
* Improve rendering of questionnaires (icons, option sets)
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information
***NO_CI***
2021-06-17 08:33:35 +00:00
Grahame Grieve d67cecc83f * CDA: Fix erroneous type validation on CDA templates
* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information
2021-06-17 16:55:15 +10:00
Grahame Grieve 8088cedb66 add the -verbose parameter, and add additional verbose messages 2021-06-15 08:51:47 +10:00
markiantorno e5d2cf0f9c Updating version to: 5.4.4-SNAPSHOT and incrementing test cases dependency. 2021-06-05 01:16:45 +00:00
markiantorno eb2d0a499a Release: v5.4.3
Validator:
* Add NL translations
* Fix validation of extensions on patterns
* Validation of cardinality on address-line elements containing pattern elements fixed
* Ensure that validator creates errors on example urls by default
* Add -allow-example-urls option to the validator
* Fixed issue where when validating with no terminology server and a value set with only an expansion (no compose), the 'inferred' code system wasn't being populated and validation was then failing on a coding with no specified code system
* when validating value sets, use CodeSystem/$validate-code not ValueSet/$validate-code

Version Conversion Fixes:
* add copying of aggregation mode for conversion from 50 to 30
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
* fix obscure issue converting discriminators from R2B to R4/5

Code Changes:
* Adding Maven exec to test validation cli jar
* Add SIDUtilities and clean up SID handling code across the code base
* fix rendering bug on references
***NO_CI***
2021-06-05 00:50:10 +00:00
Grahame Grieve 4f5d056ec5 Fix rendering bug + make nl properties UTF-8 2021-06-04 23:18:26 +10:00
Grahame Grieve 986d0cb134 Revert "change encoding of de properties to iso-8859-1"
This reverts commit c65ddb5c0b.
2021-06-04 15:11:40 +10:00
Grahame Grieve c65ddb5c0b change encoding of de properties to iso-8859-1 2021-06-04 14:41:19 +10:00
Grahame Grieve a1b804150f
Merge pull request #520 from ahenket/master
Addition of Message_nl.properties
2021-06-04 14:32:11 +10:00
Grahame Grieve a371f5fe3e Add -allow-example-urls option to the validator 2021-06-02 17:45:50 +10:00
Grahame Grieve e1f29ff29d Clean up SID code and Validation of cardinality on address-line elements containing pattern elements fixed 2021-06-02 06:22:11 +10:00
Grahame Grieve 059ff14425
Merge branch 'master' into gg_202105_03 2021-05-31 08:52:47 +10:00
Grahame Grieve f83a4d95e8
Merge pull request #506 from lmckenzi/Better-handling-of-bad-xhtml-entity
If there's an ampersand that doesn't actually have a closing semi-col…
2021-05-31 08:39:57 +10:00
Alexander Henket a08534b78a Fixed all issues after review 2021-05-26 22:08:19 +02:00
Alexander Henket 91d99dbe08 More typos fixed 2021-05-26 22:08:01 +02:00
Alexander Henket 73e093a13f Fixed unescaped single quotes 2021-05-26 20:58:05 +02:00
Alexander Henket 4cdef1af2d Initial checkin of Dutch translation. Ready for review passes 2021-05-26 20:56:50 +02:00
Alexander Henket 06a007ab38 Initial checkin as copy of English base file 2021-05-26 20:55:53 +02:00
Alexander Henket e7798b47f8
Fixed minor typos
Found these while working on the Dutch version to be submitted later
2021-05-26 20:54:37 +02:00
markiantorno d91a4bbb03 Updating version to: 5.4.3-SNAPSHOT and incrementing test cases dependency. 2021-05-21 18:14:31 +00:00
markiantorno 552ef55ada Release: v5.4.2
* Rolling back HAPI dependency so we can build and publish
***NO_CI***
2021-05-21 17:42:50 +00:00
Lloyd McKenzie 5d9b7f4d62 If there's an ampersand that doesn't actually have a closing semi-colon, the process eventually runs out of characters and then fails doing a charAt(0). Catch this issue and throw a useful exception. 2021-05-19 19:04:11 -06:00
markiantorno 5648f7a925 Updating version to: 5.4.2-SNAPSHOT and incrementing test cases dependency. 2021-05-19 18:42:31 +00:00
markiantorno 52169f00ba Release: v5.4.1
* update so I can push a new validator
***NO_CI***
2021-05-19 18:15:50 +00:00
markiantorno 41f2fe7626 MAGIC BUILD FIXING WIZARDY 2021-05-19 11:03:57 -04:00
jamesagnew 9b829d9714 Version bump to 5.4.0 for release 2021-05-18 16:55:09 -04:00
markiantorno f082ed15ee Updating version to: 5.3.15-SNAPSHOT and incrementing test cases dependency. 2021-05-14 15:05:25 +00:00
markiantorno d17a8da923 Release: v5.3.14
Validator:

* Added parameter -want-invariants-in-messages
* fix issue with dependencies on IGs that have uppercase in package IDs

Other Code Changes

* Fix displays for some codes in ConceptMap.relationship when rendering
* Add Publication Version to rendering context for future use.
***NO_CI***
2021-05-14 14:32:48 +00:00
markiantorno 857e504315 upping version for release 2021-05-14 09:37:04 -04:00
Grahame Grieve 1b1b564682 fix issue with dependencies on IGs that have uppercase in package IDs 2021-05-14 12:23:21 +10:00
Grahame Grieve cf859c9ed1 add new parameter for whether to include FHIRPath in invariant error messages 2021-05-14 12:21:28 +10:00
Grahame Grieve d4c25d56b5
Merge branch 'master' into gg_202105_03 2021-05-14 11:32:06 +10:00
Grahame Grieve 24152a2f92 resolve conflicts 2021-05-14 06:12:25 +10:00
markiantorno baf81057a8 Updating version to: 5.3.13-SNAPSHOT and incrementing test cases dependency. 2021-05-13 19:12:04 +00:00
markiantorno a20d84bf2b Release: v5.3.12
* Update core R5 code to v4.6.0 (breaking changes to questionnaire, concept map, and other resources that are less important to core)
* Fix compartment definitions of ListResource.source and subject for R3 and R4
* Snapshot generator: fix problem checking types on logical models
* Do not flag internal references as suspicious
* XMLParser allows passing a schema location
* XMLParser allows passing a schema location
* Issue 484 https://github.com/hapifhir/org.hl7.fhir.core/issues/484
* Adding Kotlin to the build process
* random cleaning up in convertors
* Adding version option to ignore bundle entry in conversion advisors
* Validator: Load code systems from known packages on the fly
* Validator: better handle invalid v3 dates
* Renderer: Render OperationDefinition.InputProfile and OutputProfile
* Important: Allow more valid schemas for Utilities.isAbsoluteUrl
* Validator: remove notes about extensible bindings if profile extensible binding is valid
***NO_CI***
2021-05-13 18:41:58 +00:00
Grahame Grieve 3cb51f88c8 fix overrun error reading invalid xhtml + fix loading problem on validation test 2021-05-13 22:51:01 +10:00
Grahame Grieve 4e173f4715 * Validator: Load code systems from known packages on the fly
* Validator: better handle invalid v3 dates
* Renderer: Render OperationDefinition.InputProfile and OutputProfile
* Important: Allow more valid schemas for Utilities.isAbsoluteUrl
* Validator: remove notes about extensible bindings if profile extensible binding is valid
2021-05-07 18:29:21 +10:00
Grahame Grieve b13b4932f9 XMLParser allows passing a schema location 2021-05-05 12:17:02 +10:00
Grahame Grieve 696c16740e Add tests for package name case insensitivity and handle illegal characters in package file names 2021-05-04 13:04:06 +10:00
Grahame Grieve 11a727b40f update R5 to 4.6.0 2021-05-04 09:03:13 +10:00
markiantorno fb6f420df0 Updating version to: 5.3.12-SNAPSHOT and incrementing test cases dependency. 2021-04-22 05:47:40 +00:00
markiantorno 33fffe28ff Release: v5.3.11
Terminology: Ensure that CVX uses tx.fhir.org, not UTG definitions which are wrong
Validator: Fix problems with Bundle validation for ids in collections and add additional search related validation
Validator: Remove check on ElementDefinition.id for R2B
***NO_CI***
2021-04-22 05:15:09 +00:00
Grahame Grieve 1c320586e5 Ensure that CVX uses tx.fhir.org, not UTG definitions which are wrong + Fix problems with Bundle validation for ids in collections and add additional search related validation + Remove check on ElementDefinition.id for R2B 2021-04-22 13:27:32 +10:00
markiantorno ba29b1907c Updating version to: 5.3.11-SNAPSHOT and incrementing test cases dependency. 2021-04-21 17:20:12 +00:00
markiantorno 3eb3788597 Release: v5.3.10
* Breaking Change: Fix issue where primitive elements with required bindings must have a value, but this wasn't be checked
* Fix bug with value set imports not working
* Fix bug with base definitions not working properly for logical models
* Better memory tracking for validator
* Get code generator compiling
***NO_CI***
2021-04-21 16:47:39 +00:00
Grahame Grieve 7d2df18fb9 Better memory tracking for validator 2021-04-21 17:40:42 +10:00
markiantorno ba18e1c11a Updating version to: 5.3.10-SNAPSHOT and incrementing test cases dependency. 2021-04-12 20:34:20 +00:00
markiantorno 265e2cebfe Release: v5.3.9
* fix R2B for checking resource IDs
* Properly check code validity when an expansion is provided, but the code system is unknown
* fix problem with R2B StructureDefinition transform
* Improve validator performance
* Add support for forthcoming release
***NO_CI***
2021-04-12 19:29:28 +00:00
Grahame Grieve 50642db412 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-04-02 06:24:53 +11:00
Grahame Grieve 11f66836ed fix for R2B validation of resource ids, and problems validating codes 2021-04-02 06:24:43 +11:00
markiantorno 1b20105d01 Updating version to: 5.3.9-SNAPSHOT and incrementing test cases dependency. 2021-04-01 18:56:04 +00:00
markiantorno 2821883888 Release: v5.3.8
* adding fix for R4 when target profile is a reference, and that reference returns an empty list of target profiles
***NO_CI***
2021-04-01 18:25:42 +00:00
markiantorno 91e31e813f Updating version to: 5.3.8-SNAPSHOT and incrementing test cases dependency. 2021-03-29 08:04:39 +00:00
markiantorno 671a3bbfe9 Release: v5.3.7
Version Conversion:
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
* add copy of extension field for Enumeration fieldtype by Resource.copy
* add default value to Medication Request during conversion from dstu2 to r4
* fix R2B/R5 ElementDefinition.type.code conversion

Other:
* minor fixes in code generators for R4B
* Fix null pointer exception in validator validating language codes
* fix issue with validating fixed values for primitive elements
* add utility to unzip file
***NO_CI***
2021-03-29 07:37:14 +00:00
Grahame Grieve 032b81a38e fix issue with validating fixed values for primitive elements 2021-03-29 17:26:12 +11:00
Grahame Grieve 494137f322 ping bild 2021-03-22 14:14:54 +11:00
Grahame Grieve 1ed13f2a2e add doco 2021-03-22 10:17:48 +11:00
Grahame Grieve f43769c6e5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-03-22 08:57:21 +11:00
markiantorno c119fdfa42 Updating version to: 5.3.7-SNAPSHOT and incrementing test cases dependency. 2021-03-19 23:40:41 +00:00
markiantorno e6b2b98ff9 Release: v5.3.6
* URI type issue temporary fix for github issue #240 (QA Error related Extension.url)
***NO_CI***
2021-03-19 23:09:48 +00:00
Grahame Grieve 2d31728d4f Don't use packages.fhir.org for R2B (hack) + R2B packing tool 2021-03-19 07:50:12 +11:00
Grahame Grieve dc767031e5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-03-18 09:32:30 +11:00
Tadgh 2f0677ab95 Add a builder method for fhirVersions 2021-03-17 15:55:35 -04:00
Grahame Grieve 5187fdd398 fix issues related to R4B generation 2021-03-12 06:28:56 +11:00
markiantorno 48a91c70af Updating version to: 5.3.6-SNAPSHOT and incrementing test cases dependency. 2021-03-10 15:15:06 +00:00
markiantorno 06a61930b2 Release: v5.3.5
* minor fixes in code generators for R4B
***NO_CI***
2021-03-10 14:40:44 +00:00
Grahame Grieve 7c48c0d66a
Gg 20201mar r4b 3 (#454)
* fix bug generating htmlized XML with no namespaces

* Add R4B support to FHIRVersions

* Add resource name mapping for DataRequirement

* R4B fixes

* release notes
2021-03-10 09:08:09 -05:00
Grahame Grieve 3d312a1863 fix bug generating htmlized XML with no namespaces 2021-03-06 08:57:44 +11:00
Mark Iantorno dfc59882ca
the validator front end needs these changes (#450) 2021-03-04 20:38:01 -05:00
markiantorno 0dc44571e6 Updating version to: 5.3.5-SNAPSHOT and incrementing test cases dependency. 2021-03-03 23:12:04 +00:00
markiantorno 7be165d2d2 Release: v5.3.4
* fix bug in profile validation
***NO_CI***
2021-03-03 22:40:23 +00:00
Grahame Grieve b252b56c31 fix bug in profile validation 2021-03-04 07:27:58 +11:00
Grahame Grieve 14dc86e3a2 Fix bug in profile validation 2021-03-04 07:27:11 +11:00
markiantorno 622ad5f207 Updating version to: 5.3.4-SNAPSHOT and incrementing test cases dependency. 2021-03-03 15:27:46 +00:00
markiantorno 078da2f71a Release: v5.3.3
* adding session ids to validator service
* fix R5 --> R4 conversion for ConceptMap equivalence default value
* fix issue with snapshot generation for logical models (CCDA)
* Define binding method extension
* Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
***NO_CI***
2021-03-03 14:56:38 +00:00
Grahame Grieve cd7a8d39e7 * Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
2021-03-03 13:30:58 +11:00
Grahame Grieve a51a8c003d fix issue with snapshot generation for logical models (CCDA) 2021-03-03 13:18:44 +11:00
markiantorno f08f4aec85 Updating version to: 5.3.3-SNAPSHOT and incrementing test cases dependency. 2021-02-18 23:31:07 +00:00
markiantorno 7e70adf819 Release: v5.3.2
* Rollback HAPI dependency to fix fat-jar for Validator-CLI
***NO_CI***
2021-02-18 22:57:43 +00:00
markiantorno 5cede7a6b0 Updating version to: 5.3.2-SNAPSHOT and incrementing test cases dependency. 2021-02-17 19:58:37 +00:00
markiantorno 86b0af4895 Release: v5.3.1
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
***NO_CI***
2021-02-17 19:23:40 +00:00
jamesagnew 4d8b564504 Version bump to 5.3.1-SNAPSHOT 2021-02-17 07:31:19 -05:00
jamesagnew c1fca83a94 Version bump to 5.3.0 2021-02-17 06:59:11 -05:00
Lloyd McKenzie d0df12b85f Revert to current content on HAPI 2021-02-08 08:40:11 -07:00
Lloyd McKenzie b91b68d1a2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.convertors/pom.xml
#	org.hl7.fhir.dstu2/pom.xml
#	org.hl7.fhir.dstu2016may/pom.xml
#	org.hl7.fhir.dstu3/pom.xml
#	org.hl7.fhir.r4/pom.xml
#	org.hl7.fhir.r5/pom.xml
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java
#	org.hl7.fhir.report/pom.xml
#	org.hl7.fhir.utilities/pom.xml
#	org.hl7.fhir.utilities/src/main/resources/Messages.properties
#	org.hl7.fhir.validation.cli/pom.xml
#	org.hl7.fhir.validation/pom.xml
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
#	pom.xml
2021-02-08 08:22:58 -07:00
Grahame Grieve 82edacbde4
Merge pull request #434 from hapifhir/gg-2021-feb-1
Gg 2021 feb 1
2021-02-08 13:28:31 +11:00
Grahame Grieve ef3b8c1f0a Fix bug validating mime types without terminology serverBase (warning, not error)
Performance improvements in JSON metadata based parser
Add first round of supplement validation
improve error message on profile validation fail
fix NPE validating some slices
fix bug validating canonicals as part of choice data types
Adds special support for http://hl7.org/fhirpath/System.* types
fix bug matching slices in contained resources that have references to #
2021-02-08 09:40:25 +11:00
Grahame Grieve 5b8aec8a06
Merge pull request #410 from rajavpr/UnknownHostException
Fix for UnknownHostException
2021-02-08 06:56:23 +11:00
Grahame Grieve da563a6637
Merge pull request #411 from ahdis/oe_fhir-28413
[FHIR-28413]: noNamespace instead of default for Logical Models not having a namespace
2021-02-08 06:46:30 +11:00
markiantorno 82546c5764 Updating version to: 5.2.21-SNAPSHOT and incrementing test cases dependency. 2021-01-25 15:02:01 +00:00
markiantorno af05868a82 Release: v5.2.20
* Added OkHttp dependency to cli
***NO_CI***
2021-01-25 14:28:05 +00:00
markiantorno de30f3d212 Updating version to: 5.2.20-SNAPSHOT and incrementing test cases dependency. 2021-01-24 16:59:11 +00:00
markiantorno 5c4a309538 Release: v5.2.19
* added OkHttp dependency to validator to fix issue
***NO_CI***
2021-01-24 16:26:27 +00:00
markiantorno d13b5dce94 Updating version to: 5.2.19-SNAPSHOT and incrementing test cases dependency. 2021-01-21 23:50:48 +00:00
markiantorno fb6f25c24e Release: v5.2.18
* This is a test to see if triggering a change on a branch will still allow me to deploy to Sonatype
* This is a second test message
***NO_CI***
2021-01-21 22:05:34 +00:00
markiantorno b7b979dc1e upping version 2021-01-20 16:14:00 -05:00
Grahame Grieve ecc59f26a6
Merge pull request #418 from hapifhir/gg-r4b-work
Gg r4b work
2021-01-21 07:13:43 +11:00
Grahame Grieve 00410604d7 Improve validator error messages for bad json & turtle formats 2021-01-20 16:53:14 +11:00
markiantorno 8a69438532 Updating version to: 5.2.17-SNAPSHOT and incrementing test cases dependency. 2021-01-14 22:38:02 +00:00
markiantorno f815bc8fb8 Release: v5.2.16
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 22:02:50 +00:00
Grahame Grieve 026a958e39 fix build 2021-01-15 08:13:30 +11:00
markiantorno 564f8357d8 Release: v5.2.15
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 18:29:48 +00:00
Grahame Grieve 414640550e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-01-14 12:21:52 +11:00
Grahame Grieve e0dabe6f33 fix profile generation issues 2021-01-14 12:21:33 +11:00
Mark Iantorno 33b55727a0
upping version to fix crash (#413) 2021-01-12 11:21:28 -05:00
Oliver Egger c16573962b noNamespace instead of default 2021-01-02 14:19:04 +01:00
Oliver Egger 101b1c7cde revert, but escape only < ' ' char 2021-01-02 13:08:01 +01:00
Oliver Egger 21479bffa7 don't escape umlaut in utf8 2021-01-02 13:08:01 +01:00
rajavpr 17d375b43e
Fix for UnknownHostException
Error connecting to build server - running without build (build.fhir.org)
java.net.UnknownHostException: build.fhir.org
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
	at java.base/java.net.Socket.connect(Socket.java:608)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
	at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromBuildServer(FilesystemPackageCacheManager.java:645)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.checkBuildLoaded(FilesystemPackageCacheManager.java:631)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageIdFromBuildList(FilesystemPackageCacheManager.java:593)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageId(FilesystemPackageCacheManager.java:565)
	at org.hl7.fhir.validation.cli.services.StandAloneValidatorFetcher.resolveURL(StandAloneValidatorFetcher.java:87)
	at org.hl7.fhir.validation.ValidationEngine.resolveURL(ValidationEngine.java:1738)
	at org.hl7.fhir.validation.instance.InstanceValidator.checkPrimitive(InstanceValidator.java:1954)
2020-12-30 15:43:03 +05:30
markiantorno 3ab5444dca Updating version to: 5.2.14-SNAPSHOT and incrementing test cases dependency. 2020-12-24 05:15:27 +00:00
markiantorno 5f67b5bad0 Release: v5.2.13
Validator:
* More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings

Other code changes:
* fix rendering issue with profile references
* only use c:\temp for logs if it's writeable
***NO_CI***
2020-12-24 04:44:49 +00:00
Grahame Grieve 3ba81328cc * More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings
* fix rendering issue with profile references
* only use c:\temp if it's writeable
2020-12-24 13:21:30 +11:00
markiantorno 401b73c700 Updating version to: 5.2.13-SNAPSHOT and incrementing test cases dependency. 2020-12-18 13:38:06 +00:00
markiantorno fa2a8ad4e2 Release: v5.2.12
Validator:
* allow for URLs that are references to ISO standards (urn:std:)
* fix up validation of value set for code system and expansions
* fix up validation for R2B issues (value set references, profiled types)
***NO_CI***
2020-12-18 13:03:18 +00:00
Grahame Grieve c4db541d7e fix up validation for R2B issues (value set references, profiled types) 2020-12-18 22:45:39 +11:00
Grahame Grieve 836863e372 allow for URLs that are references to ISO standards (urn:std:) 2020-12-18 22:44:23 +11:00
markiantorno ff49147146 Updating version to: 5.2.12-SNAPSHOT and incrementing test cases dependency. 2020-12-15 13:19:59 +00:00