694 Commits

Author SHA1 Message Date
Grahame Grieve
41b7a0566c fix processing of modifier extensions and cross-version modifier extensions 2021-11-21 19:37:05 +11:00
Grahame Grieve
de15633f4f Address issues around fragment and example code systems + fix value set related validation messages 2021-11-18 10:59:49 +11:00
Grahame Grieve
0f087234de * Check for using CodeSystem not ValueSet in a value set binding 2021-11-16 17:25:18 +11:00
Grahame Grieve
1e69909466 Add warning about resources not linked to in bundles 2021-11-10 17:04:51 +11:00
Grahame Grieve
5a33d5c15a merge conflicts + rework rendering + gather all HTTP access to SimpleHTTPClient + add TerminologyCacheManager 2021-11-09 16:24:21 +11:00
Grahame Grieve
1aae6c8c76 rework HTTP client - all client calls route through SimpleHTTPClient + define CommonPackages infrastructure 2021-11-09 11:38:25 +11:00
dotasek
20989776db
Convertor refactor iii (#635)
* Move loaders to own packages

* Move inner loader classes up one level

* Use lombok annotaions for BaseLoaderX classes

* Move ADLImporter

* Use lombok for ADLImporter inner classes

* Move inner ADLImporter classes up one level

* Move misc classes with inner classes to their own packages

* Encapsulate and add lombok to misc internal classes

* Move inner misc classes up one level

* Clean up explicit type arguments

* Revert back to master validator_test_case_version in pom.xml

* Update RELEASE_NOTES.md

Co-authored-by: David Otasek <david.otasek@Davids-MacBook-Pro.local>
2021-11-08 12:06:51 -05:00
Grahame Grieve
94376300b6 fix typo 2021-11-03 12:46:17 +11:00
Grahame Grieve
4cde3369ff
Merge pull request #637 from hapifhir/gg-202110-CVE-2021-42574
Gg 202110 CVE 2021 42574
2021-11-03 12:08:42 +11:00
Grahame Grieve
1717f53943
Merge pull request #630 from DBCG/feature-validate-mr-groups-iff-m-groups
Validate MeasureReport groups only if Measure has groups
2021-11-03 11:20:46 +11:00
Grahame Grieve
36ea3f5b45 whatever I really hate git 2021-11-03 10:35:47 +11:00
Grahame Grieve
57edd95e81 add -no_unicode_bidi_control_chars to the validator for CVE-2021-42574 (https://trojansource.codes/) 2021-11-02 17:47:25 +11:00
Grahame Grieve
1c65a9b261
Gg 202110 validation various (#634)
* add explicit control over the User-Agent header, and make sure headers flow through properly to all calls

* #328 - wrong processing of markdown URLs

* test fixes for URL handling

* fix tests

* improved validation of UUIDs

* fix test case dependency

* Add Dicom Package builder
2021-10-29 16:26:50 -04:00
Mark Iantorno
69cee8b485
Issue 623 (#636)
* wip

* upping pom.xml test-case dep
2021-10-29 16:26:00 -04:00
Grahame Grieve
e4b503751c improved validation of UUIDs 2021-10-29 09:20:23 +11:00
Grahame Grieve
307246ce91 fix tests 2021-10-29 09:20:05 +11:00
Grahame Grieve
5b9736dbff add explicit control over the User-Agent header, and make sure headers flow through properly to all calls 2021-10-23 05:56:36 +11:00
rob-reynolds
4da4ad31de Validate MeasureReport groups only if Measure has groups 2021-10-21 19:38:02 -06:00
Grahame Grieve
54d31a33dc add -output-style parameter 2021-10-21 12:56:56 +11:00
Grahame Grieve
e62f3a3c6c handle naming system URLs when resolving URLs 2021-10-21 07:02:48 +11:00
Grahame Grieve
b60afcb608 fix profile comparison 2021-10-21 06:18:17 +11:00
Grahame Grieve
4cdead6f80 more validation for canonical URLs 2021-10-20 17:06:59 +11:00
Grahame Grieve
e21a9830b8 fix terminology version management and caching + better error messages for extension context 2021-10-19 12:47:37 +11:00
Eric Lemieux
dc368e17cb Fix Issue 618 | NPE bundle validation
When validating a bundle, with the type, searchset, a NPE would be
thrown if some but not all entities contained a search mode.
2021-10-12 15:59:09 -04:00
Grahame Grieve
237897965b
Gg 202110 misc validation (#617)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs

* fix bug related to logger in FHIRToolingClient

* fix bug related to logger in context

* enable detection of whether tx server knows about value set and better track returned errors from tx server

* make likely source URL visible outside ProfileUtilities

* fix renderers - don't make nonvalid URLs into html links + fix NPE +

* fix bug with sheetnames generating spreadsheets

* supper branches in current version of packages

* report slicing information automatically where slicing is based on profile + fix shc support + support codesystem-properties-mode + fix value set validation on profiles + fix wrong entry point on vaildating contained resources with profiles

* fix misleading validation message + add -ips parameter for validator

* hint not warning when it's an example questionnaire
2021-10-10 17:37:02 -04:00
Grahame Grieve
342d75b2df
Gg 202109 misc snapshot (#610)
* NPE fixes

* Smart Health Cards support in validator

* Fix bug generating spreadsheets due to sheet name length limitations

* Implement descendent-of filter

* more NPE fixes

* add Element.removeChild

* fix issue generation snapshot and content reference, and work around old erroneous binding description in R4

* improve SHC validation error

* fix for NPE generating ConceptMap spreadsheet

* fix crash in IG publisher rendering illegal content

* Improve slicing error messages

* more improving error message resolving slicing

* add missing code + track prohibited / required elements (improve rendering of IGs)

* fix for broken links in R4B IGs
2021-09-29 10:29:10 -04:00
Grahame Grieve
9a8394bc2a handle network failures better in IG publisher 2021-09-10 06:50:10 +10:00
Grahame Grieve
a56978bdd0 remove invalid warning 2021-09-04 05:58:20 +10:00
Grahame Grieve
1e3f5cdabc fix logical model type testing 2021-09-02 07:35:47 +10:00
Grahame Grieve
11e60c3825 * fix NPE bug logging terminology server calls
* fix NPE bug validating logical models
* fix problem with Type Name when validating against Logical Models
2021-09-02 06:27:06 +10:00
Grahame Grieve
6c6052fa31 merge 2021-09-01 10:12:36 +10:00
Grahame Grieve
7d7280078f Hack fix for wrong R3 invariant, Improved Terminology Performance Tracking 2021-09-01 09:59:23 +10:00
Grahame Grieve
2845078c9e Spreadsheet generation by validator 2021-09-01 09:53:18 +10:00
Grahame Grieve
2250b01fdd improvements to tx client logging functionality and terminology performance tracking 2021-09-01 09:52:50 +10:00
Grahame Grieve
f22855e82a change interface for evaluating constants in FHIRPath (allow collections) 2021-09-01 09:46:51 +10:00
Grahame Grieve
4d1f75920d
validation for resource and element id (#590)
* revise validation of resource and element id

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-27 11:28:47 -04:00
Grahame Grieve
3cb384a297 revise validation of resource and element id 2021-08-27 09:59:17 +10:00
Mark Iantorno
88efa6f863
Issue 513 (#587)
* wip

* wip

* sdjkhfakjsdhllkjsdhfsdkh

* wip
2021-08-25 14:45:21 -04:00
Mark Iantorno
be25055574
https://github.com/hapifhir/org.hl7.fhir.core/issues/564 (#572)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/564

* updating help text as per Grahame's feedback.

* wip
2021-08-25 14:06:34 -04:00
Tadgh
5ca6d19c69
Replace proprietary notnull with javax.annotation.Nonnull (#584)
* Replace proprietary notnull with javax.annotation.Nonnull

* wip

Co-authored-by: markiantorno <markiantorno@gmail.com>
2021-08-25 08:39:44 -04:00
Lloyd McKenzie
4e96d087c9 Added documentation 2021-08-21 10:10:32 -06:00
Lloyd McKenzie
59902b6b9a Expose showMessagesFromReferences on the CLI as it provides much more useful information when validating Bundles. 2021-08-20 13:57:03 -06:00
Mark Iantorno
58c0e216e8
Conversion library overhaul (#568)
* wip

* adding pathing to 40_50 conversion

* wip

* 30_50 and 40_50 updated to factory

* 30_40 factory

* 14_50

* 14_40

* 14_30, 10_50

* 10_40

* 10_30

* forcing non-null on VersionConvertors

* *trying* to clean up advisor code, switching from jetbrains NotNull to javax Nonnull annotation

* all calls within convertor classes should use INSTANCE access, not factory to maintain thread safety

* adding README for conversion library

* spacing

* threaded test removal

* release notes

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update RELEASE_NOTES.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

* Update org.hl7.fhir.convertors/CONVERTORS.md

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>

Co-authored-by: Tadgh <tadgh@cs.toronto.edu>
2021-08-06 19:28:24 -04:00
Mark Iantorno
aab5bd4a0f
Convertor refactor ii (#556)
* 10_30

* 10_40

* 10_50

* 14_30

* 14_40

* 14_50

* 30_40

* 40_50

* cleaningup
2021-07-07 22:41:14 -04:00
Lloyd McKenzie
8d29632703
Fixed issue where validator fails to detect invariant issue when ther… (#554)
* Fixed issue where validator fails to detect invariant issue when there are multiple profiles that use the same invariant on the same element.  Also addressed issue revealed by the fix where the context resource wasn't being set properly when checking certain invariants (identified by one of the existing test cases).

* Moved notes from code into commit notes (this one) and added Release notes

Changed call to checkInvariants within checkChildByDefinition such that onlyNonInherited is now false because inherited invariants can be overridden and it's important to check both.  Note that this means that onlyNonInherited doesn't seem to be used any more.  @grahamegrieve - consider whether it should be removed.
2021-07-06 13:42:35 -04:00
Grahame Grieve
4dd5b370e3 add properties mode as a known extension until it's defined properly 2021-06-25 17:36:45 +10:00
Grahame Grieve
b0c1f2b129 fix bug validating profiles on bundle.entry.resource 2021-06-24 21:48:27 +10:00
Grahame Grieve
309dbba9b6 update pubpack to v0.0.9 2021-06-24 21:47:50 +10:00
Grahame Grieve
3a319a5d57 Fix pathing issues in the validator 2021-06-23 20:35:38 +10:00
Grahame Grieve
1aaf086c55 Fix wrong profile error message + NPE prevention 2021-06-21 15:32:06 +10:00