Commit Graph

1230 Commits

Author SHA1 Message Date
Grahame Grieve e6cda40274 * Don't render id/base/other properties of Resource itself in auto-narrative generator
* fix bug where extension values not generated for simple extensions
2020-11-05 14:13:17 +11:00
Grahame Grieve 01430d8d98 fix parameters renderer to create proper anchors 2020-11-05 14:11:54 +11:00
Grahame Grieve 49cf605b06 don't use prism for big binaries when rendering library 2020-11-05 14:11:18 +11:00
Grahame Grieve 2c22d8fa23 fix bug raising error when processing bundles 2020-11-05 14:10:23 +11:00
markiantorno 7a3da4239e Updating version to: 5.1.20-SNAPSHOT and incrementing test cases dependency. 2020-11-03 18:45:02 +00:00
markiantorno a765efa343 Release: v5.1.19
* Release changes
***NO_CI***
2020-11-03 16:45:59 +00:00
jamesagnew 6cd0af3b8c Clean up integer64 type 2020-11-01 14:00:12 -05:00
markiantorno b7661db83e Updating version to: 5.1.19-SNAPSHOT and incrementing test cases dependency. 2020-10-30 00:08:34 +00:00
markiantorno dcaa67ef1c Release: v5.1.18
Validator Changes:
* Mark it has an error if a JSON Array is empty
* Don't make wrong error reports for profiling resources in bundles
* fix bug checking unfixed values for HumanName patterns
* fix bug checking patterns (missed in some circumstances)
* fix bug checking type of resources in bundles
* improve messages around cardinality errors in profiles
* add parameter -html-output for enhanced presentation of slicing information

Other code changes:
* Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)
***NO_CI***
2020-10-29 23:41:20 +00:00
Grahame Grieve 82afa47590 add parameter -html-output for enhanced presentation of slicing information (issue #283) 2020-10-29 17:51:34 +11:00
Grahame Grieve 944be1cfba fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value) (missed testing change) 2020-10-29 13:57:25 +11:00
Grahame Grieve 4c421eefd7 * Render binding description in profile tables if it doesn't contain paragraphs
* fix bug with wrong value for contentReference in derived profiles (profiles do not and cannot change the value)
2020-10-29 13:56:56 +11:00
Grahame Grieve a658fc982b Mark it has an error if a JSON Array is empty 2020-10-29 13:53:14 +11:00
Lloyd McKenzie 9e7dacd815 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-24 20:34:41 -06:00
jamesagnew eb1c67c1cb Account for review comments 2020-10-19 14:56:54 -04:00
jamesagnew 1922f549bb Improve multithreaded performance of datetime types 2020-10-19 14:56:54 -04:00
Lloyd McKenzie 27295db891 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-14 21:35:38 -06:00
markiantorno 9bbb78e23d Updating version to: 5.1.18-SNAPSHOT and incrementing test cases dependency. 2020-10-14 20:03:52 +00:00
markiantorno 44f7dca1c7 Release: v5.1.17
Validator:
* revise error message when can't connect to the terminology server
* enforce constraints in root slicing definitions as well as in the slices
* Improve messages when no terminology server (-tx n/a)
* Validate Profile on type in profile - must be for the right type

Other Changes:
* Add Search Parameter renderer
* Add text separator system on XhtmlNode
* check supportsCopyright in a JUnit test
* turn off snapshot consistency checking by default

***NO_CI***
2020-10-14 19:30:23 +00:00
Grahame Grieve 058024f57c
Merge pull request #364 from hapifhir/gg-v5117
release notes
2020-10-14 22:11:24 +11:00
Grahame Grieve 5ce25da10b release notes 2020-10-14 16:49:44 +11:00
Grahame Grieve f5b02ff308
Merge pull request #363 from hapifhir/gg-v5117
more fixes for next release
2020-10-14 14:40:01 +11:00
Grahame Grieve 96e44048ce turn off snapshot consistency checking by default + add ability to provide package in line in tests 2020-10-14 13:18:58 +11:00
Grahame Grieve 5c12048749 check supportsCopyright in a JUnit test 2020-10-14 13:17:45 +11:00
Grahame Grieve 920c3193d0 enforce constraints in slicer as well as in slice + Handle -tx n/a better 2020-10-14 13:16:59 +11:00
Lloyd McKenzie d99592416e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-10-11 10:23:20 -06:00
Grahame Grieve d20582ca9d revise error message when can't connect to the terminology server 2020-10-08 20:59:39 +11:00
Grahame Grieve c19f892687 Add Search Parameter renderer 2020-10-08 20:57:56 +11:00
Gerlach, Winfried 0cb038ed0a performance: improve speed of comparing UriTypes 2020-10-07 19:36:03 +02:00
markiantorno 1f583d6ba7 Updating version to: 5.1.17-SNAPSHOT and incrementing test cases dependency. 2020-10-01 04:37:43 +00:00
markiantorno ea0b4c0c1c Release: v5.1.16
Validator:
* Add date addition/subtraction to FHIRPath + add parsing comments
* Fix questionnaire mode parameter support for validator
* add extra debugging when valdiator can't fetch content to validate
* fix error setting up mapping log

