Commit Graph

587 Commits

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