Commit Graph

3546 Commits

Author SHA1 Message Date
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
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
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
Grahame Grieve b4b93de9b0 fix NPE rendering profile comparisons 2024-04-27 21:46:16 +10:00
Grahame Grieve d8741f72e6 Fix bug where slicing and grouping gets mixed up rendering profile tree 2024-04-27 21:46:03 +10:00
Grahame Grieve 316161e3a7 i18n for rendering phrases (step 1) #1592 2024-04-25 22:01:04 +10:00
Grahame Grieve 1d913459fe rework OID handling for better consistency 2024-04-25 21:59:44 +10:00
markiantorno 9ce2c57b8b Updating version to: 6.3.7-SNAPSHOT and incrementing test cases dependency. 2024-04-23 08:51:21 +00:00
markiantorno 46bdec9054 Release: v6.3.6
## Validator Changes

* fix NPE loading resources
* Don't enforce ids on elements when processing CDA
* Send supplements to tx server
* fix bug processing code bindings when value sets are complex (multiple filters)
* fix spelling of heirarchy
* Look up CodeSystem from terminology server
* Don't use tx-registry when manual terminology server is set

## Other code changes

* More work on WHO language support ($1592)
* allow validation message to have count
* render versions in profile links when necessary
* rework OID handling for better OID -> CodeSystem resolution
* fix up vsac importer for changes to client
* don't send xhtml for tx operations
* FHIRPath: Backport the defineVariable code to the R4 and R4B fhirpath implementations
* FHIRPath: Remove the alias/aliasAs custom functions (use standard defineVariable now)
* Bump lombok (#1603)
***NO_CI***
2024-04-23 08:03:57 +00:00
Grahame Grieve befac845ae fix typo 2024-04-23 08:39:37 +10:00
Grahame Grieve 60bf358bfa Look up CodeSystem from terminology server + don't use tx-registry when manual terminology server is set 2024-04-23 08:34:25 +10:00
Grahame Grieve 2625952ce2 more work on WHO language support ($1592) 2024-04-22 11:17:45 +10:00
Grahame Grieve 6bcea37785 fix NPE loading resources 2024-04-22 11:17:06 +10:00
Grahame Grieve 5134aa187c Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-04-21 21:57:05 +10:00
Grahame Grieve 8cca22aef3 fix bug processing code bindings when value sets are complex (multiple filters) 2024-04-20 23:36:01 +10:00
Grahame Grieve 56fdbf500f render versions in profile links when necessary 2024-04-20 23:35:42 +10:00
Grahame Grieve 9dfa57c2d5 rework OID handling for better OID -> CodeSystem resolution 2024-04-20 23:35:27 +10:00
Grahame Grieve 213363fc1e Send supplements to tx server 2024-04-20 23:35:01 +10:00
Grahame Grieve 81cb12d0ed don't send xhtml for tx operations 2024-04-20 23:33:43 +10:00
Grahame Grieve 3fb9bc20f4 fix spelling of heirarchy 2024-04-20 23:32:52 +10:00
Brian Postlethwaite d56404afd6 Backport the defineVariable code to the R4 and R4B fhirpath implementations 2024-04-17 13:09:12 +10:00
Brian Postlethwaite 59bd0d012c Remove the alias/aliasAs custom functions from R5 (use standard defineVariable now) 2024-04-17 09:56:33 +10:00
markiantorno ed18ec2cc6 Updating version to: 6.3.6-SNAPSHOT and incrementing test cases dependency. 2024-04-16 22:47:50 +00:00
markiantorno ccf66ece0b Release: v6.3.5
## Validator Changes

* Fix up path management in the validator for resolving references in Bundles
* Add support for defineVariable in FHIRPath
* Fix problem with CDA element having multiple types
* Fix problem with 'is' not working in FHIRPath for CDA types
* Fix issue processing CDA generic type names
* Fix for NPE processing tx server response
* Add support for code system supplements when communicating with tx server

## Other code changes

* OSGI: make sure JUnit 4 and 5 dependencies are optional (#1596) (Also removed duplicate managed versions of JUnit 4.13.2 and mockwebserver 4.11.0)
* Render CapabilityStatement.imports (and instantiates)
* Terminology Service Tests - minor improvements for running in HAPI, add $lookup & $translate support, create R4 clone
* Add support for $translate to terminology client
* More i18n work in rendering context (WHO project)
* Add isServerSide for seeing if code systems are only supported on the server
* Fix R4B loading issue that lead to wrong web paths for R4B resources
* Fix problems rendering Binary files in IGs
* Add support for rendering logical URIs
* Remove path.toFile()

## Security

* Finish moving all local file access to go through ManagedFileAccess

## WHO Internationalization work

* More work on date rendering
***NO_CI***
2024-04-16 22:01:50 +00:00
dotasek bab36025db
Bump nimbus-jose-jwt (#1599) 2024-04-16 11:29:28 -04:00
Grahame Grieve ca783eb036
Merge pull request #1597 from brianpos/BP-defineVariable
Implement the new fhirpath `defineVariable` function
2024-04-16 22:04:40 +10:00
Grahame Grieve f9a11d97f7 more removing Path.toFile() 2024-04-16 19:37:42 +10:00
Grahame Grieve 99f40d18b5 Start removing path.toFile() 2024-04-16 18:17:42 +10:00
Grahame Grieve 4155a9be6a Add support for code system supplements when communicating with tx server 2024-04-15 22:42:05 +10:00
Grahame Grieve 1f7f57bade Add support for $translate to terminology client 2024-04-15 22:41:45 +10:00
Brian Postlethwaite 49809ec6c2 The scoping for the `aliasAs` function has different needs to everything else, so has minor workaround. 2024-04-15 10:38:25 +10:00
Grahame Grieve 16c5317ccb Add support for rendering logical URIs 2024-04-12 22:11:55 +10:00
Grahame Grieve eb553df2df fix problems rendering Binary files in IGs 2024-04-12 22:11:14 +10:00
Grahame Grieve 3d62e098c2 Fix problem with 'is' not working in FHIRPath for CDA types 2024-04-12 22:10:49 +10:00
Grahame Grieve e89f44725f fix problem with CDA element having multiple types 2024-04-12 22:10:18 +10:00
Brian Postlethwaite 33d9304700 Missed the total and index copying to the child context. 2024-04-12 16:06:03 +10:00
Brian Postlethwaite af6759dd4c Add support for a test to skip the static check (only case has been a declareVariable that uses a dynamically calculated name) 2024-04-12 14:13:54 +10:00
Brian Postlethwaite f54ae79949 set the context to isolate parameters to functions/operations from sharing the same defineVariables context 2024-04-12 14:13:53 +10:00
Brian Postlethwaite d65f2cc47d Static check the parameters for the defineVariable function. 2024-04-12 14:13:53 +10:00
Brian Postlethwaite 5d612c78b2 Don't permit variables to be over-written. 2024-04-12 14:13:53 +10:00
Brian Postlethwaite 7b7af6087e base components of implementing the defineVariable fhirpath function 2024-04-12 14:13:53 +10:00
Grahame Grieve 4ceac5012b Look up support in Tx Tests 2024-04-11 08:29:34 +10:00
Grahame Grieve 8ce99140aa More i18n work (#1592) 2024-04-10 08:18:58 +10:00
Grahame Grieve 0038e3a57b Fix up path management in the validator for resolving references in Bundles 2024-04-10 08:18:06 +10:00
Grahame Grieve a939e14db9 Add isServerSide for seeing if code systems are only supported on the server 2024-04-10 08:16:55 +10:00
Grahame Grieve a111989bb4 i18n work in rendering context (WIP) (#1592) 2024-04-09 05:20:41 +10:00
Grahame Grieve 2ce5bbd0d8 #873 render CapabilityStatement.imports (and instantiates) 2024-04-04 22:16:26 +11:00
markiantorno 1f3d2838d9 Updating version to: 6.3.5-SNAPSHOT and incrementing test cases dependency. 2024-04-04 01:47:30 +00:00
markiantorno 45e8d86478 Release: v6.3.4
## Validator Changes

* Validate fixed/pattern values are not changed in derived profiles
* Fix NPE validating some profiles
* FHIRPath validation: consider sub-extensions when checking extension($) use
* Fix validation of concept maps containing SCT
* Preserve message id from terminology service so editors can use it to remove hints and warnings

## Other code changes

* Fix ConceptMap.group.target conversion from R3 to R5
* Fix NPE in list renderer
* fix bug showing 'required' instead of 'current' rendering additional bindings
* Fix bad references generating narratives in bundles
* Fix bug showing extension binding twice
* Various improvements to structure map validation to support cross-version mappings
* Add rendering for UsageContext and ContactDetail
* Fix broken link in xver IG for R2
* Fix bug rendering resources in Parameters resource
* Not-pretty xhtml gets line breaks before block tags to keep line length down (work around a jekyll issue)
* Improved ConceptMap rendering for cross-version IG
* Handle xhtml:div type for old FHIR version
* FML: strip '-' from rules names when parsing
* Update FML parsers to accept R5 metadata in R4 FML format
* Break out helper classes for Terminology Service Tester

## Security

* Add start of security notes
* Start moving file access to all go through ManagedFileAccess

## WHO Internationalization work:

* Add library to parse IETF Language definitions
* Move message translations to .po files as the master source & write convertor
* Much work making rendering i18n-able
* i18n for Patient renderer
* Refactor language handling in R5 renderers
***NO_CI***
2024-04-04 00:55:36 +00:00
Grahame Grieve f9a3501857 update to bundle rendering to fix broken links 2024-04-04 06:50:00 +11:00
Grahame Grieve 0d57115ede preserve message id from terminology service so editors can use it in suppressed-messages.txt 2024-04-03 20:13:34 +11:00
Grahame Grieve eb7d66685e improved ConceptMap rendering for cross-version IG 2024-04-03 20:12:47 +11:00
Grahame Grieve 1c98b06189 handle xhtml:div type for old FHIR version 2024-04-03 20:12:28 +11:00
Grahame Grieve f654ae1d58 FHIRPath engine: consider sub-extensions when checking extension($) use 2024-04-03 20:12:14 +11:00
Grahame Grieve a8b40a3946 FML: strip '-' from rules names when parsing 2024-04-03 20:11:40 +11:00
Grahame Grieve 2c6f1b6a59 start moving file access to all go through ManagedFileAccess 2024-04-03 20:11:16 +11:00
Grahame Grieve d4d356731e update PO generator for plurals 2024-03-29 20:38:54 +11:00
Grahame Grieve 8d86abe0c1 more i18n work for rendering 2024-03-29 20:38:28 +11:00
Grahame Grieve c8c3e330b6 fix bad references generating narratives in bundles 2024-03-29 20:38:14 +11:00
Grahame Grieve 89b885f191 i18n for Patient renderer 2024-03-29 20:37:36 +11:00
Grahame Grieve 2373ab7a22 add rendering for UsageContext and ContactDetail 2024-03-29 20:37:26 +11:00
Grahame Grieve 07e291b511 fix bug showing 'required' instead of 'current' rendering additional bindings 2024-03-29 20:36:56 +11:00
Grahame Grieve e2be137e5d fix bug showing extension binding twice 2024-03-29 20:36:38 +11:00
Grahame Grieve 6ca39e14db fix broken link in xver IG for R2 2024-03-27 21:14:26 +11:00
Grahame Grieve c9490d88d1 update FML parsers to accept R5 metadata in R4 FML format 2024-03-27 21:14:00 +11:00
Grahame Grieve a95b867054 more rendering i18n work 2024-03-26 06:27:25 +11:00
Grahame Grieve 1842dfee41 test fix 2024-03-25 23:49:47 +11:00
Grahame Grieve c53730b038 fix tests 2024-03-25 21:44:53 +11:00
Grahame Grieve d49488c617 fix broken tests 2024-03-25 21:11:17 +11:00
Grahame Grieve 9c74556770 more rendering work 2024-03-25 16:57:37 +11:00
Grahame Grieve 459f04a490 update date rendering 2024-03-25 15:58:40 +11:00
Grahame Grieve a4055877c4 more work on multi-language rendering, and add test id to error message on comparison 2024-03-25 10:06:00 +11:00
Grahame Grieve c633eafef6 more i18n refactoring 2024-03-24 18:05:06 +11:00
Grahame Grieve 0e36d2a3c6 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-03-24 17:48:40 +11:00
Grahame Grieve c7dc4b149e fix NPE in list renderer 2024-03-24 17:48:36 +11:00
Grahame Grieve 4a2e2087bb bug fixes 2024-03-23 20:09:17 +11:00
Grahame Grieve e43fb83693 more refactoring rendering for i18n 2024-03-23 18:29:14 +11:00
Grahame Grieve 02b6e80b6d refactor language handling in R5 renderers 2024-03-22 22:49:31 +11:00
Grahame Grieve 53f484d11c fix bug rendering resources in Parameters resource 2024-03-21 20:12:54 +11:00
Grahame Grieve 975b45da36 more work on translations 2024-03-21 20:12:42 +11:00
markiantorno 0cebf9af9f Updating version to: 6.3.4-SNAPSHOT and incrementing test cases dependency. 2024-03-20 13:31:17 +00:00
markiantorno ec51399045 Release: v6.3.3
## Validator Changes

* Fix grammar in validation messages
* Fix NPE in validator for SIDs
* Duplicate designations in a code system is a warning, not an error
* Fix value set validation to validate codes in example code systems

## Other code changes

* Improved multi-language support for IG development (LanguageUtils)
***NO_CI***
2024-03-20 12:38:29 +00:00
Grahame Grieve 9a66c1968e more work on language utilities 2024-03-20 22:44:13 +11:00
Grahame Grieve 8f2f414c78 Fix value set validation to validate codes in example code systems 2024-03-20 20:59:41 +11:00
Grahame Grieve 99ea673b91 Improved language support for IG development 2024-03-20 20:39:07 +11:00
markiantorno b2e3c261e4 Updating version to: 6.3.3-SNAPSHOT and incrementing test cases dependency. 2024-03-18 15:09:50 +00:00
markiantorno 5b5a0a2cdf Release: v6.3.2
## Validator Changes

* CodeSystem property validation improvements
* More valueset validation improvements after real world testing
* Fix processing of NotSelectable filters using in | not-in
* Fix wrong collection type checking FHIRPath subsetOf parameter type

## Other code changes

* Fix rendering of contained resources in Kindling
* Put jurisdiction in NPM package file
* Rendering improvements for xver IG
* More xver support for concept maps
* Fix NPE in ContextUtilities (kindling)
* Add OID Assigner utility
***NO_CI***
2024-03-18 14:24:12 +00:00
Grahame Grieve 30545d31c1 CodeSystem property validation improvements 2024-03-18 18:09:56 +11:00
Grahame Grieve 413c047b56 more fixing rendering 2024-03-18 14:35:59 +11:00
Grahame Grieve c221488463 fix rendering of contained resources in Kindling 2024-03-18 14:35:46 +11:00
Grahame Grieve 8897f956bf put jurisdiction in NPM package file 2024-03-14 16:48:04 +11:00
Grahame Grieve e0d17ceb97 Fix processing of NotSelectable filters using in | not-in 2024-03-14 16:47:45 +11:00
Grahame Grieve 93c98b551a rendering improvements for xver IG 2024-03-14 16:47:23 +11:00
Grahame Grieve 3c39cafbcb more xver support for concept maps 2024-03-14 16:46:57 +11:00
Grahame Grieve 564a71fe1c fix wrong collection type checking FHIRPath subsetOf parameter type 2024-03-14 16:46:39 +11:00
Grahame Grieve fc8be53260 fix NPE in kindling 2024-03-14 16:46:03 +11:00
markiantorno da3bb9e353 Updating version to: 6.3.2-SNAPSHOT and incrementing test cases dependency. 2024-03-10 21:41:17 +00:00
markiantorno 072be957d4 Release: v6.3.1
## Validator Changes

* Add validation for CodeSystem Properties and ValueSet filters
* More validation for Code Systems: contained code systems, supplement cross checks
* Add more validation around ValueSet.compose.include.system - must be a proper URL, and not a direct reference to a supplement
* HL7: Don't require HL7 publishing status on contained resources
* Don't walk into nested bundles when validating links in bundles
* fix up implementation of notSelectable in value set filters
* Add check for multiple version matches for a versionless canonical reference

## Other code changes

* Fix narrative generator generating duplicate anchors (prefix 'hc')
* exclude .DS_Store from generated zip files
* Add cross-version support extension
* Add ConceptMap utilities in support of cross-version module
***NO_CI***
2024-03-10 20:52:29 +00:00
Grahame Grieve 9e8a010c13 ValueSetValidation improvements 2024-03-11 00:19:16 +11:00
Grahame Grieve a94b41add8 fix up implementation of notSelectable in value set filters 2024-03-08 22:31:53 +11:00
Grahame Grieve 045718d582 Fix narrative generator generating duplicate anchors (prefix 'hc') 2024-03-08 22:31:25 +11:00
Grahame Grieve 13dcebb3e4 add check for multiple version matches for a versionless canonical reference 2024-03-08 22:29:51 +11:00
Grahame Grieve 209d38413e cross-version support extension 2024-03-07 13:49:15 +11:00
Grahame Grieve 0076a2206d ConceptMap utilities 2024-03-05 20:10:13 +11:00
Grahame Grieve a3fb1457a0 More improvements to ConceptMap Infrastructure 2024-03-01 16:40:41 +11:00
markiantorno 48023c0ba4 Updating version to: 6.3.1-SNAPSHOT and incrementing test cases dependency. 2024-02-28 05:56:31 +00:00
markiantorno b44c34c7e2 Release: v6.3.0
## Validator Changes

* Fix significant bug where validator gets internal child lists incorrect and doesn't do complete validation when switching between validating profiles and resources directly
* Performance improvement for validator parsing - thanks Brian Postlethwaite
* Fix Crash on slicing a sliced element #862
* Fix ig loading from direct URL (#1559)
* Fix bug copying constraints into Bundle.entry.resource profiles
* Fix bug loading R5 extensions with imported value sets
* Replace dom-3 with custom java code, and check xhtml references to contained content
* Improve concept map code validation
* Update observation validator for committee decision not to enforce Blood Pressure profile for Mean Blood Pressure
* Validate value set internal codeSystem references
* Split value set validation into 10k batches for very large extensional value sets
* Hack fix for opd-3
* Fix bug where using ontoserver when not appropriate
* Fix issues with inferSystem
* Don't require HL7 committee for contained resources in HL7 namespace
* Fix where validator was ignoring minimum cardinality for XML attributes (especially in CDA)
* Improved ConceptMap validation
* Updated IG versions used for -cda and -ccda CLI validation options.
* Change validator so that it marks value properties in primitive data types as illegal

## Other code changes

* Fix code system rendering for uri properties
* Fix broken links Bundle and Profile rendering
* Take copy of code when doing local validation
* WIP: major refactor of cross version analysis
* Add support for subsumes in tx client
* Don't generate snapshots when scanning structure definitions for resource names
* Work on ConceptMap infrastructure for cross-version analysis
* Fix bug where not rendering ConceptMap relationships
* Fix wrong URLs rendering Profiles and Questionnaires
* Fix bug using wrong version constant for R3
* Updates for R5 StructureMap syntax
* Support for case sensitive Code system tests
* Add TurtleGeneratorTests for R5
* Introduce new validator cliContext option disableDefaultResourceFetcher (#1526)
* Render contained resources when rendering Patient resources
* Fix bug in FML Parser
***NO_CI***
2024-02-28 05:04:13 +00:00
Grahame Grieve db5605a5ab fix compile problem 2024-02-28 15:30:12 +11:00
Grahame Grieve f22316d55f fix up structure mapping tests 2024-02-28 12:21:15 +11:00
Grahame Grieve c2c792cb78 render contained resources on patient 2024-02-27 23:53:16 +11:00
Grahame Grieve eb770f830a fix parsing bugs in StructureMap parser 2024-02-27 00:14:11 +11:00
Grahame Grieve 2bcc3fb7ae
Merge pull request #1568 from hapifhir/2024-02-gg-monster
2024 02 gg monster
2024-02-25 23:42:32 +11:00
Grahame Grieve 2bc028b86a Fix compile issue 2024-02-25 19:57:43 +11:00
Grahame Grieve c05ad6cb2c fix bug using wrong version constant for R3 2024-02-25 19:21:58 +11:00
Grahame Grieve e63a2ad16f updates for R5 StructureMap syntax 2024-02-25 19:20:52 +11:00
Grahame Grieve cec8a36d35 Fix wrong URLs rendering Profiles and Questionnaires 2024-02-25 19:20:24 +11:00
Grahame Grieve eaa83ae835 Fix bug where not rendering ConceptMap relationships 2024-02-25 19:19:14 +11:00
Grahame Grieve c2756a24ef work on ConceptMap infrastructure for cross-version analysis 2024-02-25 19:18:06 +11:00
Grahame Grieve 3a27e012be Don't generate snapshots when scanning structure definitions for resource names 2024-02-25 19:16:18 +11:00
Grahame Grieve 0642e123a1 Fix significant bug where validator gets internal child lists incorrect and doesn't do complete validation when switching between validating profiles and resources directly 2024-02-25 19:15:27 +11:00
Grahame Grieve df3456d293 Add support for subsumes in tx client 2024-02-25 19:14:12 +11:00
Grahame Grieve d5972caeb1 performance improvement for element model parsing - thanks Brian Postlethwaite 2024-02-22 17:52:49 +11:00
Grahame Grieve 4fdaee16a5 fix Crash on slicing a sliced element #862 2024-02-22 15:41:46 +11:00
Tim Prudhomme 7761be6197
Add TurtleGeneratorTests (#1528)
* Add TurtleGeneratorTests for R5

* Finish TurtleGeneratorTests setup

* Switch unit test to added example resource, disable others
2024-02-20 15:25:12 -05:00
dotasek e42079e482
Restore commented method verification (#1566) 2024-02-20 11:04:32 -05:00
Grahame Grieve d99fbfa191
Merge pull request #1565 from hapifhir/2024-02-gg-tx-fixes
2024 02 gg tx fixes
2024-02-12 19:23:05 +11:00
Grahame Grieve d128c2d3fc rebuild tx cache 2024-02-12 16:21:36 +11:00
Grahame Grieve 5b323644de Fix issues with inferSystem 2024-02-12 16:20:34 +11:00
Grahame Grieve b8a9b94b45 fix bug where using ontoserver when not appropriate 2024-02-12 16:20:10 +11:00
Grahame Grieve f74f87c33b disable test 2024-02-12 16:19:27 +11:00
Grahame Grieve 55cbc66fbf take copy of code when doing local validation 2024-02-12 16:19:19 +11:00
Grahame Grieve 1df3b9651b
Merge pull request #1563 from hapifhir/2024-02-gg-misc-fixes-1
2024 02 gg misc fixes 1
2024-02-11 22:45:09 +11:00
Grahame Grieve 85a8807e7b code 2024-02-10 23:11:56 +11:00
Grahame Grieve b548b98496 Split value set validation into 10k batches for very large extensional value sets 2024-02-10 23:11:23 +11:00
Grahame Grieve 487094ccc7 Fix broken links Bundle and Profile rendering 2024-02-10 23:10:53 +11:00
Grahame Grieve 2628010dff Fix code system rendering for uri properties 2024-02-10 23:10:31 +11:00