Other code changes:
* rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm
* report error locations for run time FHIRPath errors
* add search on IG registry to PackageClient
* add focus to FHIRPath function extensions
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
***NO_CI***
2020-10-01 04:12:17 +00:00
Grahame Grieve e89da42514 * fix error setting up mapping log
* fix rendering of definitions in CodeSystems
* fix error rendering bundles in bundles
2020-10-01 12:39:10 +10:00
Grahame Grieve 3e6863ef70 Support for additional checking in IG Publisher 2020-10-01 11:05:24 +10:00
Grahame Grieve 77d33e8afa Fix comment parsing and add focus to FHIRPath function extensions 2020-10-01 11:04:34 +10:00
Grahame Grieve 46d1987cd0 refactor FHIRPath to report error locations for run time errors 2020-09-30 12:10:59 +10:00
Grahame Grieve 3f97d628ed release notes 2020-09-30 09:30:20 +10:00
Grahame Grieve 5be73ff9c5 rename org.hl7.fhir.utilities.cache to org.hl7.fhir.utilities.npm 2020-09-30 09:24:26 +10:00
Grahame Grieve 510344aa1b Fix FHIRPath engine for updated tests for date addition/subtraction 2020-09-30 09:22:16 +10:00
markiantorno afa46ebe7c Updating version to: 5.1.16-SNAPSHOT and incrementing test cases dependency. 2020-09-26 00:15:47 +00:00
markiantorno 5bb59c3b82 Release: v5.1.15
CI/CD:

* Restructured pom files
* Added profiles for deploying to both GitHub packages, and SonatypeOSS

***NO_CI***
2020-09-25 23:49:45 +00:00
Grahame Grieve 4979a03140 fix rendering problems with languages in value sets 2020-09-25 14:59:12 +10:00
markiantorno b7183f005c Updating version to: 5.1.15-SNAPSHOT and incrementing test cases dependency. 2020-09-24 20:45:19 +00:00
markiantorno 0d0caf3e84 Release: v5.1.14
Validator:
* Add new validation for must-support on types / profiles / targets + improve Extension validation

