Commit Graph

3468 Commits

Author SHA1 Message Date
Grahame Grieve dc6d4fc912 rendering fixes for implementers 2024-08-09 07:52:15 +08:00
Vassil Peytchev 448edf45b0 Merge branch 'master' into cs-changes 2024-08-08 11:52:32 -05:00
Vassil Peytchev f432416ac8 minor cleanup 2024-08-08 11:50:49 -05:00
Vassil Peytchev a5d2e7787d
Merge branch 'hapifhir:master' into master 2024-08-08 10:56:11 -05:00
Grahame Grieve 255a225e51
Merge pull request #1710 from hapifhir/2024-08-gg-no-binding-vs
2024 08 gg no binding vs
2024-08-08 09:16:06 +08:00
Grahame Grieve 4743a0468a improve rendering of bindings with no value sets 2024-08-08 07:41:06 +08:00
Vassil Peytchev 739e0fdbbf Getting Cory's changes 2024-08-06 15:52:34 -05:00
dotasek eba6868afe Merge remote-tracking branch 'origin/master' into do-20240716-fix-code-validation-for-locale 2024-08-05 10:32:51 -04:00
Vassil Peytchev 77eeeac076
Merge branch 'hapifhir:master' into master 2024-08-04 10:57:17 -05:00
markiantorno e6e4efa540 Updating version to: 6.3.20-SNAPSHOT and incrementing test cases dependency. 2024-08-04 15:24:42 +00:00
markiantorno aac96cf897 Release: v6.3.19
## Validator Changes

