Commit Graph

3379 Commits

Author SHA1 Message Date
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
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
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
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
Grahame Grieve 4037e5dc4f QA on i18n constants - remove spurious entries, add anything missing 2024-05-25 08:05:25 -05:00
Grahame Grieve 853b4fd9ca stable baseline 2024-05-25 04:25:47 -05:00
Grahame Grieve 5133a88060 Remove Accept-Charset header 2024-05-25 03:44:20 -05:00
Grahame Grieve de544a752e Fix up .po file generation so that POEdit is supported, and remove duplicate constants (#1592) 2024-05-24 19:39:37 -05:00
markiantorno 0d0687f1f1 Updating version to: 6.3.10-SNAPSHOT and incrementing test cases dependency. 2024-05-22 05:52:30 +00:00
markiantorno c47f248fa4 Release: v6.3.9
## Validator Changes

* remove "LOINC 2711-0 Oxygen saturation in Venous blood" from the list in the validator that checks whether an observation is a vital sign

## WHO I18n Project

* fix value set summary line display
* update the source of truth translation files

## Other code changes

* Handle more than one expectation extensions in CapabilityStatement
* Fix NPEs in Liquid renderer
***NO_CI***
2024-05-22 05:02:20 +00:00
Vassil Peytchev ef984e26a9
Merge branch 'hapifhir:master' into master 2024-05-21 18:36:09 -05:00
Grahame Grieve d9c1c74924 Fix NPEs in Liquid renderer 2024-05-21 16:55:17 -05:00
Vassil Peytchev f51e055f4a Handle more than one expectation extensions 2024-05-21 15:45:16 -05:00
Grahame Grieve ad2544fc2a fix value set summary line display 2024-05-21 10:09:18 -05:00
Grahame Grieve 042db67fee Compile fix 2024-05-20 16:57:34 -05:00
markiantorno 1f6aaa1db3 Updating version to: 6.3.9-SNAPSHOT and incrementing test cases dependency. 2024-05-20 13:16:27 +00:00
markiantorno 5165942802 Release: v6.3.8
## Validator Changes

* Fix bug processing extension with explicit type slicing
* Fix wrong language code from java locale
* Don't accidently hit other terminology servers for code systems handled natively by tx.fhir.org
* Validate Additional Bindings (provisional - usage context is todo)
* Improved system specific checking of value set filters - particularly LOINC and SNOMED CT, and update LOINC validation to the latest understanding of LOINC filters

## WHO I18n Project

* Add importing translations to native resources
* Finish Migrating text phrases to i18n framework
* Fix bugs with loading translations (#1592)

## Security

* Move all network access to go through ManagedWebAccess
* More security documentation

## Other code changes

* Put jurisdiction in npm package.json
* Add testing ontoserver to test suite
* Fix NPE testing Ontoserver
* fix tx tester calling run ok when a filter is applied and tests fail
* Fix name of preferred when rendering AdditionalBindings
* Add AdditionalBinding version conversion in profiles
* Fix SNOWMED spelling
* Fix rendering of multiple imports in value sets
***NO_CI***
2024-05-20 12:30:29 +00:00
Grahame Grieve 75a9d13050 Add importing translations to native resources 2024-05-20 05:17:03 -05:00
Grahame Grieve 468660bc17 Fix bugs with loading translations (#1592) 2024-05-20 04:38:17 -05:00
Grahame Grieve a86fe5a2d2 FIx up issues with calling translation on the wrong set of properties (#1592) 2024-05-20 04:38:17 -05:00
Grahame Grieve 2d226fdf51 Fix wrong language code from java locale 2024-05-19 23:29:26 -05:00
Grahame Grieve 0cc46e5a44 Fix bug processing extension with explicit type slicing 2024-05-19 22:45:17 -05:00
Grahame Grieve 21e7e70a99 put jurisdiction in npm package.json 2024-05-19 09:36:20 -05:00
Grahame Grieve 5662ec131f WHO i18n work (#1592) 2024-05-19 09:36:05 -05:00
Grahame Grieve de79e47de6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-19 06:11:17 -05:00
Grahame Grieve b3a969e3ce Don't accidently hit other terminology servers for code systems handled natively by tx.fhir.org 2024-05-18 07:36:51 -05:00
Grahame Grieve 7183397f92
Merge pull request #1622 from hapifhir/2024-05-gg-ManagedWebAccess
introduce ManagedWebAccess
2024-05-18 21:46:03 +10:00
Grahame Grieve 6ba9a11c51 Validate Additional Bindings (provisional - usage context is todo) 2024-05-18 03:24:54 -05:00
Grahame Grieve bd24ebace7 fix name of preferred when rendering AdditionalBindings 2024-05-18 03:22:46 -05:00
Grahame Grieve 4911f4fef8 updates for ManagedWebAccess 2024-05-18 14:58:33 +10:00
MattCordell 7603845721 Fix SNOWMED spellings #1621 2024-05-17 12:15:43 +10:00
Grahame Grieve a510a6d1aa introduce ManagedWebAccess 2024-05-16 13:34:50 +10:00
Grahame Grieve 1e3bc60d6e Fix up translation issues 2024-05-12 23:24:20 +10:00
Grahame Grieve 3f236eb880 fix rendering of multiple imports in value sets 2024-05-12 22:27:54 +10:00
markiantorno 248b8b1ac8 Updating version to: 6.3.8-SNAPSHOT and incrementing test cases dependency. 2024-05-10 05:02:38 +00:00
markiantorno d81fc5d82d Release: v6.3.7
## Validator Changes

* Fix bug where some #refs are not resolved to the root of the resource in FHIRPath slicing evaluation
* Fix bug passing wrong type to tx server when using inferSystem
* Fix bug processing version of CodeSystem.supplements incorrectly
* Don't process wrong parent when processing snapshot of element with profiled type that is not reprofiled
* Fix typo in OID message
* Fix handling value set exclude filters
* Allow code system declared properties to be self-referential

## I18n changes

* More comprehensive internationalization phrase coverage reporting on project page
* Move many rendering phrases into i18n framework

## Rendering Changes

* Fix issue with unknown element rendering fixed value for Attachment
* Fix bug calculating value set expansion size for multiple imports
* Fix bug using wrong message for value sets that are too costly to expand
* Fix extension urls not being linked in tree view
* rendering improvements and remove static use of describeSystem
* Fix NPE rendering profile comparisons
* Fix bug where slicing and grouping gets mixed up rendering profile tree

## Other code changes

* Wrap general exception for IWorkerContext (Catch missed exception from HAPI)
* Shim interfaces and classes to support clinical reasoning project updates.
* Fix duplicate txServer getters and setters
* Use extension class on Exception to force try-catch blocks on checkCodeOnServer calls (#1609)
* rework OID handling for better consistency
* handle time outs doing vsac import (starlink obstructions)
***NO_CI***
2024-05-10 04:18:38 +00:00
Grahame Grieve 5259bf9847 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-10 08:49:11 +10:00
Grahame Grieve e57ef59ee9 Fix issue with unknown element rendering fixed value for Attachment 2024-05-10 08:09:03 +10:00
Grahame Grieve ba3dc45863 Fix bug where some #refs are not resolved to the root of the resource in FHIRPath slicing evaluation 2024-05-09 19:16:33 +10:00
Grahame Grieve 7be94402a5 Fix bug calculating value set expansion size for multiple imports 2024-05-09 19:16:00 +10:00
Grahame Grieve 256c494d91 Fix bug using wrong message for value sets that are too costly to expand 2024-05-09 19:15:40 +10:00
Grahame Grieve d63e66fa0b fix bug passing wrong type to tx server when using inferSystem 2024-05-09 19:15:10 +10:00
dotasek e05660a76c Merge remote-tracking branch 'origin/master' into do-20240506-cr-shims 2024-05-08 09:29:03 -04:00
Grahame Grieve c90fa8c023 fix extension urls not being linked in tree view 2024-05-08 12:06:29 +10:00
Grahame Grieve a87dcd1d93 fix up i18n for change notes 2024-05-08 12:05:54 +10:00
Grahame Grieve e129e6879d don't process wrong parent when processing snapshot of element with profiled type that is not reprofiled 2024-05-08 12:05:38 +10:00
dotasek.dev 3317d8bd86 Add shim interfaces and classes for CR project compatibility 2024-05-06 17:03:08 -04:00
Grahame Grieve c24fde0bb6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-05 18:17:33 +10:00
Grahame Grieve f79fdb44ec rendering improvements and remove static use of describeSystem 2024-05-05 18:12:57 +10:00
Grahame Grieve fec36d70b3 fix handling value set exclude filters 2024-04-27 21:46:31 +10:00