Commit Graph

839 Commits

Author SHA1 Message Date
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 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 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 cdef76bc6d Fix bug where expansions have empty onbjects 2022-04-07 00:20:11 +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
Grahame Grieve 4237554d2c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir 2022-03-29 11:17:14 +11:00
Grahame Grieve 4735d99114 stability fixes 2022-03-29 11:17:01 +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
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
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
dotasek 5cc8dd7974 Fix incorrect fromCode for R4/DSTU2 2022-02-23 19:02:45 -05: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 6310b1158e #722 fix ListResource name misuse 2022-02-13 08:29:01 +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 b49e791cd1 Updates for changes to package.json type 2022-02-11 09:36:47 +11:00
dotasek f6d3139461 Clean up duplicate entries for httpclient in pom.xml 2022-02-10 13:44:54 -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
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 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 cae92c8621
Merge pull request #727 from hapifhir/ja_20220130_graphql_cleanup
Updates to GraphQL
2022-02-01 11:49:10 +11:00
jamesagnew 846866472b Updates to GraphQL 2022-01-30 17:04:10 -05:00
dotasek 39e30a10c4 Clean up comments 2022-01-26 09:28:19 -05: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 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
dotasek d9d0f22ff3 cache CapabilityStatement and TerminologyCapabilities 2022-01-18 16:09:59 -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
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
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
dotasek 6e0b14b0b6 Merge branch 'master' into tx-server-cache-analysis 2022-01-13 09:46:45 -05:00
Grahame Grieve 554a458b57 fix up logging problem 2022-01-13 17:38:39 +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
dotasek 32bbcf14b6 Merge remote-tracking branch 'origin/master' into tx-server-cache-analysis 2022-01-06 11:43:10 -05:00
dotasek 83679d758c
Merge pull request #699 from paul-robson-validic/bug_check_loop_variable
Bug: Loop condition is always true
2022-01-06 11:24:14 -05:00
dotasek 36cc6defc2 Refactor with a mock + new test to catch exception 2022-01-06 10:10:45 -05: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
Paul Robson b785940a2b refactor: inline method 2021-12-22 12:58:35 -05:00
Paul Robson c80b7eae10 refactor: add display name to test 2021-12-22 11:54:19 -05:00
Paul Robson 9171c39d59 refactor: extract private helper methods 2021-12-22 11:53:24 -05:00
Paul Robson f941329fcc bug: check temporary variable hasn't been set yet 2021-12-22 11:50:43 -05:00
Paul Robson 369744488d test: check that coding is translated 2021-12-22 11:50:05 -05:00
Paul Robson 137592ecbf test: check that coding is translated 2021-12-22 11:47:23 -05: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
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 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 e4d3047138 #357: fix bug looking for contained resources inside bundles 2021-12-17 14:38:21 +11:00
Grahame Grieve 3118cdc132 Add support for new FHIR Versions 2021-12-17 12:08:40 +11: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