Commit Graph

7267 Commits

Author SHA1 Message Date
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
dotasek 9b437438ca
Use assertj instead of hamcrest (#1662)
* Use assertj instead of hamcrest

* Trim README
2024-06-20 10:20:45 -04: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
dotasek 15e9ba30f0 Change to explicitly 'expiring' the oldest session. 2024-06-18 17:30:12 -04:00
dotasek 3a7507c832 Fix test on MaxSize 2024-06-18 16:05:50 -04:00
dotasek 4fa581d242 WIP add a decorator to limit cache size 2024-06-18 15:24:58 -04:00
Grahame Grieve a9213273b1 Suppress spurious message when code system is unknown 2024-06-18 19:45:09 +10: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
dotasek 563d6fe27a Gentle refactor + track session number 2024-06-17 11:26:25 -04:00
dotasek fbf2d01069 Merge remote-tracking branch 'origin/master' into do-20240122-base-engine 2024-06-17 11:25:12 -04:00
Grahame Grieve e91d8152b2 All compiles for the first time 2024-06-17 22:53:29 +10:00
Grahame Grieve b1a3141214 more WIP on rendering refactor 2024-06-17 22:40:52 +10:00
Grahame Grieve ef2531367e more WIP 2024-06-15 23:45:56 +10:00
oliveregger 74a2018670 cli fhirpath #1650 2024-06-15 08:25:56 +02:00
Grahame Grieve b97065338d Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-06-14 22:41:20 +10:00
Grahame Grieve ed9ab369c0 more transifex work 2024-06-14 22:41:09 +10:00
markiantorno c51d18f238 Updating i18n-coverage csv and png table ***NO_CI*** 2024-06-14 12:11:19 +00:00
Grahame Grieve e4abcd1be3 fix value set expansion bugs 2024-06-14 21:56:23 +10:00
Grahame Grieve 239231bb91
Merge pull request #1653 from hapifhir/2024-06-gg-ig-validation
2024 06 gg ig validation
2024-06-14 21:55:04 +10:00
Grahame Grieve 2f5ef0b216 more WIP on rendering rewrite 2024-06-14 17:15:56 +10:00
Lloyd McKenzie 6a4e2e7b9d Fixed issue with actor title not rendering 2024-06-13 19:44:43 -05:00
Grahame Grieve e731c0c059 Add IG dependency validator 2024-06-13 12:14:03 +10:00
Grahame Grieve a9f0b70e30 work around bad r4 extension definitions 2024-06-13 12:13:32 +10:00
Grahame Grieve 2f2c7be2ed don't raise needless and wrong exceptions about extension definitions when rendering 2024-06-13 12:12:42 +10:00
Grahame Grieve ebedced511 don't reload different sub-version of extensions pack 2024-06-13 12:12:13 +10:00
Grahame Grieve 506dad8752 WIP: rewrite of rendering framework 2024-06-13 07:38:22 +10:00
Grahame Grieve 7d0c63611f update test cases 2024-06-13 07:37:22 +10:00
Grahame Grieve 6a29b4feb8 Add support for local packages during testing 2024-06-13 07:37:08 +10:00
Grahame Grieve dfa6a197e0 set up testing with local packages 2024-06-13 07:36:53 +10:00
Grahame Grieve f43dcd904f fix duplicate link creation 2024-06-13 07:36:29 +10:00
Grahame Grieve 4a73b746bd update ResourceElement + tests 2024-06-11 21:35:11 +10:00
Grahame Grieve 093758429a First draft of ResourceElement - rewrite rendering layer 2024-06-09 18:17:51 +10:00
dotasek b24fb10f54 Merge remote-tracking branch 'origin/master' into do-20240122-base-engine 2024-06-07 16:00:17 -04:00
markiantorno 03ea625a7c Updating version to: 6.3.12-SNAPSHOT and incrementing test cases dependency. 2024-06-07 03:25:47 +00:00
markiantorno 6ba8b38fc5 Release: v6.3.11
## Validator Changes

* Find value sets on tx server if not tx.fhir.org
* Do not send Content-Type header with GET requests for tx servers
* Fix npe validating code system
* Support discriminator by position
* Don't check type characteristics for unknown types

## WHO I18n Project

* Fix typos in phrases, and fix up handling of apostrophes in messages without parameters
* Test and fix for single quote escapes in I18n
* Create and test transifex configuration

## Rendering Changes

* Fix contact rendering to work properly
* Fix issue resolving contained resource rendering DiagnosticReports etc
* Handle case where Contact.value has extensions instead of a string value
* Render Parameterised types
* Fix bug with LOINC Code row showing wrongly in Profile Details view
* Partial implementation of type parameters
* Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering
* Corrected ObligationsRenderer to handle multiple actors and multiple codes.  Also got obligations with elements to render properly (which means knowing whether you're on a table page or definitions page, what tab you're on, and whether the element for the obligation is in-scope for that tab (so you know whether to hyperlink or not).  Had to make links on the tables point to definitions because table anchors are not unique.

## Other code changes

* split out Base.canHavePrimitiveValue() from Base.hasPrimitiveValue()
* Refactor how observation profiles are registered in order to generalise management of extra profiles
  * Use validation policy to implement Observation profile rules
  * Rework validation policy management in standalone validator
* Try deploying javadoc with SNAPSHOT
* Add utility to unpack the spec.internals file
* v2 in FHIR tests
* Fix bug loading language pack NPMs
***NO_CI***
2024-06-07 02:33:16 +00:00
dotasek 93037baa9b Go back to SNAPSHOT
***NO_CI***
2024-06-06 21:58:57 -04:00
dotasek dc08df839c Revert javadoc attachment change
***NO_CI***
2024-06-06 21:58:57 -04:00
markiantorno d36d030076 Release: v6.3.11
## Validator Changes

* Find value sets on tx server if not tx.fhir.org
* Do not send Content-Type header with GET requests for tx servers
* Fix npe validating code system
* Support discriminator by position
* Don't check type characteristics for unknown types

## WHO I18n Project

* Fix typos in phrases, and fix up handling of apostrophes in messages without parameters
* Test and fix for single quote escapes in I18n
* Create and test transifex configuration

## Rendering Changes

* Fix contact rendering to work properly
* Fix issue resolving contained resource rendering DiagnosticReports etc
* Handle case where Contact.value has extensions instead of a string value
* Render Parameterised types
* Fix bug with LOINC Code row showing wrongly in Profile Details view
* Partial implementation of type parameters
* Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering
* Corrected ObligationsRenderer to handle multiple actors and multiple codes.  Also got obligations with elements to render properly (which means knowing whether you're on a table page or definitions page, what tab you're on, and whether the element for the obligation is in-scope for that tab (so you know whether to hyperlink or not).  Had to make links on the tables point to definitions because table anchors are not unique.

## Other code changes

* split out Base.canHavePrimitiveValue() from Base.hasPrimitiveValue()
* Refactor how observation profiles are registered in order to generalise management of extra profiles
  * Use validation policy to implement Observation profile rules
  * Rework validation policy management in standalone validator
* Try deploying javadoc with SNAPSHOT
* Add utility to unpack the spec.internals file
* v2 in FHIR tests
* Fix bug loading language pack NPMs
***NO_CI***
2024-06-06 22:46:44 +00:00
dotasek 463b37887b Use fhir-test-cases release 2024-06-06 17:28:59 -04:00
Grahame Grieve 55ca736768 Fix changes from Lloyd's commit 2024-06-07 04:37:43 +10:00
Grahame Grieve 24b7d2db39
Merge pull request #1636 from hapifhir/FixObligationRendering
Corrected ObligationsRenderer to handle multiple actors and multiple …
2024-06-07 04:34:43 +10:00
Grahame Grieve 3963e13e58 fix bug in package version detection 2024-06-07 04:21:07 +10:00
Lloyd McKenzie 3b2434781d Replaced removed code 2024-06-06 09:57:55 -06:00
Lloyd McKenzie ca97ce2aaa Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into FixObligationRendering 2024-06-06 09:05:44 -06:00
Grahame Grieve 7833281a52 fix bug loading language pack NPMs 2024-06-06 22:18:31 +10:00
Grahame Grieve 4de8ea621d release notes 2024-06-06 20:49:09 +10:00