Commit Graph

837 Commits

Author SHA1 Message Date
Oliver Egger d7bb306cdc allow multiple authors in section 2020-08-28 16:43:17 +02:00
Grahame Grieve 9578933704 control over aggregation validation 2020-08-27 16:22:21 +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 bec72616e0 Add details for better error messages on bad code system urls 2020-08-24 17:15:37 +10: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
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
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
Grahame Grieve 1f433f6643 reduce validation logging 2020-08-16 11:41:53 +10:00
Grahame Grieve 4e30cd7849 Add logging for value set validation performance 2020-08-16 06:48:33 +10:00
Grahame Grieve 5a7e130daa Improve error message 2020-08-13 23:16:48 +10:00
Grahame Grieve 4133a36c69 improve error message 2020-08-13 17:59:01 +10:00
Grahame Grieve 0b57d266cd more work on comparison 2020-08-13 17:57:14 +10:00
Grahame Grieve c5f4d2396f more work on code validation 2020-08-13 14:28:28 +10:00
Grahame Grieve 008dc84546 Use server side caching to reduce the bandwidth utilitization 2020-08-13 08:14:54 +10: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
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
Grahame Grieve 56e4f5b756 work on comparison functionality 2020-08-06 07:39:29 +10: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
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
Grahame Grieve b256965738 * fix evaluation of codes in code systems that are labelled content = fragment 2020-07-28 06:06:01 +10:00
Grahame Grieve a41956e57c improve error message 2020-07-27 22:39:41 +10:00
Grahame Grieve 7cca76418f fix loading bug 2020-07-27 17:31:28 +10:00
Grahame Grieve efa72d367f rework error handling when expanding valuesets + add error check on value set imports 2020-07-27 13:08:39 +10:00
Grahame Grieve 50dbc9bda1 significant work on tests to support version comparison 2020-07-25 08:38:45 +10:00
Grahame Grieve 8950a129b7 improve error message 2020-07-22 12:29:25 +10:00
Grahame Grieve 0d8aec0db5 Fix for http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation 2020-07-22 12:28:55 +10: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 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
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
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
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
Bryn Rhodes 59dd3ceae3 Added text/cql.identifier media type to Measure validation. 2020-06-29 16:27:27 -06: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
Grahame Grieve 8ed7b89dde Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into gg-work 2020-06-20 05:47:04 +10: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 b6a3a54d12 more fix for when no errors found 2020-06-19 11:30:31 +10:00
Grahame Grieve 2139a54a87 fix for invalid OperationOutome if nothing is wrong 2020-06-19 11:29:54 +10: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
Mark Iantorno f5455bb9e9
Merge branch 'release' into merge_branch 2020-06-12 19:34:50 -04:00
Grahame Grieve 5f1d6e193c first release of functional Profile comparison on new framework 2020-06-11 16:40:57 +10: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
Oliver Egger e6e4515777 add conformsTo test and support for FML 2020-06-05 17:56:14 +02: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
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 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 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 c66bfec06b update dependency on pubpack 2020-05-27 09:28:55 +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 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 d688f9254d * fix fatal NPE validating bundles when resource is missing
* fix tests for R5 changes
2020-05-13 09:45:29 +10:00
Grahame Grieve 463a557402 Release new version 4.2.30 2020-05-12 11:54:28 +10:00
Grahame Grieve fd09f8be93 allow mailto URLs for identifiers 2020-05-12 11:23:52 +10:00
Grahame Grieve 47e4673940 fix tests 2020-05-12 09:36:14 +10:00
Grahame Grieve edea997312 Clean up license 2020-05-12 08:55:27 +10:00
Grahame Grieve b43497897b upgrade to v4.4.0, with attendant fixes 2020-05-11 17:09:14 +10:00
Grahame Grieve d203b17c7d update to use new secondary package server 2020-05-10 08:15:40 +10:00
Grahame Grieve 0bf1dedf1e Release new version 4.2.27 2020-05-08 12:29:56 +10:00
Grahame Grieve 3afd2a9c32 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-05-08 12:01:08 +10:00
Grahame Grieve eb9de04d2d Start building conformance resource comparison code 2020-05-08 11:58:02 +10:00
markiantorno ef660d59db Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into azure_pipelines_setup 2020-05-06 11:26:36 -04:00
Grahame Grieve 17ef340972 Release new version 4.2.25 2020-05-06 11:16:01 +10:00
Grahame Grieve 37d4994c8f start building the renderer package 2020-05-05 11:50:23 +10:00
markiantorno 7a8f84fc6c cleaning up port addresses for gui tests 2020-05-02 10:00:03 -04:00
Grahame Grieve 9017e7bf48 Release new version 4.2.25 2020-05-02 12:50:44 +10:00
Grahame Grieve 60947cb7f4 Release new version 4.2.23 2020-05-01 11:40:38 +10:00
markiantorno 89f98bb960 I cast you out unclean spirit. 2020-04-29 16:55:40 -04:00
markiantorno 368a45a150 Fix for HAPI-FHIR issue 1820 2020-04-29 14:08:36 -04:00
Grahame Grieve d63e05b3cb Fix problem evaluating "type" discriminators ending with .resolve() + fix NPE in FHIRPath parser 2020-04-29 20:34:18 +10:00
Grahame Grieve 5d30dd61aa add icd-9-cm to list of known URIs 2020-04-29 14:51:27 +10:00
Grahame Grieve cd3e9b6034 Release new version 4.2.20 2020-04-28 13:45:51 +10:00
Grahame Grieve 353e520226 Release new version 4.2.20 2020-04-28 13:35:04 +10:00
Grahame Grieve d5fff86e8e get all tests passing. 2020-04-28 11:14:54 +10:00
Grahame Grieve c829de2f86
Merge branch 'master' into testing_updates 2020-04-24 07:20:35 +10:00
markiantorno 29d101fa09 wip 2020-04-23 17:02:54 -04:00
markiantorno 9c83540c2f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into validator_gui 2020-04-23 10:47:00 -04:00
Grahame Grieve d94b39121f add check for code system content type when checking ll value sets value 2020-04-23 17:28:37 +10:00
Grahame Grieve 0be698af04 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-04-23 05:48:57 +10:00
Grahame Grieve ec28c0e8ac fix failing test case 2020-04-23 05:48:34 +10:00
markiantorno f53bd707d8 Fix for array index out of bounds exception on adding profile for validation. 2020-04-22 10:02:56 -04:00
Grahame Grieve 50d7e0e879 Suppress errors associated with http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version in R4 2020-04-22 16:44:13 +10:00
Grahame Grieve bcde2d2f46 Add ability to turn caching off (for debugging) + add parameter for suppress extensible binding warnins 2020-04-22 16:42:44 +10:00
Grahame Grieve 957a71dc41 better debugging of error strings 2020-04-21 13:57:41 +10:00
markiantorno 46922bac09 forgot to remove the method 2020-04-17 20:49:27 -04:00
markiantorno 0db6635a75 deleting unused file 2020-04-17 20:18:42 -04:00
markiantorno 89250de244 Some cleanup and tests before first commit. 2020-04-17 20:17:12 -04:00
markiantorno 9a9de764b4 Boots on cli command now. 2020-04-17 16:02:58 -04:00
Grahame Grieve 87bcdd36c6 fix to compile 2020-04-17 22:28:19 +10:00
Grahame Grieve 8a9bcbf6e6 reorganise to test cross-version extensions 2020-04-17 22:27:02 +10:00
Grahame Grieve 4d30314a3d Improve URL validation + fix NPE in Measure validation 2020-04-17 10:58:06 +10:00
markiantorno d3733b3409 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into validator_gui 2020-04-16 20:28:25 -04:00
markiantorno 65b10fe994 Base functionality working 2020-04-16 17:06:19 -04:00
markiantorno 8c3e03399e wip 2020-04-16 10:17:33 -04:00
Grahame Grieve 979bad6af1 Add support for R5 version extensions and using cross version extensions when generating narrative 2020-04-12 22:04:57 +10:00
Grahame Grieve c08bbc02e4 Improved rendering of filtered messages and group messages by type in qa.html 2020-04-11 19:29:52 +10:00
Grahame Grieve 16616df0bf
Merge pull request #168 from alexanderkiel/167-version-flag
Fix Broken Validator Version Flag
2020-04-09 10:54:20 +10:00
Grahame Grieve f1594bc133 beef up the Context interface to support package related tracking, and use that to manage UTG resource contention 2020-04-09 10:26:39 +10:00
Alexander Kiel 73294ee4fe Fix Broken Validator Version Flag
I'm not sure if that is the way the version detection though IG should work. But that is my take on it.
2020-04-07 16:21:03 +02:00
Grahame Grieve be5089a80c add case exception for populations 2020-04-07 14:50:40 +10:00
Grahame Grieve b179c482e7 complete CQL based Measure Validation 2020-04-07 07:27:59 +10:00
Grahame Grieve 7400263b86 Change validator so root resource id is not in the same space as all other ids 2020-04-06 10:11:33 +10:00
Grahame Grieve a52a1127f8 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-04-05 20:35:59 +10:00
Grahame Grieve 42461e6162 Add resource type to messages for clarity + fix typos in messages 2020-04-05 20:35:22 +10:00
markiantorno 7affad01fc Cleanup 2020-04-03 14:12:47 -04:00
markiantorno 0e45efb766 Cleaning up validator 2020-04-03 14:04:03 -04:00
markiantorno a31ce48e6e Merge branch 'master' of ssh://github.com/hapifhir/org.hl7.fhir.core into cli_cleanup 2020-04-03 09:36:37 -04:00
Grahame Grieve 03be5d65a8 debugging fix 2020-04-04 00:02:53 +11:00
markiantorno 6e9b760b75 wip 2020-04-02 22:46:49 -04:00
Grahame Grieve 101fbe3126 more work on Measure/MeasureReport validation 2020-04-03 12:16:33 +11:00
markiantorno b0a15a11a2 Cleaning up cli code 2020-04-02 11:40:44 -04:00
Grahame Grieve ab581fdf86 further modularise validator and add Measure Validation 2020-04-02 11:05:55 +11:00
Grahame Grieve 232f1ff8ff Start building support for measure validation 2020-03-31 10:14:12 +11:00
Grahame Grieve 32b0563ea1 fox for "Any" in extension context (from R3) 2020-03-28 06:10:43 +11:00
Grahame Grieve 200f149222 Release new version 4.2.10 2020-03-26 08:29:01 +11:00
Grahame Grieve ac72dff882 More validation of URL charaters in XHTML ```a``` and ```img``` 2020-03-26 06:47:53 +11:00
Grahame Grieve 298b39e615 add cross version snapshot generation tests 2020-03-17 11:15:53 +11:00
Grahame Grieve 335b5587b3 add cross version snapshot tests 2020-03-17 11:15:12 +11:00
patrick-werner 5f7a6efe60 NPE fix 2020-03-13 19:24:55 +01:00
patrick-werner fe4b4acc3f Merge branch 'i18nUtilities' into i18n_fixes 2020-03-13 18:45:26 +01:00
patrick-werner a44d1c3582 added german translations for new properties
removed unused property, added html message part as property in InstanceValidator
minor fixes
2020-03-13 18:45:12 +01:00
patrick-werner 109b80ed6f start movin i18n code Contexts -> utilities 2020-03-13 09:53:59 +01:00
patrick-werner df8682428a readding all the i18n work 2020-03-13 08:49:05 +01:00
Grahame Grieve cb3178ec14 add document date test 2020-03-13 12:58:13 +11:00
Grahame Grieve 1757e27caf check version before checking cache if no version specified when loading a package 2020-03-13 12:57:24 +11:00
Grahame Grieve 9c2473e527 readd document date test 2020-03-13 12:55:17 +11:00
patrick-werner 86711ac16f readding all the i18n work 2020-03-12 23:26:05 +01:00
patrick-werner 34c63d0555 Merge remote-tracking branch 'origin/master' into i18n
# Conflicts:
#	org.hl7.fhir.validation/src/main/resources/Messages_de.properties
2020-03-12 08:07:00 +01:00
patrick-werner c7b8767a4c renamed Message_de properties 2020-03-11 01:09:05 +01:00
patrick-werner fdb07ba097 added german translation 2020-03-10 23:16:08 +01:00
patrick-werner 162341b97a processed new JsonParser errors 2020-03-10 18:36:35 +01:00
patrick-werner f5a7961ef7 Merge remote-tracking branch 'origin/master' into i18n 2020-03-10 18:18:21 +01:00
patrick-werner 108efaaf92 finished i18N processing 2020-03-10 18:07:14 +01:00
patrick-werner 14a0f7d687 added i18N handling to JsonParser, TurtleParser, XMLParser 2020-03-10 15:48:43 +01:00
patrick-werner 9443b1c1c3 added i18N handling to JsonParser 2020-03-10 14:32:46 +01:00
patrick-werner c8187bc8f2 added i18N handling to all ParserBase
FIXED "'" escaping in properties
2020-03-10 14:19:19 +01:00
Grahame Grieve 130cc3892c remove dead code 2020-03-10 17:57:31 +11:00
Grahame Grieve d77b687d95 fix bug in testing for validation cases 2020-03-10 06:47:55 +11:00
patrick-werner 41e9b0e9fa Merge remote-tracking branch 'origin/master' into i18n 2020-03-09 14:12:04 +01:00
Grahame Grieve e14ff0eefe Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-03-06 12:31:01 +11:00
Grahame Grieve dcb3e1f7f0 improve documentation 2020-03-06 12:30:41 +11:00
Grahame Grieve a680074406
Merge pull request #150 from hapifhir/improveFileIgnores
improved recursive if scanning ignores
2020-03-06 12:26:03 +11:00
patrick-werner 7858ba9717 removed unnecessary check 2020-03-05 22:19:19 +01:00
patrick-werner bb11af20fd improved recursive if scanning ignores 2020-03-05 22:16:35 +01:00
patrick-werner 277d22fad6 fixed missed replaces 2020-03-05 19:03:17 +01:00
patrick-werner 306efd21ac i18n: moved i18N message handling to BaseWorkerContext 2020-03-05 18:49:25 +01:00
patrick-werner 253570a7d8 i18n: slicingHint finished 2020-03-05 16:10:49 +01:00
patrick-werner 2f596be5b0 i18n: slicingHint 2020-03-05 15:52:37 +01:00
patrick-werner 54bcac00ed moved i18StringConstants class -> fhir.utilities
Extracted error messages of ProfileUtilities
2020-03-05 15:03:03 +01:00
Grahame Grieve 071a3dd927 Properly process invariants that have a source in the validator 2020-03-05 16:47:28 +11:00
Grahame Grieve 65fd77ed76 Fix version issue in validation engine + handle loading latest version of a package 2020-03-03 21:27:37 +11:00
Grahame Grieve c923cba4e2
Merge pull request #146 from hapifhir/ja_20200302_use_validationoptions
Use ValidationOptions instead of TerminologyServiceOptions
2020-03-03 08:41:15 +11:00
Grahame Grieve ca240e4659 fix for $145 -proxy Flag treated as File to validate 2020-03-03 08:37:36 +11:00
Grahame Grieve 09e3816d37 make ProfileUtilities methods not static 2020-03-03 07:41:34 +11:00
Grahame Grieve f1d81dde81 fix version extension package issue 2020-03-03 07:40:37 +11:00
jamesagnew 109dea9a02 Use ValidationOptions instead of TerminologyServiceOptions 2020-03-02 06:18:00 -05:00
patrick-werner 08447d040e escaped needed single quotes 2020-03-02 00:07:52 +01:00
patrick-werner 1fd35f8423 removed escape chars 2020-03-02 00:00:56 +01:00
Grahame Grieve 65f65b461a
Merge pull request #143 from hapifhir/i18n
I18n
2020-03-02 09:27:02 +11:00
Grahame Grieve bc9ad8d608 fix failing tests 2020-03-02 09:00:57 +11:00
patrick-werner b626f5867b always check for contained key 2020-03-01 22:51:57 +01:00
patrick-werner ca6d92c390 deleted unnecessary imports 2020-03-01 22:47:41 +01:00
patrick-werner 822b50b8d7 replaced Exception controll flow 2020-03-01 22:44:28 +01:00
patrick-werner 594d77985d extracted Throwable messages 2020-03-01 22:37:34 +01:00
patrick-werner ba5eea6774 fixed MessageFormat.format for messages without arguments
removed duplicage entry from property file
2020-03-01 22:22:52 +01:00
patrick-werner 446c9462a0 String Constant and properties ordered A->Z 2020-03-01 21:57:57 +01:00
patrick-werner 02ff8c5ddf extracted: bpCheck|warningOrError|suppressedwarning 2020-03-01 20:54:09 +01:00
patrick-werner 013dddf2b6 Revert "extracted: bpCheck|warningOrError|suppressedwarning|*Exception|Error"
This reverts commit ef65d094
2020-03-01 20:34:26 +01:00
patrick-werner ef65d09497 extracted: bpCheck|warningOrError|suppressedwarning|*Exception|Error 2020-03-01 20:28:53 +01:00
patrick-werner 3291aaf03a manually fixed duplicated rule entry message 2020-03-01 18:30:42 +01:00
patrick-werner 8b329d283b almost ready to merge
replaced all property keys, added String Constant Class
2020-03-01 18:04:08 +01:00
patrick-werner d84f93e8a8 Merge branch 'master' into i18n
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
2020-03-01 14:50:52 +01:00
Grahame Grieve b15d72a755 fix to compile + adjust validator messages 2020-02-29 06:21:02 +11:00
Grahame Grieve a3d7acdf35 Release new version 4.2.4 2020-02-28 15:16:44 +11:00
Grahame Grieve 1c8797f628 support slicing on patternCoding 2020-02-28 14:27:04 +11:00
patrick-werner f8d4b2b49d moved Locale to IWorkerContext
moved LocaleHandling into BaseValidator
2020-02-26 13:00:35 +01:00
markiantorno 5984a0c693 Fixing bad quotation in string.substring 2020-02-25 14:14:40 -05:00
patrick-werner 40d6cd4108 added messageArgument aware method 2020-02-25 19:16:59 +01:00
patrick-werner 2a2d9575e5 added messageArgument aware method 2020-02-25 19:00:52 +01:00
patrick-werner 4cd4044a0e almost done 2020-02-25 18:53:10 +01:00
patrick-werner 5be8bc9f74 Merge branch 'master' into i18n 2020-02-25 18:31:08 +01:00
patrick-werner a80fcd345c replacing quotation marks 2020-02-25 18:27:35 +01:00
patrick-werner 9cd6460df5 replacing quotation marks 2020-02-25 18:26:16 +01:00
patrick-werner 95e0204399 added missin quotation mark 2020-02-25 18:11:06 +01:00
patrick-werner 2814394566 externalized InstanceValidator String
txRule missing, still some bugs
2020-02-25 14:45:58 +01:00
patrick-werner 393d7d24fb added message properties file 2020-02-25 14:37:10 +01:00
patrick-werner f8bda2174b replaced escaped quotations with single quotes for better parsability 2020-02-25 14:27:32 +01:00
patrick-werner dc1c68e55a added another missing closing quotation mark 2020-02-25 10:19:01 +01:00
patrick-werner c88d763bd8 added missing closing quotation mark 2020-02-25 10:12:53 +01:00
Grahame Grieve 66b855c540 clean up validator 2020-02-25 09:24:58 +11:00
markiantorno 52246a8ce5 cleanup 2020-02-24 15:38:18 -05:00
markiantorno 3a1d621f65 reorg package structure 2020-02-24 15:30:34 -05:00
Grahame Grieve be38cc8e58 updates for version conversion routines 2020-02-24 12:18:14 +11:00
markiantorno dc40256af4 Cleanup 2020-02-21 17:05:49 -05:00
markiantorno a91b9886ce Trying to refactor the NodeStack class a little so I can pull it out 2020-02-21 16:32:20 -05:00
markiantorno e54d7556b1 Refactoring ResourceValidationTracker 2020-02-21 16:09:13 -05:00
markiantorno 8c2679a200 Refactoring EntrySummary 2020-02-21 15:55:36 -05:00
markiantorno 23677ca155 Refactoring EntrySummary 2020-02-21 15:52:01 -05:00
markiantorno eded933a2d Refactoring ResolvedReference 2020-02-21 15:43:15 -05:00
markiantorno ae30afdf53 Refactored ElementInfo 2020-02-21 15:34:55 -05:00
markiantorno 4df9e568e6 ChildIterator refactored 2020-02-21 15:23:24 -05:00
markiantorno a00c71bb32 ChildIterator refactored 2020-02-21 15:18:44 -05:00
markiantorno abd46acae3 Indexed Element refactored. 2020-02-21 15:06:36 -05:00
markiantorno 6af30d5f7f refactoring InstanceValidator code for readability. 2020-02-21 14:58:02 -05:00
Grahame Grieve 8b5c8586f2 Allow search references in transactions 2020-02-18 14:34:06 +11:00
Grahame Grieve d535bbaacb Use packages.fhir.org 2020-02-18 14:31:09 +11:00
Grahame Grieve 52bc73a561 more fixes for Questionnaire validation 2020-02-13 12:08:05 +11:00
Grahame Grieve 91e475a1a1 fix Questionnaire EnableWhen validation + fix up tests for public package server 2020-02-13 10:13:35 +11:00
Grahame Grieve fccd3c1871 test for existence of both lang and xml:lang on the xhtml div 2020-02-12 20:24:09 +11:00
Grahame Grieve 977026e62e Improve error message when profile generation fails 2020-02-12 17:44:54 +11:00
Grahame Grieve 0f74f25078 Add more debugging for conversion failures 2020-02-12 17:44:19 +11:00
Grahame Grieve 4708fcb49e add support for file: in package version (per NPM spec) 2020-02-09 08:14:30 +11:00
James Agnew 076ee562e3 Avoid trying to fetch SD by null URL (test case added) 2020-02-06 11:16:17 -05:00
James Agnew 57136da0bb Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core 2020-02-05 20:11:10 -05:00
James Agnew 6e2b58a4be Remove debug code 2020-02-05 20:10:52 -05:00
Grahame Grieve df9e11c40a fix bug in validator on search params with no references + fix bug in cache manager on github urls 2020-02-02 22:52:43 +11:00
Grahame Grieve 53fc5cf770 add logic to test capability statement 2020-02-02 06:13:24 +11:00
Grahame Grieve 6e9fd79a2a Add support for assumeValidRestReferences 2020-01-31 08:20:33 +11:00
Grahame Grieve d807becebb improve slicing hints and fix validation of FHIRPath URLs 2020-01-30 11:08:12 +11:00
Grahame Grieve c7f3a47ec9 better rendering of slicing logic 2020-01-30 11:05:54 +11:00
Grahame Grieve 01c5789b89 Deal with choices that constrain elements and not types 2020-01-29 19:32:43 +11:00
Grahame Grieve 1c3061dbf7 track slice validation for users to resolve slicing issues 2020-01-29 13:39:49 +11:00
Grahame Grieve cb1fa1dad9 fix bug in validator around fullUrl testing 2020-01-29 06:51:22 +11:00
markiantorno 3132dbfc7f Refactored main version convertor files
- All convertors now have static access, previously 10_30, 10_40, 10_50
  needed to be instantiated
