Commit Graph

1088 Commits

Author SHA1 Message Date
Grahame Grieve f1d5676425 run txTests from validator 2023-04-16 21:56:41 +10:00
Grahame Grieve dbc1c32750 restore external terminology server tests 2023-04-15 20:21:04 +10:00
dotasek 9530f40f9c
Fix SimpleWorkerContextTests, ignore ExternalTerminologyServiceTests (#1217) 2023-04-14 12:00:44 -04:00
Grahame Grieve 48e86fa905 fix failing tests 2023-04-14 22:39:48 +10:00
Grahame Grieve c9416e9a56 Merge remote-tracking branch 'origin/master' 2023-04-14 18:01:18 +10:00
Grahame Grieve 4c5cc79631 fix tx server reference 2023-04-14 18:00:28 +10:00
Grahame Grieve 6ac00b8c68 rework terminology interface 2023-04-14 17:59:06 +10:00
Grahame Grieve 03eb6e7bf0 more work doing terminology server testing 2023-04-08 15:06:51 +10:00
dotasek 38ea9a9fb5 Fix index out of bounds exception 2023-04-06 13:20:40 -04:00
Grahame Grieve 7d4cb4b5a2 Add support for CodeSystem supplements and correctly processing extensions when doing expansions 2023-04-03 20:47:23 +10:00
Grahame Grieve 548284fcda rework language handling again 2023-04-02 23:08:17 +10:00
Grahame Grieve 42a9e47379 Add terminology service tests 2023-04-02 23:07:34 +10:00
Grahame Grieve 0bbff8d14d rework package cache manager - add testing mode 2023-04-02 23:06:29 +10:00
Grahame Grieve 7ef17d41d6 warning not error when the code system isn't known validating questionnaire answer options 2023-04-01 07:33:56 +11:00
Grahame Grieve e59c83855d Defining the existence of R6 2023-04-01 07:32:02 +11:00
Grahame Grieve 9a8392275f fix version of test 2023-03-30 23:31:14 +11:00
Grahame Grieve 473b63dbff reorg validation testing to be more memory efficient 2023-03-30 08:31:48 +11:00
Grahame Grieve 69f31442bc more trying to save memory in tests 2023-03-29 23:02:42 +11:00
Grahame Grieve 4f8a8108a4 reduce memory use in tests? 2023-03-29 20:58:06 +11:00
Grahame Grieve 7d7c11dbd6 display checking in concept map not case sensitive and just a warning 2023-03-28 07:46:00 +11:00
Grahame Grieve 8e9b96b4b7 refactor loader for easier loading of old versions 2023-03-25 18:58:22 +11:00
Grahame Grieve ade21ddb1f fix NPEs 2023-03-24 23:09:01 +11:00
Grahame Grieve f27d5b3adf Improve summary message for map conversion outcome 2023-03-24 22:19:37 +11:00
Grahame Grieve b8777319da update tests to use R5 package from test case repo everywhere 2023-03-24 10:18:42 +11:00
Grahame Grieve adf6d5e3a0 updates for R5 final 2023-03-23 20:49:30 +11:00
Grahame Grieve 0ea81d247a fix NPE validating maps 2023-03-23 20:48:54 +11:00
Grahame Grieve def2e78276 fix up path in CodeSystemValidator 2023-03-22 23:06:50 +11:00
Grahame Grieve 74a69de992 validate example URLs in value sets correctly 2023-03-22 23:06:33 +11:00
Grahame Grieve 05a367b088 validate example URLs in value sets correctly 2023-03-22 23:06:06 +11:00
Grahame Grieve f796ffc57f fix issues with help16.png 2023-03-21 18:21:42 +11:00
Grahame Grieve 510758ed3e fix problems validating variables 2023-03-21 06:10:22 +11:00
Grahame Grieve 0d61c92997 no longer ignore hl7.org/fhir/tools when validating 2023-03-21 06:08:13 +11:00
Grahame Grieve f8a19a1bae Refactor how mappings are handled when generating differentials: in R5, mapping names are unique 2023-03-18 05:47:33 +11:00
Grahame Grieve 8dd61f4b2e more improvements to r4/r5 transform testing 2023-03-17 07:56:47 +11:00
Grahame Grieve 2740371c88 don't validate codes in value sets if terminology vlidation is turned off 2023-03-17 07:56:34 +11:00
Grahame Grieve 6bb466a5fe fix nPE validating bundles 2023-03-17 07:56:15 +11:00
Grahame Grieve 413cbb115a fix issues with R3R4MapTester 2023-03-16 14:08:00 +11:00
Grahame Grieve 27598a382d Fix issues with xhtml handling 2023-03-16 14:07:11 +11:00
Grahame Grieve 4a7abab5e8 Fix for parsing Bundle.issues 2023-03-16 14:05:54 +11:00
Grahame Grieve 19cb639d37 refactor how types are handled loading packages 2023-03-16 13:26:34 +11:00
Grahame Grieve 824f51f82e fixing broken links, and r4/r5 map testing 2023-03-14 13:24:00 +11:00
Grahame Grieve cf57262fe4 start working on R4/R5 conversion code 2023-03-13 13:53:53 +11:00
Grahame Grieve 96f265653e fix run time test 2023-03-12 23:02:46 +11:00
Grahame Grieve 1212b85b5e Change from Error to FHIRException when wrong value type is wrong on polymorphic element 2023-03-10 16:12:59 +11:00
dotasek 909f7e64fe
Additional zip-slip tests (#1162)
* Additional zip-slip tests

* Fix windows path test
2023-03-09 14:30:53 -05:00
Grahame Grieve cf080d940c reduce spurious output 2023-03-09 22:20:23 +11:00
Grahame Grieve 187d3e98c7 More fixes for structure map validation 2023-03-09 09:11:31 +11:00
Grahame Grieve 09648b7ea0 More bug fixes validating FML 2023-03-08 11:49:23 +11:00
Grahame Grieve 53e67bc1cb handle re-use of mapping groups when validating maps 2023-03-08 09:11:24 +11:00
Grahame Grieve 80665f142b Merge remote-tracking branch 'origin/master' 2023-03-07 23:33:46 +11:00
Grahame Grieve 26eb1311a4 release notes 2023-03-07 23:33:35 +11:00
Grahame Grieve d6febda3f6
Merge pull request #1154 from vadi2/patch-1
Clarify output directory has to exist already
2023-03-07 23:31:05 +11:00
Grahame Grieve 77e9e3a317 add timestamp to compact format 2023-03-07 21:47:58 +11:00
Grahame Grieve e5a4d84a6f improve compact version sorting 2023-03-07 20:59:02 +11:00
Grahame Grieve 6bf26255ab fix structure map validation issues around type 2023-03-07 20:58:51 +11:00
Grahame Grieve 453f073411 rename ig-r4.json to ig-r4.jsonx 2023-03-07 20:57:27 +11:00
Vadim Peretokin 9943625df7
Clarify output directory has to exist already 2023-03-07 07:58:30 +01:00
Grahame Grieve 0c26f09721 revise whitespace handling for unicode conformance in validator 2023-03-07 06:25:45 +11:00
Grahame Grieve e449bf9cfe Add compact rendering 2023-03-06 20:45:21 +11:00
Grahame Grieve 6559c4b245 improve SM validation message 2023-03-06 20:45:05 +11:00
Grahame Grieve cbb75520c9
Merge pull request #1107 from ahdis/oe_choice_without_x
CDA Logical model validation: if choice is only value don't add type
2023-03-06 06:11:21 +11:00
Grahame Grieve 356e500ab6 finish ConceptMap validation 2023-03-05 23:25:12 +11:00
Grahame Grieve ec72b1fcdd fix parsing and validating of concept maps in structure maps + validate terminology part of structure maps 2023-03-05 18:29:11 +11:00
Grahame Grieve 52c97f3c70 test primitive regexes if other tests pass 2023-03-05 06:14:07 +11:00
Grahame Grieve f38da36b33 fix NPE 2023-03-03 06:30:17 +11:00
Grahame Grieve 7cf15f248d update version conversions for new version of R5 2023-03-01 21:50:02 +11:00
Grahame Grieve 4c30621491 structuremap validation and invariant fixes for forthcoming R5 release 2023-02-27 18:32:38 +11:00
Grahame Grieve 2bd73c650e Work on StructureMap validation 2023-02-27 07:30:04 +11:00
Grahame Grieve d3a407e369 FML validation 2023-02-25 14:05:03 +11:00
Grahame Grieve bae27ef706 fix validation for query references with empty parameter values 2023-02-21 16:46:27 +11:00
Grahame Grieve 76a3129b30 fix validation of conditional references 2023-02-20 23:48:16 +11:00
Grahame Grieve 26f7b3a803 FHIR-38789 SD_Dependencies extension needs work 2023-02-15 12:12:28 +11:00
Grahame Grieve d5d83bea9c fix broken links in R5 builds 2023-02-14 09:53:22 +11:00
Grahame Grieve 3a427385c5 FHIR QA driven changes 2023-02-12 17:53:41 +11:00
oliveregger 8b5e93dc8d if choice is only value don't add type 2023-02-07 17:36:56 +01:00
Grahame Grieve 237670fa24 release 2023-02-07 14:18:12 +10:00
Grahame Grieve 4a79e89f62 Merge remote-tracking branch 'origin/master' 2023-02-01 14:49:19 +11:00
Grahame Grieve 2cc8ff5e23 extension related validation fixes 2023-02-01 14:49:14 +11:00
Neelima Karipineni 61e63b128a
Enhancements to StructureMap transform to support logical models as source and value set lookup (#1092)
* implement resolveValueSet from AHDIS Matchbox

* get SD from map source type, set logical model

* test for getSourceResourceFromStructureMap DefinitionException

* test resolveValueSet

* test transform logical source

* fix formatting
2023-01-31 16:56:02 -05:00
Grahame Grieve 08ed54fd35 Rework Package API to allow for authentication on package servers 2023-01-31 10:32:21 +11:00
Grahame Grieve bda3a74b40 handle R3 encoding of primitive values when validating profiles 2023-01-31 07:23:33 +11:00
dotasek f5f03442aa Better error description 2023-01-27 11:22:37 -05:00
dotasek b50aec5912
Advisory fix 1 (#1089)
* Update cache and comparison downloads to use https

* Zip Slip tests and fix

* Zip Slip tests 2 and fix

* Add missing tempDir child in ScannerTest

* Add win format zip test

* Add tests to r4b

* Add tests and fixes for slips in tgz processing

* Update fhir-test-cases version
2023-01-20 16:56:57 -05:00
Grahame Grieve 7cc01ef7db update new FHIRPath for older versions 2023-01-19 07:57:05 +11:00
Grahame Grieve 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve 41abbb21a0 fix debug logging for snapshot generation 2023-01-17 05:36:44 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve bb60a338d6 fix 2022-12-17 07:13:49 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
Grahame Grieve 8afc08b6aa test case fixes 2022-12-16 09:27:38 +11:00
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
dotasek e8747aa001
Use ig for missed {1} param (#1031)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-12 13:41:59 -05:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 7f35843440 all-profiles related fixes 2022-12-06 16:22:08 +11:00
Grahame Grieve 037b615bfc allow https://example... in questionnaires as example links 2022-12-05 13:41:50 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
Grahame Grieve 4cda6dd998 Don't double load R5 2022-11-28 12:27:57 -03:00