Commit Graph

7117 Commits

Author SHA1 Message Date
dotasek 9b437438ca
Use assertj instead of hamcrest (#1662)
* Use assertj instead of hamcrest

* Trim README
2024-06-20 10:20:45 -04: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 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 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 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
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
Grahame Grieve 3265d10280 fix test cases 2024-06-06 20:35:31 +10:00
Grahame Grieve 765b4da292 find value sets on tx server if not tx.fhir.org 2024-06-06 19:41:18 +10:00
Grahame Grieve 0250f3ce34 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-06-06 19:40:33 +10:00
Grahame Grieve d556db6dad
Merge pull request #1632 from hapifhir/Fix_hintAboutNonMustSupport
Fix handling of hintAboutNonMustSupport to actually be useful.  Speci…
2024-06-06 09:38:16 +10:00
Grahame Grieve 34c4b9600a
Merge pull request #1642 from hapifhir/do-20240530-log-validation-session-counts
Log validation session counts
2024-06-06 09:11:04 +10:00
Grahame Grieve f4cc60c0e6 split out canHavePrimitiveValue() and hasPrimitiveValue() 2024-06-06 09:09:58 +10:00
Grahame Grieve 537f758d82 rework validation policy management in standalone validator 2024-06-06 08:28:34 +10:00
dotasek 5f01298e2f Try deploying javadoc with SNAPSHOT 2024-06-05 16:51:49 -04:00
Grahame Grieve 95ec2b00a4 add java doc 2024-06-02 21:18:58 +10:00
Grahame Grieve c4585c995f proposed fix for hasPrimitiveValue() 2024-06-02 21:11:21 +10:00
Grahame Grieve ed4143996f
Merge pull request #1645 from hapifhir/2024-06-gg-obs-profiles
2024 06 gg obs profiles
2024-06-02 08:27:04 +10:00
Grahame Grieve 1e940dc489 fix contact rendering to work properly 2024-06-01 23:43:28 +10:00
Grahame Grieve 7512347c40 fix issue resolving contained resource 2024-06-01 23:39:49 +10:00
Grahame Grieve 674f834f8d Handle case where Contact.value has extensions instead of a string value 2024-06-01 22:57:13 +10:00
Grahame Grieve e51534030e Render Parameterised types, and fix bug with LOINC Code row showing wrongly in Profile Details view 2024-06-01 22:56:42 +10:00
Grahame Grieve 398b46e32d Do not send Content-Type header with GET requests 2024-06-01 22:55:35 +10:00
Grahame Grieve 2eee0c7e93 Fix typos in phrases, and fix up handling of apostrophes in messages without parameters 2024-06-01 22:55:18 +10:00
Grahame Grieve 2f38cb544c Refactor how observation profiles are registered in order to generalise management of extra profiles 2024-06-01 22:54:17 +10:00
Grahame Grieve 04e95f4e05 Partial implementation of type parameters 2024-06-01 22:51:55 +10:00
Grahame Grieve f890462721 Add utility to unpack the spec.internals file 2024-06-01 22:50:51 +10:00