Commit Graph

1257 Commits

Author SHA1 Message Date
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
Vadim Peretokin 776811813e fix crash when folder is present in ig folder 2021-03-07 11:58:18 +01:00
Mark Iantorno dfc59882ca
the validator front end needs these changes (#450) 2021-03-04 20:38:01 -05:00
markiantorno 0dc44571e6 Updating version to: 5.3.5-SNAPSHOT and incrementing test cases dependency. 2021-03-03 23:12:04 +00:00
markiantorno 7be165d2d2 Release: v5.3.4
* fix bug in profile validation
***NO_CI***
2021-03-03 22:40:23 +00:00
Grahame Grieve 14dc86e3a2 Fix bug in profile validation 2021-03-04 07:27:11 +11:00
markiantorno 622ad5f207 Updating version to: 5.3.4-SNAPSHOT and incrementing test cases dependency. 2021-03-03 15:27:46 +00:00
markiantorno 078da2f71a Release: v5.3.3
* adding session ids to validator service
* fix R5 --> R4 conversion for ConceptMap equivalence default value
* fix issue with snapshot generation for logical models (CCDA)
* Define binding method extension
* Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
***NO_CI***
2021-03-03 14:56:38 +00:00
Grahame Grieve cd7a8d39e7 * Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
2021-03-03 13:30:58 +11:00
Mark Iantorno b700d82eab
Validation sessions (#443)
* Sessions are working,

* adding javadocs to cache

* These changes were already added, the merge re-added them to the RELEASE_NOTES by mistake.

* cleaning code a little
2021-02-23 14:44:13 -05:00
markiantorno f08f4aec85 Updating version to: 5.3.3-SNAPSHOT and incrementing test cases dependency. 2021-02-18 23:31:07 +00:00
markiantorno 7e70adf819 Release: v5.3.2
* Rollback HAPI dependency to fix fat-jar for Validator-CLI
***NO_CI***
2021-02-18 22:57:43 +00:00
markiantorno 5cede7a6b0 Updating version to: 5.3.2-SNAPSHOT and incrementing test cases dependency. 2021-02-17 19:58:37 +00:00
markiantorno 86b0af4895 Release: v5.3.1
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
***NO_CI***
2021-02-17 19:23:40 +00:00
jamesagnew 4d8b564504 Version bump to 5.3.1-SNAPSHOT 2021-02-17 07:31:19 -05:00
jamesagnew c1fca83a94 Version bump to 5.3.0 2021-02-17 06:59:11 -05:00
Mark Iantorno c422ddc388
Refactoring validator engine (#436)
* Initial commit, tests passing

* continuing breaking up massive classes
2021-02-15 16:48:40 -05:00
Lloyd McKenzie d0df12b85f Revert to current content on HAPI 2021-02-08 08:40:11 -07:00
Lloyd McKenzie b91b68d1a2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.convertors/pom.xml
#	org.hl7.fhir.dstu2/pom.xml
#	org.hl7.fhir.dstu2016may/pom.xml
#	org.hl7.fhir.dstu3/pom.xml
#	org.hl7.fhir.r4/pom.xml
#	org.hl7.fhir.r5/pom.xml
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java
#	org.hl7.fhir.report/pom.xml
#	org.hl7.fhir.utilities/pom.xml
#	org.hl7.fhir.utilities/src/main/resources/Messages.properties
#	org.hl7.fhir.validation.cli/pom.xml
#	org.hl7.fhir.validation/pom.xml
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
#	pom.xml
2021-02-08 08:22:58 -07:00
Grahame Grieve 82edacbde4
Merge pull request #434 from hapifhir/gg-2021-feb-1
Gg 2021 feb 1
2021-02-08 13:28:31 +11:00
Grahame Grieve ef3b8c1f0a Fix bug validating mime types without terminology serverBase (warning, not error)
Performance improvements in JSON metadata based parser
Add first round of supplement validation
improve error message on profile validation fail
fix NPE validating some slices
fix bug validating canonicals as part of choice data types
Adds special support for http://hl7.org/fhirpath/System.* types
fix bug matching slices in contained resources that have references to #
2021-02-08 09:40:25 +11:00
Grahame Grieve 2413ec1dbb #431 - fix doco about questionnaire 2021-02-08 09:35:52 +11:00
Grahame Grieve ff02c5b71a Merge branch 'val_fhirpath_resolveinbundle' of https://github.com/ahdis/org.hl7.fhir.core into ahdis-val_fhirpath_resolveinbundle
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java
2021-02-08 06:53:38 +11:00
Jonathan Percival 4b416ee5f4 Use FHIRPathEngine where possible 2021-01-27 10:30:45 -07:00
markiantorno 82546c5764 Updating version to: 5.2.21-SNAPSHOT and incrementing test cases dependency. 2021-01-25 15:02:01 +00:00
markiantorno af05868a82 Release: v5.2.20
* Added OkHttp dependency to cli
***NO_CI***
2021-01-25 14:28:05 +00:00
markiantorno de30f3d212 Updating version to: 5.2.20-SNAPSHOT and incrementing test cases dependency. 2021-01-24 16:59:11 +00:00
markiantorno 5c4a309538 Release: v5.2.19
* added OkHttp dependency to validator to fix issue
***NO_CI***
2021-01-24 16:26:27 +00:00
Patrick Werner 50fe3d2b88
fixes missing depencency: okhttp3/Request$Builder (#422)
* fixes missing depencency:
 Terminology server http://tx.fhir.orgException in thread "main" java.lang.NoClassDefFoundError: okhttp3/Request$Builder

* added optional tag to not break downstream projects (hapi)
2021-01-24 10:44:17 -05:00
markiantorno d13b5dce94 Updating version to: 5.2.19-SNAPSHOT and incrementing test cases dependency. 2021-01-21 23:50:48 +00:00
markiantorno fb6f25c24e Release: v5.2.18
* This is a test to see if triggering a change on a branch will still allow me to deploy to Sonatype
* This is a second test message
***NO_CI***
2021-01-21 22:05:34 +00:00
markiantorno b7b979dc1e upping version 2021-01-20 16:14:00 -05:00
markiantorno 8a69438532 Updating version to: 5.2.17-SNAPSHOT and incrementing test cases dependency. 2021-01-14 22:38:02 +00:00
markiantorno f815bc8fb8 Release: v5.2.16
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 22:02:50 +00:00
Grahame Grieve 026a958e39 fix build 2021-01-15 08:13:30 +11:00
markiantorno 564f8357d8 Release: v5.2.15
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 18:29:48 +00:00
Oliver Egger 5b5bf912e0 configure fhirpath with resolve bundle func 2021-01-14 15:15:42 +01:00
Mark Iantorno 33b55727a0
upping version to fix crash (#413) 2021-01-12 11:21:28 -05:00
Kevin Dougan SmileCDR 57a57c1dcc
Updated the info.cqframework dependency versions (#412)
* Updated the info.cqframework dependency versions since v1.4.9 is no longer available.

* Updated the info.cqframework dependency version to 1.5.1.
2021-01-12 10:07:13 -05:00
markiantorno 3ab5444dca Updating version to: 5.2.14-SNAPSHOT and incrementing test cases dependency. 2020-12-24 05:15:27 +00:00
markiantorno 5f67b5bad0 Release: v5.2.13
Validator:
* More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings

Other code changes:
* fix rendering issue with profile references
* only use c:\temp for logs if it's writeable
***NO_CI***
2020-12-24 04:44:49 +00:00
Grahame Grieve 3ba81328cc * More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings
* fix rendering issue with profile references
* only use c:\temp if it's writeable
2020-12-24 13:21:30 +11:00
markiantorno 401b73c700 Updating version to: 5.2.13-SNAPSHOT and incrementing test cases dependency. 2020-12-18 13:38:06 +00:00
markiantorno fa2a8ad4e2 Release: v5.2.12
Validator:
* allow for URLs that are references to ISO standards (urn:std:)
* fix up validation of value set for code system and expansions
* fix up validation for R2B issues (value set references, profiled types)
***NO_CI***
2020-12-18 13:03:18 +00:00
Grahame Grieve c4db541d7e fix up validation for R2B issues (value set references, profiled types) 2020-12-18 22:45:39 +11:00
Grahame Grieve d837214c66 fix up validation of value set for code system and expansions 2020-12-18 22:44:54 +11:00
markiantorno ff49147146 Updating version to: 5.2.12-SNAPSHOT and incrementing test cases dependency. 2020-12-15 13:19:59 +00:00
markiantorno 9084ea3881 Release: v5.2.11
Validator:
* fix bad eror message in german messages (issue 399)
* better error messages when FHIRPath discriminators are invalid
* clean up error messages

Other code changes:
* remove unnecessary (& problem causing) Fragment-Host from OSGi manifest
* move structuremap utilities to a package

***NO_CI***
2020-12-15 12:50:35 +00:00
Grahame Grieve f5c54d0d6d fix terminology warning problem 2020-12-15 16:11:32 +11:00
Grahame Grieve 5b52a75d3b Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-12-15 07:50:45 +11:00
Mark Iantorno 3d3bda30ec
Code changes to assist with validator updates in HAPI (#400)
* just some cleanup and simple changes

* changed folder name the map is currently structured, not in the past
2020-12-10 10:56:56 -05:00
Grahame Grieve e2a8581a3b improve error message for FHIRPath errors when slicing 2020-12-10 13:50:20 +11:00
markiantorno 55055fa3c4 Updating version to: 5.2.11-SNAPSHOT and incrementing test cases dependency. 2020-12-09 01:50:11 +00:00
markiantorno 0019153a26 Release: v5.2.10
Validator:
* Fix NPE reading results of batch code validation
* Validate that binding references are present, and are for value sets
* Fix output message when there's nothing to validate

Other Code Changes:
* fix for renderer on ElementModels rendering - follow contentReference
* fix for NPE rendering references to contained value setes in Questionnaires that don't resolve
* fix for NPE rendering parameters with no names
* fix for rendering bundles on ElementModels

***NO_CI***
2020-12-09 01:21:17 +00:00
Grahame Grieve d432cff826 Fix output message when there's nothing to validate 2020-12-09 10:06:37 +11:00
Grahame Grieve 1532a038c9 Validate that binding references are present, and are for value sets 2020-12-09 10:06:20 +11:00
markiantorno c85cbf59aa Updating version to: 5.2.10-SNAPSHOT and incrementing test cases dependency. 2020-12-06 22:30:20 +00:00
markiantorno 6907a004be Release: v5.2.9
Validator:

* fix bug that meant validator was complaining abut unknown codes

Other code changes:

* fix rendering of documents
***NO_CI***
2020-12-06 22:00:23 +00:00
markiantorno 1651d3775c upping version to publish 2020-12-05 09:45:13 -05:00
markiantorno b6efb58dc8 Release: v5.2.8
Validator:

* fix bug that meant validator was complaining abut unknown codes

Other code changes:

* fix rendering of documents
***NO_CI***
2020-12-05 00:07:37 +00:00
Grahame Grieve e7904c8355 fix merge problem 2020-12-05 08:47:25 +11:00
Grahame Grieve 3f9c87ab63
validation fixes (#397)
* Fix validation issues for StructureDefinitions

* Don't try to validate URLs outside HL7 space

* Fix document rendering

* fix failing tests
2020-12-04 16:13:53 -05:00
Grahame Grieve 7de14f172e
Fix validation issues for StructureDefinitions (#396) 2020-12-04 16:11:52 -05:00
markiantorno 118c03590f Updating version to: 5.2.8-SNAPSHOT and incrementing test cases dependency. 2020-12-03 22:12:42 +00:00
markiantorno d4e5950dea Release: v5.2.7
Validator:
* Fix support for cross version extensions across the entire valdation rule set
* Improve security warnings about rogue HTML tags
* fix error messages on unknown URLs (not longer say 'not done yet')
* fix validation of profiles and target profiles in all versions (before R3 different rules)

Other code changes:
* fix error message suppression on tooling client
* Track code systems used in the context
* improve error messages when rendering bundles that are documents that aren't properly formed
* Process Markdown when rendering CapabilityStatement.rest.documentation
* Fix rendering of CanonicalResource.url

Quality of Life Improvements:
* fixed deployment issue where validator.cli and report packages were sometimes published during deployment
***NO_CI***
2020-12-03 21:36:56 +00:00
markiantorno 22e203bd13 bumping version to fix publishing issues 2020-12-03 09:45:35 -05:00
markiantorno ff00680f94 Release: v5.2.6
Validator:
* Fix support for cross version extensions across the entire valdation rule set
* Improve security warnings about rogue HTML tags
* fix error messages on unknown URLs (not longer say 'not done yet')
* fix validation of profiles and target profiles in all versions (before R3 different rules)

Other code changes:
* fix error message suppression on tooling client
* Track code systems used in the context
* improve error messages when rendering bundles that are documents that aren't properly formed
* Process Markdown when rendering CapabilityStatement.rest.documentation
* Fix rendering of CanonicalResource.url
***NO_CI***
2020-12-03 10:37:47 +00:00
Grahame Grieve 7d95b27c1f fix validation of profiles and target profiles in all versions (before R3 different rules) 2020-12-03 16:57:53 +11:00
Grahame Grieve f3aab0760e fix error messages on unknown URLs 2020-12-03 12:57:15 +11:00
Grahame Grieve 532aba2485 cache xversion extension manager, and use it in any place accessing extension definitions 2020-12-03 12:52:43 +11:00
markiantorno 2dff99e99b Updating version to: 5.2.6-SNAPSHOT and incrementing test cases dependency. 2020-12-01 12:33:00 +00:00
markiantorno e83853b691 Release: v5.2.5
Validator:
* Add new validation to check these words in R3+: "Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry"

Other code changes:
* Fix bug in package loader - allow loading version with later patch if old version is missing
***NO_CI***
2020-12-01 11:58:45 +00:00
Grahame Grieve 87e8f5a36a Add new validation to check these words in R3+: "Except for transactions and batches, each entry in a Bundle must have a fullUrl which is the identity of the resource in the entry" 2020-12-01 14:52:41 +11:00
markiantorno 1c043b5cc5 Updating version to: 5.2.5-SNAPSHOT and incrementing test cases dependency. 2020-11-28 16:04:03 +00:00
markiantorno 9f3d6ccd4d Release: v5.2.4
* Removed logs from network calls
* Added back in help file display
* Avoiding checking ssl certs for build server, this needs to be fixed and should not be left in long term
***NO_CI***
2020-11-28 15:32:26 +00:00
Mark Iantorno 9913168321
Pay no attention to the man behind the curtain (#388)
* added back in help file, and removed network logging

* avoid checking ssl certs for build server

* fixing help file loading from cli jar
2020-11-28 09:47:19 -05:00
markiantorno 3e7bd73109 Updating version to: 5.2.4-SNAPSHOT and incrementing test cases dependency. 2020-11-27 16:34:04 +00:00
markiantorno 59843aaa49 Release: v5.2.3
Validator Changes:
* no effective changes
* fix issue for content references in versions before R3
* Add on the fly retrieval of profiles in the validator
* Fix bug where validator reported 'not done yet' for invalid contained references
* Fix for wrong reference to Any in cross version extensions

Other Code Changes:
* fix bug converting type mode in Structure Map
* fix bug converting Timing.when (issue 383)
* fix bug doing date time comparisons with seconds in FHIRPath
* Add support for instance-name and instance-description extensions
* Fix for bundle renderer trying to render resources from the wrong version

***NO_CI***
2020-11-27 16:04:33 +00:00
markiantorno 1466620418 version update so it publishes correctly. 2020-11-27 10:19:29 -05:00
Grahame Grieve d4087590bf
hopefully final prep for 5.2.2 (#387)
* Add on the fly retrieval of profiles in the validator, and fix bug where validator reported 'not done yet' for invalid contained references.

* fix loading issue for content references in versions before R3

* fix content resolution issue for versions from before 3

* Fix for bundle renderer trying to render resources from the wrong version

* Fix for wrong reference to Any in cross version extensions

* fix test case reference

* fix mistake generating snapshots around element ids

* fix tests
2020-11-27 09:20:49 -05:00
markiantorno 830e9e3cc4 Release: v5.2.2
Validator Changes:
* no effective changes

Other Code Changes:
* fix bug converting type mode in Structure Map
* fix bug converting Timing.when (issue 383)
* fix bug doing date time comparisons with seconds in FHIRPath
* Add support for instance-name and instance-description extensions
***NO_CI***
2020-11-26 07:41:03 +00:00
Grahame Grieve c51b73feb4 Add support for instance-name and instance-description extensions 2020-11-26 08:55:49 +11:00
Grahame Grieve 40b644adf1 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-26 06:50:35 +11:00
markiantorno 7adfefa635 Updating version to: 5.2.2-SNAPSHOT and incrementing test cases dependency. 2020-11-24 16:05:34 +00:00
markiantorno b7d683fe1b Release: v5.2.1
* Fix for issue 373
* Fix for issue 381
* Fix for issue 204
* Internal tools now use OkHttp library for all resource fetching
* Added testing for network tools
***NO_CI***
2020-11-24 15:33:30 +00:00
Mark Iantorno 7e5a670846
Http client update (#378)
* wip

* tests all pass with log outputs identical to original...is it better now? I don't know.

* proxy works, adding a test and docs next

* more cleanup and test fixes

* left in testing file

* didn't need that code anymore
2020-11-24 09:20:43 -05:00
Grahame Grieve 666c3c7aad Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-24 06:29:53 +11:00
Mark Iantorno 9ffa3f7015
upping version number to correspond with latest HAPI NUMBAT release (#382) 2020-11-18 15:51:16 -05:00
Grahame Grieve b7d3f36f86 fix package loading issues 2020-11-18 21:05:16 +11:00
Grahame Grieve 7bcec95e9f restructure validator test cases file 2020-11-18 21:03:58 +11:00
markiantorno f4ca5aebe5 Updating version to: 5.1.23-SNAPSHOT and incrementing test cases dependency. 2020-11-13 05:35:44 +00:00
markiantorno 10859ee2bf Release: v5.1.22
Validator:
* Fix bug in unknown URL handling that could cause significant delays in validation (>1min / unknown URL)
* fix bug in processing excludes with filters in value sets

Other code changes:
* fix case problem with icons in questionnaire rendering
* fix problem with rendering nested slices on content references
* fix rendering on must-support view for must-support on types and target profiles
***NO_CI***
2020-11-13 05:09:25 +00:00
Grahame Grieve 8c0523f3fa Fix bug in unknown URL handling that could cause significant delays in validation (>1min / unknown URL) 2020-11-13 14:36:10 +11:00
markiantorno e85f66fddb Updating version to: 5.1.22-SNAPSHOT and incrementing test cases dependency. 2020-11-11 02:03:27 +00:00
markiantorno 5b62d35f71 Release: v5.1.21
Validator:
* fix problem with min getting set to 1 on slices.
* fix problem with element definition resolution in profiles for contentReference
* don't apply warning about reference content when it's used as a pattern

Other code changes:
* fix problem with rendering unchanged terminology bindings in profiles
* fix problem rendering canonical URLs with | in them
* fix problem rendering multiple manifestations for an allergy reaction
* fix for NPE in version string comparison
* add styling when adding markdown to table
***NO_CI***
2020-11-11 01:31:53 +00:00
Grahame Grieve ef3e34ae01 * add styling when adding markdown to table
* don't apply warning about reference content when it's used as a pattern
2020-11-11 10:12:48 +11:00
markiantorno 1db9a028bf Updating version to: 5.1.21-SNAPSHOT and incrementing test cases dependency. 2020-11-05 05:40:28 +00:00
markiantorno 05056e643e Release: v5.1.20
Validator changes:
* (none)

other code changes:
* fix bug when converting positiveInt between versions
* fix bug raising error when processing bundles
* don't use prism for big binaries when rendering library
* fix parameters renderer to create proper anchors
* Don't render id/base/other properties of Resource itself in auto-narrative generator
* fix bug where extension values not generated for simple extensions
* fix bug rendering content references in profiles
***NO_CI***
2020-11-05 05:11:22 +00:00
markiantorno 7a3da4239e Updating version to: 5.1.20-SNAPSHOT and incrementing test cases dependency. 2020-11-03 18:45:02 +00:00
markiantorno a765efa343 Release: v5.1.19
* Release changes
***NO_CI***
2020-11-03 16:45:59 +00:00
markiantorno b7661db83e Updating version to: 5.1.19-SNAPSHOT and incrementing test cases dependency. 2020-10-30 00:08:34 +00:00
markiantorno dcaa67ef1c Release: v5.1.18
Validator Changes:
* Mark it has an error if a JSON Array is empty
* Don't make wrong error reports for profiling resources in bundles
* fix bug checking unfixed values for HumanName patterns
* fix bug checking patterns (missed in some circumstances)
* fix bug checking type of resources in bundles
* improve messages around cardinality errors in profiles
* add parameter -html-output for enhanced presentation of slicing information

Other code changes:
* Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)
***NO_CI***
2020-10-29 23:41:20 +00:00
Mark Iantorno 7a668bff52
I totally missed this on the code review, and it is entirely my fault. (#369) 2020-10-29 12:05:07 -04:00
Grahame Grieve c5255a0f80
Gg v5118 (#368)
* fix issue validating # references

* Mark it has an error if a JSON Array is empty

* Don't make wrong error reports for profiling resources in bundles

* * Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)

* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value) (missed testing change)

* * fix bug not recognising some content as xml or json

* improved markdown support in table generator

* * fix bug checking unfixed values for HumanName patterns
* fix bug checking patterns (missed in some circumstances)
* fix bug checking type of resources in bundles
* improve messages around cardinality errors in profiles

* add parameter -html-output for enhanced presentation of slicing information (issue #283)
2020-10-29 09:17:24 -04:00
Mark Iantorno e1ecd06282
Validator 2 (#366)
* changes to accomodate front end gui for validator wrapper

* removing debug code
2020-10-19 16:39:22 -04:00
Mark Iantorno 36fa3a97af
Validator cleanup (#365)
* cleaning up validator class

* wip

* I left my debug code in
2020-10-16 10:44:01 -04:00
markiantorno 9bbb78e23d Updating version to: 5.1.18-SNAPSHOT and incrementing test cases dependency. 2020-10-14 20:03:52 +00:00
markiantorno 44f7dca1c7 Release: v5.1.17
Validator:
* revise error message when can't connect to the terminology server
* enforce constraints in root slicing definitions as well as in the slices
* Improve messages when no terminology server (-tx n/a)
* Validate Profile on type in profile - must be for the right type

Other Changes:
* Add Search Parameter renderer
* Add text separator system on XhtmlNode
* check supportsCopyright in a JUnit test
* turn off snapshot consistency checking by default

***NO_CI***
2020-10-14 19:30:23 +00:00
Grahame Grieve 1569532a1c Validate Profile on type in profile - must be for the right type 2020-10-14 13:21:50 +11:00
Grahame Grieve 96e44048ce turn off snapshot consistency checking by default + add ability to provide package in line in tests 2020-10-14 13:18:58 +11:00
Grahame Grieve 920c3193d0 enforce constraints in slicer as well as in slice + Handle -tx n/a better 2020-10-14 13:16:59 +11:00
Grahame Grieve d20582ca9d revise error message when can't connect to the terminology server 2020-10-08 20:59:39 +11:00
markiantorno 1f583d6ba7 Updating version to: 5.1.17-SNAPSHOT and incrementing test cases dependency. 2020-10-01 04:37:43 +00:00
markiantorno ea0b4c0c1c Release: v5.1.16
Validator:
* Add date addition/subtraction to FHIRPath + add parsing comments
* Fix questionnaire mode parameter support for validator
* add extra debugging when valdiator can't fetch content to validate
* fix error setting up mapping log

Other code changes:
* rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm
* report error locations for run time FHIRPath errors
* add search on IG registry to PackageClient
* add focus to FHIRPath function extensions
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
***NO_CI***
2020-10-01 04:12:17 +00:00
Grahame Grieve e89da42514 * fix error setting up mapping log
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
2020-10-01 12:39:10 +10:00
Grahame Grieve 77d33e8afa Fix comment parsing and add focus to FHIRPath function extensions 2020-10-01 11:04:34 +10:00
Grahame Grieve 3f97d628ed release notes 2020-09-30 09:30:20 +10:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00
Grahame Grieve bcb2d8e148 fix questionnaire mode support for validator 2020-09-30 09:23:54 +10:00
markiantorno afa46ebe7c Updating version to: 5.1.16-SNAPSHOT and incrementing test cases dependency. 2020-09-26 00:15:47 +00:00
markiantorno 5bb59c3b82 Release: v5.1.15
CI/CD:

* Restructured pom files
* Added profiles for deploying to both GitHub packages, and SonatypeOSS

***NO_CI***
2020-09-25 23:49:45 +00:00
Grahame Grieve 1bdf49c7a3 Fix bugs loading content to validate from hapi servers 2020-09-25 15:00:43 +10:00
Grahame Grieve 28e7a19125 Change warnings about invalid codes to hints in retired value sets 2020-09-25 15:00:10 +10:00
markiantorno b7183f005c Updating version to: 5.1.15-SNAPSHOT and incrementing test cases dependency. 2020-09-24 20:45:19 +00:00
markiantorno 0d0caf3e84 Release: v5.1.14
Validator:
* Add new validation for must-support on types / profiles / targets + improve Extension validation

Other code changes:
* Ensure "I" flag in profile table representation is not used just for infrastructural constraints
* Render multiple values for properties in CodeSystems if they exist
* Fix for npe rendering resources based on profiles
* fix for use of "current" as version
* hack for past bad package URLs
* Add rendering for must support on types, profiles, targets
* add <code> when rendering turtle to HTML
***NO_CI***
2020-09-24 19:38:03 +00:00
Grahame Grieve b578cfbc0d
Gg v5114 b (#356)
* Ensure "I" flag in profile table representation is not used for underlying infrastructural constraints that exist everywhere

* render multiple values for properties if they exist

* fix for npe

* fix for use of "current" as version

* fix bad package URLs as they are loaded

* RELEASE_NOTES.md

* Add rendering for must support on types, profiles, targets

* Add new validation for must-support on types / profiles / targets + improve extension validation

* add <code> when rendering turtle to HTML

* RELEASE_NOTES.md

* fix notes
2020-09-24 14:06:36 -04:00
Grahame Grieve 73d5a845bf Add new validation for must-support on types / profiles / targets + improve extension validation 2020-09-25 03:25:59 +10:00
markiantorno 5e3b51e286 Updating version to: 5.1.14-SNAPSHOT and incrementing test cases dependency. 2020-09-21 19:41:08 +00:00
markiantorno 268bb8cde7 Release: v5.1.13
Validator:
* No Changes

Other Changes:
* Various minor improvements to rendering code

***NO_CI***
2020-09-21 19:24:29 +00:00
markiantorno 4d2c81ede9 Updating version to: 5.1.13-SNAPSHOT and incrementing test cases dependency. 2020-09-17 15:26:59 +00:00
markiantorno afa239ae8b Release: v5.1.12
Validator:
* Fix handling resources in bundles when type is profiled
* Prevent NPE resolving resource in batch
* fix value set validation for primitive types when an expansion is provided, and the code system is not known

Other Changes:
* Package Subsystem - Support wildcars for patch version
* Renderer: Don't make a column for definitions in a code system if there are none
* Renderer: special case support for fr-CA language
* Renderer: Prevent NPE when auto-generating narrative and an illegal resource type is encountered
* FHIRPath Engine: correction for allowing  boolean conversion of primitive types
***NO_CI***
2020-09-17 15:08:40 +00:00
Grahame Grieve 75921b723b
Various fixes (#348)
* depend on 1.1.42-snapshot

* Don't make a column for definitions in a code system if there are none

* special case support for fr-CA language

* Prevent NPE when auto-generating narrative and an illegal resource type is encountered

* Prevent NPE resolving resource in batch

* fix value set validation for primitive types when an expansion is provided, and the code system is not known

* FHIRPath engine: correction for allowing  boolean conversion of primitive types

* Fix handling resources in bundles when type is profiled

* Add test cases for wildcard versions

* release notes
2020-09-17 09:52:05 -04:00
Grahame Grieve 9e066e637a
Merge pull request #340 from ahdis/oe_ig_dependencies_allowwildcardforpatch
add patch wildcard for ig dependencies
2020-09-17 16:48:19 +10:00
markiantorno a0573907bd Updating version to: 5.1.12-SNAPSHOT and incrementing test cases dependency. 2020-09-16 04:59:05 +00:00
markiantorno 9b07831809 Release: v5.1.11
Validator:
* No changes

Other code changes:
* Support lenient mode on FIHRPath when referring to polymorphics
***NO_CI***
2020-09-16 04:42:16 +00:00
markiantorno 8a11bd2e9b Updating version to: 5.1.11-SNAPSHOT and incrementing test cases dependency. 2020-09-15 05:18:08 +00:00
markiantorno efcb237d19 Release: v5.1.10
Validator:
* Fix issue with wrongly finding duplicate ids in bundles (across different resources)
* Start work on validating CDA documents
* Allow discrimination by address and name patterns

Other code Changes:
* Improve language rendering in value sets
* Fix bug generating copyright in IG publishing
* Work on CDA validation infrastructure

***NO_CI***
2020-09-15 05:01:56 +00:00
Grahame Grieve 48dca881f3 fix bug in path names for CDA 2020-09-15 10:25:23 +10:00
Grahame Grieve 9fc8b35797 Fix issue with discriminating by address and human name 2020-09-14 18:10:31 +10:00
Mark Iantorno 78b61c4555
Tests should all run now (#343) 2020-09-09 12:33:38 -04:00
markiantorno 1d2e9a2be8 Updating version to: 5.1.10-SNAPSHOT and incrementing test cases dependency. 2020-09-09 06:00:52 +00:00
markiantorno 924a01fe7d Release: v5.1.9
Validator:
* fix bug loading implied packages with no version

Other Changes:
* fix bug generating error messages rendering bundles
* fix problems generating snapshots in some profiles
* fix for FHIRPath changes after discussion on Zulip
***NO_CI***
2020-09-09 05:45:19 +00:00
Grahame Grieve a993dcd510 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-09 11:51:21 +10:00
Grahame Grieve a47ac539a5 Fix bug loading implied packages with no version 2020-09-09 11:51:09 +10:00
Grahame Grieve 2bb46f2046 Add failing test to test build 2020-09-09 07:04:08 +10:00
Oliver Egger 6b1ae88e24 add patch wildcard for ig depencies 2020-09-08 09:27:32 +02:00
markiantorno a92876ab4a Updating version to: 5.1.9-SNAPSHOT and incrementing test cases dependency. 2020-09-08 05:28:46 +00:00
markiantorno a92daa2017 Release: v5.1.8
Validator Fixes:
* Check that there are no nested block HTML elements in an HTML paragraph
* create a warning for UCUM annotations

Other Changes:
* Fix some issues when converting Allergy Intolerance 3 <-> 4
* Fix issues generating invsalid HTML
* Fix up FHIRPath to pass latest test cases
* Bundle rendering improvements
* Give code interface for control over validation rules
* add support for rendering choice groups (CDA)
***NO_CI***
2020-09-08 05:13:12 +00:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +10:00
Grahame Grieve b47a1da054 Add check for UCUM annotations + add ValidationControl for hosting the validator in external processes 2020-09-07 13:06:43 +10:00
Mark Iantorno 6cf6367b30
i am unable to write readable code (#332) 2020-09-01 17:45:33 -04:00
Mark Iantorno 3a30f0e780
changing validator cli return obj to include more information on error location (#329)
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2020-09-01 16:02:28 -04:00
markiantorno aae995b72c Updating version to: 5.1.8-SNAPSHOT and incrementing test cases dependency. 2020-09-01 01:33:46 +00:00
markiantorno d3e92cf79a Release: v5.1.7
Validator:
* Better validation of bad references (and fix NPE)
* Rework output to be more informative and cleaner
* Fix bugs in validation of nested bundles
* Fix bug loading package with no specified version
* fix bugs loading discovered packages on the fly
* Validator now supports logical models in XML wkith no namespaces

Other code changes:
* Add version conversion for AllergyIntolerance (1.2 <-> 3.0 & 1.2 <-> 4.0)
* Add version conversion for MedicationRequest
* Fix rendering of documents
* fix for not rendering null values in patterns for must-support view

***NO_CI***
2020-09-01 01:16:21 +00:00
Grahame Grieve 89b0e0a32b Fix NPE in validator and add more validation for bad references 2020-09-01 09:43:21 +10:00
Grahame Grieve 90074b6849
Merge pull request #321 from ahdis/oe_logicalmodel_nonamespace
handling xml without namespace in logical models
2020-09-01 08:11:29 +10:00
Grahame Grieve 5b2429081a
Merge pull request #324 from ahdis/oe_sectionmultipleauthors
validation of bundles: allow multiple authors in section
2020-09-01 08:07:15 +10:00
Grahame Grieve aa9524ed93
various validation fixes (#327)
* Fix must support rendering of pattern values

* Add time tracking for progress reporting

* Add parent tracking for Validation support of nested bundles

* fix rendering of Documents

* rework validation output + fix up package loading in validator
2020-08-31 14:53:34 -04:00
Oliver Egger d7bb306cdc allow multiple authors in section 2020-08-28 16:43:17 +02:00
markiantorno bb953fc7fc Updating version to: 5.1.7-SNAPSHOT and incrementing test cases dependency. 2020-08-27 08:09:56 +00:00
markiantorno 7349ad1f0e Release: v5.1.6
Validator:
* improve error messages for wrong code system URLs

Other code changes:
* fix rendering for must-support to not render empty values in patterns
* control over validation of aggregation modes
* fix NPE in code system comparison
* Fix verious issues
* Upgrade UCUM dependency
* fix support for multi-line comments in structure maps
* add conversion for R2 MedicationOrder -> R3 MedicationRequest
* Upgrade dependency on CQFramework
* improvements to OID to URL conversion
* Fix issue with round-tripping resources with primitives with no value
***NO_CI***
2020-08-27 07:53:37 +00:00
Grahame Grieve 9578933704 control over aggregation validation 2020-08-27 16:22:21 +10:00
Grahame Grieve 1eda0aa128 upgrade UCUM definition 2020-08-27 12:31:38 +10:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Mark Iantorno 8505fcf580
adding option to set tx server to null for api calls: (#316) 2020-08-25 11:18:14 -04:00
Grahame Grieve 3ff241bcf8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-24 17:17:06 +10:00
Grahame Grieve bec72616e0 Add details for better error messages on bad code system urls 2020-08-24 17:15:37 +10:00
markiantorno cbff4a937e Removing SNAPSHOT dependency for cqframework 2020-08-23 14:05:17 -04:00
markiantorno 9f23ff6ea9 Updating version to: 5.1.6-SNAPSHOT and incrementing test cases dependency. 2020-08-20 12:41:28 +00:00
markiantorno 6c156f7001 Release: v5.1.5
Validator:
* No changes

Other code changes:
* Update R5 code to new release R4.5.0
***NO_CI***
2020-08-20 12:22:59 +00:00
Grahame Grieve 8ee4eff74c fix default value for validator setting + hack work around for R5 broken process 2020-08-20 21:00:11 +10:00
Grahame Grieve 5fc297b3b5 Upgrade R5 to latest version 2020-08-20 20:37:10 +10:00
markiantorno be5ba84652 Updating version to: 5.1.5-SNAPSHOT and incrementing test cases dependency. 2020-08-18 22:50:45 +00:00
markiantorno 8ce263a127 Release: v5.1.4
Validator:
* No changes

Other code changes:
* Remove old comparison code
* Don't lazy load simplifier packages
* Add links in version comparisons
* fix NPE in SimpleWorkerContext

***NO_CI***
2020-08-18 22:35:42 +00:00
Grahame Grieve ced57a5dfe
minor fixes to support main build (#311)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison

* clear notes

* more work on better presentation for comparison

* Remove old comparison code

* remove old comparison code

* fix loading bug

* fix to not load Simplifier packages via lazy loading
2020-08-18 09:27:02 -04:00
markiantorno 57e3ae0f15 Updating version to: 5.1.4-SNAPSHOT and incrementing test cases dependency. 2020-08-17 14:28:29 +00:00
markiantorno a27fa4ce18 Release: v5.1.3
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-17 14:07:49 +00:00
Grahame Grieve eb23fcc5e4
more config for validator (#309)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison
2020-08-17 09:53:54 -04:00
markiantorno f6b4df237f fixing versioning 2020-08-17 09:04:08 -04:00
markiantorno 127bbc9e38 Release: v5.1.2
***NO_CI***
2020-08-16 02:26:50 +00:00
Grahame Grieve 01e58a5aa5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-16 11:42:14 +10:00
Grahame Grieve 1f433f6643 reduce validation logging 2020-08-16 11:41:53 +10:00
markiantorno c09becfba2 Updating version to: 5.1.3-SNAPSHOT and incrementing test cases dependency. 2020-08-15 23:06:25 +00:00
markiantorno cb1abcad25 Release: v5.1.2
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-15 22:49:38 +00:00
markiantorno be26988adf fixing versions and test dependencies 2020-08-15 18:37:03 -04:00
markiantorno 7f5c5e36dd Release: v5.1.1
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-15 21:41:16 +00:00
Grahame Grieve 4e30cd7849 Add logging for value set validation performance 2020-08-16 06:48:33 +10:00
markiantorno eed1d730c4 Updating version to: 5.1.2-SNAPSHOT and incrementing test cases dependency. 2020-08-13 15:23:03 +00:00
markiantorno beeaf26b6d Release: v5.1.1
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-13 15:03:45 +00:00
Grahame Grieve 2c0fe519cb
more work on code validation (#306)
* Handle unknown code systems better when checking codes from unknown systems

* more work on code validation

* more work on comparison

* hack workaround for UTG NUCC problem.

* adjust exception type

* more work on timeouts

* improve error message

* fix NPE?

* release notes

* Improve error message
2020-08-13 09:47:05 -04:00
Grahame Grieve 008dc84546 Use server side caching to reduce the bandwidth utilitization 2020-08-13 08:14:54 +10:00
jamesagnew 09d0ae4caa Bump version to 5.1.1-SNAPSHOT for next development cycle 2020-08-12 05:33:18 -04:00
jamesagnew 98ba0506c2 Version bump to 5.1.0 2020-08-11 17:41:20 -04:00
Grahame Grieve 6ecf1c8f99 Fix issues with reloading package once already loaded in validator + add test case 2020-08-12 05:11:35 +10:00
Grahame Grieve 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 039027c588 Comparison for CapabilityStatements 2020-08-10 15:57:14 +10:00
markiantorno 1af6268fa8 Updating version to: 5.0.23-SNAPSHOT and incrementing test cases dependency. 2020-08-07 03:51:36 +00:00
markiantorno 5c4c5ce1c8 Release: v5.0.22
Validator:
* no changes

Other code:
* Continue to work on connection timeout issues
* Fix bug in DiagnosticReportRenderer (wrong element accessed)
* change type of resource parameter to ResourceRender.build
***NO_CI***
2020-08-07 03:33:21 +00:00
markiantorno ac2ae655d5 Final pipeline versioning fix 2020-08-06 15:12:20 -04:00
markiantorno 37134e5252 Updating version to: 1.1.30-SNAPSHOT and incrementing test cases dependency. 2020-08-06 19:06:12 +00:00
markiantorno 340250cf74 Release: v5.0.21
* Release pipelines fix for incrementing external dependencies
***NO_CI***
2020-08-06 18:49:05 +00:00
markiantorno 91c1ed7e31 Fixing build pipelines issue 2020-08-06 13:56:27 -04:00
markiantorno 49695b2801 Updating version to: null.object.1-SNAPSHOT and incrementing test cases dependency. 2020-08-06 16:23:24 +00:00
markiantorno 97c974ca38 Release: v5.0.20
Validator:
* Fix for problem with expansion code checking and incomplete value sets

General Code changes:
* Work on connection problems to terminology server
* Fix for problem loading Measures from packages
* Work on i18n for Rendering
* fix case bug renderung bundles and parameters
* start working on i18n for Rendering
***NO_CI***
2020-08-06 15:40:30 +00:00
Grahame Grieve f73147523a
Gg v5.0.20 work (#294)
* ongoing work around connection problems with tx.fhir.org

* fix for bug processing CCDA constraints (logical model constraints)

* fix for bug loading Measures from packages

* fix NPEs loading invalid packages

* Start Working on i18n for Rendering + Fix case bug rendering bundles and parameters

* Fix for problem with expansion code checking and incomplete value sets

* release notes
2020-08-06 10:51:05 -04:00
markiantorno f54e56e74c Updating version to: 5.0.20-SNAPSHOT 2020-08-05 23:31:54 +00:00
markiantorno f6071cb0df Release: v5.0.19
Validator:
* Improved handling of terminology timeout issues

Other code changes:
* fix questionnaire rendering to create valid resources
***NO_CI***
2020-08-05 22:50:40 +00:00
Grahame Grieve 56e4f5b756 work on comparison functionality 2020-08-06 07:39:29 +10:00
markiantorno ea322996f3 Updating version to: 5.0.19-SNAPSHOT 2020-08-03 21:14:01 +00:00
markiantorno 18cf563e78 Release: v5.0.18
Validator Fixes:
* better validation of external references. Note: this is a potentially significant change: things that were called ok before may not be now, and things that were not ok before may become so, depending on the interplay between this and auto-load, further work may be needed here
* Support better validation of version specific profiles in meta.profile. This may also find new errors that were not previously being found
* Support auto-determination of the version of FHIR to use when using the java validator
* auto-load packages from the package server when references to profiles etc are encountered
* look for references inside other parameters in Parameters resource
* no validation for CanonicalResource.url (further work needed)

Other Code changes:
* Rendering: add rendering for Parameters resources
* Rendering: refactor of resource resolution code to support Parameters
* General clean up of rendering consistency & implement additional details when rendering (including patient summary)
* Rendering: major overhaul of DiagnosticReport rendering
* Fix NPE bug in value set comparison

***NO_CI***
2020-08-03 20:51:09 +00:00
Grahame Grieve 4fd6f0e4dc fix version dependency on test cases 2020-08-04 05:43:16 +10:00
Grahame Grieve 6bdde22026 no validation for CanonicalResource.url (further work needed) 2020-08-03 18:16:00 +10:00
Grahame Grieve 5299bbe16b * better validation of external references. Note: this is a potentially significant change: things that were called ok before may not be now, and things that were not ok before may become so, depending on the interplay between this and auto-load, further work may be needed here
* Support better validation of version specific profiles in meta.profile. This may also find new errors that were not previously being found
* Support auto-determination of the version of FHIR to use when using the java validator
* auto-load packages from the package server when references to profiles etc are encountered
* look for references inside other parameters in Parameters resource
2020-08-03 17:40:21 +10:00
Grahame Grieve 1888925293 upgrade version of pubpack 2020-07-31 12:52:02 +10:00
markiantorno 82125235a0 Updating version to: 5.0.18-SNAPSHOT 2020-07-30 04:47:14 +00:00
markiantorno a375f58c82 Release: v5.0.17
* Batch validation of codes in value sets
* Fix path problem doing comparisons
* Don't produce 2 columns for status for deprecated codes
* Fix errors in StructureDefinition validation
***NO_CI***
2020-07-30 04:18:42 +00:00
Grahame Grieve 5aec9978bd fix up tests to pass 2020-07-30 12:35:16 +10:00
Grahame Grieve 4995134716 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-07-30 12:04:12 +10:00
Grahame Grieve eee552cdde Fix errors in StructureDefinition validation 2020-07-30 12:03:34 +10:00
Grahame Grieve ea52c4206f Batch validation of codes in value sets 2020-07-30 11:57:11 +10:00
Mark Iantorno 9c044e5bb5
making changes to accommodate front end code (#286)
* making changes to accomodate front end code

* removing unescessary comments

* kotlin don't take no nulls
2020-07-29 15:28:53 -04:00
markiantorno a154f454b4 Updating version to: 5.0.17-SNAPSHOT 2020-07-28 05:15:29 +00:00
markiantorno 5dcef3e530 Release: v5.0.16
* fix evaluation of codes in code systems that are labelled content = fragment
* fix url for cqfmeasures project
* change from error to warning for code system fragments

***NO_CI***
2020-07-28 04:51:08 +00:00
Grahame Grieve b256965738 * fix evaluation of codes in code systems that are labelled content = fragment 2020-07-28 06:06:01 +10:00
markiantorno 2fc1d481e4 Updating version to: 5.0.16-SNAPSHOT 2020-07-27 15:40:41 +00:00
markiantorno c55982c47b Release: v5.0.15
* Version comparison support
* Fix for problem validating search parameter derivation
* Added lazy resource loading - improve loading times and memory requirements in advance of the challenge of loading UTG for most use cases
* Fixed bug where canonical resource has no URL
***NO_CI***
2020-07-27 15:14:44 +00:00
Grahame Grieve bf0f81f51b
version comparison support (#284)
* add package url fixer

* fix problems doing CCDA snapshots

* Fix for http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation

* improve error message

* fix package id in generated version specific tests

* remove spurious debug statement

* rework package loaders for automatic loading of package dependencies

* fix spelling mistake

* add automatic loading of package dependencies by the context

* significant work on tests to support version comparison

* fix minor loading issue

* compile fix

* utils support

* fixes for version comparison

* rework error handling when expanding valuesets + add error check on value set imports

* fix loading bug

* improve error message
2020-07-27 09:04:31 -04:00
Grahame Grieve f6c7d294c4 fix problem validating search parameter derivation 2020-07-22 08:10:12 +10:00
Grahame Grieve 6421226011 more improvements around lazy loading 2020-07-21 17:14:08 +10:00
Grahame Grieve acbba54d25 fix issues in testing 2020-07-21 06:16:45 +10:00
Grahame Grieve c53db20879 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-07-20 22:58:16 +10:00
Grahame Grieve 52267118c6 implement lazy loading - improve loading times and memory requirements in advance of the challenge of loading UTG for most use cases 2020-07-20 22:57:15 +10:00
markiantorno b877474fc8 Updating version to: 5.0.15-SNAPSHOT 2020-07-17 22:21:01 +00:00
markiantorno 675c2751aa Release: v5.0.14
* Fix for temp directory creation test on Windows machines
* Deployment fix
***NO_CI***
2020-07-17 21:55:26 +00:00
markiantorno e14de3b339 Updating version to: 5.0.14-SNAPSHOT 2020-07-17 05:55:20 +00:00
markiantorno fb886a7217 Release: v5.0.13
Validator:
* Add support for conformsTo in invariants on elements
* Fix bug in assumeValidRestReferences doing bundle validation
* Add -show-times parameter
* Handle weird ege case for fixedReference

Code:
* add support for row opacity in rendered tables
* fix cross version convertor for DataRequirements
* fix rendering of multiple type profiles
* add code for converting resource names between versions
* add FHIRPath engine to i18n framework
* fix bundle rendering
* change HTML parser to parse doctype declaration, and move html validation to the validator
* snapshot generator - fix bug where slices get cardinaliyt min=1 by default
***NO_CI***
2020-07-17 05:45:51 +00:00
Grahame Grieve e0e23a66c3 implement html checking in validator not html parser. 2020-07-17 09:31:56 +10:00
Grahame Grieve 9ccb37a0ba fix issues in MeasureReport validation 2020-07-15 16:45:21 +10:00
Grahame Grieve 7197b647d4
Merge pull request #269 from ahdis/oe_instancevalidator_conformsto
allow conformsTo on Element for InstanceValidator
2020-07-15 11:05:58 +10:00
Grahame Grieve 0adc1ae698 fix bug evaluating implicit type + fix primitive type pattern implementation 2020-07-14 08:21:37 +10:00
Grahame Grieve 64d6f24d08 support for -show-times in validator 2020-07-14 08:19:11 +10:00
Grahame Grieve 5fb6ed21d1 * handle weird edge case for fixedReference
* allow for ancestor types when checking assumed target types of references
2020-07-09 07:22:09 +10:00
Oliver Egger 1b135a0d34 allow profile validation on element 2020-07-08 22:03:38 +02:00
markiantorno facb2ca0a8 Updating version to: 5.0.13-SNAPSHOT 2020-07-07 02:37:39 +00:00
markiantorno b770fb8a2c Release: v5.0.12
* Fix bug in snapshot generation - not handling case where content is sliced, base slicing detail is provided, and max slices = 1
* More work on validating existing snapshots

***NO_CI***
2020-07-07 02:27:57 +00:00
Grahame Grieve ce47093c12
Gg work (#267)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes

* fix npe rendering diagnostic reports without subjects

* don't add note on untranslatable messages

* check existing snapshots (preliminary)

* add signpost message tracking

* start working on profile generating bug

* Fix bug in snapshot - not handling case where content is sliced, base slicing detail is provided, and max slices = 1

* fix release notes
2020-07-06 20:21:40 -04:00
markiantorno ab8bbb5491 Updating version to: 5.0.12-SNAPSHOT 2020-07-04 00:25:03 +00:00
markiantorno 9d5cb114a2 Release: v5.0.11
* Added text/cql.identifier media type to Measure validation
* Fix bug in QuestionnaireResponse rendering
* Validate based on ImplementationGuide.global
* add validation parameter -crumb-trails
* improve validation of StructureDefinitions

***NO_CI***
2020-07-04 00:15:32 +00:00
Grahame Grieve 92c02d2294
Add support for validating against ImplementationGuide.global (#266)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes
2020-07-03 18:25:15 -04:00
markiantorno 97f6758969 Updating version to: 5.0.11-SNAPSHOT 2020-07-01 00:52:38 +00:00
markiantorno 9602898b73 Release: v5.0.10
* Added text/cql.identifier media type to Measure validation
***NO_CI***
2020-07-01 00:43:41 +00:00
Bryn Rhodes 59dd3ceae3 Added text/cql.identifier media type to Measure validation. 2020-06-29 16:27:27 -06:00
markiantorno 7f7e83f6f8 Updating version to: 5.0.10-SNAPSHOT 2020-06-27 00:25:51 +00:00
markiantorno 4ca25bdb52 Release: v5.0.9
* Two significant bug fixes for the validator (thanks Mark Burnett from Babylon Health for finding them):
  * The validator was not enforcing type restrictions when some profiles restricted elements with choices to a single type
  * The validator was only creating warnings not errors for required bindings on some Quantities
  * + Fix handling of infrastructural terminology failings on Codings - treat them as warnings not errors
* Add extra validation for value sets (check concept codes are valid)
* Add extra code to check derivation consisteny for SearchParameter resources
* More Improvements to Questionnaire Rendering

***NO_CI***
2020-06-27 00:17:13 +00:00
Grahame Grieve b08c12f2c4
update test case dependency to 1.1.22 (#263)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests
2020-06-26 20:07:30 -04:00
Grahame Grieve 03a4224424
fix for new test case about profiles restricting types (#261)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator
2020-06-26 14:46:54 -04:00
Mark Iantorno c8957fa921
junit vintage (#262)
* Changing Validation test suite back to JUnit 4.

* This can all be done with JUnitVintage Engine
2020-06-26 10:41:43 -04:00
Grahame Grieve 026b387eaf ping build 2020-06-26 07:16:27 +10:00
Grahame Grieve 44d7a59115 Add value set validation 2020-06-25 17:10:24 +10:00
Grahame Grieve e1e994704d More stability on tests + fix questionnaire renderer problem + add SearchParameter derivation validation 2020-06-25 11:24:03 +10:00
markiantorno 344d778a87 Updating version to: 5.0.9-SNAPSHOT
***NO_CI***
2020-06-19 22:15:34 +00:00
markiantorno 87f1c42b89 Release: v5.0.8
***NO_CI***
2020-06-19 22:06:03 +00:00
Grahame Grieve 0e8b5f6552
various fixes for reported bugs (#252)
* fix bug in Definition mode - support ofType()

* fix bug reading old packages

* fix for invalid OperationOutome if nothing is wrong

* more fix for when no errors found
2020-06-19 16:02:56 -04:00
Mark Iantorno c1f5244873
Adding more verbose output for bad file path validator input (#249)
* Adding more verbose output for bad file path validator input

* Moving error output to i18n tooling. Adding tests to tooling, and addressing some issues with i18n implementation.

* Apparently the intended behavior is to not tell the user if they are localizing a string that doesn't exist.
2020-06-19 09:28:36 -04:00
Grahame Grieve e8c6a9112f fix bug parsing -profile parameter 2020-06-18 08:46:57 +10:00
Grahame Grieve c67c3c2892 fix missing translation routine 2020-06-17 12:22:17 +10:00
Grahame Grieve 779d50b61b Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-14 07:07:42 +10:00
Grahame Grieve 3d481f1b05 Restore functionality of -sct parameter to validator 2020-06-14 07:07:18 +10:00
markiantorno 49c35b1de2 Updating version to: 5.0.8-SNAPSHOT
***NO_CI***
2020-06-13 13:12:37 +00:00
markiantorno b2ecaa2bfa Release: v5.0.7
* Override extension methods in BackboneElement to look in modifierExtensions as well as extensions
* First draft of Profile Comparison tools (org.hl7.fhir.r5.comparison)
* Improved error messages when snapshot generation fails when slicing something that doesn't repeat
* Improvements for CDA round-tripping (XML esacping issues, xsi:type related issues, namespacing issues)
* Fix bug rendering DiagnosticReports with multiple categories
* adjust check on Attachment to only be an warning (when no meaningful content exists)
* add security check mode to Validator
***NO_CI***
2020-06-13 12:51:27 +00:00
Mark Iantorno f5455bb9e9
Merge branch 'release' into merge_branch 2020-06-12 19:34:50 -04:00
Grahame Grieve 8604981d93 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-11 16:41:11 +10:00
Grahame Grieve 5f1d6e193c first release of functional Profile comparison on new framework 2020-06-11 16:40:57 +10:00
Mark Iantorno a88b79f41b
Fix for Azure pipelines being able to build and deploy core libraries properly.
* ...yup. it's really dumb

* wip

* wip

* Releases properly now on Azure.

* switching back to 5.0.7-SNAPSHOT version

* removing main method from Marker class
2020-06-10 18:25:23 -04:00
Grahame Grieve 4d9ace1619
Merge pull request #228 from ahdis/oliveregger_fml_xsitype
CDA xsi:type serialization when using fhir mapping language
2020-06-10 08:45:12 +10:00
Grahame Grieve 17fb1462c4 fix Attachment check, and add Validator Security checks 2020-06-09 17:19:06 +10:00
Oliver Egger e0d2b2a00d refactor to ValidationEngine/ElementModel 2020-06-08 10:01:08 +02:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Mark Iantorno 0fb57007c4
Release v5.0.6 (#226)
* reenable test and fix recursion

* remove disabled r4 fml tests

* add conformsTo test and support for FML

* Snapshot builder fix (#223)

* Update module-snapshot-publishing.yml for Azure Pipelines

* Changing pipeline, because intermodule depenedecies are not being read in correctly.

* Update README.md

* Fixed bad link

* Release: v5.0.6

***NO_CI***

* Updating version to: 5.0.7-SNAPSHOT
***NO_CI***

* Fixing issues and preparing for release (#225)

* Issue #189 - improve Questionnaire error message

* fix for issue #187

* more work on comparison

* Fix for NamingSystem display

Co-authored-by: Oliver Egger <oliver.egger@ahdis.ch>
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2020-06-05 18:47:17 -04:00
Grahame Grieve b2367e94b6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-06 07:24:00 +10:00
Grahame Grieve b3c8cae61d Issue #189 - improve Questionnaire error message 2020-06-06 07:17:12 +10:00
Grahame Grieve eaab390aa4
Merge pull request #218 from ahdis/oliveregger_fml_conformsto
FHIR Mapping Language support for conformsTo function
2020-06-06 07:00:23 +10:00