Commit Graph

821 Commits

Author SHA1 Message Date
Grahame Grieve eee552cdde Fix errors in StructureDefinition validation 2020-07-30 12:03:34 +10:00
Grahame Grieve ea52c4206f Batch validation of codes in value sets 2020-07-30 11:57:11 +10:00
Mark Iantorno 9c044e5bb5
making changes to accommodate front end code (#286)
* making changes to accomodate front end code

* removing unescessary comments

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

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

* fix problems doing CCDA snapshots

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

* improve error message

* fix package id in generated version specific tests

* remove spurious debug statement

* rework package loaders for automatic loading of package dependencies

* fix spelling mistake

* add automatic loading of package dependencies by the context

* significant work on tests to support version comparison

* fix minor loading issue

* compile fix

* utils support

* fixes for version comparison

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

* fix loading bug

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

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

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

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

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

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

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

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes

* fix npe rendering diagnostic reports without subjects

* don't add note on untranslatable messages

* check existing snapshots (preliminary)

* add signpost message tracking

* start working on profile generating bug

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

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

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

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

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

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

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

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

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

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

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

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

* update release notes

* fix NPEs doing ProfileComparison

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

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

* fix bug reading old packages

* fix for invalid OperationOutome if nothing is wrong

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

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

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

* wip

* wip

* Releases properly now on Azure.

* switching back to 5.0.7-SNAPSHOT version

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

* remove disabled r4 fml tests

* add conformsTo test and support for FML

* Snapshot builder fix (#223)

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

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

* Update README.md

* Fixed bad link

* Release: v5.0.6

***NO_CI***

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

* Fixing issues and preparing for release (#225)

* Issue #189 - improve Questionnaire error message

* fix for issue #187

* more work on comparison

* Fix for NamingSystem display

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

* Changing pipeline, because intermodule depenedecies are not being read in correctly.
2020-06-05 13:23:52 -04:00
Oliver Egger e6e4515777 add conformsTo test and support for FML 2020-06-05 17:56:14 +02:00
markiantorno 7975a65474 wip 2020-06-05 11:05:52 -04:00
Grahame Grieve b2f24f5031 fix up time tracking for validation testing 2020-06-05 08:07:23 +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
markiantorno 33b47ac61c wip 2020-06-03 13:41:38 -04: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 6534a5358b Merge branch 'master' into ja_20200524_npm_rework 2020-06-02 18:02:51 -04:00
Grahame Grieve a0245ca926 Release new version 5.0.6 2020-06-01 17:40:06 +10:00
Grahame Grieve 4df8b557c8
Merge pull request #199 from ahdis/oliveregger_validatortransformdifferential
add snapshot generation for the java validator -transform option
2020-06-01 17:03:38 +10:00
jamesagnew 17411a3659 Merge branch 'master' into ja_20200524_npm_rework 2020-05-30 12:07:17 -04:00
Grahame Grieve 05ac3ebc98 Release new version 5.0.5 2020-05-30 09:55:30 +10:00
Grahame Grieve a3d60843e4 fix path problem 2020-05-29 13:57:53 +10:00
jamesagnew 91e2d227fb Compile fixes 2020-05-28 21:07:18 -04:00
markiantorno a8176a841d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into junit_test_issues 2020-05-28 14:16:19 -04:00
markiantorno a8dcaca261 Adding conditional execution for new Narrative test, removing test suite, as we don't use those anymore, they are from JUnit 4 and cause the vintage engine to kick in, which double runs some tests. 2020-05-28 13:48:32 -04:00
Grahame Grieve f64d5c7fd5 fix problem with rendering confusion between paths around local and base specifications 2020-05-28 14:08:30 +10:00
jamesagnew c0f6366626 NPM rework 2020-05-27 05:27:44 -04:00
Grahame Grieve 998d1e0afc Release new version 5.0.4 2020-05-27 11:06:30 +10:00
Grahame Grieve c66bfec06b update dependency on pubpack 2020-05-27 09:28:55 +10:00
Grahame Grieve ccb6b067b3 Release new version 5.0.3 2020-05-26 06:15:36 +10:00
jamesagnew 444b612805 Start reworking NPM manager 2020-05-24 15:02:37 -04:00
Grahame Grieve 9d317fa9d7 start slow prep for batching terminology validation calls 2020-05-24 08:20:40 +10:00
Grahame Grieve 50ea83322f Release new version 5.0.2 2020-05-22 08:58:45 +10:00
Grahame Grieve 786aa001c5 fix misleading error message + uppate for new release of tests 2020-05-22 08:17:36 +10:00
jamesagnew 9c0a50a192 Avoid a crash when validating invalid base64, and reduce memory
footprint for large base64
2020-05-21 11:03:11 -04:00
Grahame Grieve 130caef348 Add support for Attachment validation + max size and max decimal places validation 2020-05-21 13:22:21 +10:00
jamesagnew ffafa55dc9 Validate quantity bindings 2020-05-20 17:15:16 -04:00
Grahame Grieve 31db4b7666 refactor rendering code 2020-05-18 20:30:05 +10:00
Grahame Grieve 47d8ba4558 Fix for not checking invariants on content references (e.g. ValueSet.compose.exclude) 2020-05-18 06:20:29 +10:00
Oliver Egger 57426b42a5 add snapshot gen 2020-05-16 00:46:25 +02:00
Grahame Grieve 14d0c126e1 Package validator 2020-05-13 19:51:32 +10:00
Grahame Grieve d5b5ca5798 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-05-13 09:45:54 +10:00
Grahame Grieve d688f9254d * fix fatal NPE validating bundles when resource is missing
* fix tests for R5 changes
2020-05-13 09:45:29 +10:00
jamesagnew 2e5d9ff77c Version bump to 5.0.1 2020-05-12 19:27:30 -04:00