Commit Graph

1780 Commits

Author SHA1 Message Date
Grahame Grieve 9c669437f6 restore search parameter 2021-12-28 06:42:32 +11:00
markiantorno 4a8d66bd89 Updating version to: 5.6.21-SNAPSHOT and incrementing test cases dependency. 2021-12-23 00:04:24 +00:00
markiantorno 3523d38052 Release: v5.6.20
## Validator Changes

* fix bug looking for contained resources inside bundles when validating resources using conformsTo()
* fix problems validating canonical reference profile types

## Other code changes

n/a
***NO_CI***
2021-12-22 23:46:57 +00:00
markiantorno 2d2000b009 Updating version to: 5.6.20-SNAPSHOT and incrementing test cases dependency. 2021-12-22 20:12:54 +00:00
markiantorno 6bfb964c28 Release: v5.6.19
## Validator Changes:

* ignore canonical resources found in core examples packages
* get .ofType() working in discriminators (round #1!)
* fix bug checking enableWhen - ignoring items in answers
* Improved Error messages validating bundle entries

## Other Code Changes

* Improve rendering of uris that point to known resources
* Fix wrong reference rendering questionnaire
* Fix rendering of QuestionnaireResponses - render items in answers properly
* Improve Error message when snapshot can't be generated
* fix up support for R5
***NO_CI***
2021-12-22 19:57:14 +00:00
Grahame Grieve 98f218fe78 Improved Error messages validating bundle entries 2021-12-22 22:39:54 +11:00
Grahame Grieve 04c7111eb6 get .ofType() working in discriminators (round #1!) + Improve Error message when snapshot can't be generated 2021-12-22 22:39:00 +11:00
Grahame Grieve c86b8114dd Fix rendering of QuestionnaireResponses - render items in answers properly 2021-12-22 22:37:07 +11:00
Grahame Grieve bb78aeea8e Fix rendering of QuestionnaireResponses - render items in answers properly 2021-12-22 22:36:51 +11:00
Grahame Grieve 4ce07531ef Fix wrong reference rendering questionnaire 2021-12-22 22:36:11 +11:00
Grahame Grieve b527039d78 Improve rendering of uris that point to known resources 2021-12-22 22:35:35 +11:00
Grahame Grieve 939b377fe2 * ignore canonical resources found in the examples package 2021-12-22 22:33:50 +11:00
markiantorno 66ab13dba7 Updating version to: 5.6.19-SNAPSHOT and incrementing test cases dependency. 2021-12-21 22:32:14 +00:00
markiantorno 4e3bde76e9 Release: v5.6.18
## Validator

* Allow both -output and -output-style parameters (output-style applies to output now) + add csv output style
* Implement the ```-level``` parameter
* Add support for R4B validation
* fix bug in deep profiles (profiles that don't start at the root)

## Other code changes

* Regenerate R5 code for 5.0.0-snapshot1 & many consequential changes
* Add version support for R4B and R5 (R4B code generation still to be done)
***NO_CI***
2021-12-21 22:16:52 +00:00
Grahame Grieve ef0afae743 More support for R4B 2021-12-22 07:31:09 +11:00
Grahame Grieve 3a33cb2174 ## Validator
* Allow both -output and -output-style parameters (output-style applies to output now) + add csv output style
* Implement the ```-level``` parameter
* Add support for R4B validation
* fix bug in deep profiles (profiles that don't start at the root)

## Other code changes
* Regenerate R5 code for 5.0.0-snapshot1 & many consequential changes
* Add version support for R4B and R5 (R4B code generation still to be done)
2021-12-21 19:53:20 +11:00
markiantorno a2a5ad1334 Updating version to: 5.6.18-SNAPSHOT and incrementing test cases dependency. 2021-12-18 00:00:06 +00:00
markiantorno af18cc0225 Release: v5.6.17
Validator:
* check StructureDefinition derivation consistency
* fix bug looking for contained resources inside bundles
* fix up determination criteria for IRIs on identifiers in urn:ietf:rfc:3986

Other code changes:
* Add support for new FHIR releases
* Fix escaping bug in graphQL encoder
***NO_CI***
2021-12-17 23:38:05 +00:00
dotasek a635c06af9 Updating version to: 5.6.17-SNAPSHOT 2021-12-17 15:58:22 -05:00
dotasek 2540755c40 Fix unsupportedCodeSystems updating 2021-12-17 14:54:44 -05:00
markiantorno f9893fbcb5 Release: v5.6.16
Validator:
* check StructureDefinition derivation consistency
* fix bug looking for contained resources inside bundles

Other code changes:
* Add support for new FHIR releases
***NO_CI***
2021-12-17 19:39:05 +00:00
Grahame Grieve 47dd580868 Add searchparameter analyser 2021-12-17 12:21:38 +11:00
Grahame Grieve 3118cdc132 Add support for new FHIR Versions 2021-12-17 12:08:40 +11:00
dotasek aa70fc1338 Use "null" instead of null for getNamedCache 2021-12-16 13:36:03 -05:00
Grahame Grieve 2de1e2cf11 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-12-16 21:27:02 +11:00
dotasek 80382865de Merge branch 'master' into tx-server-cache-analysis 2021-12-15 16:49:39 -05:00
markiantorno 19087d2cb5 Updating version to: 5.6.16-SNAPSHOT and incrementing test cases dependency. 2021-12-15 16:12:57 +00:00
markiantorno 906c5c9785 Release: v5.6.15
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources

Other code changes:
* new version of FHIR (4.3.0)
* start using release indicators in FHIR versions
* various generation related fixes for the main specification build process
***NO_CI***
2021-12-15 01:31:54 +00:00
dotasek 89bc6090f2 Updating version to: 5.6.14-SNAPSHOT 2021-12-14 19:54:14 -05:00
markiantorno cf77dd9492 Release: v5.6.14
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources

Other code changes:
* new version of FHIR (4.3.0)
* start using release indicators in FHIR versions
* various generation related fixes for the main specification build process
***NO_CI***
2021-12-14 22:45:02 +00:00
Grahame Grieve a6ba3e8a21 handle vs.url properly so that we can rely on just url + version for internal caching (no hashing needed) 2021-12-15 09:34:54 +11:00
dotasek d2c2220ab6 Update core version 2021-12-14 17:09:08 -05:00
Grahame Grieve ea87f94253
Merge pull request #688 from hapifhir/gg-202112-r4b-fixes
main Build fixes: new version of FHIR (4.3.0) + transit to using rele…
2021-12-15 09:03:54 +11:00
Grahame Grieve c15e60f2c6 main Build fixes: new version of FHIR (4.3.0) + transit to using release indicators in version + fix various build issues 2021-12-15 07:28:19 +11:00
dotasek 5cbdc8b49d Updating version to: 5.6.14-SNAPSHOT 2021-12-14 12:04:27 -05:00
markiantorno 6275af3a5e Release: v5.6.13
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-14 01:44:11 +00:00
dotasek a3fa5a52f1 Updating version to: 5.6.13-SNAPSHOT 2021-12-13 18:28:41 -05:00
markiantorno 0dab4e8e2b Release: v5.6.12
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 21:28:17 +00:00
dotasek fb66078678 Updating version to: 5.6.12-SNAPSHOT 2021-12-13 15:33:32 -05:00
dotasek cbd1394549 Merge branch 'master' into tx-server-cache-analysis 2021-12-13 15:22:21 -05:00
markiantorno 0211796882 Release: v5.6.11
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 18:52:29 +00:00
dotasek d9d1c5afe4 Updating version to: 5.6.11-SNAPSHOT 2021-12-13 13:01:16 -05:00
dotasek 11503115df Set error cacheing via system property 2021-12-13 12:57:37 -05:00
markiantorno e59194de6b Release: v5.6.10
Validator:
* fix bug in client caching for unidentified value sets
* look for codesystem definitions in local context
* fix path error in Questionnaire Response validation
* fix up r4b list of canonical resource types
* better version specific resolution of special canonical resources
***NO_CI***
2021-12-13 10:51:11 +00:00
Grahame Grieve ac5e2b14a2 missing file 2021-12-13 19:22:18 +11:00
Grahame Grieve 65e65d3e7b fix bug in client caching for unidentified value sets + look for code system definitions in local context + fix path error in Questionnaire Response validation 2021-12-13 18:39:44 +11:00
dotasek 3b58aef820 More cacheing for tests + allow cacheing for error responses
WORK IN PROGRESS; cacheErrors is set to TRUE always at this stage.
2021-12-10 16:46:26 -05:00
markiantorno e310c8c1ef Updating version to: 5.6.10-SNAPSHOT and incrementing test cases dependency. 2021-12-09 22:18:07 +00:00
markiantorno 08dc513480 Release: v5.6.9
Validator:
* enforce minValue and maxValue for decimal and Quantity types
* add checks for whitespace in base64 content (warning in <R5)

Other code changes:
* Fix trailing slashes for JAVA_HOME tests
* remove relative URL prefixing
* Add delayed load resources to all resources
* Don't load resources from core examples package over other resources
* Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* fix error rendering lists with encounter references
* fix error rendering questionnaire answer lists
* improve rendering of version specific and targetted references
***NO_CI***
2021-12-09 21:51:38 +00:00
dotasek 2f9dda50b6 Updating version to: 5.6.9-SNAPSHOT 2021-12-09 15:57:57 -05:00
dotasek 394452b747 Fix cacheing for large valuesets 2021-12-09 15:50:03 -05:00
markiantorno e0b72c5731 Release: v5.6.8
Validator:
* enforce minValue and maxValue for decimal and Quantity types
* add checks for whitespace in base64 content (warning in <R5)

Other code changes:
* Fix trailing slashes for JAVA_HOME tests
* remove relative URL prefixing
* Add delayed load resources to all resources
* Don't load resources from core examples package over other resources
* Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* fix error rendering lists with encounter references
* fix error rendering questionnaire answer lists
* improve rendering of version specific and targetted references
***NO_CI***
2021-12-09 19:57:46 +00:00
Grahame Grieve ccdb0c434f * Fix count on erroneous element defintions when generating snapshots
* add version specific access to context resources
* enforce minValue and maxValue for decimal and Quantity types
2021-12-09 08:20:56 +11:00
dotasek e5976307f4 Refactor to get consistent ValidationEngine with txCache in tests 2021-12-08 12:34:35 -05:00
dotasek 1c1e7d22ca WIP track server requests 2021-12-07 16:08:28 -05:00
Grahame Grieve ab2212d9fc Add delayed load resources to all resources, and don't load resources from core examples package over other resources 2021-12-07 18:03:22 +11:00
Grahame Grieve 1225bfbaee remove relative URL prefixing 2021-12-07 18:00:31 +11:00
markiantorno 714922a84b Updating version to: 5.6.8-SNAPSHOT and incrementing test cases dependency. 2021-12-06 22:35:25 +00:00
markiantorno 186b0b23b7 Release: v5.6.7
* More import updates
***NO_CI***
2021-12-06 22:04:52 +00:00
markiantorno 5d416f7602 Updating version to: 5.6.7-SNAPSHOT and incrementing test cases dependency. 2021-12-06 19:46:52 +00:00
markiantorno 9bb4807c92 Release: v5.6.6
* Removing unused dependency as it is causing downstream errors in HAPI builds
***NO_CI***
2021-12-06 19:21:58 +00:00
markiantorno 52b31aa0c2 Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core 2021-12-06 14:02:21 -05:00
markiantorno 6e95c3abe5 Removing unused HTTP dep 2021-12-06 14:01:51 -05:00
markiantorno 8d873be2a3 Updating version to: 5.6.6-SNAPSHOT and incrementing test cases dependency. 2021-12-06 18:41:00 +00:00
markiantorno 113a89b13b Release: v5.6.5
* Removing IJ annotations
***NO_CI***
2021-12-06 18:13:58 +00:00
markiantorno 444c8951c6 removing jetbrains annotations 2021-12-06 12:54:40 -05:00
markiantorno ac8f2b6ba9 Updating version to: 5.6.5-SNAPSHOT and incrementing test cases dependency. 2021-12-03 06:14:31 +00:00
markiantorno aef3f6fffe Release: v5.6.4
* Add usesExtension to ToolingExtensions
***NO_CI***
2021-12-03 05:47:37 +00:00
Grahame Grieve 00f3dfc4b9 set up release 2021-12-03 15:25:54 +11:00
Grahame Grieve a090ea15fe
Merge pull request #681 from hapifhir/gg-202112-q-validation
Gg 202112 q validation
2021-12-03 07:50:47 +11:00
Grahame Grieve d303dba48d fix problem resolving nested contained value sets in QuestionnaireResponses + fix NPE rendering questionnaire + fix bug validating profile on resource at root of Bundle 2021-12-03 06:51:23 +11:00
markiantorno 71b7409210 Updating version to: 5.6.4-SNAPSHOT and incrementing test cases dependency. 2021-12-02 19:49:44 +00:00
markiantorno 9a5b721220 Release: v5.6.3
* more work on date time test cases
* fix date/time rendering test
* fix bug in code system handling (NPE) + add support for json test cas…
* extend policy advisor to control terminology validation + hack fixes
* fix up SHC parsing problem
* improvements to code system rendering + fix date/time rendering tests

***NO_CI***
2021-12-02 19:23:28 +00:00
dotasek 7c630b6680 Updating version to: 5.6.3-SNAPSHOT 2021-12-02 13:11:27 -05:00
markiantorno f0f49b890d Release: v5.6.2
* more work on date time test cases
* fix date/time rendering test
* fix bug in code system handling (NPE) + add support for json test cas…
* extend policy advisor to control terminology validation + hack fixes
* fix up SHC parsing problem
* improvements to code system rendering + fix date/time rendering tests

***NO_CI***
2021-12-02 16:52:05 +00:00
Grahame Grieve 4babbd9724 clean up test logging 2021-12-01 08:06:31 +11:00
Grahame Grieve 5b99283a52 more work on date time test cases 2021-11-30 18:05:18 +11:00
Grahame Grieve c94cf32a8e try test again 2021-11-30 17:52:13 +11:00
Grahame Grieve 521343d777 fix date/time rendering test 2021-11-30 17:35:07 +11:00
Grahame Grieve b4597687b8 fix bug in code system handling (NPE) + add support for json test cases in fhirpath tests + fix error validating references in bundles 2021-11-30 15:37:12 +11:00
Grahame Grieve 7f5a1d95cc extend policy advisor to control terminology validation + hack fixes for problems in R4B 2021-11-30 10:57:56 +11:00
Grahame Grieve 93d266b363 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-29 16:11:23 +11:00
Grahame Grieve 96b5bce878 fix up SHC parsing problem 2021-11-29 16:11:13 +11:00
Grahame Grieve 6a735d4319 improvements to code system rendering + fix date/time rendering tests 2021-11-29 16:10:58 +11:00
markiantorno 79a6b81e10 Updating version to: 5.6.2-SNAPSHOT and incrementing test cases dependency. 2021-11-26 15:21:24 +00:00
markiantorno 9717d321b4 Release: v5.6.1
* Validation process now has the option to control level of validation on both references and contained resources,
through the addition of two new interfaces, this is reflected in the new fields I added in fire test cases
(see https://github.com/FHIR/fhir-test-cases/pull/101)
* Improve output for describeSize Utility unit tests.
* Fix logging of requests for dstu3
***NO_CI***
2021-11-26 14:55:52 +00:00
Mark Iantorno 4d0692ff61
Validate contains (#669)
* wip

* first go at this, still some failing tests

* post-pairing with Grahame

* wip

* failing test cases

* fixed InstanceValidator to respect new validation options for both references and contained resources

* removed dead code

* put copyright back in BaseValidator

* wip
2021-11-25 15:52:29 -05:00
dotasek e997f7bb08 Add request logging for dstu3 FhirRequestBuilder 2021-11-23 14:09:42 -05:00
markiantorno 1ac0e90c07 Updating version to: 5.6.1-SNAPSHOT and incrementing test cases dependency. 2021-11-22 21:58:23 +00:00
markiantorno 54fcb8dcab Release: v5.6.0
Validator:
* no changes

Other code changes
* Bumping version to reflect current HAPI version
* fix bug in renderer rendering R3 resources

***NO_CI***
2021-11-22 21:32:27 +00:00
dotasek 0b441d3b30 Restore version after failed build 2021-11-22 15:57:23 -05:00
markiantorno f6b4cf5c45 Release: v5.5.16
Validator:
* no changes

Other code changes
* Bumping version to reflect current HAPI version
* fix bug in renderer rendering R3 resources

***NO_CI***
2021-11-22 18:54:45 +00:00
dotasek 13004b85cc Bumping version to reflect current HAPI version 2021-11-22 10:35:17 -05:00
markiantorno d799fcdf27 Release: v5.5.16
Validator:
* no changes

Other code changes
* fix bug in renderer rendering R3 resources
***NO_CI***
2021-11-22 12:00:35 +00:00
Grahame Grieve 0352ac1f66 disable all date rendering tests 2021-11-22 22:03:40 +11:00
Grahame Grieve 4200493fa6 fix tests 2021-11-22 21:50:28 +11:00
Grahame Grieve 7cc9c59bf9 fix bug in renderer rendering R3 resources 2021-11-22 21:30:34 +11:00
Grahame Grieve 83c8228f29 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-22 15:10:50 +11:00
markiantorno f80b0984e1 Updating version to: 5.5.16-SNAPSHOT and incrementing test cases dependency. 2021-11-22 00:22:18 +00:00
markiantorno ed4ef0a2c3 Release: v5.5.15
Validator:
* fix processing of modifier extensions and cross-version modifier extensions

Other changes:
* improvements to data types rendering based on new test cases (URLs, Money, Markdown)
* add locale to rendering context, and fix up timezone related rendering based on locale
***NO_CI***
2021-11-21 23:56:27 +00:00
Grahame Grieve 7dd7926fc6 locale consistency test 2021-11-22 10:10:06 +11:00
Grahame Grieve 894d645de1 take out date format tests. 2021-11-22 09:35:43 +11:00
Grahame Grieve 87c2811645 try Again! 2021-11-22 09:12:33 +11:00
Grahame Grieve e012b9e9cb try again 2021-11-22 08:53:15 +11:00
Grahame Grieve b356de2415 more localization fixes 2021-11-22 08:41:29 +11:00
Grahame Grieve b7fab78b22 ping build 2021-11-22 08:07:00 +11:00
Grahame Grieve 0dfdb20f2b ping build 2021-11-22 07:56:44 +11:00
Grahame Grieve bf5c621f43 update rendering to get timezones right, and add tests for that 2021-11-22 07:41:52 +11:00
Grahame Grieve 412e4931fb fix bug in testing code 2021-11-21 21:47:36 +11:00
Grahame Grieve 41b7a0566c fix processing of modifier extensions and cross-version modifier extensions 2021-11-21 19:37:05 +11:00
Grahame Grieve 73fa4fb242 fix bug doing non-namespaced XML comparison 2021-11-20 06:33:07 +11:00
Grahame Grieve 21128fb670 add locale to rendering context 2021-11-20 06:32:27 +11:00
Grahame Grieve 9b3adb9883 improvements to data types rendering based on new test cases (URLs, Money, Markdown) 2021-11-20 06:31:31 +11:00
markiantorno 0a8334e543 Updating version to: 5.5.15-SNAPSHOT and incrementing test cases dependency. 2021-11-18 05:00:53 +00:00
markiantorno 601863b765 Release: v5.5.14
* fix bug generating CapabilityStatement Narratives
***NO_CI***
2021-11-18 04:28:59 +00:00
markiantorno 2cc3d2a1e2 Updating version to: 5.5.14-SNAPSHOT and incrementing test cases dependency. 2021-11-18 02:23:28 +00:00
markiantorno 2be62cd496 Release: v5.5.13
Validator:
* Check for using CodeSystem not ValueSet in a value set binding
* remove verbose logging statements

Other code Changes:
* Render Expressions + supported profiles in CapabilityStatements
* Fix NPE rendering date with no value (only extension)
* Fix NPEs rendering code system properties
* Date tracking in new Terminology Cache
* Define Extensions for contained resources in IGs
***NO_CI***
2021-11-18 01:54:52 +00:00
Grahame Grieve dbf8179b6d
Merge pull request #663 from hapifhir/gg-202111-cs-work
Gg 202111 cs work
2021-11-18 11:43:37 +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 bbac44fc52 reduce spurious logging 2021-11-18 08:09:43 +11:00
Grahame Grieve dd5f204797 fix fragile handling of URLs in XVerExtensionManager 2021-11-16 17:24:35 +11:00
Grahame Grieve 4339299b27 Extensions for contained resources in IGs 2021-11-16 17:24:05 +11:00
Grahame Grieve ddba4b77c1 Date tracking in new Terminology Cache 2021-11-16 17:23:39 +11:00
Grahame Grieve 105e073e35 Fix NPEs rendering code system properties 2021-11-16 17:23:07 +11:00
Grahame Grieve 4cd0a3e56c Render Expressions + Fix NPE rendering date with no value (only extension) 2021-11-16 17:22:30 +11:00
Vassil Peytchev c3c6653f87 Further CapabilityStatement improvements 2021-11-15 15:48:45 -06:00
Vassil Peytchev 9c31554101 Add support for CapabilityStatement.resource.supportedProfile in the renderer 2021-11-15 13:23:18 -06:00
markiantorno d483a7dbc3 Updating version to: 5.5.13-SNAPSHOT and incrementing test cases dependency. 2021-11-13 22:03:00 +00:00
markiantorno 86eb372965 Release: v5.5.12
Code changes:
* remove erroneous logging to c:\temp
***NO_CI***
2021-11-13 21:33:11 +00:00
markiantorno 24efd996e0 Updating version to: 5.5.12-SNAPSHOT and incrementing test cases dependency. 2021-11-11 06:51:17 +00:00
markiantorno 31e05f39fa Release: v5.5.11
Validator Changes
* Add warning about resources not linked to in bundles
* Fix up support for pre-adopting R5 extensions

Other Code Changes
* Updating client logger to log both req and resp
* Refactoring of converter loader and misc packages.
* rework all HTTP access through a single access point (todo: refactor this to use okhttp)
* Improvements to rendering for IG publication (including fixing broken links)
* fix NPE in QuestionnaireRenderer
* Move tx-cache management to tx.fhir.org instead of git
* fix concept map rendering
***NO_CI***
2021-11-11 06:24:42 +00:00
Grahame Grieve 042e936287 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-11-11 14:36:22 +11:00
Grahame Grieve 0f4b966988 fix concept map rendering 2021-11-11 14:36:00 +11:00
Grahame Grieve 78eeba7045 fix bugs in TerminologyCacheManager 2021-11-10 17:05:32 +11:00
Grahame Grieve f508f7279a fix NPE in QuestionnaireRenderer 2021-11-10 17:04:28 +11:00
markiantorno 4c939c4f75 I am a dummy 2021-11-09 16:09:21 -05:00
Grahame Grieve 76504db802 ping build 2021-11-09 17:47:45 +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
markiantorno 7bcd2b6434 Adding changes for logging request and resp 2021-11-08 16:10:04 -05:00
Grahame Grieve d91b26e69b Add getServerVersion to tooling client 2021-11-09 06:13:18 +11:00
Grahame Grieve 227664a9b3 fix versions for 5.0 extensions 2021-11-05 17:25:14 +11:00
Grahame Grieve 43c25ae4f8 fix rule around request/response when logging 2021-11-05 17:14:08 +11:00
Grahame Grieve 80e1606bf9 fix broken links 2021-11-05 17:09:59 +11:00
Grahame Grieve 27852389d6 fix missing logging of requests 2021-11-04 12:41:27 +11:00
dotasek 83b1702cc5
SHCParser file cleanup (#640)
* Use File.createTempFile to manage SHCParser payload writing

* Undo auto-reorg imports

* Remove JsonTrackingParser.write
2021-11-03 10:40:06 -04:00
markiantorno 52cbe69651 Updating version to: 5.5.11-SNAPSHOT and incrementing test cases dependency. 2021-11-03 04:58:39 +00:00
markiantorno 2c2fb1179a Release: v5.5.10
Validator
* Fix validation of RiskAssessment probability
* Don't check MeasureReport groups if Measure doesn't have any groups

Other code changes
* Fix generation of GraphQL schema
* remove spurious log files
***NO_CI***
2021-11-03 04:32:39 +00: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 5494b14b4b fix tests 2021-11-03 11:33:50 +11:00
Grahame Grieve c8c96e13fd
Merge pull request #615 from lschmierer/graphql_fixes
Fix GraphQLSchemaGenerator to produce valid GraphQL schemas
2021-11-03 11:26:45 +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
markiantorno ccd8567edb Updating version to: 5.5.10-SNAPSHOT and incrementing test cases dependency. 2021-10-29 21:37:57 +00:00
markiantorno 9f789edd41 Release: v5.5.9
* https://github.com/hapifhir/org.hl7.fhir.core/issues/623
* add explicit control over the User-Agent header, and make sure header…
* #328 - wrong processing of markdown URLs
* test fixes for URL handling
* fix tests
* improved validation of UUIDs
***NO_CI***
2021-10-29 21:12:02 +00: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
Grahame Grieve 6131eddb62 test fixes for URL handling 2021-10-29 09:19:38 +11:00
Grahame Grieve 53c5211033 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-10-29 09:19:11 +11:00
Grahame Grieve 4743f606d0 #328 - wrong processing of markdown URLs 2021-10-27 10:02:03 +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
markiantorno 6f32a85d66 Updating version to: 5.5.9-SNAPSHOT and incrementing test cases dependency. 2021-10-22 01:16:56 +00:00
markiantorno 7254337c5b Release: v5.5.8
* add -output-style parameter
* handle naming system URLs when resolving URLs
* fix profile comparison
* fix tests dependency
* ping build
* more validation for canonical URLs
* fix terminology version management and caching + better error message… …
* Merge pull request #620 from EricLemieux/fix-618 …
* fix json issue, and add tests for it
* Fix Issue 618 | NPE bundle validation …
* Removing pinentry option for gpg as it breaks in ubuntu 20.04
***NO_CI***
2021-10-22 00:52:33 +00: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
Grahame Grieve f120a617c2 fix json issue, and add tests for it 2021-10-13 08:10:27 +11:00
markiantorno 28bdc66c64 Updating version to: 5.5.8-SNAPSHOT and incrementing test cases dependency. 2021-10-10 23:07:21 +00:00
markiantorno f450904bdb Release: v5.5.7
* 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 …
* 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 rend…
* 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 bette…
* 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 pr…
* fix misleading validation message + add -ips parameter for validator
* hint not warning when it's an example questionnaire
***NO_CI***
2021-10-10 22:40:40 +00: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
markiantorno df724155e0 Updating version to: 5.5.7-SNAPSHOT and incrementing test cases dependency. 2021-10-09 22:05:18 +00:00
markiantorno 04ceca78b1 Release: v5.5.6
* incrementing test case dependency
***NO_CI***
2021-10-09 21:34:22 +00:00
markiantorno c33a3b5e82 forgot to change module versions 2021-10-08 13:31:53 -04:00
Lukas Schmierer 6bf58e678e change import comment to be compatible with graphql-tools 2021-10-04 16:06:07 +02:00
Lukas Schmierer 04a72c6e29 use ElementBaseInput instead of ElementBase for input types 2021-10-04 16:03:17 +02:00
Lukas Schmierer 98a99ec630 fix duplicate scalar "date" 2021-10-04 13:21:29 +02:00
Lukas Schmierer d67f7c9926 print correct type in json format comment 2021-10-04 13:11:55 +02:00
Lukas Schmierer 6981e75765 fix parameter scalars to be lowercase 2021-10-04 12:11:36 +02:00
markiantorno f0997bc0c0 Updating version to: 5.5.5-SNAPSHOT and incrementing test cases dependency. 2021-09-29 17:51:23 +00:00
markiantorno 6aaf495c85 Release: v5.5.4
* https://github.com/hapifhir/org.hl7.fhir.core/issues/499
* https://github.com/hapifhir/org.hl7.fhir.core/issues/602
* https://github.com/hapifhir/org.hl7.fhir.core/issues/611
***NO_CI***
2021-09-29 17:22:54 +00: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
Mark Iantorno 72b7300700
Adding blank case for ExpressionNode.toString() in r4 and r5. (#609) 2021-09-27 14:52:55 -04:00
Mark Iantorno ad18e131d8
Issue 602 (#607)
* r5 changes

* r4 changes

* dstu3 changes

* dstu2 changes

* updating release notes
2021-09-27 14:04:59 -04:00
markiantorno 3db881a93b Updating version to: 5.5.4-SNAPSHOT and incrementing test cases dependency. 2021-09-10 03:27:13 +00:00
markiantorno 6b479d16cd Release: v5.5.3
* Adding option to modify headers for http tx requests
***NO_CI***
2021-09-10 02:57:44 +00:00
markiantorno 9b37e0fdc2 bumping version because github deploy failed 2021-09-09 22:38:51 -04:00
markiantorno f72d115f0f Release: v5.5.2
* Adding option to modify headers for http tx requests
***NO_CI***
2021-09-10 01:57:53 +00:00
Grahame Grieve 8a1e93b849 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-09-10 06:51:35 +10:00
Mark Iantorno e5a05f5562
Terminology client headers (#599)
* wip

* adding tests for headers in client

* fix

* r4 updated httpclient

* updating http client code for r4 and dstu3

* dunno why this didn't get added before
2021-09-09 16:32:19 -04:00
Grahame Grieve a56978bdd0 remove invalid warning 2021-09-04 05:58:20 +10:00
Grahame Grieve f8268442d1 fix duplicate sheet name problem generating spreadsheets 2021-09-03 17:31:05 +10:00
Grahame Grieve f0738ac706 fix NPE cloning integer 2021-09-03 17:27:53 +10:00
Grahame Grieve bd6225cf9e fix bugs to do with value set expansion 2021-09-03 17:27:23 +10:00
markiantorno 19d255636c Updating version to: 5.5.2-SNAPSHOT and incrementing test cases dependency. 2021-09-02 15:37:47 +00:00
markiantorno 23688f54f6 Release: v5.5.1
* The release failed and we need to do a quick release to fix versioning.
***NO_CI***
2021-09-02 15:09:38 +00:00
markiantorno b36f54eb6b bumping version to fix release issues 2021-09-02 08:56:49 -04:00
markiantorno ae571d4bfb Updating version to: 1.1.68-SNAPSHOT and incrementing test cases dependency. 2021-09-02 03:52:18 +00:00
markiantorno 2bd2e3b864 Release: v1.1.67
Validator
* fix NPE bug logging terminology server calls
* fix NPE bug validating logical models
* fix problem with Type Name when validating against Logical Models
***NO_CI***
2021-09-02 03:26:20 +00:00
Grahame Grieve bcee0603e5 fix version 2021-09-02 12:20:48 +10:00
Grahame Grieve 3d57a2b511 compile fix + release notes 2021-09-02 06:41:41 +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
markiantorno f58cdec1c0 Updating version to: 5.4.13-SNAPSHOT and incrementing test cases dependency. 2021-09-01 04:29:12 +00:00
markiantorno 175eeeca2d Release: v5.4.12
Validator:

* Hack around erroneous R3 Invariant (ref-1)
* Add support for generating terminology spreadsheets from the command line validator
* Validate Resource.id and Element.id properly

Other Code Changes:
* Change the FHIRPath interface IEvaluationContext.resolveConstant to return List<Base> not Base (BREAKING CHANGE!)
* Binary Resource Renderer
* Spreadsheet Generation for terminology resources (org.hl7.fhir.r5.renderers.spreadsheets package)
* Fix various NPEs discovered by users
* Fix rendering of value sets that have no definition
* Mark generated narrative with a flag in user data
* return system for display when IWorkerContext.validateCode is called
***NO_CI***
2021-09-01 03:59:20 +00:00
Grahame Grieve 6c6052fa31 merge 2021-09-01 10:12:36 +10:00
Grahame Grieve 66fb0893ad Rendering for Binary Resources 2021-09-01 09:54:03 +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 e28a0d9d52 more spreadsheet changes 2021-09-01 07:02:37 +10:00
Grahame Grieve 5a7393c7ec rework spreadsheet generation to support more resource types 2021-09-01 07:02:00 +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 3d1676170a fixes for processing code validation outcomes 2021-08-27 10:41:43 +10:00
Grahame Grieve 7d2c03285c fix for NPE in FHIRPath engine 2021-08-27 10:40:43 +10:00
Grahame Grieve f926744ea7 adjust confusing language 2021-08-27 10:40:20 +10:00
Grahame Grieve 9f09724032 more FMM related extensions 2021-08-27 10:39:38 +10:00
Grahame Grieve 91fad51eec mark rendered narrative 2021-08-27 10:38:21 +10:00
markiantorno 99e85360d7 Updating version to: 5.4.12-SNAPSHOT and incrementing test cases dependency. 2021-08-25 23:38:16 +00:00
markiantorno 1b4c675c19 Release: v5.4.11
* Differential element fields minValue/maxValue are now correctly treated in the snapshot generation process
* Conversion context added to conversions process
* Users can now define custom behavior for CodeSystems, Extensions, BundleEntries, and Types by extending BaseAdvisor.
* Resource Conversions are now thread-safe, each using their own instance of the conversion context that is unique
* ConversionFactory classes are statically accessed, to minimize changes downstream
* I need to add more tests, there were very few to begin with, and it's my next task
* All conversion libraries and no play makes Mark a dull boy
* Exposed showMessagesFromReferences on the command line interface to support reporting validation errors on referenced types (particularly useful when validating messages & documents)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/564
* https://github.com/hapifhir/org.hl7.fhir.core/issues/513
***NO_CI***
2021-08-25 23:10:46 +00:00
Mark Iantorno 94d88dd2d1
https://github.com/hapifhir/org.hl7.fhir.core/issues/447 (#576)
* https://github.com/hapifhir/org.hl7.fhir.core/issues/447

* fix tests

Co-authored-by: Grahame Grieve <grahameg@gmail.com>
2021-08-25 08:40:13 -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
Grahame Grieve 1d5fb74fc6
Merge pull request #589 from hapifhir/gg-202108-dr-npe2
fix for #575 NPE in rendering Patient
2021-08-25 08:10:16 +10:00
Grahame Grieve 4ba9193a5e fix for #575 NPE in rendering Patient 2021-08-25 06:50:58 +10:00
Grahame Grieve 5ac31d11ac
Merge pull request #586 from hapifhir/gg-202108-vr-system
Gg 202108 vr system
2021-08-25 06:20:31 +10:00
Grahame Grieve fb0d90ad1f return system+code with display when validating 2021-08-24 17:03:33 +10:00
Grahame Grieve 9e7e6698bd fix DiagnosticReport rendering (NPEs) 2021-08-24 06:56:51 +10:00
Grahame Grieve b5723bab50
Merge branch 'master' into issue-555 2021-08-24 06:00:27 +10:00
Grahame Grieve aa5ab74003
Merge pull request #236 from ahdis/oe_xmlwriter_utf8_attr
XmlWriter for UTF-8 should not encode umlaut in attributes (elementmodel)
2021-08-24 05:55:28 +10:00
markiantorno 9a66c87a05 Updating version to: 5.4.11-SNAPSHOT and incrementing test cases dependency. 2021-08-19 02:59:51 +00:00
markiantorno 0853126597 Release: v5.4.10
* Conversion context added to conversions process
* Users can now define custom behavior for CodeSystems, Extensions, BundleEntries, and Types by extending BaseAdvisor.
* Resource Conversions are now thread-safe, each using their own instance of the conversion context that is unique
* ConversionFactory classes are statically accessed, to minimize changes downstream
* I need to add more tests, there were very few to begin with, and it's my next task
* All conversion libraries and no play makes Mark a dull boy
***NO_CI***
2021-08-19 02:26:11 +00:00
Louis Rolland daaa027f66 test: #555 Handling minValue/maxValue in generation snapshot process 2021-08-18 10:53:57 +02:00
jnmeijer 66b9e180e6
Improved performance of hashNWS (#570) (#573)
Co-authored-by: Jonathan Meijer <jonathan.meijer@telus.com>
2021-08-11 15:44:20 -04:00
Mark Iantorno a9abd8f824
https://github.com/hapifhir/org.hl7.fhir.core/issues/557 (#571) 2021-08-11 10:07:43 -04:00
Louis Rolland 0a3cc93c2f fix: #555 Handling minValue/maxValue in generate snapshot process 2021-08-11 10:08:45 +02:00
markiantorno 99fcac64ac Updating version to: 5.4.10-SNAPSHOT and incrementing test cases dependency. 2021-07-15 16:29:01 +00:00
markiantorno 296ab05f10 Release: v5.4.9
* Big refactoring of conversion code. First big step in being able to add conversion context.
* https://github.com/HL7/fhir-ig-publisher/issues/295
***NO_CI***
2021-07-15 15:57:12 +00:00
markiantorno c53cc54b96 Updating version to: 5.4.9-SNAPSHOT and incrementing test cases dependency. 2021-07-06 19:01:20 +00:00
markiantorno 1330ad7cf8 Release: v5.4.8
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).
***NO_CI***
2021-07-06 18:31:40 +00:00
markiantorno 1d7e8bf63d Updating version to: 5.4.8-SNAPSHOT and incrementing test cases dependency. 2021-07-05 17:01:20 +00:00
markiantorno c1adf78ed9 Release: v5.4.7
* Releasing to bring latest release up to Grahame's latest changes.
***NO_CI***
2021-07-05 16:01:31 +00:00
Grahame Grieve 4ccefc41c2 fix problems with logical models and type definitions on the root 2021-06-25 17:39:16 +10:00
Grahame Grieve 3e050853e4 hack workaround for bad SDC build: rebuild a particular profile when it's first used 2021-06-25 17:38:16 +10:00
Grahame Grieve 1897ee8661 Fix problem where validator calls R5 extensions invalid 2021-06-25 13:05:07 +10:00
markiantorno 887365e778 Updating version to: 5.4.7-SNAPSHOT and incrementing test cases dependency. 2021-06-24 19:44:46 +00:00
markiantorno aa0b7bc056 Release: v5.4.6
Validator:
* Fix problem importing x-version extensions with multiple targets
* fix bug validating profiles on bundle.entry.resource
* Fix loading issues with German translations (Unicode encoding problem)

Version Conversion:

* Round trip old questionnaires properly with R5 (item.type)

Other code changes:

* Fix up questionnaire rendering for old versions
* Add support for using https:// references to HL7 website
* Add support for using https:// references to HL7 website
* Add support for R4B to context
* update pubpack to v0.0.9
***NO_CI***
2021-06-24 19:18:37 +00:00
Grahame Grieve c827a06698 Fix problem importing x-version extensions with multiple targets 2021-06-24 21:45:01 +10:00
Grahame Grieve 8aa77b97cd Fix up Questionnaire rendering/conversion problem for R5 2021-06-24 21:44:13 +10:00
Grahame Grieve a2c6dd6af1 Add path and message tracking to element model 2021-06-23 20:35:15 +10:00
Grahame Grieve 91de7ec65b rework package info handling in IWorkerContext 2021-06-23 20:34:24 +10:00
Grahame Grieve 1aaf086c55 Fix wrong profile error message + NPE prevention 2021-06-21 15:32:06 +10:00
markiantorno e68b5857b1 Updating version to: 5.4.6-SNAPSHOT and incrementing test cases dependency. 2021-06-17 22:28:48 +00:00
markiantorno 02e761c3dc Release: v5.4.5
* Fix validation bug on Canonical references
***NO_CI***
2021-06-17 21:59:19 +00:00
markiantorno dd49561bd7 Updating version to: 5.4.5-SNAPSHOT and incrementing test cases dependency. 2021-06-17 09:06:05 +00:00
markiantorno 952db0248a Release: v5.4.4
Validator:

* Add support for $index on aggregators in FHIRPath
* don't fail with an exception if an unknown resource type appears in contained resource
* improved validation for some value sets that are based on unknown code systems
* add the -verbose parameter, and add additional verbose messages
* CDA: Fix erroneous type validation on CDA templates

Conversion code:

* Ignoring abatementBoolean when converting from dstu2 to r4

Snapshot generator:

* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types

Other code changes:

* Fix rendering of slices so type on slicer is not hidden
* Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render)
* Fix NPE rendering code systems with some kinds of properties
* Improve rendering of questionnaires (icons, option sets)
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information
***NO_CI***
2021-06-17 08:33:35 +00:00
Grahame Grieve d67cecc83f * CDA: Fix erroneous type validation on CDA templates
* CDA: Suppress erroneous "Expansion" text appearing in view
* CDA: Don't delete binding information in snapshot for CDA bindable data types
* Rendering: add support for CodeableReference
* Rendering: Support binding mode and XML element information
2021-06-17 16:55:15 +10:00
Grahame Grieve 45801c1918 improve questionnaire rendering 2021-06-16 12:15:03 +10:00
Grahame Grieve a777ab53a8 Fix rendering for most resources - remove empty tables (e.g. text element, that shouldn't render) 2021-06-16 07:20:37 +10:00
Grahame Grieve 8088cedb66 add the -verbose parameter, and add additional verbose messages 2021-06-15 08:51:47 +10:00
Grahame Grieve e3cf0afec2 improved validation for some value sets that are based on unknown code systems 2021-06-15 08:50:27 +10:00
Grahame Grieve 7d512d6ed0 Fix NPE rendering code systems with some kinds of properties 2021-06-15 08:49:08 +10:00
Grahame Grieve 435e0261e0 don't fail with an exception if an unknown resource type appears in contained resource 2021-06-15 08:48:19 +10:00
Grahame Grieve 0c609448f4 Fix rendering of slices so type on slicer is not hidden 2021-06-15 08:38:01 +10:00
Grahame Grieve f51c7115ce Add support for $index on aggregators in FHIRPath 2021-06-15 08:25:59 +10:00
markiantorno e5d2cf0f9c Updating version to: 5.4.4-SNAPSHOT and incrementing test cases dependency. 2021-06-05 01:16:45 +00:00
markiantorno eb2d0a499a Release: v5.4.3
Validator:
* Add NL translations
* Fix validation of extensions on patterns
* Validation of cardinality on address-line elements containing pattern elements fixed
* Ensure that validator creates errors on example urls by default
* Add -allow-example-urls option to the validator
* Fixed issue where when validating with no terminology server and a value set with only an expansion (no compose), the 'inferred' code system wasn't being populated and validation was then failing on a coding with no specified code system
* when validating value sets, use CodeSystem/$validate-code not ValueSet/$validate-code

Version Conversion Fixes:
* add copying of aggregation mode for conversion from 50 to 30
* add test for Observation conversion from 10 to 40
* add procedures conversion form dstu2 to r4
* add medication conversion from dstu2 to r4
* fix obscure issue converting discriminators from R2B to R4/5

Code Changes:
* Adding Maven exec to test validation cli jar
* Add SIDUtilities and clean up SID handling code across the code base
* fix rendering bug on references
***NO_CI***
2021-06-05 00:50:10 +00:00
Grahame Grieve 6c8f5d4c47
Merge pull request #526 from lmckenzi/Vocab-validation-with-expansion-only
Fixed issue where when validating with no terminology server and a va…
2021-06-05 08:21:48 +10:00
Lloyd McKenzie 3c543b72ce Updated to handle recursion on expansion.contains 2021-06-04 13:18:27 -06:00
Grahame Grieve 4f5d056ec5 Fix rendering bug + make nl properties UTF-8 2021-06-04 23:18:26 +10:00
Grahame Grieve a371f5fe3e Add -allow-example-urls option to the validator 2021-06-02 17:45:50 +10:00
Lloyd McKenzie c11312de78 Fixed issue where when validating with no terminology server and a value set with only an expansion (no compose), the 'inferred' code system wasn't being populated and validation was then failing on a coding with no specified code system 2021-06-01 23:35:58 -06:00
Grahame Grieve 12f841999e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-05-31 08:53:45 +10:00
Grahame Grieve 2e640accce
Merge pull request #498 from pieter-edelman-nictiz/497
Issue #497: turn on single line mode for FHIRPath matches()
2021-05-31 08:51:26 +10:00
Grahame Grieve 8c9e54d58f fix error calling the wrong validation method 2021-05-31 08:03:52 +10:00
markiantorno d91a4bbb03 Updating version to: 5.4.3-SNAPSHOT and incrementing test cases dependency. 2021-05-21 18:14:31 +00:00
markiantorno 552ef55ada Release: v5.4.2
* Rolling back HAPI dependency so we can build and publish
***NO_CI***
2021-05-21 17:42:50 +00:00
markiantorno 5648f7a925 Updating version to: 5.4.2-SNAPSHOT and incrementing test cases dependency. 2021-05-19 18:42:31 +00:00
markiantorno 52169f00ba Release: v5.4.1
* update so I can push a new validator
***NO_CI***
2021-05-19 18:15:50 +00:00
markiantorno 41f2fe7626 MAGIC BUILD FIXING WIZARDY 2021-05-19 11:03:57 -04:00
jamesagnew 9b829d9714 Version bump to 5.4.0 for release 2021-05-18 16:55:09 -04:00
markiantorno f082ed15ee Updating version to: 5.3.15-SNAPSHOT and incrementing test cases dependency. 2021-05-14 15:05:25 +00:00
markiantorno d17a8da923 Release: v5.3.14
Validator:

* Added parameter -want-invariants-in-messages
* fix issue with dependencies on IGs that have uppercase in package IDs

Other Code Changes

* Fix displays for some codes in ConceptMap.relationship when rendering
* Add Publication Version to rendering context for future use.
***NO_CI***
2021-05-14 14:32:48 +00:00
Pieter Edelman 783ad9b850 Issue #497: turn on single line mode for FHIRPath matches() 2021-05-14 15:58:03 +02:00
markiantorno 857e504315 upping version for release 2021-05-14 09:37:04 -04:00
Grahame Grieve 278916ba97 Fix displays for some codes in ConceptMap.relationship when rendering + Add Publication Version to rendering context for future use. 2021-05-14 12:24:57 +10:00
Grahame Grieve cf859c9ed1 add new parameter for whether to include FHIRPath in invariant error messages 2021-05-14 12:21:28 +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 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
Grahame Grieve c56b7b67c8
Merge branch 'master' into gg-202105-version-conversion-1 2021-05-05 14:10:12 +10:00
Grahame Grieve b13b4932f9 XMLParser allows passing a schema location 2021-05-05 12:17:02 +10:00
Grahame Grieve c6f392b7e0 #466: fix problem checking types on logical models 2021-05-05 09:54:22 +10:00
Mark Iantorno f14ef6d83f
Issue 484 (#485)
* added Integer argument constructor for IntegerType class.

* Updating release notes
2021-05-04 11:21:57 -04:00
Grahame Grieve 898665f356 fixes for #483: Quantity subclasses copy() functions not all transferring values 2021-05-04 12:43:07 +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
Grahame Grieve 7d2df18fb9 Better memory tracking for validator 2021-04-21 17:40:42 +10:00
Grahame Grieve 78ab95ff1c fix bug with base definitions not working properly for logical models 2021-04-21 17:38:54 +10:00
Grahame Grieve 3f219b7550 Fix bug with value set imports not working 2021-04-21 17:38:21 +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 b71d80e201 Add support for new FHIR version 2021-04-13 05:00:09 +10: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
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 4e4885dc7d Fix null pointer exception in validator validating language codes 2021-03-29 13:35:51 +11:00
Grahame Grieve 30be8a0dc1
Merge branch 'master' into issue_438 2021-03-29 09:08:04 +10:00
Grahame Grieve eecf74576f
Merge pull request #461 from realizm/master
Fixing exception when validation issues #458
2021-03-29 08:54:47 +10:00
Grahame Grieve f43769c6e5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-03-22 08:57:21 +11: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
Grahame Grieve dc767031e5 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2021-03-18 09:32:30 +11:00
realizm 043ceb2074 Fixing exception when validation issues #458
Resolves: #458
2021-03-17 09:31:08 +09:00
Grahame Grieve 5187fdd398 fix issues related to R4B generation 2021-03-12 06:28:56 +11: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
Grahame Grieve 7c48c0d66a
Gg 20201mar r4b 3 (#454)
* fix bug generating htmlized XML with no namespaces

* Add R4B support to FHIRVersions

* Add resource name mapping for DataRequirement

* R4B fixes

* release notes
2021-03-10 09:08:09 -05:00
Grahame Grieve 67d3ab72e3 R4B fixes 2021-03-10 21:44:42 +11:00
Grahame Grieve 5e391eeace Add R4B support to FHIRVersions 2021-03-06 08:58:04 +11: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
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 a25f17a916 Define binding method extension 2021-03-03 13:24:39 +11:00
Grahame Grieve a51a8c003d fix issue with snapshot generation for logical models (CCDA) 2021-03-03 13:18:44 +11:00
Grahame Grieve 5364606cb5
Merge pull request #444 from hapifhir/issue-441
Issue #441 - problem with value set validation when value set doesn't…
2021-02-24 16:27:59 +11:00
Grahame Grieve cdbca15a7a Issue #441 - problem with value set validation when value set doesn't have a version 2021-02-24 15:03:03 +11: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
palanm a3e003740a fixing crlf to lf 2021-02-17 14:13:37 -08:00
markiantorno 5cede7a6b0 Updating version to: 5.3.2-SNAPSHOT and incrementing test cases dependency. 2021-02-17 19:58:37 +00:00
palanm cc03acb3c3 Junit test for Copy method 2021-02-17 11:32:18 -08: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
palanm c8fa589baa Added the copying of "extension" fiels 2021-02-16 17:27:53 -08: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 8fac290ebe #426 - fix serialization of NULL enumerations 2021-02-08 09:33:36 +11:00
Grahame Grieve c95b07f0f1 #426 - fix serialization of NULL enumerations 2021-02-08 09:32:06 +11:00
Grahame Grieve da563a6637
Merge pull request #411 from ahdis/oe_fhir-28413
[FHIR-28413]: noNamespace instead of default for Logical Models not having a namespace
2021-02-08 06:46:30 +11:00
Jonathan Percival 4b416ee5f4 Use FHIRPathEngine where possible 2021-01-27 10:30:45 -07:00