Commit Graph

1154 Commits

Author SHA1 Message Date
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 40642c2263 don't make non-url uris into invalid links 2020-12-17 13:05:50 +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 b43431a65c
Merge pull request #401 from hapifhir/gg-fix-slicing-errors
improve error message for FHIRPath errors when slicing
2020-12-15 14:27:08 +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 4b5ea7d4d5 Actually fix it this time 2020-12-09 11:10:16 +11:00
Grahame Grieve 0cf371c657 fix for rendering bundles on ElementModels 2020-12-09 10:11:06 +11:00
Grahame Grieve 8a6b797c92 fix for NPE rendering parameters with no names 2020-12-09 10:10:11 +11:00
Grahame Grieve 655c072d64 fix for NPE rendering references to contained value setes in Questionnaires that don't resolve 2020-12-09 10:09:02 +11:00
Grahame Grieve 752918a80a fix for renderer on ElementDefinition rendering - follow contentReference 2020-12-09 10:08:01 +11:00
Grahame Grieve 2c4b4c4ca2 Fix NPE reading results of batch code validation 2020-12-09 10:04:56 +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 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
Lloyd McKenzie d8df660c33 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-12-04 08:05:48 -07: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 f7ececa034
Merge branch 'master' into gg_v5.2.6 2020-12-03 17:16:28 +11:00
Grahame Grieve 36dae96eef fix copmile problem 2020-12-03 15:23:03 +11:00
Grahame Grieve 89249219fd Fix rendering of CanonicalResource.url 2020-12-03 12:55:20 +11:00
Grahame Grieve 1f2859e49b Process Markdown when rendering CapabilityStatement.rest.documentation 2020-12-03 12:54:39 +11:00
Grahame Grieve 1372d58ad4 improve error messages when rendering bundles that are documents that aren't properly formed 2020-12-03 12:54:03 +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
Grahame Grieve 4b43e46d11 Track code systems used in the context, and add getSpecUrl for implementer ease 2020-12-03 12:49:00 +11:00
Grahame Grieve b9664caec0 fix error message suppression on tooling client 2020-12-03 12:46:43 +11:00
azizjonh c4139ae9a1
Load context from classpath allowing duplicates
Added ability to specify whether to allow duplicates when loading context from classpath. In similar fashion to loading from package.
2020-12-01 11:05:57 -06: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 2d8ac6f377 fix bug in bundle rendering 2020-11-30 17:58:50 +11:00
Grahame Grieve bdf783e9e0 improve cahcing on client and also txServer 2020-11-30 17:58:29 +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
Mark Iantorno 3e1e00b37d
all IOExceptions are now passed up and not handled within the HTTP library. (#386) 2020-11-26 17:29:02 -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 8f68c79554 Fix date time comparison code 2020-11-26 08:53:59 +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
Lloyd McKenzie 7064b70712 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-14 13:27:22 -07: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 6ef8565563 fix rendering on must-support view for must-support on types and target profiles 2020-11-13 14:46:57 +11:00
Grahame Grieve 25103f3653 * fix case problem with icons in questionnaire rendering 2020-11-13 14:43:11 +11:00
Grahame Grieve 74db1523c5 fix bug in processing excludes with filters in value sets 2020-11-13 14:41:45 +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 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
Grahame Grieve 3b74c39de4 fix problem rendering canonical URLs with | in them 2020-11-11 10:04:02 +11:00
Grahame Grieve 476924e1cb * fix problem with min = 1 on slices.
* fix problem with element definition resolution in profiles for contentReference
* fix problem with rendering unchanged terminology bindings in profiles
2020-11-11 10:02:01 +11:00
Lloyd McKenzie 409bcfbecf Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-09 23:34:13 -07: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 6626b72b4f * fix bug rendering content references in profiles 2020-11-05 14:13:50 +11:00
Grahame Grieve e6cda40274 * 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:13:17 +11:00
Grahame Grieve 01430d8d98 fix parameters renderer to create proper anchors 2020-11-05 14:11:54 +11:00
Grahame Grieve 49cf605b06 don't use prism for big binaries when rendering library 2020-11-05 14:11:18 +11:00
Grahame Grieve 2c22d8fa23 fix bug raising error when processing bundles 2020-11-05 14:10:23 +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 6cd0af3b8c Clean up integer64 type 2020-11-01 14:00:12 -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 82afa47590 add parameter -html-output for enhanced presentation of slicing information (issue #283) 2020-10-29 17:51:34 +11:00
Grahame Grieve 944be1cfba fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value) (missed testing change) 2020-10-29 13:57:25 +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
Grahame Grieve a658fc982b Mark it has an error if a JSON Array is empty 2020-10-29 13:53:14 +11:00
Lloyd McKenzie 9e7dacd815 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-24 20:34:41 -06:00
jamesagnew eb1c67c1cb Account for review comments 2020-10-19 14:56:54 -04:00
jamesagnew 1922f549bb Improve multithreaded performance of datetime types 2020-10-19 14:56:54 -04:00
Lloyd McKenzie 27295db891 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-14 21:35:38 -06: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 058024f57c
Merge pull request #364 from hapifhir/gg-v5117
release notes
2020-10-14 22:11:24 +11:00
Grahame Grieve 5ce25da10b release notes 2020-10-14 16:49:44 +11:00
Grahame Grieve f5b02ff308
Merge pull request #363 from hapifhir/gg-v5117
more fixes for next release
2020-10-14 14:40:01 +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 5c12048749 check supportsCopyright in a JUnit test 2020-10-14 13:17:45 +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
Lloyd McKenzie d99592416e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-11 10:23:20 -06:00