Commit Graph

883 Commits

Author SHA1 Message Date
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