Commit Graph

1079 Commits

Author SHA1 Message Date
Grahame Grieve 24152a2f92 resolve conflicts 2021-05-14 06:12:25 +10:00
markiantorno baf81057a8 Updating version to: 5.3.13-SNAPSHOT and incrementing test cases dependency. 2021-05-13 19:12:04 +00:00
markiantorno a20d84bf2b Release: v5.3.12
* Update core R5 code to v4.6.0 (breaking changes to questionnaire, concept map, and other resources that are less important to core)
* Fix compartment definitions of ListResource.source and subject for R3 and R4
* Snapshot generator: fix problem checking types on logical models
* Do not flag internal references as suspicious
* XMLParser allows passing a schema location
* XMLParser allows passing a schema location
* Issue 484 https://github.com/hapifhir/org.hl7.fhir.core/issues/484
* Adding Kotlin to the build process
* random cleaning up in convertors
* Adding version option to ignore bundle entry in conversion advisors
* 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
***NO_CI***
2021-05-13 18:41:58 +00: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
dependabot[bot] f329c4ac3f
Bump jackson-databind in /org.hl7.fhir.validation (#442)
Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.10.3 to 2.10.5.1.
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:50:02 -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
markiantorno fb6f420df0 Updating version to: 5.3.12-SNAPSHOT and incrementing test cases dependency. 2021-04-22 05:47:40 +00:00
markiantorno 33fffe28ff Release: v5.3.11
Terminology: Ensure that CVX uses tx.fhir.org, not UTG definitions which are wrong
Validator: Fix problems with Bundle validation for ids in collections and add additional search related validation
Validator: Remove check on ElementDefinition.id for R2B
***NO_CI***
2021-04-22 05:15:09 +00: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
markiantorno ba29b1907c Updating version to: 5.3.11-SNAPSHOT and incrementing test cases dependency. 2021-04-21 17:20:12 +00:00
markiantorno 3eb3788597 Release: v5.3.10
* Breaking Change: Fix issue where primitive elements with required bindings must have a value, but this wasn't be checked
* Fix bug with value set imports not working
* Fix bug with base definitions not working properly for logical models
* Better memory tracking for validator
* Get code generator compiling
***NO_CI***
2021-04-21 16:47:39 +00: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
markiantorno ba18e1c11a Updating version to: 5.3.10-SNAPSHOT and incrementing test cases dependency. 2021-04-12 20:34:20 +00:00
markiantorno 265e2cebfe Release: v5.3.9
* fix R2B for checking resource IDs
* Properly check code validity when an expansion is provided, but the code system is unknown
* fix problem with R2B StructureDefinition transform
* Improve validator performance
* Add support for forthcoming release
***NO_CI***
2021-04-12 19:29:28 +00: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
markiantorno 1b20105d01 Updating version to: 5.3.9-SNAPSHOT and incrementing test cases dependency. 2021-04-01 18:56:04 +00:00
markiantorno 2821883888 Release: v5.3.8
* adding fix for R4 when target profile is a reference, and that reference returns an empty list of target profiles
***NO_CI***
2021-04-01 18:25:42 +00:00
Mark Iantorno 5c9cd6830a
wip (#471) 2021-04-01 12:50:09 -04:00
markiantorno 91e31e813f Updating version to: 5.3.8-SNAPSHOT and incrementing test cases dependency. 2021-03-29 08:04:39 +00:00
markiantorno 671a3bbfe9 Release: v5.3.7
Version Conversion:
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
* add copy of extension field for Enumeration fieldtype by Resource.copy
* add default value to Medication Request during conversion from dstu2 to r4
* fix R2B/R5 ElementDefinition.type.code conversion

Other:
* minor fixes in code generators for R4B
* Fix null pointer exception in validator validating language codes
* fix issue with validating fixed values for primitive elements
* add utility to unzip file
***NO_CI***
2021-03-29 07:37:14 +00: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
markiantorno c119fdfa42 Updating version to: 5.3.7-SNAPSHOT and incrementing test cases dependency. 2021-03-19 23:40:41 +00:00
markiantorno e6b2b98ff9 Release: v5.3.6
* URI type issue temporary fix for github issue #240 (QA Error related Extension.url)
***NO_CI***
2021-03-19 23:09:48 +00: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
markiantorno 48a91c70af Updating version to: 5.3.6-SNAPSHOT and incrementing test cases dependency. 2021-03-10 15:15:06 +00:00
markiantorno 06a61930b2 Release: v5.3.5
* minor fixes in code generators for R4B
***NO_CI***
2021-03-10 14:40:44 +00: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
markiantorno 0dc44571e6 Updating version to: 5.3.5-SNAPSHOT and incrementing test cases dependency. 2021-03-03 23:12:04 +00:00
markiantorno 7be165d2d2 Release: v5.3.4
* fix bug in profile validation
***NO_CI***
2021-03-03 22:40:23 +00:00
Grahame Grieve 14dc86e3a2 Fix bug in profile validation 2021-03-04 07:27:11 +11:00
markiantorno 622ad5f207 Updating version to: 5.3.4-SNAPSHOT and incrementing test cases dependency. 2021-03-03 15:27:46 +00:00
markiantorno 078da2f71a Release: v5.3.3
* adding session ids to validator service
* fix R5 --> R4 conversion for ConceptMap equivalence default value
* fix issue with snapshot generation for logical models (CCDA)
* Define binding method extension
* Improve terminology validation error messages
* add additional validation on profiles around types (for logical models)
***NO_CI***
2021-03-03 14:56:38 +00: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
markiantorno f08f4aec85 Updating version to: 5.3.3-SNAPSHOT and incrementing test cases dependency. 2021-02-18 23:31:07 +00:00
markiantorno 7e70adf819 Release: v5.3.2
* Rollback HAPI dependency to fix fat-jar for Validator-CLI
***NO_CI***
2021-02-18 22:57:43 +00:00
markiantorno 5cede7a6b0 Updating version to: 5.3.2-SNAPSHOT and incrementing test cases dependency. 2021-02-17 19:58:37 +00:00
markiantorno 86b0af4895 Release: v5.3.1
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
***NO_CI***
2021-02-17 19:23:40 +00:00
jamesagnew 4d8b564504 Version bump to 5.3.1-SNAPSHOT 2021-02-17 07:31:19 -05:00
jamesagnew c1fca83a94 Version bump to 5.3.0 2021-02-17 06:59:11 -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
markiantorno 82546c5764 Updating version to: 5.2.21-SNAPSHOT and incrementing test cases dependency. 2021-01-25 15:02:01 +00:00
markiantorno af05868a82 Release: v5.2.20
* Added OkHttp dependency to cli
***NO_CI***
2021-01-25 14:28:05 +00:00
markiantorno de30f3d212 Updating version to: 5.2.20-SNAPSHOT and incrementing test cases dependency. 2021-01-24 16:59:11 +00:00
markiantorno 5c4a309538 Release: v5.2.19
* added OkHttp dependency to validator to fix issue
***NO_CI***
2021-01-24 16:26:27 +00:00
Patrick Werner 50fe3d2b88
fixes missing depencency: okhttp3/Request$Builder (#422)
* fixes missing depencency:
 Terminology server http://tx.fhir.orgException in thread "main" java.lang.NoClassDefFoundError: okhttp3/Request$Builder

* added optional tag to not break downstream projects (hapi)
2021-01-24 10:44:17 -05:00
markiantorno d13b5dce94 Updating version to: 5.2.19-SNAPSHOT and incrementing test cases dependency. 2021-01-21 23:50:48 +00:00
markiantorno fb6f25c24e Release: v5.2.18
* This is a test to see if triggering a change on a branch will still allow me to deploy to Sonatype
* This is a second test message
***NO_CI***
2021-01-21 22:05:34 +00:00
markiantorno b7b979dc1e upping version 2021-01-20 16:14:00 -05:00
markiantorno 8a69438532 Updating version to: 5.2.17-SNAPSHOT and incrementing test cases dependency. 2021-01-14 22:38:02 +00:00
markiantorno f815bc8fb8 Release: v5.2.16
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 22:02:50 +00:00
Grahame Grieve 026a958e39 fix build 2021-01-15 08:13:30 +11:00
markiantorno 564f8357d8 Release: v5.2.15
Validation Changes:
* No change

Other code changes:
* update dependency on CQF framework
* Add primitive type factory
* minor changes to fix ContentReference issues
***NO_CI***
2021-01-14 18:29:48 +00:00
Oliver Egger 5b5bf912e0 configure fhirpath with resolve bundle func 2021-01-14 15:15:42 +01:00
Mark Iantorno 33b55727a0
upping version to fix crash (#413) 2021-01-12 11:21:28 -05:00
Kevin Dougan SmileCDR 57a57c1dcc
Updated the info.cqframework dependency versions (#412)
* Updated the info.cqframework dependency versions since v1.4.9 is no longer available.

* Updated the info.cqframework dependency version to 1.5.1.
2021-01-12 10:07:13 -05:00
markiantorno 3ab5444dca Updating version to: 5.2.14-SNAPSHOT and incrementing test cases dependency. 2020-12-24 05:15:27 +00:00
markiantorno 5f67b5bad0 Release: v5.2.13
Validator:
* More rules around URL validation, instead of just marking them as errors
* Don't report errors for extensible bindings when profiles apply required bindings

Other code changes:
* fix rendering issue with profile references
* only use c:\temp for logs if it's writeable
***NO_CI***
2020-12-24 04:44:49 +00: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
markiantorno 401b73c700 Updating version to: 5.2.13-SNAPSHOT and incrementing test cases dependency. 2020-12-18 13:38:06 +00:00
markiantorno fa2a8ad4e2 Release: v5.2.12
Validator:
* allow for URLs that are references to ISO standards (urn:std:)
* fix up validation of value set for code system and expansions
* fix up validation for R2B issues (value set references, profiled types)
***NO_CI***
2020-12-18 13:03:18 +00: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
markiantorno ff49147146 Updating version to: 5.2.12-SNAPSHOT and incrementing test cases dependency. 2020-12-15 13:19:59 +00:00
markiantorno 9084ea3881 Release: v5.2.11
Validator:
* fix bad eror message in german messages (issue 399)
* better error messages when FHIRPath discriminators are invalid
* clean up error messages

Other code changes:
* remove unnecessary (& problem causing) Fragment-Host from OSGi manifest
* move structuremap utilities to a package

***NO_CI***
2020-12-15 12:50:35 +00: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
markiantorno 55055fa3c4 Updating version to: 5.2.11-SNAPSHOT and incrementing test cases dependency. 2020-12-09 01:50:11 +00:00
markiantorno 0019153a26 Release: v5.2.10
Validator:
* Fix NPE reading results of batch code validation
* Validate that binding references are present, and are for value sets
* Fix output message when there's nothing to validate

Other Code Changes:
* fix for renderer on ElementModels rendering - follow contentReference
* fix for NPE rendering references to contained value setes in Questionnaires that don't resolve
* fix for NPE rendering parameters with no names
* fix for rendering bundles on ElementModels

***NO_CI***
2020-12-09 01:21:17 +00: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
markiantorno c85cbf59aa Updating version to: 5.2.10-SNAPSHOT and incrementing test cases dependency. 2020-12-06 22:30:20 +00:00
markiantorno 6907a004be Release: v5.2.9
Validator:

* fix bug that meant validator was complaining abut unknown codes

Other code changes:

* fix rendering of documents
***NO_CI***
2020-12-06 22:00:23 +00:00
markiantorno 1651d3775c upping version to publish 2020-12-05 09:45:13 -05:00
markiantorno b6efb58dc8 Release: v5.2.8
Validator:

* fix bug that meant validator was complaining abut unknown codes

Other code changes:

* fix rendering of documents
***NO_CI***
2020-12-05 00:07:37 +00:00