- All code specific to resource types has been moved into it's own file.
  Ex. Patient dstu3 -> r5 is located in conv30_50/Patient30_50.java
2020-01-27 10:29:42 -05:00
Grahame Grieve 00080d7c48 change resolve interface (pass source as well) + don't validate perferred if any other profiles are specified + fix bug resolving references in bundles + pre-calculate bundle references 2020-01-27 21:14:40 +11:00
Grahame Grieve ab0f3f0996 autofix slice names 2020-01-27 21:13:02 +11:00
Grahame Grieve 9e0e8fec3b fixes for change to validator resolve interface 2020-01-27 21:12:09 +11:00
Grahame Grieve f69173d445 fix bug checking reference type and allow tools extensions 2020-01-24 17:19:33 +11:00
Grahame Grieve 9b64f03a3e
Merge pull request #104 from ahdis/oliveregger_fmltests
FML updates for tests and validator
2020-01-22 06:17:10 +11:00
Grahame Grieve a09a657be7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/r5/validation/InstanceValidator.java
2020-01-21 12:25:48 +11:00
Grahame Grieve 300c87a657 better validation of example references by validator 2020-01-21 11:38:05 +11:00
patrick-werner 610989c24d fixed check for "URI values cannot have whitespace" 2020-01-20 17:37:38 +01:00
Grahame Grieve 240e412cf6 Release new version 2020-01-20 21:56:07 +11:00
Grahame Grieve 2ce844175f fix bugs with extension context checking 2020-01-19 16:53:48 +11:00
Grahame Grieve 6d87bebfe3 implement contextInvariant, and finish implementing memberOf 2020-01-17 21:41:33 +11:00
Grahame Grieve 6300ba24b7 rebuild instance validator to get reference profile checking working properly, many downstream issues with validation uncovered and fixes 2020-01-17 10:51:42 +11:00
Grahame Grieve 8482ba43c5 refactor profile handling in validator 2020-01-16 23:37:30 +11:00
Grahame Grieve c13de56203 fixes to snapshot generation and validation for Bundle.tnry slicing by resource profile 2020-01-15 17:55:24 +11:00
Grahame Grieve f2b7c518c5 handle validation for current version better 2020-01-15 08:07:20 +11:00
Grahame Grieve 362ae7bd5f Improve code system validation error messages 2020-01-14 10:40:57 +11:00
Grahame Grieve 6840eb3133 add icd-10 to known url list 2020-01-13 23:18:27 +11:00
Grahame Grieve 184e923c0c Add icd-10 to known url list 2020-01-13 23:17:26 +11:00
Oliver Egger 0ad3882132 FML updates for tests and validator 2020-01-11 00:10:07 +01:00
Grahame Grieve 377aaed23c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-01-11 06:25:03 +11:00
Grahame Grieve ef085a847e fix how CodeableConcept is validated, and add Tx interaction logging by validator 2020-01-11 06:22:16 +11:00
Grahame Grieve 7c0645d119
Merge pull request #113 from hapifhir/prepareMulitLang
extracted errorMessage building
2020-01-11 06:06:05 +11:00
Grahame Grieve 8b25da3443 re-org validator tests 2019-12-30 10:25:59 +11:00
Grahame Grieve 91cf756386 fix bugs in v1.4 validation 2019-12-30 10:25:05 +11:00
Grahame Grieve 0fbbd1ff02 re-org R5 source core preparatory to regenerating 2019-12-22 08:05:58 +11:00
Grahame Grieve 3f09f99356 fix xver extension synthesis 2019-12-21 09:13:34 +11:00
Grahame Grieve 44893b89b9 be specific about which resource types to cache up from core package 2019-12-21 09:13:18 +11:00
Grahame Grieve 9e62243e67 fix error validating references to search parameters 2019-12-20 08:00:20 +11:00
Grahame Grieve 001ca1f755 improve error message when slicing broken 2019-12-19 21:48:32 +11:00
Grahame Grieve a732d84037 Release new version 2019-12-19 17:36:36 +11:00
Grahame Grieve b83302092b Deal with data type changes between versions for cross version extensions 2019-12-19 17:35:54 +11:00
Grahame Grieve 7d86a93d52 improve error message around fixed values 2019-12-19 12:58:18 +11:00
Grahame Grieve 3ce532968a Cross version extennsion support + improve extension validation 2019-12-19 10:50:25 +11:00
Grahame Grieve 4922522adf improve test output for hints 2019-12-19 10:48:52 +11:00
Grahame Grieve 48473f3b5c fix up NativeHostServive and add tests for it 2019-12-18 11:41:40 +11:00
Grahame Grieve ac923179d1 fix todo in validator 2019-12-16 23:36:43 +11:00
Grahame Grieve ba4628eb28 fix OID translation case 2019-12-13 22:05:49 +11:00
Grahame Grieve ea7f3a7957 refactor validation options, and improve codeableConcept validation, and improve code system rendering 2019-12-12 10:33:22 +11:00
patrick-werner 99786a87d2 replaced String.format 2019-12-11 15:06:15 +01:00
patrick-werner 215afe52dd extracted errorMessage building 2019-12-11 14:50:52 +01:00
Grahame Grieve 1fb2da565b fix issue not validating displays in CodeableConcepts 2019-12-11 18:12:47 +11:00
Grahame Grieve 234cca0471 Release new version 2019-12-09 17:45:28 +11:00
Grahame Grieve 250496c9b1 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-12-09 17:36:02 +11:00
Grahame Grieve ebb3170a24 improve error message for fixed value, and fix handling of profile choices 2019-12-09 17:35:11 +11:00
Grahame Grieve f04fdc7931 check info count in test suite 2019-12-09 17:34:13 +11:00
Grahame Grieve 8482e5cc3b fix version display 2019-12-09 17:33:29 +11:00
Grahame Grieve 4aeb9f0bcc fix up version display on validator 2019-12-09 17:29:12 +11:00
Grahame Grieve a6ccb8d835
Merge pull request #112 from hapifhir/minor_polish
merged 2 if statement into 1
2019-12-07 07:08:55 +11:00
Grahame Grieve 5cfa2ffe0d Add deeper profile testing support 2019-12-07 06:55:58 +11:00
Grahame Grieve 0cbb586dd1 add support for integer64 2019-12-07 06:54:16 +11:00
patrick-werner 03473a585a merged 2 if statement into 1 2019-12-06 11:12:47 +01:00
Grahame Grieve 62c1f0af77 set snomed extension in validator 2019-12-03 12:33:16 +11:00
Grahame Grieve a301973ce0 update validator for new R5 rule around messages 2019-12-03 12:32:37 +11:00
Grahame Grieve 4a282a3d66 Post devdays validation blitz 2019-11-29 13:26:03 +11:00
Grahame Grieve 60703efdd4 updates for packages changes 2019-11-26 18:56:52 +11:00
Grahame Grieve e52c78daa2
Merge pull request #101 from ahdis/oliveregger_validator_logicalmodel
validator enhancement for logical models (conversion) and FHIRPath expressions
2019-11-19 08:46:40 +13:00
Grahame Grieve aebb7dd407
Merge pull request #103 from ahdis/oliveregger_valabsolutetypes
validator support for absolute type definitions
2019-11-19 08:43:02 +13:00
Grahame Grieve bd8df9ba90
Merge pull request #106 from ahdis/oliveregger_validator_transform_r4
fml: validator change transform to elementmodel
2019-11-19 08:39:18 +13:00
Grahame Grieve fb8974efd5 fix problem with rootResource and Bundles and contained resources 2019-11-17 19:05:24 +11:00
Grahame Grieve 2aacccd5bb recognise SIDs in validator 2019-11-17 03:10:58 +11:00
Oliver Egger b86f5a5ac8 use ElementModel for FML in create 2019-11-15 16:52:09 +01:00
Oliver Egger 58bee0754a fml: validator change transform to elementmodel 2019-11-13 19:42:00 +01:00
Oliver Egger ea786ddedc evaluate FHIRPath for resource or logical model 2019-11-13 13:40:29 +01:00
Oliver Egger ace4623f42 convert a resource or logical model to xml/json 2019-11-13 13:37:29 +01:00
Grahame Grieve 5fe2552a08 fix version bug generating snapshot 2019-11-12 09:07:54 +11:00
Oliver Egger 86e84a024a validator support for absolute type definitions 2019-11-11 14:57:28 +01:00
Grahame Grieve e45aae4867 fix package dependency loading bug + package saving bug 2019-11-12 00:17:07 +11:00
Grahame Grieve 52b80cf71c load dependency Packages, and load content from URL correctly 2019-11-11 14:20:52 +11:00
Grahame Grieve 1d193e7c87 rework version loading when validating 2019-11-10 21:07:34 +11:00
Grahame Grieve 0fcb97aa2f validation documentation improvements, and batch loading 2019-11-09 07:54:16 +11:00
James Agnew 0eb9f4f75b Troubleshooting classpath issue 2019-11-07 16:15:37 -05:00
Grahame Grieve 02791ae21f update MIMIC code and reverse testing change (maven said no) 2019-11-07 20:57:16 +11:00
Grahame Grieve 7099f904f5 more work on cache management 2019-11-07 12:04:24 +11:00
Grahame Grieve 52187af17a Fix for R3 and R4 technical corrections and getting IGs publishing and passing (and fix version markers) 2019-11-01 11:21:06 +11:00
Grahame Grieve 888356999e Update to support new packages, new NPM specification 2019-10-31 21:54:10 +11:00
Grahame Grieve efd20a22fe move test cases to fhir-test-cases repository 2019-10-28 18:06:41 +11:00
Grahame Grieve 1a89103ec5
Merge branch 'master' into ja_20191025_refactor_testcases 2019-10-28 12:11:14 +13:00
Grahame Grieve 08eb187b79 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-10-28 10:06:02 +11:00
James Agnew 34cf0628d1 Fix https://github.com/jamesagnew/hapi-fhir/issues/1549 - Account for
latest HAPI FHIR API interfaces
2019-10-27 17:44:22 -04:00