Commit Graph

889 Commits

Author SHA1 Message Date
Mark Iantorno 6cf6367b30
i am unable to write readable code (#332) 2020-09-01 17:45:33 -04:00
Mark Iantorno 3a30f0e780
changing validator cli return obj to include more information on error location (#329)
Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2020-09-01 16:02:28 -04: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 5b2429081a
Merge pull request #324 from ahdis/oe_sectionmultipleauthors
validation of bundles: allow multiple authors in section
2020-09-01 08:07:15 +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
Oliver Egger d7bb306cdc allow multiple authors in section 2020-08-28 16:43:17 +02: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 1eda0aa128 upgrade UCUM definition 2020-08-27 12:31:38 +10:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Mark Iantorno 8505fcf580
adding option to set tx server to null for api calls: (#316) 2020-08-25 11:18:14 -04:00
Grahame Grieve 3ff241bcf8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-24 17:17:06 +10:00
Grahame Grieve bec72616e0 Add details for better error messages on bad code system urls 2020-08-24 17:15:37 +10:00
markiantorno cbff4a937e Removing SNAPSHOT dependency for cqframework 2020-08-23 14:05:17 -04: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 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
Grahame Grieve 01e58a5aa5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-16 11:42:14 +10:00
Grahame Grieve 1f433f6643 reduce validation logging 2020-08-16 11:41:53 +10: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
Grahame Grieve 4e30cd7849 Add logging for value set validation performance 2020-08-16 06:48:33 +10: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
Grahame Grieve 008dc84546 Use server side caching to reduce the bandwidth utilitization 2020-08-13 08:14:54 +10: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 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 039027c588 Comparison for CapabilityStatements 2020-08-10 15:57:14 +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
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 56e4f5b756 work on comparison functionality 2020-08-06 07:39:29 +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 4fd6f0e4dc fix version dependency on test cases 2020-08-04 05:43:16 +10: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 5aec9978bd fix up tests to pass 2020-07-30 12:35:16 +10:00
Grahame Grieve 4995134716 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-07-30 12:04:12 +10:00
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