Commit Graph

837 Commits

Author SHA1 Message Date
Grahame Grieve afe5c09f26
Merge pull request #508 from alexzautke/az-fix-extensions-on-pattern
Allow extensions in checkFixedValue if a pattern instead of a fixedValue is defined on the element
2021-05-31 08:39:18 +10:00
Grahame Grieve c5009f377c
Merge pull request #519 from hapifhir/conversion_update_II
Conversion update ii
2021-05-31 07:56:17 +10:00
markiantorno 30e45f54ed wip 2021-05-25 13:36:07 -04:00
Alexander Zautke 22af0cba90 Allow extensions in checkFixedValue if a pattern instead of a fixedValue is defined on the element 2021-05-20 17:23:34 +02:00
Pieter Edelman 396e562d89 Fix for a bug where the line number was reported as column number when validating constraints 2021-05-19 16:52:53 +02:00
Grahame Grieve cf859c9ed1 add new parameter for whether to include FHIRPath in invariant error messages 2021-05-14 12:21:28 +10:00
Grahame Grieve 3cb51f88c8 fix overrun error reading invalid xhtml + fix loading problem on validation test 2021-05-13 22:51:01 +10:00
Mark Iantorno 9a82457b36
Adding version option to ignore bundle entry in conversion advisors (#492) 2021-05-07 14:50:40 -04:00
Grahame Grieve 154ac5c3ca
Merge branch 'master' into gg-202105-bugfixes-2 2021-05-07 18:30:26 +10:00
Grahame Grieve 4e173f4715 * Validator: Load code systems from known packages on the fly
* Validator: better handle invalid v3 dates
* Renderer: Render OperationDefinition.InputProfile and OutputProfile
* Important: Allow more valid schemas for Utilities.isAbsoluteUrl
* Validator: remove notes about extensible bindings if profile extensible binding is valid
2021-05-07 18:29:21 +10:00
Mark Iantorno 05cd371796
Convertor advisor 1 (#490)
* RELEASE THE ~~KRAKEN~~ KOTLIN

* doing some cleanup before going into more details

* renaming folder

* commit merge issues

* release notes
2021-05-06 09:18:11 -04:00
Grahame Grieve 6da83fa41e Do not flag internal references as suspicious 2021-05-05 10:17:08 +10:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Grahame Grieve 6a7435787f tidy up and document version conversion advisors 2021-05-05 08:28:03 +10:00
Grahame Grieve 11a727b40f update R5 to 4.6.0 2021-05-04 09:03:13 +10:00
Grahame Grieve 1c320586e5 Ensure that CVX uses tx.fhir.org, not UTG definitions which are wrong + Fix problems with Bundle validation for ids in collections and add additional search related validation + Remove check on ElementDefinition.id for R2B 2021-04-22 13:27:32 +10:00
Mark Iantorno b6abeef327
Fix for https://github.com/hapifhir/hapi-fhir/issues/2540 (#481)
woooooo
2021-04-21 11:26:53 -04:00
Grahame Grieve 7b60c1b85d Fix issue where primitive elements with required bindings must have a value, but this wasn't be checked 2021-04-21 17:41:22 +10:00
Grahame Grieve 7d2df18fb9 Better memory tracking for validator 2021-04-21 17:40:42 +10:00
Grahame Grieve a10fdb13e3 validation optimisation 2021-04-12 11:22:43 +10:00
Grahame Grieve 50642db412 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-04-02 06:24:53 +11:00
Grahame Grieve 11f66836ed fix for R2B validation of resource ids, and problems validating codes 2021-04-02 06:24:43 +11:00
Mark Iantorno 5c9cd6830a
wip (#471) 2021-04-01 12:50:09 -04:00
Grahame Grieve 032b81a38e fix issue with validating fixed values for primitive elements 2021-03-29 17:26:12 +11:00
Grahame Grieve 4e4885dc7d Fix null pointer exception in validator validating language codes 2021-03-29 13:35:51 +11:00
Grahame Grieve 58055aeaa6
Merge pull request #452 from health-validator/fix-crash-folder-in-scope
Fix validator crash when a nested folder is present in -ig <path>
2021-03-29 08:56:32 +10:00
Mark Iantorno 1712d66c08
commenting out code causing IG publishing errors for extension.url (#465) 2021-03-19 18:49:06 -04:00
markiantorno 76112af3c7 setting session ID on all response bodies 2021-03-11 15:31:35 -05:00
markiantorno d275e304fa JsonProperty label change for validation session id 2021-03-11 14:46:36 -05:00
Vadim Peretokin 776811813e fix crash when folder is present in ig folder 2021-03-07 11:58:18 +01:00
Mark Iantorno dfc59882ca
the validator front end needs these changes (#450) 2021-03-04 20:38:01 -05:00
Grahame Grieve 14dc86e3a2 Fix bug in profile validation 2021-03-04 07:27:11 +11:00
Grahame Grieve cd7a8d39e7 * Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
2021-03-03 13:30:58 +11:00
Mark Iantorno b700d82eab
Validation sessions (#443)
* Sessions are working,

* adding javadocs to cache

* These changes were already added, the merge re-added them to the RELEASE_NOTES by mistake.

* cleaning code a little
2021-02-23 14:44:13 -05:00
Mark Iantorno c422ddc388
Refactoring validator engine (#436)
* Initial commit, tests passing

* continuing breaking up massive classes
2021-02-15 16:48:40 -05:00
Lloyd McKenzie d0df12b85f Revert to current content on HAPI 2021-02-08 08:40:11 -07:00
Lloyd McKenzie b91b68d1a2 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
# Conflicts:
#	org.hl7.fhir.convertors/pom.xml
#	org.hl7.fhir.dstu2/pom.xml
#	org.hl7.fhir.dstu2016may/pom.xml
#	org.hl7.fhir.dstu3/pom.xml
#	org.hl7.fhir.r4/pom.xml
#	org.hl7.fhir.r5/pom.xml
#	org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/conformance/ProfileUtilities.java
#	org.hl7.fhir.report/pom.xml
#	org.hl7.fhir.utilities/pom.xml
#	org.hl7.fhir.utilities/src/main/resources/Messages.properties
#	org.hl7.fhir.validation.cli/pom.xml
#	org.hl7.fhir.validation/pom.xml
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
#	pom.xml
2021-02-08 08:22:58 -07:00
Grahame Grieve 82edacbde4
Merge pull request #434 from hapifhir/gg-2021-feb-1
Gg 2021 feb 1
2021-02-08 13:28:31 +11:00
Grahame Grieve ef3b8c1f0a Fix bug validating mime types without terminology serverBase (warning, not error)
Performance improvements in JSON metadata based parser
Add first round of supplement validation
improve error message on profile validation fail
fix NPE validating some slices
fix bug validating canonicals as part of choice data types
Adds special support for http://hl7.org/fhirpath/System.* types
fix bug matching slices in contained resources that have references to #
2021-02-08 09:40:25 +11:00
Grahame Grieve 2413ec1dbb #431 - fix doco about questionnaire 2021-02-08 09:35:52 +11:00
Grahame Grieve ff02c5b71a Merge branch 'val_fhirpath_resolveinbundle' of https://github.com/ahdis/org.hl7.fhir.core into ahdis-val_fhirpath_resolveinbundle
# Conflicts:
#	org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/ValidationEngine.java
2021-02-08 06:53:38 +11:00
Jonathan Percival 4b416ee5f4 Use FHIRPathEngine where possible 2021-01-27 10:30:45 -07:00
Oliver Egger 5b5bf912e0 configure fhirpath with resolve bundle func 2021-01-14 15:15:42 +01:00
Grahame Grieve 3ba81328cc * More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings
* fix rendering issue with profile references
* only use c:\temp if it's writeable
2020-12-24 13:21:30 +11:00
Grahame Grieve c4db541d7e fix up validation for R2B issues (value set references, profiled types) 2020-12-18 22:45:39 +11:00
Grahame Grieve d837214c66 fix up validation of value set for code system and expansions 2020-12-18 22:44:54 +11:00
Grahame Grieve f5c54d0d6d fix terminology warning problem 2020-12-15 16:11:32 +11:00
Grahame Grieve 5b52a75d3b Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-12-15 07:50:45 +11:00
Mark Iantorno 3d3bda30ec
Code changes to assist with validator updates in HAPI (#400)
* just some cleanup and simple changes

* changed folder name the map is currently structured, not in the past
2020-12-10 10:56:56 -05:00
Grahame Grieve e2a8581a3b improve error message for FHIRPath errors when slicing 2020-12-10 13:50:20 +11:00
Grahame Grieve d432cff826 Fix output message when there's nothing to validate 2020-12-09 10:06:37 +11:00
Grahame Grieve 1532a038c9 Validate that binding references are present, and are for value sets 2020-12-09 10:06:20 +11:00
Grahame Grieve e7904c8355 fix merge problem 2020-12-05 08:47:25 +11:00
Grahame Grieve 3f9c87ab63
validation fixes (#397)
* Fix validation issues for StructureDefinitions

* Don't try to validate URLs outside HL7 space

* Fix document rendering

* fix failing tests
2020-12-04 16:13:53 -05:00
Grahame Grieve 7de14f172e
Fix validation issues for StructureDefinitions (#396) 2020-12-04 16:11:52 -05:00
Grahame Grieve 7d95b27c1f fix validation of profiles and target profiles in all versions (before R3 different rules) 2020-12-03 16:57:53 +11:00
Grahame Grieve f3aab0760e fix error messages on unknown URLs 2020-12-03 12:57:15 +11:00
Grahame Grieve 532aba2485 cache xversion extension manager, and use it in any place accessing extension definitions 2020-12-03 12:52:43 +11:00
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
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
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 c51b73feb4 Add support for instance-name and instance-description extensions 2020-11-26 08:55:49 +11:00
Grahame Grieve 40b644adf1 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-11-26 06:50:35 +11:00
Mark Iantorno 7e5a670846
Http client update (#378)
* wip

* tests all pass with log outputs identical to original...is it better now? I don't know.

* proxy works, adding a test and docs next

* more cleanup and test fixes

* left in testing file

* didn't need that code anymore
2020-11-24 09:20:43 -05:00
Grahame Grieve b7d3f36f86 fix package loading issues 2020-11-18 21:05:16 +11:00
Grahame Grieve 7bcec95e9f restructure validator test cases file 2020-11-18 21:03:58 +11:00
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
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
Mark Iantorno 7a668bff52
I totally missed this on the code review, and it is entirely my fault. (#369) 2020-10-29 12:05:07 -04:00
Grahame Grieve c5255a0f80
Gg v5118 (#368)
* fix issue validating # references

* Mark it has an error if a JSON Array is empty

* Don't make wrong error reports for profiling resources in bundles

* * Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)

* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value) (missed testing change)

* * fix bug not recognising some content as xml or json

* improved markdown support in table generator

* * fix bug checking unfixed values for HumanName patterns
* fix bug checking patterns (missed in some circumstances)
* fix bug checking type of resources in bundles
* improve messages around cardinality errors in profiles

* add parameter -html-output for enhanced presentation of slicing information (issue #283)
2020-10-29 09:17:24 -04:00
Mark Iantorno e1ecd06282
Validator 2 (#366)
* changes to accomodate front end gui for validator wrapper

* removing debug code
2020-10-19 16:39:22 -04:00
Mark Iantorno 36fa3a97af
Validator cleanup (#365)
* cleaning up validator class

* wip

* I left my debug code in
2020-10-16 10:44:01 -04:00
Grahame Grieve 1569532a1c Validate Profile on type in profile - must be for the right type 2020-10-14 13:21:50 +11:00
Grahame Grieve 96e44048ce turn off snapshot consistency checking by default + add ability to provide package in line in tests 2020-10-14 13:18:58 +11:00
Grahame Grieve 920c3193d0 enforce constraints in slicer as well as in slice + Handle -tx n/a better 2020-10-14 13:16:59 +11:00
Grahame Grieve d20582ca9d revise error message when can't connect to the terminology server 2020-10-08 20:59:39 +11:00
Grahame Grieve e89da42514 * fix error setting up mapping log
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
2020-10-01 12:39:10 +10:00
Grahame Grieve 77d33e8afa Fix comment parsing and add focus to FHIRPath function extensions 2020-10-01 11:04:34 +10:00
Grahame Grieve 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
Grahame Grieve 1bdf49c7a3 Fix bugs loading content to validate from hapi servers 2020-09-25 15:00:43 +10:00
Grahame Grieve 28e7a19125 Change warnings about invalid codes to hints in retired value sets 2020-09-25 15:00:10 +10:00
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 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
Grahame Grieve 48dca881f3 fix bug in path names for CDA 2020-09-15 10:25:23 +10:00
Grahame Grieve 9fc8b35797 Fix issue with discriminating by address and human name 2020-09-14 18:10:31 +10:00
Mark Iantorno 78b61c4555
Tests should all run now (#343) 2020-09-09 12:33:38 -04:00
Grahame Grieve a47ac539a5 Fix bug loading implied packages with no version 2020-09-09 11:51:09 +10:00
Grahame Grieve 2bb46f2046 Add failing test to test build 2020-09-09 07:04:08 +10:00
Oliver Egger 6b1ae88e24 add patch wildcard for ig depencies 2020-09-08 09:27:32 +02:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +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
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
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
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