Commit Graph

2864 Commits

Author SHA1 Message Date
Mark Iantorno a9abd8f824
https://github.com/hapifhir/org.hl7.fhir.core/issues/557 (#571) 2021-08-11 10:07:43 -04:00
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02: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 4742b54355
https://github.com/HL7/fhir-ig-publisher/issues/295 (#560) 2021-07-15 09:34:33 -04: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
markiantorno f310668d7e adding release notes 2021-07-05 11:45:04 -04:00
Grahame Grieve bb3b01fd1f
Merge pull request #547 from hapifhir/gg-20210625-misc2
Gg 20210625 misc2
2021-06-25 19:24:39 +10:00
Grahame Grieve 4ccefc41c2 fix problems with logical models and type definitions on the root 2021-06-25 17:39:16 +10:00
Grahame Grieve 3e050853e4 hack workaround for bad SDC build: rebuild a particular profile when it's first used 2021-06-25 17:38:16 +10:00
Grahame Grieve 17c7879122 add special exemption for immds due to it changing realms 2021-06-25 17:37:28 +10:00
Grahame Grieve 4dd5b370e3 add properties mode as a known extension until it's defined properly 2021-06-25 17:36:45 +10:00
Grahame Grieve 1897ee8661 Fix problem where validator calls R5 extensions invalid 2021-06-25 13:05:07 +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 96994badb9 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-06-25 04:35:54 +10:00
Grahame Grieve fcb0c9a267 more release notes 2021-06-25 04:35:41 +10:00
Grahame Grieve d07da31206
Merge pull request #543 from ItayGoren/abatament-condition
fix condition abatament bool
2021-06-25 04:30:42 +10:00
Grahame Grieve 3e8137abd8
Merge pull request #546 from hapifhir/gg-20210624-misc
Gg 20210624 misc
2021-06-24 22:23:03 +10:00
Grahame Grieve e324188b70 release notes 2021-06-24 21:49:17 +10: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 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 c827a06698 Fix problem importing x-version extensions with multiple targets 2021-06-24 21:45:01 +10:00
Grahame Grieve 8aa77b97cd Fix up Questionnaire rendering/conversion problem for R5 2021-06-24 21:44: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
Grahame Grieve a2c6dd6af1 Add path and message tracking to element model 2021-06-23 20:35:15 +10:00
Grahame Grieve 91de7ec65b rework package info handling in IWorkerContext 2021-06-23 20:34:24 +10:00
Itay Goren 73925c451b fix condition abatament bool 2021-06-23 12:59:19 +03:00
Mark Iantorno 87066f1c4c
Static method convertor (#541)
* pulled it all apart

* pulled apart all the 40_50 components for poc

* wip
2021-06-22 20:29:48 -04: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
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 831265d0e3 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-06-17 17:24:18 +10:00
Grahame Grieve f2f3a9e3f0 update test case dependency 2021-06-17 17:24:07 +10:00
Grahame Grieve 4915f5ccb3
Merge pull request #539 from hapifhir/gg-20210617-cda
* CDA: Fix erroneous type validation on CDA templates
2021-06-17 17:23:48 +10:00
Grahame Grieve 40c68d6e4a
Merge branch 'master' into gg-20210617-cda 2021-06-17 16:56:47 +10:00