Commit Graph

994 Commits

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