Commit Graph

1023 Commits

Author SHA1 Message Date
Grahame Grieve a51a8c003d fix issue with snapshot generation for logical models (CCDA) 2021-03-03 13:18:44 +11: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
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 5b8aec8a06
Merge pull request #410 from rajavpr/UnknownHostException
Fix for UnknownHostException
2021-02-08 06:56:23 +11:00
Grahame Grieve da563a6637
Merge pull request #411 from ahdis/oe_fhir-28413
[FHIR-28413]: noNamespace instead of default for Logical Models not having a namespace
2021-02-08 06:46:30 +11: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
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
Grahame Grieve ecc59f26a6
Merge pull request #418 from hapifhir/gg-r4b-work
Gg r4b work
2021-01-21 07:13:43 +11:00
Grahame Grieve 00410604d7 Improve validator error messages for bad json & turtle formats 2021-01-20 16:53:14 +11: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
Grahame Grieve 414640550e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-01-14 12:21:52 +11:00
Grahame Grieve e0dabe6f33 fix profile generation issues 2021-01-14 12:21:33 +11:00
Mark Iantorno 33b55727a0
upping version to fix crash (#413) 2021-01-12 11:21:28 -05:00
Oliver Egger c16573962b noNamespace instead of default 2021-01-02 14:19:04 +01:00
Oliver Egger 101b1c7cde revert, but escape only < ' ' char 2021-01-02 13:08:01 +01:00
Oliver Egger 21479bffa7 don't escape umlaut in utf8 2021-01-02 13:08:01 +01:00
rajavpr 17d375b43e
Fix for UnknownHostException
Error connecting to build server - running without build (build.fhir.org)
java.net.UnknownHostException: build.fhir.org
	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:220)
	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
	at java.base/java.net.Socket.connect(Socket.java:608)
	at java.base/sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:285)
	at java.base/sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:173)
	at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
	at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
	at java.base/sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:265)
	at java.base/sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:372)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081)
	at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromBuildServer(FilesystemPackageCacheManager.java:645)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.checkBuildLoaded(FilesystemPackageCacheManager.java:631)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageIdFromBuildList(FilesystemPackageCacheManager.java:593)
	at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.getPackageId(FilesystemPackageCacheManager.java:565)
	at org.hl7.fhir.validation.cli.services.StandAloneValidatorFetcher.resolveURL(StandAloneValidatorFetcher.java:87)
	at org.hl7.fhir.validation.ValidationEngine.resolveURL(ValidationEngine.java:1738)
	at org.hl7.fhir.validation.instance.InstanceValidator.checkPrimitive(InstanceValidator.java:1954)
