Commit Graph

214 Commits

Author SHA1 Message Date
Grahame Grieve 6dd7346cad more work on capability statement comparison 2019-09-12 18:31:26 +10:00
Grahame Grieve faa4b82b2e fix to support validating straight out of published IGs 2019-09-12 04:44:26 +10:00
Grahame Grieve 7bd5d85611 better error message 2019-09-11 22:22:05 +10:00
Grahame Grieve 1d7c80f10c add memory info + xkcd bug link 2019-09-11 15:35:45 +10:00
Grahame Grieve b2d2bebd85 Ad scan mode to validator 2019-09-09 13:32:11 +10:00
Grahame Grieve b91ca35e3d Add proxy support for validator 2019-09-06 10:14:06 +10:00
Grahame Grieve d49dfab97a fix error in validator for fixed value 2019-09-03 13:05:16 +10:00
Grahame Grieve 1a14bfc9e8 Change rules about how maxValueSet is validated 2019-09-02 16:04:21 +10:00
Grahame Grieve ea913ceb30 fix problem validating LOINC codes 2019-09-02 13:48:19 +10:00
Grahame Grieve 09b74eab50 test max value set handling. 2019-09-02 11:27:19 +10:00
Grahame Grieve 34a3dfb43e work on API comparison 2019-08-29 18:11:33 +10:00
Grahame Grieve 512c3932a3 Reconcile R4/R5 implementations 2019-08-23 15:38:58 +10:00
Grahame Grieve c794c9393b add validator test for duplicate properties in json 2019-08-23 14:57:30 +10:00
Grahame Grieve 3d7f701b00 update for changes to representation of special elements 2019-08-23 14:57:05 +10:00
Grahame Grieve 6d611afd48 fix so recursive loading is only by request 2019-08-18 18:15:18 +10:00
Grahame Grieve 539eee9266
Merge pull request #65 from hapifhir/iterate-subfolders
scanDirectory now scans all subfolders
2019-08-18 18:06:19 +10:00
Grahame Grieve 909535eea2 fix problems with skipping unknown content, and empty differentials 2019-08-18 17:47:48 +10:00
Grahame Grieve fb249ea098 fix for narrative rendering problem with OperationDefinition 2019-08-16 07:16:24 +10:00
Grahame Grieve 75d86a15ee set exit code to number of errors 2019-08-14 17:34:07 +10:00
Grahame Grieve 3842dbeb99 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-08-09 04:41:53 +10:00
James Agnew d1c3e522ab Improve validator error message if a fixed coding can't be matched 2019-08-08 14:39:45 -04:00
Grahame Grieve 7ef320b6bb fix ref-1 constraint (define %rootResource) 2019-08-08 21:03:27 +10:00
James Agnew ce392c47bb Improve naming of error flag on profile registration 2019-08-07 05:37:03 -04:00
James Agnew c1728a481d Refactor R4 infrastructure to use the new common
TerminologyServiceOptions, and tweak the validation of enableWhen to
handle a few edge cases correctly.
2019-08-06 18:27:45 -04:00
Grahame Grieve c57f578f03 Move TerminologyServiceOptions to Utilities. 2019-08-06 07:33:48 +10:00
Grahame Grieve ce4453b0cb Support slicing by value set using contained value sets 2019-08-05 15:48:50 +10:00
Grahame Grieve 9d1d64bb59 more working on test suite 2019-08-05 15:48:07 +10:00
Grahame Grieve 1d10470e9c slicing by value set tests 2019-08-05 15:47:30 +10:00
Grahame Grieve 9e0a1de74c rework slicing validation tests 2019-08-05 12:41:54 +10:00
Grahame Grieve 0a05788e57 improve error message 2019-08-05 11:33:06 +10:00
Grahame Grieve 670ae0c79a update R5 validator 2019-08-04 07:38:45 +10:00
Grahame Grieve 4ffa343395 add -debug parameter to validator, and add additional (failing) validator tests, and update R4 code 2019-08-04 07:34:13 +10:00
Grahame Grieve a26abe87ca Improved error message & resource resolution 2019-08-02 14:48:34 +10:00
Grahame Grieve 0cea5c2bcc validation fixes for bundle resolution 2019-08-02 10:50:25 +10:00
Grahame Grieve bf9ead2c9e fix rendering of special compiler types 2019-08-01 11:38:09 +10:00
Grahame Grieve 564d9262c6 fix test 2019-08-01 10:55:10 +10:00
Grahame Grieve fb8b2dcd70 add new test case 2019-08-01 10:54:17 +10:00
Grahame Grieve 23b575d4f9 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2019-08-01 08:11:27 +10:00
Grahame Grieve cac82546da more snapshot generation tests and fixes 2019-08-01 08:11:21 +10:00
Lloyd McKenzie 407168cf87 New test for snapshot generation not exposing extensions 2019-07-31 11:40:53 -06:00
Lloyd McKenzie c2d3afba99 Merge into current branch 2019-07-30 23:41:04 -06:00
Lloyd McKenzie 7c1786279f Fix problem with link resolution within Bundles - and add test case that checks it. (Also update Synthea test case to reflect new status codes for Encounter.) 2019-07-30 23:23:48 -06:00
Grahame Grieve a234984179 various minor fixes for IG publication 2019-07-31 14:44:38 +10:00
Grahame Grieve f5b5737398 fix validation tests 2019-07-30 16:50:54 +10:00
Grahame Grieve fe219985b4 fix decimal validation + fix profile slicing validation 2019-07-30 16:22:54 +10:00
patrick-werner 270a8bca71 scanDirectory now scans all subfolders 2019-07-26 19:02:13 +02:00
Grahame Grieve 538540619f compile updates 2019-07-19 23:20:17 +10:00
James Agnew e265477c6e Header updates 2019-07-14 09:27:45 -04:00
James Agnew 0acb99744b
Changes needed to move HAPI FHIR to using this project directly (#61)
* Work on porting HAPI FHIR to core

* Ongoing work on HAPI FHIR merge
2019-07-14 08:55:21 -04:00
Grahame Grieve 58da7557d8 fix validation problems with questionnaires, and allow tests to still run even when offline 2019-07-13 20:50:53 +10:00
Rob Hausam fa235a00db Remove line instead of comment it out. 2019-07-10 20:22:05 -04:00
Rob Hausam 1cb23a14c8 Fix build - remove unneeded junit import. 2019-07-10 20:22:05 -04:00
Grahame Grieve 3a5d7146a7 check security tags are a set 2019-07-09 06:58:03 +10:00
Grahame Grieve f3a21e4bd6 fix issue 58 - wrong support for r4 2019-07-09 06:19:10 +10:00
Grahame Grieve e2d52143d9 get tests passing 2019-07-06 07:39:25 +10:00
Grahame Grieve bc30ea197e
Merge pull request #56 from ahdis/oliveregger_maps3To4
unit test conversions r3r4
2019-07-06 07:21:02 +10:00
Grahame Grieve f583649f87 fix generation of error locations using FHIRPath or XPath properly 2019-07-05 20:23:58 +10:00
Oliver Egger 992f870cb4 unit test conversions r3r4 2019-06-27 00:28:32 +02:00
Vadim Peretokin d574178d6b Don't crash on bad files present in IG, ignore & warn instead 2019-06-26 18:07:19 +02:00
Grahame Grieve 3b76303d83 fix validator bug (issue 47) 2019-06-19 09:07:29 +10:00
Grahame Grieve 23eb7282bd Support displayLanguage through validator framework 2019-06-16 14:02:09 +10:00
Grahame Grieve 8798c5cf58 fix CDA parsing 2019-06-15 08:05:24 +10:00
Grahame Grieve b972620ed1 more fixes 2019-06-08 06:23:01 +10:00
Grahame Grieve 2bdd175591 Release new version 2019-06-08 06:19:01 +10:00
Grahame Grieve 299014c606
Merge pull request #45 from lmckenzi/bad-bundle-reference-types
Bad bundle reference types
2019-06-08 05:26:50 +10:00
Lloyd McKenzie ce26cae736 Fixed issue where wrong profile was being used, suppressed message when it wasn't needed 2019-06-05 23:40:06 -04:00
Lloyd McKenzie f44bb526c2 Fixed problem with inconsistent values for refTypes
Check that when referencing resources by type/id when the target has a urn:uuid fullUrl that the type matches as well as the id.
2019-06-05 20:38:00 -04:00
Lloyd McKenzie 2a2005f93b 1. Cleaned up test cases to work after version changes in R5 (not sure what to do with uk one and patient-contained-org I'll work on next)
2. Added new test case for (and fixed issue with) validation problems when there are multiple target profiles declared that have the same resource type.  (Previously, the validator was always choosing the first profile, even if it was invalid.)
3. Fixed problems where certain profiles were triggering silent NPEs in the validator and improved console messaging so you can tell what warnings and errors are being generated for what.
2019-06-04 20:50:49 -04:00
Grahame Grieve 766f6b55ed add openAPI tests 2019-06-03 19:38:10 +10:00
Vadim Peretokin ed32fca1d4 Also output JSON if requested for narrative, snapshot generation & transformations 2019-06-02 14:08:58 +02:00
Grahame Grieve 7d38ed4161
Merge pull request #38 from vadi2/improve-help
Be more explicit that you can pass a folder of resources to validate
2019-06-02 17:14:50 +10:00
Grahame Grieve 809e0a3a92
Merge pull request #37 from vadi2/ignore-package.json
Exempt package.json from being parsed as a FHIR resource
2019-06-02 17:14:24 +10:00
Vadim Peretokin 7813537fbb Be more explicit that you can pass a folder of resources to validate 2019-06-02 08:28:53 +02:00
Vadim Peretokin 271c0cf0fc Exempt package.json from being parsed as a FHIR resource 2019-06-02 08:11:05 +02:00
Vadim Peretokin 56a8efbb6d Fix ignore filter in validator's directory scanning filter to actually work 2019-06-02 07:25:11 +02:00
Vadim Peretokin 2b6ebb71bb Serialise -output as json if the filename ends on ".json" 2019-05-31 16:00:20 +02:00
Grahame Grieve 8b01f1df19 validation chagnes 2019-05-31 10:21:01 +10:00
Grahame Grieve ee30d93b30
Merge pull request #33 from ahdis/oliveregger_bundledocval#32
bundledocvalidation issue#32
2019-05-31 10:17:42 +10:00
Grahame Grieve 9802237799
Merge pull request #31 from ahdis/gf#21240_3
Gf#21240 3: adding support  patternIdentifier
2019-05-31 10:11:54 +10:00
Oliver Egger e7ae35f41c bundledocvalidation issue#32 2019-05-30 18:54:22 +02:00
Oliver Egger aaea36038d enhancing validation for patternIdentifier 2019-05-30 12:04:16 +02:00
Oliver Egger 6d94627465 adding patternIdentifier samples 2019-05-30 12:03:23 +02:00
James Agnew f063219cde Port fix from https://github.com/jamesagnew/hapi-fhir/pull/1228 via
Matti Uusitalo
2019-05-29 21:14:55 -04:00
Grahame Grieve e3faaa5ccc fix up display validation on codes 2019-05-29 08:39:59 +10:00
Grahame Grieve 847b6a1fc8 validation fixes for US-Core testing 2019-05-28 19:18:04 +10:00
Grahame Grieve c9a3d8efc0
Merge branch 'master' into ValueSet-display-names 2019-05-28 08:01:09 +10:00
Grahame Grieve 2cc62df915 extend validator to handle contained profiles 2019-05-25 07:23:20 +10:00
Grahame Grieve b6d5aa63c0
Merge pull request #27 from aehrc/issue/25
relax validation rules for implicit valusets
2019-05-25 06:52:24 +10:00
Lloyd McKenzie 88f3924ba7 New test case - contained profiles not supported by validator and validator doesn't check profiles asserted on references to contained resources. 2019-05-23 14:19:15 -06:00
Lloyd McKenzie 5bac79a936 Add test case for validator complaining about display names that are defined in the value set. 2019-05-23 13:33:34 -06:00
Grahame Grieve 24b6305b15 more validator tests + release new utilities 2019-05-23 13:39:21 +10:00
Grahame Grieve 0e8449d093 get all validation tests passing 2019-05-22 11:16:59 +10:00
Grahame Grieve 4e0c33755e fix problem where slicing depends on inner slicing 2019-05-22 11:13:47 +10:00
Grahame Grieve c5ace67136 fix evaluation of discriminators where elements may repeat 2019-05-22 11:12:56 +10:00
Michael Lawley 29f253bf2c relax validation rules for implicit valusets 2019-05-21 15:46:27 +10:00
Grahame Grieve 1b5d17d6ef fix failing validation tests 2019-05-20 16:53:04 +10:00
Grahame Grieve 58724b3694
Merge pull request #23 from ahdis/olivergger_gf#21240_2
[gf#21240]: fixing pattern[x] slices validation
2019-05-20 14:57:22 +10:00
Grahame Grieve 607817f4ce
Merge pull request #26 from lmckenzi/Snapshot-Test-error-handling
Snapshot test error handling
2019-05-20 14:57:07 +10:00
Oliver Egger 43d7de3559 fix manifest 2019-05-15 17:58:34 +02:00
Oliver Egger bf99a3d8e7 [gf#21240]: fixing pattern[x] slices validation 2019-05-15 17:31:36 +02:00