3625 Commits

Author SHA1 Message Date
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
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
Grahame Grieve
e4abcd1be3 fix value set expansion bugs 2024-06-14 21:56:23 +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
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
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
Vassil Peytchev
376d5f26fa
Merge branch 'hapifhir:master' into master 2024-06-07 14:06:50 -05: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
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
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
765b4da292 find value sets on tx server if not tx.fhir.org 2024-06-06 19:41:18 +10:00
Grahame Grieve
f4cc60c0e6 split out canHavePrimitiveValue() and hasPrimitiveValue() 2024-06-06 09:09:58 +10:00
Vassil Peytchev
36f7236aad First part fixes to CP rendering 2024-06-04 12:33:44 -05:00
Vassil Peytchev
0959c14c2b merge master 2024-06-03 08:22:44 -05:00
Vassil Peytchev
974ce280aa adding system-level operations 2024-06-03 08:20:16 -05: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
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
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
df711c0762 try again 2024-05-31 09:59:00 +10:00
Grahame Grieve
3dfbba0ec9 proposed control over vital signs check 2024-05-31 06:43:24 +10:00
Grahame Grieve
80159656c0 more language updates 2024-05-30 17:07:05 +10:00
Lloyd McKenzie
f808aaf558 Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering 2024-05-29 12:09:00 -06:00
Grahame Grieve
1087016941 fix npe rendering code system 2024-05-27 23:55:22 +10:00
Grahame Grieve
d279468008 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-27 23:00:42 +10:00
Grahame Grieve
b766cffdb1 v2 tests, support discriminator by position, and don't check type characteristics for unknown types 2024-05-26 07:56:16 -05:00
Lloyd McKenzie
a390c9a128 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. 2024-05-26 06:37:12 -05:00
markiantorno
a32e28e4e3 Updating version to: 6.3.11-SNAPSHOT and incrementing test cases dependency. 2024-05-25 23:37:56 +00:00
markiantorno
d8781b8b76 Release: v6.3.10
## Validator Changes

* Fix issue validating codes with + in them
* Fix (well, hack) R4 vital signs issue with component units

## WHO I18n Project

* QA on i18n constants - remove spurious entries, add anything missing
* Remove test case for i18n coverage
* Generate properties translation files without blank entries
* Add transifex configuration
* Fix up .po file generation so that POEdit is supported, and remove duplicate constants (#1592)
* Most strings translated to Dutch, unchecked.
* Add utility to infer locale from region code

## Other code changes

* Remove Accept-Charset header
* Fix typos around CODESYSTEM_CONTENT_COMPLETE
***NO_CI***
2024-05-25 22:53:24 +00:00
Grahame Grieve
56b0ad11f3 Fix R4 vital signs issue with component units 2024-05-25 15:11:27 -05:00