2020-12-30 15:43:03 +05:30
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 836863e372 allow for URLs that are references to ISO standards (urn:std:) 2020-12-18 22:44:23 +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 52fae6d285 #399: fix bad error message in german 2020-12-15 14:30:44 +11: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 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 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 d4b46e32bf Improve security warnings about rogue HTML tags 2020-12-03 12:56:28 +11:00
Grahame Grieve 2f69a6734c escape | in URLS for terminology service 2020-12-03 12:55:51 +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
Grahame Grieve 1e16f02b48 Fix bug in package loader - allow loading version with later patch if old version is missing 2020-12-01 14:51:19 +11:00
Grahame Grieve 65a17e6bd8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-30 06:53:26 +11:00
Grahame Grieve 9080a24c29 sync up 2020-11-30 06:53:15 +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
Grahame Grieve a6df87b0a4 version notes 2020-11-27 10:39:23 +11:00
Grahame Grieve 624ce59c83 Add on the fly retrieval of profiles in the validator, and fix bug where validator reported 'not done yet' for invalid contained references. 2020-11-27 10:34:43 +11: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 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
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 4088dddaee fix bug where end of stream is read wrongly parsing XHTML (+ test case) 2020-11-14 08:17:48 +11:00
Grahame Grieve c6a2fb375c allow lazy loading of special packages 2020-11-14 08:17:14 +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
Grahame Grieve f23114f901 * fix for NPE in version string comparison 2020-11-11 10:11:40 +11:00
Grahame Grieve 4e602b07e9 fix problem rendering multiple manifestations for an allergy reaction 2020-11-11 10:04:47 +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
Grahame Grieve ca48cf7f79 * Don't render id/base/other properties of Resource itself in auto-narrative generator
* fix bug where extension values not generated for simple extensions
2020-11-05 14:12:57 +11: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
jamesagnew 943bc7413c Add more tests 2020-11-01 21:09:11 -05:00
jamesagnew 0c01404a4f Improve numeric comparison 2020-11-01 21:09:11 -05: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
Grahame Grieve bc1d67db96 * 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
2020-10-29 14:03:08 +11:00
Grahame Grieve 49fbc739fd improved markdown support in table generator 2020-10-29 14:00:21 +11:00
Grahame Grieve 4c421eefd7 * 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)
2020-10-29 13:56:56 +11: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 d20582ca9d revise error message when can't connect to the terminology server 2020-10-08 20:59:39 +11:00
Grahame Grieve cb25ef1bd1 Add text separator system 2020-10-08 20:59:10 +11:00
Grahame Grieve c82c71894f Add UTG version revision engine 2020-10-08 20:58:28 +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 3e6863ef70 Support for additional checking in IG Publisher 2020-10-01 11:05:24 +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 2e8953a81d add search on IG registry to PackageClient 2020-10-01 11:00:31 +10:00
Grahame Grieve 46d1987cd0 refactor FHIRPath to report error locations for run time errors 2020-09-30 12:10:59 +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
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 dfaefde01a add <code> when rendering turtle to HTML 2020-09-25 03:26:48 +10: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
Grahame Grieve b8370f7e61
various minor fixes (#353)
* 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
2020-09-22 16:17:45 -04:00
Grahame Grieve cc64eb7fea fix bad package URLs as they are loaded 2020-09-22 22:02:01 +10:00
Grahame Grieve 6fb4610b5f fix for use of "current" as version 2020-09-22 22:01:37 +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
Grahame Grieve 3c0b20eb16 Add quality code (yet to turn it on) 2020-09-22 02:34:04 +10:00
Grahame Grieve eba38941d3 fix resource leaks 2020-09-21 19:55:51 +10:00
Grahame Grieve 4a4105413f Improve Library rendering 2020-09-21 07:08:05 +10: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 0dcf64cb70 Add test cases for wildcard versions 2020-09-17 17:04:42 +10:00
Grahame Grieve 697b23e855 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-17 16:48:45 +10: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
Grahame Grieve fa778fbf03 Fix handling resources in bundles when type is profiled 2020-09-17 15:45:47 +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 9fc8b35797 Fix issue with discriminating by address and human name 2020-09-14 18:10:31 +10: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
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 1ebd74f0d0 Add release notes 2020-09-08 14:01:33 +10:00
Grahame Grieve 41d40e7f94 More validation for HTML structure 2020-09-08 12:45:58 +10:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +10:00
Grahame Grieve 227bccbb35 fix for empty markdown + rendering improvements for Bundles 2020-09-07 13:08:21 +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
Grahame Grieve a964d4fcd5 Fix up rendering of Extensions 2020-09-04 16:22:09 +10:00
Grahame Grieve e1f53eec47 Mark packages as unsuitable for publication 2020-09-02 16:34:06 +10: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 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
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 e669103aa7 upgrade to pass new reconciled tests 2020-08-27 12:36:10 +10:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Grahame Grieve bec72616e0 Add details for better error messages on bad code system urls 2020-08-24 17:15:37 +10:00
Grahame Grieve 0287248a48 work on oid to URI conversion - scope and efficiency 2020-08-24 17:14:49 +10:00
Grahame Grieve fe7efcf5a2 Fix bugs in PHINVads importer 2020-08-22 08:09:50 +10: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 9a51722ee0 Add PhinVads Importer 2020-08-20 20:37:30 +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
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
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
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 7f79342447
Merge pull request #298 from hapifhir/gg-v3-parser-test
Add test case for Json resource parsing
2020-08-11 12:42:27 +10:00
markiantorno 5fba875d8b Fix for failing ActivityDefinition-referralPrimaryCareMentalHealth.json test 2020-08-10 21:57:55 -04:00
Grahame Grieve 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 83dc198dd1 enforce case consistency when loading test cases directly 2020-08-11 06:39:28 +10:00
Grahame Grieve 1555849e9a updates to PR 2020-08-11 05:44:13 +10:00
Grahame Grieve f8b4d73f8b prevent NPE loading old packages 2020-08-10 15:55:32 +10:00
Grahame Grieve b6b810ce29 fix for all packages release with wrong urls 2020-08-10 15:54:40 +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
Mark Iantorno aa982232ce
I had the code written already, so let's put it in. (#293)
* I had the code written already, so let's put it in.

* renaming and moving Utilities tests class to conform to best practices.
2020-08-06 07:28:17 -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 1e7eb4aa1b Work around IPS path issues 2020-08-06 07:38:54 +10:00
Grahame Grieve c70c43271a fix questionnaire rendering to create valid resources 2020-08-06 07:38:20 +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 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 eee552cdde Fix errors in StructureDefinition validation 2020-07-30 12:03:34 +10: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 78dd110814 fix cqfmeasures url 2020-07-28 12:45:33 +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 701ac1b560 fix bug when canonical resource has no URL 2020-07-22 06:59:53 +10:00
Grahame Grieve 6421226011 more improvements around lazy loading 2020-07-21 17:14:08 +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
Keith Carlson Jr 77c1890ad2
adding case for when c:\temp does not exist on windows machine (#278) 2020-07-17 15:00:10 -04: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 9bbe5ab5c8 improve rendering of contained resources 2020-07-17 13:42:44 +10:00
Grahame Grieve f3b1f16f39 add test for pubpack - make sure that it is working 2020-07-17 09:30:58 +10:00
Grahame Grieve 70b3cb73cf new errors for html checking 2020-07-17 09:30:03 +10:00
Grahame Grieve 847858c131 Add parsing DTD entity declarations 2020-07-17 09:26:54 +10:00
Grahame Grieve 4dc78b5b3c add support for table row opacity 2020-07-16 09:19:40 +10:00
Grahame Grieve 9ccb37a0ba fix issues in MeasureReport validation 2020-07-15 16:45:21 +10:00
Grahame Grieve fa7de3a308 more FHIRPath engine into i18n framework 2020-07-14 08:16:56 +10: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
Grahame Grieve 9024a309ac
fix various bugs (#265)
* 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
2020-06-30 20:25:38 -04: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
Grahame Grieve c6e424d50d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-26 06:05:25 +10:00
Grahame Grieve 44d7a59115 Add value set validation 2020-06-25 17:10:24 +10:00
Grahame Grieve 9dd0e06d9c fix error message for unknown package 2020-06-25 17:10:06 +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
Grahame Grieve 0c7cde13e2 fix default value for warnAboutMissingMessages 2020-06-25 09:17:57 +10:00
Mark Iantorno 7bbbd7af0a
Gpg profile (#258)
* removing old pipeline files

* adding gpg profile
2020-06-24 17:27:14 -04:00
Grahame Grieve c2c10872e1 Allow to suppress the warning message about unknown messages from translation layer 2020-06-24 15:06:27 +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
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
Grahame Grieve 2128128072 Improve error message associated with slicing failure 2020-06-12 09:36:12 +10:00
Grahame Grieve 3e55b24473
Merge pull request #237 from hapifhir/gg-work
override Element extension methods to also check for modifierExtensions
2020-06-11 21:58:20 +10:00
Grahame Grieve 5f1d6e193c first release of functional Profile comparison on new framework 2020-06-11 16:40:57 +10:00
Oliver Egger ebc2a7a6ba don't escape umlaut in elem utf8 2020-06-10 19:50:52 +02:00
Grahame Grieve c26b331850 more work on profile comparison 2020-06-09 17:22:37 +10:00
Grahame Grieve 6b7aa93dc7 fix bug in XML parser for Validator 2020-06-09 17:20:35 +10:00
Grahame Grieve 17fb1462c4 fix Attachment check, and add Validator Security checks 2020-06-09 17:19:06 +10:00
Grahame Grieve 94467b270a standardise terminology client across versions 2020-06-07 08:42:14 +10:00
Grahame Grieve 79ac6dc7b8 fix for issue #187 2020-06-06 07:19:34 +10:00
Grahame Grieve b3c8cae61d Issue #189 - improve Questionnaire error message 2020-06-06 07:17:12 +10:00
Grahame Grieve fcc18a0e39
Merge pull request #214 from hapifhir/ja_20200524_npm_rework
Refactor package support to remove filesystem dependency
2020-06-04 16:04:02 +10:00
Grahame Grieve 2e939aa496
Merge pull request #217 from hapifhir/gg-work
Change the way local test file short cut works
2020-06-04 10:08:37 +10:00
Grahame Grieve a6b924220c Change the way local test file short cut works 2020-06-04 05:03:19 +10:00
markiantorno 7a63c0b353 wip 2020-06-03 13:33:12 -04:00
Grahame Grieve 861a0ee706 change error to warning for extension frrom different version because context might change between versions 2020-06-03 16:03:14 +10:00
jamesagnew 20fab5e047 Rework package generator 2020-06-02 18:16:08 -04:00
jamesagnew 6534a5358b Merge branch 'master' into ja_20200524_npm_rework 2020-06-02 18:02:51 -04:00
jamesagnew 56d933199c A bit of package rework 2020-06-02 18:02:25 -04:00
Grahame Grieve 7ac1b1f0e0 implement new FHIRPath functions 2020-06-03 06:52:47 +10:00
markiantorno b8a4f6ae4f putting back in check for WINDOWS os for sdc test case. I know this isn't ideal, but this will get the tests back to a passing state, and we canmake changes with the CI running 2020-06-02 11:25:59 -04:00
markiantorno 8aee1e2e6b Adding back in local file read 2020-06-02 09:40:33 -04:00
markiantorno 8a7737cac0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into utilities_test_cases 2020-06-02 09:28:28 -04:00
jamesagnew 0d8cab0b6e A bit more rework 2020-06-02 07:45:54 -04:00
Grahame Grieve 314ca0c35c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-06-02 13:52:41 +10:00
Grahame Grieve f1d901a842 Support for rendering contained resources in IG Publisher 2020-06-02 13:52:28 +10:00