Other code changes:
* Ensure "I" flag in profile table representation is not used just for infrastructural constraints
* Render multiple values for properties in CodeSystems if they exist
* Fix for npe rendering resources based on profiles
* fix for use of "current" as version
* hack for past bad package URLs
* Add rendering for must support on types, profiles, targets
* add <code> when rendering turtle to HTML
***NO_CI***
2020-09-24 19:38:03 +00:00
Grahame Grieve b578cfbc0d
Gg v5114 b (#356)
* Ensure "I" flag in profile table representation is not used for underlying infrastructural constraints that exist everywhere

* render multiple values for properties if they exist

* fix for npe

* fix for use of "current" as version

* fix bad package URLs as they are loaded

* RELEASE_NOTES.md

* Add rendering for must support on types, profiles, targets

* Add new validation for must-support on types / profiles / targets + improve extension validation

* add <code> when rendering turtle to HTML

* RELEASE_NOTES.md

* fix notes
2020-09-24 14:06:36 -04:00
Grahame Grieve c2fb9e8fd3 Add rendering for must support on types, profiles, targets 2020-09-25 03:25:09 +10:00
Grahame Grieve b8370f7e61
various minor fixes (#353)
* Ensure "I" flag in profile table representation is not used for underlying infrastructural constraints that exist everywhere

* render multiple values for properties if they exist

* fix for npe

* fix for use of "current" as version

* fix bad package URLs as they are loaded

* RELEASE_NOTES.md
2020-09-22 16:17:45 -04:00
Grahame Grieve 5ada654ca2 fix for npe 2020-09-22 22:01:02 +10:00
Grahame Grieve 278697f72b render multiple values for properties if they exist 2020-09-22 22:00:37 +10:00
Grahame Grieve 58b6969544 Ensure "I" flag in profile table representation is not used for underlying infrastructural constraints that exist everywhere 2020-09-22 22:00:15 +10:00
markiantorno 5e3b51e286 Updating version to: 5.1.14-SNAPSHOT and incrementing test cases dependency. 2020-09-21 19:41:08 +00:00
markiantorno 268bb8cde7 Release: v5.1.13
Validator:
* No Changes

Other Changes:
* Various minor improvements to rendering code

***NO_CI***
2020-09-21 19:24:29 +00:00
Grahame Grieve a15be7d314 allow links when ok 2020-09-22 02:14:55 +10:00
Grahame Grieve d07966e422 remove spaces from generated tel: links 2020-09-22 02:14:23 +10:00
Grahame Grieve 17ed666fef fix bug with nested <a> links 2020-09-21 19:54:45 +10:00
Grahame Grieve 71e4b5d6e5 Fix bug producing nested <a> links and producing invalid langauge rendering 2020-09-21 19:53:55 +10:00
Grahame Grieve 4a4105413f Improve Library rendering 2020-09-21 07:08:05 +10:00
markiantorno 4d2c81ede9 Updating version to: 5.1.13-SNAPSHOT and incrementing test cases dependency. 2020-09-17 15:26:59 +00:00
markiantorno afa239ae8b Release: v5.1.12
Validator:
* Fix handling resources in bundles when type is profiled
* Prevent NPE resolving resource in batch
* fix value set validation for primitive types when an expansion is provided, and the code system is not known

Other Changes:
* Package Subsystem - Support wildcars for patch version
* Renderer: Don't make a column for definitions in a code system if there are none
* Renderer: special case support for fr-CA language
* Renderer: Prevent NPE when auto-generating narrative and an illegal resource type is encountered
* FHIRPath Engine: correction for allowing  boolean conversion of primitive types
***NO_CI***
2020-09-17 15:08:40 +00:00
Grahame Grieve 75921b723b
Various fixes (#348)
* depend on 1.1.42-snapshot

* Don't make a column for definitions in a code system if there are none

* special case support for fr-CA language

* Prevent NPE when auto-generating narrative and an illegal resource type is encountered

* Prevent NPE resolving resource in batch

* fix value set validation for primitive types when an expansion is provided, and the code system is not known

* FHIRPath engine: correction for allowing  boolean conversion of primitive types

* Fix handling resources in bundles when type is profiled

* Add test cases for wildcard versions

* release notes
2020-09-17 09:52:05 -04:00
Grahame Grieve 0dcf64cb70 Add test cases for wildcard versions 2020-09-17 17:04:42 +10:00
Grahame Grieve e33ffca749 FHIRPath engine: correction for allowing boolean conversion of primitive types 2020-09-17 15:44:45 +10:00
Grahame Grieve 9d22337929 fix value set validation for primitive types when an expansion is provided, and the code system is not known 2020-09-17 15:42:45 +10:00
Grahame Grieve 2e7e277c97 Prevent NPE resolving resource in batch 2020-09-17 15:42:03 +10:00
Grahame Grieve 3464643921 Prevent NPE when auto-generating narrative and an illegal resource type is encountered 2020-09-17 15:41:32 +10:00
Grahame Grieve 8ce405cc4d special case support for fr-CA language 2020-09-17 15:40:46 +10:00
Grahame Grieve 54d320bb7b Don't make a column for definitions in a code system if there are none 2020-09-17 15:40:06 +10:00
markiantorno a0573907bd Updating version to: 5.1.12-SNAPSHOT and incrementing test cases dependency. 2020-09-16 04:59:05 +00:00
markiantorno 9b07831809 Release: v5.1.11
Validator:
* No changes

Other code changes:
* Support lenient mode on FIHRPath when referring to polymorphics
***NO_CI***
2020-09-16 04:42:16 +00:00
Grahame Grieve 66f0b35a38 FHIRPath - support lenient mode on polymorphics 2020-09-16 13:08:02 +10:00
Lloyd McKenzie 4509be02d7 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-15 13:40:23 -06:00
markiantorno 8a11bd2e9b Updating version to: 5.1.11-SNAPSHOT and incrementing test cases dependency. 2020-09-15 05:18:08 +00:00
markiantorno efcb237d19 Release: v5.1.10
Validator:
* Fix issue with wrongly finding duplicate ids in bundles (across different resources)
* Start work on validating CDA documents
* Allow discrimination by address and name patterns

Other code Changes:
* Improve language rendering in value sets
* Fix bug generating copyright in IG publishing
* Work on CDA validation infrastructure

***NO_CI***
2020-09-15 05:01:56 +00:00
Grahame Grieve da113e25b6 remove commented out code 2020-09-15 10:57:21 +10:00
Grahame Grieve 48dca881f3 fix bug in path names for CDA 2020-09-15 10:25:23 +10:00
Grahame Grieve db8f28ea51 fix issue rendering translations in value sets 2020-09-14 18:09:40 +10:00
Grahame Grieve 6f149e691c Fix issue with finding duplicate ids in profiled bundles 2020-09-14 18:09:20 +10:00
Grahame Grieve 8855fe1bc6 Fix bug generating copyright 2020-09-14 18:08:44 +10:00
Mark Iantorno 78b61c4555
Tests should all run now (#343) 2020-09-09 12:33:38 -04:00
markiantorno 1d2e9a2be8 Updating version to: 5.1.10-SNAPSHOT and incrementing test cases dependency. 2020-09-09 06:00:52 +00:00
markiantorno 924a01fe7d Release: v5.1.9
Validator:
* fix bug loading implied packages with no version

Other Changes:
* fix bug generating error messages rendering bundles
* fix problems generating snapshots in some profiles
* fix for FHIRPath changes after discussion on Zulip
***NO_CI***
2020-09-09 05:45:19 +00:00
Grahame Grieve 14348bb6f1 Fix bug becuase Operation doesn't have copyright. 2020-09-09 13:33:55 +10:00
Grahame Grieve f696804509 Fix tests 2020-09-09 12:46:04 +10:00
Grahame Grieve a993dcd510 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-09 11:51:21 +10:00
Grahame Grieve 4616da8a82 fix error generating error message in rendering 2020-09-09 11:48:51 +10:00
Grahame Grieve b9bef4c3c8 fix problems generating snapshots in publisher when some profiles are not valid 2020-09-09 11:48:11 +10:00
Grahame Grieve 295b1659af Fix for FHIR path tests after discussion on Zulip 2020-09-09 11:47:23 +10:00
Lloyd McKenzie f2699a1d50 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-09-08 08:00:41 -06:00
markiantorno a92876ab4a Updating version to: 5.1.9-SNAPSHOT and incrementing test cases dependency. 2020-09-08 05:28:46 +00:00
markiantorno a92daa2017 Release: v5.1.8
Validator Fixes:
* Check that there are no nested block HTML elements in an HTML paragraph
* create a warning for UCUM annotations

Other Changes:
* Fix some issues when converting Allergy Intolerance 3 <-> 4
* Fix issues generating invsalid HTML
* Fix up FHIRPath to pass latest test cases
* Bundle rendering improvements
* Give code interface for control over validation rules
* add support for rendering choice groups (CDA)
***NO_CI***
2020-09-08 05:13:12 +00:00
Grahame Grieve 4dd89160dd Add validation for html block elements inside paragraphs 2020-09-08 12:45:13 +10:00
Grahame Grieve 4c245ea3e3 Fix issues with generating invalid html 2020-09-08 12:43:56 +10:00
Grahame Grieve 227bccbb35 fix for empty markdown + rendering improvements for Bundles 2020-09-07 13:08:21 +10:00
Grahame Grieve f2f53c7872 FHIR Path fixes for reconciled tests 2020-09-07 13:07:21 +10:00
Grahame Grieve 2adb9a7b68 Add support for choice groups, and markdownify some elements 2020-09-04 16:23:27 +10:00
Grahame Grieve a964d4fcd5 Fix up rendering of Extensions 2020-09-04 16:22:09 +10:00
Grahame Grieve fc7f71c1f6 rework rendering tests & fix bug in Parameters renderer 2020-09-02 16:34:34 +10:00
Grahame Grieve e1f53eec47 Mark packages as unsuitable for publication 2020-09-02 16:34:06 +10:00
Lloyd McKenzie 0191bfbbfb Fix typo in ParametersRenderer and flag additional issue 2020-09-01 21:52:45 -06:00
markiantorno aae995b72c Updating version to: 5.1.8-SNAPSHOT and incrementing test cases dependency. 2020-09-01 01:33:46 +00:00
markiantorno d3e92cf79a Release: v5.1.7
Validator:
* Better validation of bad references (and fix NPE)
* Rework output to be more informative and cleaner
* Fix bugs in validation of nested bundles
* Fix bug loading package with no specified version
* fix bugs loading discovered packages on the fly
* Validator now supports logical models in XML wkith no namespaces

Other code changes:
* Add version conversion for AllergyIntolerance (1.2 <-> 3.0 & 1.2 <-> 4.0)
* Add version conversion for MedicationRequest
* Fix rendering of documents
* fix for not rendering null values in patterns for must-support view

***NO_CI***
2020-09-01 01:16:21 +00:00
Grahame Grieve 90074b6849
Merge pull request #321 from ahdis/oe_logicalmodel_nonamespace
handling xml without namespace in logical models
2020-09-01 08:11:29 +10:00
Grahame Grieve aa9524ed93
various validation fixes (#327)
* Fix must support rendering of pattern values

* Add time tracking for progress reporting

* Add parent tracking for Validation support of nested bundles

* fix rendering of Documents

* rework validation output + fix up package loading in validator
2020-08-31 14:53:34 -04:00
markiantorno bb953fc7fc Updating version to: 5.1.7-SNAPSHOT and incrementing test cases dependency. 2020-08-27 08:09:56 +00:00
markiantorno 7349ad1f0e Release: v5.1.6
Validator:
* improve error messages for wrong code system URLs

Other code changes:
* fix rendering for must-support to not render empty values in patterns
* control over validation of aggregation modes
* fix NPE in code system comparison
* Fix verious issues
* Upgrade UCUM dependency
* fix support for multi-line comments in structure maps
* add conversion for R2 MedicationOrder -> R3 MedicationRequest
* Upgrade dependency on CQFramework
* improvements to OID to URL conversion
* Fix issue with round-tripping resources with primitives with no value
***NO_CI***
2020-08-27 07:53:37 +00:00
Grahame Grieve 2e5dd95ede fix rendering for must-support to not render empty values in patterns 2020-08-27 16:22:51 +10:00
Grahame Grieve 9578933704 control over aggregation validation 2020-08-27 16:22:21 +10:00
Grahame Grieve de5310c13a remove spurious log outputs 2020-08-27 12:36:50 +10:00
Grahame Grieve e669103aa7 upgrade to pass new reconciled tests 2020-08-27 12:36:10 +10:00
Grahame Grieve 765f24a233 fix bug in code system comparison 2020-08-27 12:33:13 +10:00
markiantorno dcf3f5f218 Upping UCUM dependency, fixing old junit dependencies 2020-08-26 17:26:39 -04:00
Oliver Egger 23cce5b0a7 handle xml default namespace for logical model 2020-08-26 16:53:50 +02:00
Grahame Grieve f52297ae26
Merge pull request #318 from ahdis/oe_structuremaps
structure maps: line comments and fhir path expression
2020-08-26 12:51:10 +10:00
Grahame Grieve 1625c171ae Fix bug where discriminating on erroneous URL 2020-08-26 10:35:04 +10:00
Oliver Egger 8f302e0063 mend 2020-08-25 23:34:33 +02:00
Oliver Egger f0667ed3e2 extended line comment support and not quoting fhirpath expressions 2020-08-25 22:02:01 +02:00
Oliver Egger 381525fc17 extend tests for structuremaps text serializing 2020-08-25 22:00:00 +02:00
Grahame Grieve 0287248a48 work on oid to URI conversion - scope and efficiency 2020-08-24 17:14:49 +10:00
Grahame Grieve 904e600016 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-21 15:29:20 +10:00
Grahame Grieve eb228bd1e3 Add round trip tests and add fix for round-tripping issue 2020-08-21 15:27:38 +10:00
markiantorno 9f23ff6ea9 Updating version to: 5.1.6-SNAPSHOT and incrementing test cases dependency. 2020-08-20 12:41:28 +00:00
markiantorno 6c156f7001 Release: v5.1.5
Validator:
* No changes

Other code changes:
* Update R5 code to new release R4.5.0
***NO_CI***
2020-08-20 12:22:59 +00:00
Grahame Grieve 8ee4eff74c fix default value for validator setting + hack work around for R5 broken process 2020-08-20 21:00:11 +10:00
Grahame Grieve 5fc297b3b5 Upgrade R5 to latest version 2020-08-20 20:37:10 +10:00
markiantorno be5ba84652 Updating version to: 5.1.5-SNAPSHOT and incrementing test cases dependency. 2020-08-18 22:50:45 +00:00
markiantorno 8ce263a127 Release: v5.1.4
Validator:
* No changes

Other code changes:
* Remove old comparison code
* Don't lazy load simplifier packages
* Add links in version comparisons
* fix NPE in SimpleWorkerContext

***NO_CI***
2020-08-18 22:35:42 +00:00
Grahame Grieve ced57a5dfe
minor fixes to support main build (#311)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison

* clear notes

* more work on better presentation for comparison

* Remove old comparison code

* remove old comparison code

* fix loading bug

* fix to not load Simplifier packages via lazy loading
2020-08-18 09:27:02 -04:00
markiantorno 57e3ae0f15 Updating version to: 5.1.4-SNAPSHOT and incrementing test cases dependency. 2020-08-17 14:28:29 +00:00
markiantorno a27fa4ce18 Release: v5.1.3
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-17 14:07:49 +00:00
Grahame Grieve eb23fcc5e4
more config for validator (#309)
* fix up POMs

* fixes for main build to use packages

* more config for validator

* more options for validation version comparison
2020-08-17 09:53:54 -04:00
markiantorno f6b4df237f fixing versioning 2020-08-17 09:04:08 -04:00
markiantorno 127bbc9e38 Release: v5.1.2
***NO_CI***
2020-08-16 02:26:50 +00:00
markiantorno c09becfba2 Updating version to: 5.1.3-SNAPSHOT and incrementing test cases dependency. 2020-08-15 23:06:25 +00:00
markiantorno cb1abcad25 Release: v5.1.2
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-15 22:49:38 +00:00
markiantorno be26988adf fixing versions and test dependencies 2020-08-15 18:37:03 -04:00
markiantorno 7f5c5e36dd Release: v5.1.1
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-15 21:41:16 +00:00
Grahame Grieve cbf70365f1 fix value set validation to deal with multi-heirarchy 2020-08-16 06:48:06 +10:00
Grahame Grieve 7771c7f231 Significant improvement to performance rendering value sets, and only use server side caching if the server declares it supports it 2020-08-14 08:09:02 +10:00
markiantorno eed1d730c4 Updating version to: 5.1.2-SNAPSHOT and incrementing test cases dependency. 2020-08-13 15:23:03 +00:00
markiantorno beeaf26b6d Release: v5.1.1
Validator:
* add support for -bundle parameter to allow validating just one resource (/type) in a bundle
* improved reporting of errors and warnings for unknown code systems on required bindings
* pass dependencies to the server for imported value sets etc
* use server side caching for more efficient use of bandwidth
* Fix NPE loading packages from simplifier or old packages (and don't lazy load packages passed to command line)

Other code changes:
* further work on comparing CapabilityStatements (nearly, but not quite, finished)
* More work on timeouts in terminology client
* Fix for parsing error in R3/R4 sparse arrays for primitives types
* Improve terminology client logging
* don't reload a package if already loaded
* rendering: fix NPEs rendering patient summary, and render expressions for quantities
***NO_CI***
2020-08-13 15:03:45 +00:00
Grahame Grieve 2c0fe519cb
more work on code validation (#306)
* Handle unknown code systems better when checking codes from unknown systems

* more work on code validation

* more work on comparison

* hack workaround for UTG NUCC problem.

* adjust exception type

* more work on timeouts

* improve error message

* fix NPE?

* release notes

* Improve error message
2020-08-13 09:47:05 -04:00
Grahame Grieve 008dc84546 Use server side caching to reduce the bandwidth utilitization 2020-08-13 08:14:54 +10:00
Grahame Grieve bb320892e6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-13 06:52:18 +10:00
jamesagnew 09d0ae4caa Bump version to 5.1.1-SNAPSHOT for next development cycle 2020-08-12 05:33:18 -04:00
Grahame Grieve 92d031b968 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-08-12 14:52:31 +10:00
Grahame Grieve 10927445e2 Pass dependencies when evaluating a value set ($validate-code or $expand) 2020-08-12 14:49:51 +10:00
Grahame Grieve cef25b4bf0 don't reload an already loaded package 2020-08-12 14:45:49 +10:00
Grahame Grieve 9e422a1a2e improve terminology logging 2020-08-12 14:44:41 +10:00
jamesagnew 98ba0506c2 Version bump to 5.1.0 2020-08-11 17:41:20 -04:00
Grahame Grieve 6ecf1c8f99 Fix issues with reloading package once already loaded in validator + add test case 2020-08-12 05:11:35 +10:00
Grahame Grieve 20a7682c96 Add support for bundle profile parameter 2020-08-11 06:40:11 +10:00
Grahame Grieve 1555849e9a updates to PR 2020-08-11 05:44:13 +10:00
Grahame Grieve 039027c588 Comparison for CapabilityStatements 2020-08-10 15:57:14 +10:00
Grahame Grieve 96d769a6e2 prevent NPEs generating patient summary 2020-08-10 15:53:48 +10:00
Grahame Grieve bc11ac5c5b Start working on rendering expressions 2020-08-10 15:53:08 +10:00
Grahame Grieve 74c11cfec1 Fix problem loading old style packages not suitable for lazy loading. 2020-08-10 15:51:59 +10:00
markiantorno 1af6268fa8 Updating version to: 5.0.23-SNAPSHOT and incrementing test cases dependency. 2020-08-07 03:51:36 +00:00
markiantorno 5c4c5ce1c8 Release: v5.0.22
Validator:
* no changes

Other code:
* Continue to work on connection timeout issues
* Fix bug in DiagnosticReportRenderer (wrong element accessed)
* change type of resource parameter to ResourceRender.build
***NO_CI***
2020-08-07 03:33:21 +00:00
Grahame Grieve ad07997c5d fix bug handling fragment code systems with value sets with pre-build expansions 2020-08-07 11:30:31 +10:00
Grahame Grieve a12b1bdc93 change type of resource parameter to ResourceRender.build 2020-08-07 11:28:18 +10:00
Grahame Grieve 800e381629 Fix bug in DiagnosticReportRenderer (wrong element accessed) 2020-08-07 11:27:57 +10:00
Grahame Grieve 4add0f3ac8 Continue to work on connection timeout issues 2020-08-07 11:26:44 +10:00
markiantorno ac2ae655d5 Final pipeline versioning fix 2020-08-06 15:12:20 -04:00
markiantorno 37134e5252 Updating version to: 1.1.30-SNAPSHOT and incrementing test cases dependency. 2020-08-06 19:06:12 +00:00
markiantorno 340250cf74 Release: v5.0.21
* Release pipelines fix for incrementing external dependencies
***NO_CI***
2020-08-06 18:49:05 +00:00
markiantorno 91c1ed7e31 Fixing build pipelines issue 2020-08-06 13:56:27 -04:00
markiantorno 49695b2801 Updating version to: null.object.1-SNAPSHOT and incrementing test cases dependency. 2020-08-06 16:23:24 +00:00
markiantorno 97c974ca38 Release: v5.0.20
Validator:
* Fix for problem with expansion code checking and incomplete value sets

General Code changes:
* Work on connection problems to terminology server
* Fix for problem loading Measures from packages
* Work on i18n for Rendering
* fix case bug renderung bundles and parameters
* start working on i18n for Rendering
***NO_CI***
2020-08-06 15:40:30 +00:00
Grahame Grieve f73147523a
Gg v5.0.20 work (#294)
* ongoing work around connection problems with tx.fhir.org

* fix for bug processing CCDA constraints (logical model constraints)

* fix for bug loading Measures from packages

* fix NPEs loading invalid packages

* Start Working on i18n for Rendering + Fix case bug rendering bundles and parameters

* Fix for problem with expansion code checking and incomplete value sets

* release notes
2020-08-06 10:51:05 -04:00
markiantorno f54e56e74c Updating version to: 5.0.20-SNAPSHOT 2020-08-05 23:31:54 +00:00
markiantorno f6071cb0df Release: v5.0.19
Validator:
* Improved handling of terminology timeout issues

Other code changes:
* fix questionnaire rendering to create valid resources
***NO_CI***
2020-08-05 22:50:40 +00:00
Grahame Grieve c70c43271a fix questionnaire rendering to create valid resources 2020-08-06 07:38:20 +10:00
Grahame Grieve b4a65d1825 fix heirarchy for XhtmlType 2020-08-06 07:37:20 +10:00
Grahame Grieve dd48811c86 debugging improvements 2020-08-06 07:36:38 +10:00
Grahame Grieve 3f6207bf4f improve handling of timeout issues in client 2020-08-06 07:35:49 +10:00
markiantorno ea322996f3 Updating version to: 5.0.19-SNAPSHOT 2020-08-03 21:14:01 +00:00
markiantorno 18cf563e78 Release: v5.0.18
Validator Fixes:
* better validation of external references. Note: this is a potentially significant change: things that were called ok before may not be now, and things that were not ok before may become so, depending on the interplay between this and auto-load, further work may be needed here
* Support better validation of version specific profiles in meta.profile. This may also find new errors that were not previously being found
* Support auto-determination of the version of FHIR to use when using the java validator
* auto-load packages from the package server when references to profiles etc are encountered
* look for references inside other parameters in Parameters resource
* no validation for CanonicalResource.url (further work needed)

Other Code changes:
* Rendering: add rendering for Parameters resources
* Rendering: refactor of resource resolution code to support Parameters
* General clean up of rendering consistency & implement additional details when rendering (including patient summary)
* Rendering: major overhaul of DiagnosticReport rendering
* Fix NPE bug in value set comparison

***NO_CI***
2020-08-03 20:51:09 +00:00
Grahame Grieve 5299bbe16b * better validation of external references. Note: this is a potentially significant change: things that were called ok before may not be now, and things that were not ok before may become so, depending on the interplay between this and auto-load, further work may be needed here
* Support better validation of version specific profiles in meta.profile. This may also find new errors that were not previously being found
* Support auto-determination of the version of FHIR to use when using the java validator
* auto-load packages from the package server when references to profiles etc are encountered
* look for references inside other parameters in Parameters resource
2020-08-03 17:40:21 +10:00
Grahame Grieve 7616b55213 * Rendering: add rendering for Parameters resources
* Rendering: refactor of resource resolution code to support Parameters
* General clean up of rendering consistency & implement additional details when rendering (including patient summary)
* Rendering: major overhaul of DiagnosticReport rendering
2020-08-03 17:36:32 +10:00
Grahame Grieve 137d04f68d fix NPE error comparing value sets 2020-08-03 17:30:37 +10:00
Grahame Grieve 477bf66108 Fix broken links in Bundle rendering 2020-08-01 08:55:46 +10:00
Grahame Grieve ebead8fd7c fix bugs in comparisons 2020-07-31 12:51:43 +10:00
Grahame Grieve 59b0f032cb fix for NPE in FHIRPath parser 2020-07-31 12:48:54 +10:00
markiantorno 82125235a0 Updating version to: 5.0.18-SNAPSHOT 2020-07-30 04:47:14 +00:00
markiantorno a375f58c82 Release: v5.0.17
* Batch validation of codes in value sets
* Fix path problem doing comparisons
* Don't produce 2 columns for status for deprecated codes
* Fix errors in StructureDefinition validation
***NO_CI***
2020-07-30 04:18:42 +00:00
Grahame Grieve 5aec9978bd fix up tests to pass 2020-07-30 12:35:16 +10:00
Grahame Grieve 569718d829 Code formatting + fix code system rendering 2020-07-30 12:03:03 +10:00
Grahame Grieve 883f4ee4cb batch value set validation 2020-07-30 12:02:04 +10:00
Grahame Grieve 2c1460a663 ditto 2020-07-30 12:01:35 +10:00
Grahame Grieve a80d11334a Fix bug producing invalid xhtml 2020-07-30 12:01:09 +10:00
Grahame Grieve 4b5470f825 Don't produce 2 columns for status for deprecated codes 2020-07-30 12:00:30 +10:00
Grahame Grieve bde55f1872 Improve error message 2020-07-30 11:59:37 +10:00
Grahame Grieve 1ef4e59113 fix path problem in comparison 2020-07-30 11:58:55 +10:00
Grahame Grieve ea52c4206f Batch validation of codes in value sets 2020-07-30 11:57:11 +10:00
markiantorno a154f454b4 Updating version to: 5.0.17-SNAPSHOT 2020-07-28 05:15:29 +00:00
markiantorno 5dcef3e530 Release: v5.0.16
* fix evaluation of codes in code systems that are labelled content = fragment
* fix url for cqfmeasures project
* change from error to warning for code system fragments

***NO_CI***
2020-07-28 04:51:08 +00:00
Grahame Grieve 62b70947b8 warning not error on code system fragment 2020-07-28 12:43:55 +10:00
Grahame Grieve b256965738 * fix evaluation of codes in code systems that are labelled content = fragment 2020-07-28 06:06:01 +10:00
markiantorno 2fc1d481e4 Updating version to: 5.0.16-SNAPSHOT 2020-07-27 15:40:41 +00:00
markiantorno c55982c47b Release: v5.0.15
* Version comparison support
* Fix for problem validating search parameter derivation
* Added lazy resource loading - improve loading times and memory requirements in advance of the challenge of loading UTG for most use cases
* Fixed bug where canonical resource has no URL
***NO_CI***
2020-07-27 15:14:44 +00:00
Grahame Grieve bf0f81f51b
version comparison support (#284)
* add package url fixer

* fix problems doing CCDA snapshots

* Fix for http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation

* improve error message

* fix package id in generated version specific tests

* remove spurious debug statement

* rework package loaders for automatic loading of package dependencies

* fix spelling mistake

* add automatic loading of package dependencies by the context

* significant work on tests to support version comparison

* fix minor loading issue

* compile fix

* utils support

* fixes for version comparison

* rework error handling when expanding valuesets + add error check on value set imports

* fix loading bug

* improve error message
2020-07-27 09:04:31 -04:00
Grahame Grieve b9755c8f1f fix tests 2020-07-22 10:19:32 +10:00
Grahame Grieve f6c7d294c4 fix problem validating search parameter derivation 2020-07-22 08:10:12 +10:00
Grahame Grieve a985831d76 efficiency cleanup 2020-07-22 07:02:15 +10:00
Grahame Grieve 701ac1b560 fix bug when canonical resource has no URL 2020-07-22 06:59:53 +10:00
Grahame Grieve 6421226011 more improvements around lazy loading 2020-07-21 17:14:08 +10:00
Grahame Grieve acbba54d25 fix issues in testing 2020-07-21 06:16:45 +10:00
markiantorno 27e8aa0bec wip 2020-07-20 13:30:21 -04:00
Grahame Grieve c53db20879 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2020-07-20 22:58:16 +10:00
Grahame Grieve 52267118c6 implement lazy loading - improve loading times and memory requirements in advance of the challenge of loading UTG for most use cases 2020-07-20 22:57:15 +10:00
markiantorno b877474fc8 Updating version to: 5.0.15-SNAPSHOT 2020-07-17 22:21:01 +00:00
markiantorno 675c2751aa Release: v5.0.14
* Fix for temp directory creation test on Windows machines
* Deployment fix
***NO_CI***
2020-07-17 21:55:26 +00:00
markiantorno e14de3b339 Updating version to: 5.0.14-SNAPSHOT 2020-07-17 05:55:20 +00:00
markiantorno fb886a7217 Release: v5.0.13
Validator:
* Add support for conformsTo in invariants on elements
* Fix bug in assumeValidRestReferences doing bundle validation
* Add -show-times parameter
* Handle weird ege case for fixedReference

Code:
* add support for row opacity in rendered tables
* fix cross version convertor for DataRequirements
* fix rendering of multiple type profiles
* add code for converting resource names between versions
* add FHIRPath engine to i18n framework
* fix bundle rendering
* change HTML parser to parse doctype declaration, and move html validation to the validator
* snapshot generator - fix bug where slices get cardinaliyt min=1 by default
***NO_CI***
2020-07-17 05:45:51 +00:00
Grahame Grieve 9bbe5ab5c8 improve rendering of contained resources 2020-07-17 13:42:44 +10:00
Grahame Grieve ad46dfd611 Add more debugging to shapshot tests 2020-07-17 09:29:08 +10:00
Grahame Grieve 72b0aa6442 fix up implementation of htmlChecks/htmlChecks2 2020-07-17 09:28:20 +10:00
Grahame Grieve bb8fde3682 fix bug assigning min=0 to slices by default 2020-07-17 09:27:51 +10:00
Grahame Grieve 4dc78b5b3c add support for table row opacity 2020-07-16 09:19:40 +10:00
Grahame Grieve fe29c3022f implement HTMLChecks in FHIRPath 2020-07-15 16:44:44 +10:00
Grahame Grieve 1736784bae Add check for constraining must=support wrongly 2020-07-15 16:43:57 +10:00
Grahame Grieve 5ae6aa23fd fix problem with snapshot test infrastructure 2020-07-15 16:43:16 +10:00
Grahame Grieve fa7de3a308 more FHIRPath engine into i18n framework 2020-07-14 08:16:56 +10:00
Grahame Grieve b65567010c fix rendering of target types in profiles 2020-07-14 07:47:15 +10:00
Grahame Grieve 7d7c1315d4 fix bundle labels when rendering 2020-07-10 06:50:55 +10:00
markiantorno facb2ca0a8 Updating version to: 5.0.13-SNAPSHOT 2020-07-07 02:37:39 +00:00
markiantorno b770fb8a2c Release: v5.0.12
* Fix bug in snapshot generation - not handling case where content is sliced, base slicing detail is provided, and max slices = 1
* More work on validating existing snapshots

***NO_CI***
2020-07-07 02:27:57 +00:00
Grahame Grieve ce47093c12
Gg work (#267)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes

* fix npe rendering diagnostic reports without subjects

* don't add note on untranslatable messages

* check existing snapshots (preliminary)

* add signpost message tracking

* start working on profile generating bug

* Fix bug in snapshot - not handling case where content is sliced, base slicing detail is provided, and max slices = 1

* fix release notes
2020-07-06 20:21:40 -04:00
markiantorno ab8bbb5491 Updating version to: 5.0.12-SNAPSHOT 2020-07-04 00:25:03 +00:00
markiantorno 9d5cb114a2 Release: v5.0.11
* Added text/cql.identifier media type to Measure validation
* Fix bug in QuestionnaireResponse rendering
* Validate based on ImplementationGuide.global
* add validation parameter -crumb-trails
* improve validation of StructureDefinitions

***NO_CI***
2020-07-04 00:15:32 +00:00
Grahame Grieve 92c02d2294
Add support for validating against ImplementationGuide.global (#266)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes

* fix bug with CDA snapshot generation

* fix bug in type checking code

* Add support for validating against ImplementationGuide.global

* Fix bug in QuestionnaireResponse rendering

* update tests dependency

* ping build

* Add additional StructureDefinition validation

* update release notes
2020-07-03 18:25:15 -04:00
markiantorno 97f6758969 Updating version to: 5.0.11-SNAPSHOT 2020-07-01 00:52:38 +00:00
markiantorno 9602898b73 Release: v5.0.10
* Added text/cql.identifier media type to Measure validation
***NO_CI***
2020-07-01 00:43:41 +00:00
Grahame Grieve 9024a309ac
fix various bugs (#265)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests

* fix bug finding children in getChildList when element is a reference to another element

* fixes to QuestionnaireRenderer + add QuestionnaireResponseRenderer

* Add more informative error when no type parser provided

* fix bug where current/dev builds do not properly update the cache

* improve test error message

* set up release notes
2020-06-30 20:25:38 -04:00
markiantorno 7f7e83f6f8 Updating version to: 5.0.10-SNAPSHOT 2020-06-27 00:25:51 +00:00
markiantorno 4ca25bdb52 Release: v5.0.9
* Two significant bug fixes for the validator (thanks Mark Burnett from Babylon Health for finding them):
  * The validator was not enforcing type restrictions when some profiles restricted elements with choices to a single type
  * The validator was only creating warnings not errors for required bindings on some Quantities
  * + Fix handling of infrastructural terminology failings on Codings - treat them as warnings not errors
* Add extra validation for value sets (check concept codes are valid)
* Add extra code to check derivation consisteny for SearchParameter resources
* More Improvements to Questionnaire Rendering

***NO_CI***
2020-06-27 00:17:13 +00:00
Grahame Grieve b08c12f2c4
update test case dependency to 1.1.22 (#263)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator

* Fix validation issues

* update to 1.1.22 tests
2020-06-26 20:07:30 -04:00
Grahame Grieve 03a4224424
fix for new test case about profiles restricting types (#261)
* fix for new test case about profiles restricting types

* update release notes

* fix NPEs doing ProfileComparison

* fix non-translated messages in InstanceValidator
2020-06-26 14:46:54 -04:00
Grahame Grieve 93f8b1c338
Merge pull request #255 from ahdis/oe_structuremap_np
StructureMap rendering  has np when RelationShip is not set
2020-06-26 10:24:09 +10:00
Grahame Grieve e1e994704d More stability on tests + fix questionnaire renderer problem + add SearchParameter derivation validation 2020-06-25 11:24:03 +10:00
Grahame Grieve a85adcf88d enhancements to questionnaire renderer 2020-06-24 17:27:08 +10:00
Grahame Grieve 37bd445ed4 fix bug in rendering of relative references 2020-06-24 15:07:02 +10:00
Grahame Grieve 7ac714c2b6 Add resource sorters 2020-06-24 13:45:28 +10:00
Oliver Egger 4f21c40f83 set equivalence relationship in parsing 2020-06-22 12:34:00 +02:00
markiantorno 344d778a87 Updating version to: 5.0.9-SNAPSHOT
***NO_CI***
2020-06-19 22:15:34 +00:00
markiantorno 87f1c42b89 Release: v5.0.8
***NO_CI***
2020-06-19 22:06:03 +00:00
Grahame Grieve 0e8b5f6552
various fixes for reported bugs (#252)
* fix bug in Definition mode - support ofType()

* fix bug reading old packages

* fix for invalid OperationOutome if nothing is wrong

* more fix for when no errors found
2020-06-19 16:02:56 -04:00
Grahame Grieve 6a6f6e6167 Add support for removing code systems from the cache 2020-06-18 08:46:01 +10:00
Grahame Grieve 93b0d74eb5 Add GraphDefinition engine 2020-06-17 12:23:00 +10:00
Grahame Grieve faf31afda1 fix rendering issues found in main build 2020-06-17 12:22:40 +10:00
Grahame Grieve 1a4edb33a4 Fix problem with NPE rendering quantity 2020-06-14 07:08:31 +10:00