Commit Graph

1333 Commits

Author SHA1 Message Date
Grahame Grieve bcee0603e5 fix version 2021-09-02 12:20:48 +10:00
Grahame Grieve 3d57a2b511 compile fix + release notes 2021-09-02 06:41:41 +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 66fb0893ad Rendering for Binary Resources 2021-09-01 09:54:03 +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 e28a0d9d52 more spreadsheet changes 2021-09-01 07:02:37 +10:00
Grahame Grieve 5a7393c7ec rework spreadsheet generation to support more resource types 2021-09-01 07:02:00 +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 3d1676170a fixes for processing code validation outcomes 2021-08-27 10:41:43 +10:00
Grahame Grieve 7d2c03285c fix for NPE in FHIRPath engine 2021-08-27 10:40:43 +10:00
Grahame Grieve f926744ea7 adjust confusing language 2021-08-27 10:40:20 +10:00
Grahame Grieve 9f09724032 more FMM related extensions 2021-08-27 10:39:38 +10:00
Grahame Grieve 91fad51eec mark rendered narrative 2021-08-27 10:38:21 +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 94d88dd2d1
https://github.com/hapifhir/org.hl7.fhir.core/issues/447 (#576)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/447

* fix tests

Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2021-08-25 08:40:13 -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
Grahame Grieve 1d5fb74fc6
Merge pull request #589 from hapifhir/gg-202108-dr-npe2
fix for #575 NPE in rendering Patient
2021-08-25 08:10:16 +10:00
Grahame Grieve 4ba9193a5e fix for #575 NPE in rendering Patient 2021-08-25 06:50:58 +10:00
Grahame Grieve 5ac31d11ac
Merge pull request #586 from hapifhir/gg-202108-vr-system
Gg 202108 vr system
2021-08-25 06:20:31 +10:00
Grahame Grieve fb0d90ad1f return system+code with display when validating 2021-08-24 17:03:33 +10:00
Grahame Grieve 9e7e6698bd fix DiagnosticReport rendering (NPEs) 2021-08-24 06:56:51 +10:00
Grahame Grieve b5723bab50
Merge branch 'master' into issue-555 2021-08-24 06:00:27 +10: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
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
Louis Rolland daaa027f66 test: #555 Handling minValue/maxValue in generation snapshot process 2021-08-18 10:53:57 +02:00
jnmeijer 66b9e180e6
Improved performance of hashNWS (#570) (#573)
Co-authored-by: Jonathan Meijer <jonathan.meijer@telus.com>
2021-08-11 15:44:20 -04:00
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
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
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 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 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 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 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
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 45801c1918 improve questionnaire rendering 2021-06-16 12:15:03 +10:00
Grahame Grieve a777ab53a8 Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render) 2021-06-16 07:20:37 +10:00
Grahame Grieve 8088cedb66 add the -verbose parameter, and add additional verbose messages 2021-06-15 08:51:47 +10:00
Grahame Grieve e3cf0afec2 improved validation for some value sets that are based on unknown code systems 2021-06-15 08:50:27 +10:00
Grahame Grieve 7d512d6ed0 Fix NPE rendering code systems with some kinds of properties 2021-06-15 08:49:08 +10:00
Grahame Grieve 435e0261e0 don't fail with an exception if an unknown resource type appears in contained resource 2021-06-15 08:48:19 +10:00
Grahame Grieve 0c609448f4 Fix rendering of slices so type on slicer is not hidden 2021-06-15 08:38:01 +10:00
Grahame Grieve f51c7115ce Add support for $index on aggregators in FHIRPath 2021-06-15 08:25:59 +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 6c8f5d4c47
Merge pull request #526 from lmckenzi/Vocab-validation-with-expansion-only
Fixed issue where when validating with no terminology server and a va…
2021-06-05 08:21:48 +10:00
Lloyd McKenzie 3c543b72ce Updated to handle recursion on expansion.contains 2021-06-04 13:18:27 -06:00
Grahame Grieve 4f5d056ec5 Fix rendering bug + make nl properties UTF-8 2021-06-04 23:18:26 +10:00
Grahame Grieve a371f5fe3e Add -allow-example-urls option to the validator 2021-06-02 17:45:50 +10:00
Lloyd McKenzie c11312de78 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 2021-06-01 23:35:58 -06:00
Grahame Grieve 12f841999e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-05-31 08:53:45 +10:00
Grahame Grieve 2e640accce
Merge pull request #498 from pieter-edelman-nictiz/497
Issue #497: turn on single line mode for FHIRPath matches()
2021-05-31 08:51:26 +10:00
Grahame Grieve 8c9e54d58f fix error calling the wrong validation method 2021-05-31 08:03:52 +10: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
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
Pieter Edelman 783ad9b850 Issue #497: turn on single line mode for FHIRPath matches() 2021-05-14 15:58:03 +02:00
markiantorno 857e504315 upping version for release 2021-05-14 09:37:04 -04:00
Grahame Grieve 278916ba97 Fix displays for some codes in ConceptMap.relationship when rendering + Add Publication Version to rendering context for future use. 2021-05-14 12:24:57 +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
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 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
Grahame Grieve c56b7b67c8
Merge branch 'master' into gg-202105-version-conversion-1 2021-05-05 14:10:12 +10:00
Grahame Grieve b13b4932f9 XMLParser allows passing a schema location 2021-05-05 12:17:02 +10:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Mark Iantorno f14ef6d83f
Issue 484 (#485)
* added Integer argument constructor for IntegerType class.

* Updating release notes
2021-05-04 11:21:57 -04:00
Grahame Grieve 898665f356 fixes for #483: Quantity subclasses copy() functions not all transferring values 2021-05-04 12:43:07 +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