Commit Graph

1338 Commits

Author SHA1 Message Date
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
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 b4597687b8 fix bug in code system handling (NPE) + add support for json test cases in fhirpath tests + fix error validating references in bundles 2021-11-30 15:37:12 +11:00
Grahame Grieve 7f5a1d95cc extend policy advisor to control terminology validation + hack fixes for problems in R4B 2021-11-30 10:57:56 +11:00
Grahame Grieve 93d266b363 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-29 16:11:23 +11:00
Grahame Grieve 96b5bce878 fix up SHC parsing problem 2021-11-29 16:11:13 +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
Mark Iantorno 4d0692ff61
Validate contains (#669)
* wip

* first go at this, still some failing tests

* post-pairing with Grahame

* wip

* failing test cases

* fixed InstanceValidator to respect new validation options for both references and contained resources

* removed dead code

* put copyright back in BaseValidator

* wip
2021-11-25 15:52:29 -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
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
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 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
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 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
dotasek 20989776db
Convertor refactor iii (#635)
* Move loaders to own packages

* Move inner loader classes up one level

* Use lombok annotaions for BaseLoaderX classes

* Move ADLImporter

* Use lombok for ADLImporter inner classes

* Move inner ADLImporter classes up one level

* Move misc classes with inner classes to their own packages

* Encapsulate and add lombok to misc internal classes

* Move inner misc classes up one level

* Clean up explicit type arguments

* Revert back to master validator_test_case_version in pom.xml

* Update RELEASE_NOTES.md

Co-authored-by: David Otasek <david.otasek@Davids-MacBook-Pro.local>
2021-11-08 12:06:51 -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 94376300b6 fix typo 2021-11-03 12:46:17 +11: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 1717f53943
Merge pull request #630 from DBCG/feature-validate-mr-groups-iff-m-groups
Validate MeasureReport groups only if Measure has groups
2021-11-03 11:20:46 +11:00
Grahame Grieve 36ea3f5b45 whatever I really hate git 2021-11-03 10:35:47 +11:00
Grahame Grieve 1c157a736d
Delete c:\temp\payload.json 2021-11-03 06:47:39 +11: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
Mark Iantorno c2d94bbfcc Updating test case dependency to v1.1.71
***NO_CI***
2021-10-29 20:52:22 +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
Mark Iantorno 69cee8b485
Issue 623 (#636)
* wip

* upping pom.xml test-case dep
2021-10-29 16:26:00 -04:00
Grahame Grieve e4b503751c improved validation of UUIDs 2021-10-29 09:20:23 +11:00
Grahame Grieve 307246ce91 fix tests 2021-10-29 09:20:05 +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
rob-reynolds 4da4ad31de Validate MeasureReport groups only if Measure has groups 2021-10-21 19:38:02 -06: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
markiantorno 83d73c4aed removing temp file 2021-10-21 10:30:32 -04:00
Mark Iantorno 0311e1dd8b Updating test case dependency to v1.1.70
***NO_CI***
2021-10-21 14:24:24 +00:00
Grahame Grieve 54d31a33dc add -output-style parameter 2021-10-21 12:56:56 +11:00
Grahame Grieve e62f3a3c6c handle naming system URLs when resolving URLs 2021-10-21 07:02:48 +11:00
Grahame Grieve b60afcb608 fix profile comparison 2021-10-21 06:18:17 +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
Eric Lemieux dc368e17cb Fix Issue 618 | NPE bundle validation
When validating a bundle, with the type, searchset, a NPE would be
thrown if some but not all entities contained a search mode.
2021-10-12 15:59:09 -04: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 a56978bdd0 remove invalid warning 2021-09-04 05:58:20 +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
Grahame Grieve 1e3f5cdabc fix logical model type testing 2021-09-02 07:35:47 +10:00
Grahame Grieve 11e60c3825 * fix NPE bug logging terminology server calls
* fix NPE bug validating logical models
* fix problem with Type Name when validating against Logical Models
2021-09-02 06:27:06 +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 6c6052fa31 merge 2021-09-01 10:12:36 +10:00
Grahame Grieve 7d7280078f Hack fix for wrong R3 invariant, Improved Terminology Performance Tracking 2021-09-01 09:59:23 +10:00
Grahame Grieve 2845078c9e Spreadsheet generation by validator 2021-09-01 09:53:18 +10:00
Grahame Grieve 2250b01fdd improvements to tx client logging functionality and terminology performance tracking 2021-09-01 09:52:50 +10:00
Grahame Grieve f22855e82a change interface for evaluating constants in FHIRPath (allow collections) 2021-09-01 09:46:51 +10:00
Grahame Grieve 4d1f75920d
validation for resource and element id (#590)
* revise validation of resource and element id

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-27 11:28:47 -04: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
Tadgh 5ca6d19c69
Replace proprietary notnull with javax.annotation.Nonnull (#584)
* Replace proprietary notnull with javax.annotation.Nonnull

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-25 08:39:44 -04:00
Lloyd McKenzie 4e96d087c9 Added documentation 2021-08-21 10:10:32 -06:00
Lloyd McKenzie 59902b6b9a Expose showMessagesFromReferences on the CLI as it provides much more useful information when validating Bundles. 2021-08-20 13:57:03 -06: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
Mark Iantorno 58c0e216e8
Conversion library overhaul (#568)
* wip

* adding pathing to 40_50 conversion

* wip

* 30_50 and 40_50 updated to factory

* 30_40 factory

* 14_50

* 14_40

* 14_30, 10_50

* 10_40

* 10_30

* forcing non-null on VersionConvertors

* *trying* to clean up advisor code, switching from jetbrains NotNull to javax Nonnull annotation

* all calls within convertor classes should use INSTANCE access, not factory to maintain thread safety

* adding README for conversion library

* spacing

* threaded test removal

* release notes

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>
2021-08-06 19:28:24 -04: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 aab5bd4a0f
Convertor refactor ii (#556)
* 10_30

* 10_40

* 10_50

* 14_30

* 14_40

* 14_50

* 30_40

* 40_50

* cleaningup
2021-07-07 22:41:14 -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
Lloyd McKenzie 8d29632703
Fixed issue where validator fails to detect invariant issue when ther… (#554)
* 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).

* Moved notes from code into commit notes (this one) and added Release notes

Changed call to checkInvariants within checkChildByDefinition such that onlyNonInherited is now false because inherited invariants can be overridden and it's important to check both.  Note that this means that onlyNonInherited doesn't seem to be used any more.  @grahamegrieve - consider whether it should be removed.
2021-07-06 13:42:35 -04: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 4dd5b370e3 add properties mode as a known extension until it's defined properly 2021-06-25 17:36:45 +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 b0c1f2b129 fix bug validating profiles on bundle.entry.resource 2021-06-24 21:48:27 +10:00
Grahame Grieve 309dbba9b6 update pubpack to v0.0.9 2021-06-24 21:47:50 +10:00
Grahame Grieve 3a319a5d57 Fix pathing issues in the validator 2021-06-23 20:35:38 +10: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
Grahame Grieve c4604029ff Fix validation bug on Canonical references 2021-06-18 07:08:12 +10: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 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
Mark Iantorno 375c8cb46d
fixes for eclipse (#524)
rip
2021-06-01 07:53:40 -04:00
Grahame Grieve aeb87c8c12
Merge pull request #504 from pieter-edelman-nictiz/502
Fix for a bug where the line number was reported as column number when validating constraints
2021-05-31 08:44:17 +10:00
Grahame Grieve afe5c09f26
Merge pull request #508 from alexzautke/az-fix-extensions-on-pattern
Allow extensions in checkFixedValue if a pattern instead of a fixedValue is defined on the element
2021-05-31 08:39:18 +10:00
Grahame Grieve c5009f377c
Merge pull request #519 from hapifhir/conversion_update_II
Conversion update ii
2021-05-31 07:56:17 +10:00
markiantorno 30e45f54ed wip 2021-05-25 13:36:07 -04:00
Alexander Zautke 26bcee1675 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into az-fix-extensions-on-pattern 2021-05-23 22:12:14 +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
Alexander Zautke 22af0cba90 Allow extensions in checkFixedValue if a pattern instead of a fixedValue is defined on the element 2021-05-20 17:23:34 +02: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 cfd52b75f3 MAGIC II 2021-05-19 12:51:51 -04:00
markiantorno 41f2fe7626 MAGIC BUILD FIXING WIZARDY 2021-05-19 11:03:57 -04:00
Pieter Edelman 396e562d89 Fix for a bug where the line number was reported as column number when validating constraints 2021-05-19 16:52:53 +02: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 cf859c9ed1 add new parameter for whether to include FHIRPath in invariant error messages 2021-05-14 12:21:28 +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
Mark Iantorno 9a82457b36
Adding version option to ignore bundle entry in conversion advisors (#492) 2021-05-07 14:50:40 -04:00
Grahame Grieve 154ac5c3ca
Merge branch 'master' into gg-202105-bugfixes-2 2021-05-07 18:30:26 +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
Mark Iantorno 05cd371796
Convertor advisor 1 (#490)
* RELEASE THE ~~KRAKEN~~ KOTLIN

* doing some cleanup before going into more details

* renaming folder

* commit merge issues

* release notes
2021-05-06 09:18:11 -04:00
dependabot[bot] f329c4ac3f
Bump jackson-databind in /org.hl7.fhir.validation (#442)
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.10.3 to 2.10.5.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:50:02 -04:00
Grahame Grieve 6da83fa41e Do not flag internal references as suspicious 2021-05-05 10:17:08 +10:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Grahame Grieve 6a7435787f tidy up and document version conversion advisors 2021-05-05 08:28:03 +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
Mark Iantorno b6abeef327
Fix for https://github.com/hapifhir/hapi-fhir/issues/2540 (#481)
woooooo
2021-04-21 11:26:53 -04:00
Grahame Grieve 7b60c1b85d Fix issue where primitive elements with required bindings must have a value, but this wasn't be checked 2021-04-21 17:41:22 +10: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 a10fdb13e3 validation optimisation 2021-04-12 11:22:43 +10: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
Mark Iantorno 5c9cd6830a
wip (#471) 2021-04-01 12:50:09 -04: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 4e4885dc7d Fix null pointer exception in validator validating language codes 2021-03-29 13:35:51 +11:00
Grahame Grieve 58055aeaa6
Merge pull request #452 from health-validator/fix-crash-folder-in-scope
Fix validator crash when a nested folder is present in -ig <path>
2021-03-29 08:56:32 +10: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
Mark Iantorno 1712d66c08
commenting out code causing IG publishing errors for extension.url (#465) 2021-03-19 18:49:06 -04:00
markiantorno 76112af3c7 setting session ID on all response bodies 2021-03-11 15:31:35 -05:00
markiantorno d275e304fa JsonProperty label change for validation session id 2021-03-11 14:46:36 -05: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