Commit Graph

877 Commits

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