* Improve performance of supplement processing
* Add support for validating xml:space
* Fix NPE validating maps
* Fix duplicate removal code that caused missed WARNING messages (#1698)
* Fix interaction between terminology cache and validation location  (#1700)
* Better concept map validation
* Improved base64 parsing error
* Add support for unknown code system version validating concept maps
* Fix bug using wrong profile when profiling recursive properties

## Other code changes

* Return null for all toCode enum params that are null
* fix bugs adding publishing WG in element mode
* Fix equality method that caused missed WARNING messages
* fix rendering issues
  * rendering fixes for R6 build
  * don't throw error for wrong rendering mode
  * Document rendering fixes - subject and section
  * more work on forcing valid html generation
  * more hyperlink validation improvements
  * further fixes to link validation
  * fix list inside paragraph
  * fix actor capabilities in wrong place
  * Support missing datatypes
  * Fill out missing anchors
  * Fix wrong handling of contained resources)
  * #1678 - add div to children when exploring Narrative
***NO_CI***
2024-08-04 14:35:44 +00:00
Grahame Grieve 8790780feb fix npe 2024-08-04 10:39:23 +08:00
Grahame Grieve e73447939b improve performance of supplement processing 2024-08-04 10:00:01 +08:00
Grahame Grieve 7fda67ca7e fix rendering issues 2024-08-03 23:46:31 +08:00
Grahame Grieve af5eaafd34 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-08-03 23:38:47 +08:00
Grahame Grieve 2f1f59d5f9 rendering fixes for R6 build 2024-08-03 19:32:46 +08:00
Grahame Grieve b248eb7d67 Add support for validating xml:space 2024-08-03 19:31:55 +08:00
Grahame Grieve 7670422a6c don't throw error for wrong rendering mode 2024-08-03 19:31:35 +08:00
Grahame Grieve eecd04924b fix bugs adding publishing WG in element mode 2024-08-03 19:30:54 +08:00
caspears 2d5049c938 CapabilityStatement Message and Document rendering 2024-08-01 23:05:49 -07:00
caspears 4281b0fa48 Render resource profile and supportedProfile title when available 2024-08-01 22:23:29 -07:00
Vassil Peytchev 0ce8a38650 Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core 2024-08-01 15:09:06 -05:00
Vassil Peytchev f5a9e2b242 Updating to the current version 2024-08-01 14:13:02 -05:00
dotasek c757c6982d Move defensive copy directly to TerminologyCache 2024-07-31 18:19:33 -04:00
Grahame Grieve 2ebcf267ec Document rendering fixes - subject and section 2024-07-30 15:43:32 +08:00
dotasek f30150ff4b
Fix interaction between terminology cache and validation location (#1700)
* DO NOT MERGE TO MASTER

Contains replication for validation location issue

* Don't let the validator mutate a cached result

* Revert filtering of ValidationTests

* WIP start ValidationResult equality implementation

* Move BaseWorkerContext testing to BaseWorkerContextTests

* A little more cleanup

* Code cleanup, and check that cached ValidationResult is a copy

* Complete ValidationResult equals method.
2024-07-29 10:12:55 -04:00
Grahame Grieve c99b7ee53a Improved base64 parsing error 2024-07-28 20:04:28 +08:00
Grahame Grieve 71e8a8294a more work on forcing valid html generation 2024-07-28 20:04:18 +08:00
Grahame Grieve f9ed8dc348 Add support for unknown code system version validating concept maps 2024-07-28 20:03:44 +08:00
Grahame Grieve f0531e9d66 fix bug using wrong profile when profiling recursive properties 2024-07-28 20:02:25 +08:00
Grahame Grieve 714b0a0fd4 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-25 17:30:17 +08:00
Grahame Grieve 7ba860c4ed fix rendering issues (list inside paragraph, actor capabilities in wrong place, missing datatypes, missing anchors, wrong handling of contained resources) 2024-07-25 17:00:42 +08:00
dotasek 33cb80dfe7 Return null for all toCode enum params that are Enum.NULL (r5) 2024-07-19 12:19:15 -04:00
Grahame Grieve 549d76fdc4 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-18 21:15:52 +08:00
Grahame Grieve 652bec9743 #1678 - add div to children when exploring Narrative 2024-07-18 20:23:50 +08:00
markiantorno 0b10290f0f Updating version to: 6.3.19-SNAPSHOT and incrementing test cases dependency. 2024-07-17 06:14:05 +00:00
markiantorno 5c3953cfdb Release: v6.3.18
## Validator Changes

* No Changes

## Other code changes

* Naming System fix for THO
* Fix issue with rendering OperationOutcomes that don't have 'detail'
* Fix problem with value set anchor generation when rendering
***NO_CI***
2024-07-17 05:22:26 +00:00
Grahame Grieve 7328ad63b9 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-17 14:15:54 +09:30
Grahame Grieve fc517e3ec5
Merge pull request #1690 from hapifhir/2024-07-gg-tho-ns-fix
2024 07 gg tho ns fix
2024-07-17 12:45:35 +08:00
Grahame Grieve 980f88ea49 fix problem with value set anchor generation when rendering 2024-07-17 13:27:51 +09:30
Grahame Grieve dc750bb211
Merge pull request #1691 from hapifhir/FixOperationOutcomeRendering
Fix issue with rendering OperationOutcomes that don't have 'detail'
2024-07-17 11:51:16 +08:00
Grahame Grieve 6d119f2132
Merge branch 'master' into 2024-07-gg-tho-ns-fix 2024-07-17 11:50:20 +08:00
Lloyd McKenzie 84fc25efa3 Fix issue with rendering OperationOutcomes that don't have 'detail' 2024-07-16 21:35:41 -06:00
Grahame Grieve 128f3733e2 Naming System fix for THO 2024-07-17 06:26:05 +08:00
markiantorno 0722d728ae Updating version to: 6.3.18-SNAPSHOT and incrementing test cases dependency. 2024-07-16 18:20:14 +00:00
markiantorno cf2b25eb29 Release: v6.3.17
## Validator Changes

* work around THO 6.0.0 problem (hack, to be reversed later)
* Improve MeasureReport validation for checking subject count
* Fix for R2B Resource.id cardinality problem
* Fix for validator using wrong property for list determination when parsing json

## Other code changes

* no changes
***NO_CI***
2024-07-16 17:32:26 +00:00
Grahame Grieve 9272b6eff3
2024 07 gg measure validation (#1687)
* Fix for validator using wrong property for list determination when parsing json

* Fix for R2B Resource.id cardinality problem

* Improve MeasureReport validation for checking subject count

* work around THO 6.0.0 problem (hack, to be reversed later)

* release notes

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-07-16 11:43:36 -04:00
Grahame Grieve f5af20acad work around THO 6.0.0 problem (hack, to be reversed later) 2024-07-16 21:47:03 +08:00
Grahame Grieve 14652e6e25 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-16 19:27:11 +08:00
Grahame Grieve 37006946cd Fix for R2B Resource.id cardinality problem 2024-07-16 06:15:57 +08:00
Grahame Grieve 2a37fb9351 Fix for validator using wrong property for list determination when parsing json 2024-07-16 06:15:32 +08:00
markiantorno a09c712c87 Updating version to: 6.3.17-SNAPSHOT and incrementing test cases dependency. 2024-07-12 12:35:11 +00:00
markiantorno 26c6878c76 Release: v6.3.16
## Validator Changes

* Add clearer message for errors around unable to validate because unknown code system
* Fix problem with fhirVersion cardinality validating IG resources

## WHO I18n Project

* Remove Questionnaire.item.linkId from translatable content

## Other code changes

* Further revisions to rendering framework for id uniqueness, main spec rendering, and various reported issues
* Improve doco for R4/R4B renderers
* Introduce backwards compatible constructor in ValidationEngineBuilder and fix useEcosystem
* Use v2 of PublishCodeCoverageResults (#1665)
* #1583 do not serialize choice group + add testcase
***NO_CI***
2024-07-12 11:48:05 +00:00
Grahame Grieve a2e6b001b3 more work on transifex support 2024-07-12 05:11:43 +08:00
Grahame Grieve d8f7b98573 further revisions to rendering framework for id uniqueness, main spec rendering, and various reported issues 2024-07-12 05:09:21 +08:00
Grahame Grieve dd02db3aae remove Questionnaire.item.linkId from translatable content 2024-07-12 05:07:03 +08:00
oliveregger ca7a2ba4e4 add testcase for #1583 2024-07-08 23:20:32 +02:00
oliveregger 66e35e1af6 #1583 do not serialize choice group 2024-07-08 23:11:30 +02:00
markiantorno 115074ee60 Updating version to: 6.3.16-SNAPSHOT and incrementing test cases dependency. 2024-07-05 12:51:24 +00:00
markiantorno 409b0df34d Release: v6.3.15
## Validator Changes

* no changes

## Other code changes

* Fix broken link to definitions in profiles
***NO_CI***
2024-07-05 12:03:07 +00:00
Grahame Grieve ea141b1ba9 fix bug producing broken links 2024-07-05 17:42:05 +08:00
markiantorno 59d0334e0e Updating version to: 6.3.15-SNAPSHOT and incrementing test cases dependency. 2024-07-04 03:22:56 +00:00
markiantorno 50ce6bb6ac Release: v6.3.14
## Validator Changes

* Add support for ND-JSON. Note that the validator is not expected to perform well on large ND-JSON files (or any other file type)
* Significant change: the validator was not checking for the end of the input when parsing a JSON resource finished. It will now start giving errors when JSON continues once the object is complete
* Add support for the create object syntax in FML when validating FML
* Improved error message when supplement url used instead of code system URL

## WHO Translation Project

* Add complete dutch translations (Thanks Alexander Henket)

## Other code changes

* Fix various rendering problems leading to non-unique html anchors
* Fix for unrendered data types
***NO_CI***
2024-07-04 02:33:38 +00:00
Grahame Grieve 4a729529e8
Merge pull request #1668 from ahdis/oe_fp_1655
date adaption for dateOp #1655
2024-07-04 04:00:32 +08:00
Grahame Grieve 62bf3e1bc0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-02 06:44:39 +09:30
Grahame Grieve 8ba3d0e3c5 improved error message when supplement url used instead of code system URL 2024-07-01 06:29:09 +09:30
Grahame Grieve a209c13c1a Add support for NDJSON format, and fix bug where JSON parser was not checking for the end of content 2024-07-01 06:28:36 +09:30
Grahame Grieve 437687f5cd fix various rendering problems leading to non-unique html anchors 2024-07-01 06:27:51 +09:30
Grahame Grieve 8690c77d2b
Merge branch 'master' into 2024-06-gg-render-bug-2 2024-06-28 19:53:28 +10:00
Grahame Grieve 185427a975 fix for unrendered data types 2024-06-28 18:15:49 +10:00
markiantorno 70ed025741 Updating version to: 6.3.14-SNAPSHOT and incrementing test cases dependency. 2024-06-28 01:14:27 +00:00
markiantorno b3628c7ccd Release: v6.3.13
## Validator Changes

* no changes

## Other code changes

* Rendering fixes
***NO_CI***
2024-06-28 00:27:59 +00:00
Grahame Grieve 6a66f37898
fix rendering bugs (#1671)
* fix rendering bugs

* release notes

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-06-27 19:06:42 -04:00
Grahame Grieve 8bf07711f1 fix rendering bugs 2024-06-28 08:06:25 +10:00
oliveregger ea103178ea fix missing quote 2024-06-27 11:25:06 +02:00
Oliver Egger b7f81ccb55
Merge branch 'master' into oe_fp_1655 2024-06-27 11:11:34 +02:00
markiantorno 0736de9c2d Updating version to: 6.3.13-SNAPSHOT and incrementing test cases dependency. 2024-06-27 00:47:09 +00:00
markiantorno f14f2a42ad Release: v6.3.12
## Validator Changes

* Change how count is calculated when expanding value sets
* Fix value set expansion bugs
* Fix for fhirpath issue on command line (#1650)
* Add IG dependency validator
* work around bad r4 extension definitions
* don't reload different sub-version of extensions pack

## Other code changes

* Rework rendering library from ground up
  * Merge Fix: Fix split logic of canonical into url and version in several places (#1663)
  * Suppress spurious message when code system is unknown
  * don't raise needless and wrong exceptions about extension definitions when rendering
  * fix duplicate link creation
  * Stop recursive rendering crash
  * Obligation rendering improvements
* Handle extra profiles on resources in an IG when converting between versions
* Fixed issue with actor title not rendering in obligations
* Test and adaption for dateOp #1655
* Use assertj instead of hamcrest (#1662)
* More transifex work
* Add support for local packages during testing
***NO_CI***
2024-06-27 00:00:09 +00:00
Grahame Grieve 9d0d095aa3 fix for dateOp 2024-06-27 08:08:13 +10:00
Grahame Grieve d0be81d99c compile fix 2024-06-27 07:25:52 +10:00
Grahame Grieve 749b073de1 Obligation rendering improvements 2024-06-27 07:03:54 +10:00
Grahame Grieve d441fa58aa release notes + render attachments 2024-06-27 06:25:01 +10:00
Grahame Grieve 94937c9d30 Stop recursive rendering crash 2024-06-26 19:32:40 +10:00
Grahame Grieve b5539db606 try fixing narrative generation tests 2024-06-26 18:09:46 +10:00
Grahame Grieve eb0c4d8d93 fix date operations problem 2024-06-26 07:19:47 +10:00
dotasek c222582b22 Fix FHIRPath Date opPlus/Minus failures 2024-06-25 16:24:35 -04:00
oliveregger b70062f326 date adaption for dateOp #1655 2024-06-25 20:46:07 +02:00
dotasek b5cb29cc1b Remove DebugUtilities references 2024-06-25 12:30:46 -04:00
Grahame Grieve 36de9ff5fa
Merge pull request #1652 from hapifhir/FixObligationActorRendering
Fixed issue with actor title not rendering
2024-06-25 23:15:15 +10:00
Grahame Grieve 6830785c47
Merge pull request #1656 from ahdis/oe_fp_1655
Test and adaption for dateOp #1655
2024-06-25 23:14:02 +10:00
Grahame Grieve 9208f4848f
Merge pull request #1657 from hapifhir/2024-06-gg-vs-fixes
2024 06 gg vs fixes
2024-06-25 23:13:44 +10:00
Grahame Grieve 170bcf19e6 reconcile rendering changes 2024-06-25 21:22:33 +10:00
Grahame Grieve 88e900110f Merge remote-tracking branch 'origin/master' into 2024-06-gg-rewrite-rendering 2024-06-25 19:53:04 +10:00
Grahame Grieve df82203b3d rework rendering library from ground up 2024-06-25 19:40:57 +10:00
Grahame Grieve d23052f329 changes after testing complete 2024-06-20 09:57:25 +10:00
dotasek c631f6c808
Merge Fix: Fix split logic of canonical into url and version in several places (#1663)
* Fix split logic of canonical into url and version in several places

Removed
- org.hl7.fhir.r4b.renderers.DataRenderer#versionFromCanonical
- org.hl7.fhir.r4b.renderers.DataRenderer#systemFromCanonical
- org.hl7.fhir.r5.renderers.DataRenderer#versionFromCanonical
- org.hl7.fhir.r5.renderers.DataRenderer#systemFromCanonical

The logic of these methods is wrong, the functionality of extracting
the version and the system URL have been swapped.

Therefore, all usages of aforementioned methods were replaced by the
use of org.hl7.fhir.utilities.CanonicalPair. This not only fixes the
problem, but also reduces duplicated functionality.

* Remove dead code from merge

* Fix spacing issues in rendering

* Empty commit, make-pipeline-go

---------

Co-authored-by: Max Bureck <max.bureck@fokus.fraunhofer.de>
2024-06-19 19:34:24 -04:00
Grahame Grieve 2612fa1e63 Change how count is calculated when expanding value sets 2024-06-18 19:44:22 +10:00
Grahame Grieve 31a7793c49 testing fixes 2024-06-18 17:16:44 +10:00
oliveregger a63792d2b2 Test and adaption for dateOp #1655 2024-06-18 00:03:23 +02:00
Grahame Grieve e91d8152b2 All compiles for the first time 2024-06-17 22:53:29 +10:00