Commit Graph

2363 Commits

Author SHA1 Message Date
Grahame Grieve bf842f0181 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-10 09:50:21 +10:00
Grahame Grieve ffec50c71b
Merge pull request #1617 from hapifhir/2024-05-gg-misc2
2024 05 gg misc2
2024-05-09 23:06:24 +00:00
Grahame Grieve ee5987a301
Merge pull request #1618 from hapifhir/do-20240509-fix-clicontext-fields
Fix duplicate txServer getters and setters
2024-05-09 22:59:31 +00:00
Grahame Grieve 5a9ef0b57c move supplement version test cases to normal test cases 2024-05-10 08:58:20 +10: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 4b32505953
Merge pull request #1614 from Boereck/fix/canonical_split_base_validator
Fix/canonical split base validator
2024-05-09 22:48:30 +00:00
dotasek.dev 2c2e935f0a Fix duplicate txServer getters and setters 2024-05-09 15:26:20 -04: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
dotasek 178f7b0fa1
Use extension class on Exception to force try-catch blocks on checkCodeOnServer calls (#1609)
* Catch missed exception from HAPI

* Wrap general exception for IWorkerContext
2024-05-08 10:18:01 -04:00
Max Bureck be0d718ac7 Changed use of message ID string in test to use constant instead 2024-05-08 14:52:11 +02:00
Max Bureck 962aee14a3 Added test case for CodeSystem.supplements with versioned canonical 2024-05-08 11:45:56 +02:00
Max Bureck 81f02da5c2 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
- org.hl7.fhir.validation.BaseValidator#versionFromCanonical
- org.hl7.fhir.validation.BaseValidator#systemFromCanonical

Replaced all usages of aforementioned methods by the use of
org.hl7.fhir.utilities.CanonicalPair.

Improved CanonicalPair to avoid multiple lookup of the | character. And
added a few convenience methods to the class.

This fixes the issues of #1611 (not replacing all canonical splits in
other places of the code).
2024-05-07 16:46:14 +02: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 a28ba7ee2e allow code system declared proporties to be self-referential 2024-04-25 22:00:08 +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 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 46500069a4 Don't run $lookup and $translate tests on internal terminology server 2024-04-22 17:11:30 +10:00
Grahame Grieve 84d0b13b2f re-Add support for $lookup and $translate in tx tests 2024-04-20 23:37:29 +10:00
Grahame Grieve 74e5f1d493 Don't enforce ids on elements when processing CDA 2024-04-20 23:37:07 +10:00
Grahame Grieve 3fb9bc20f4 fix spelling of heirarchy 2024-04-20 23:32:52 +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
Grahame Grieve 1268145ef7 compile fix 2024-04-16 20:30:31 +10:00
Grahame Grieve f9a11d97f7 more removing Path.toFile() 2024-04-16 19:37:42 +10:00
Grahame Grieve 32296cfdb6 fix merge error 2024-04-16 17:01:19 +10:00
Grahame Grieve 0d7c837b85
Merge branch 'master' into 2024-04-gg-lookup 2024-04-16 16:15:37 +10:00
Grahame Grieve 7796c93066 update for turning tx tests off 2024-04-16 12:40:35 +10:00
Grahame Grieve 1f7f57bade Add support for $translate to terminology client 2024-04-15 22:41:45 +10:00
Grahame Grieve e78042940e Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-04-13 05:03:39 +10:00
Grahame Grieve d26ce8e10d fix for NPE 2024-04-13 05:03:33 +10:00
Grahame Grieve 63852b4082 Fix issue processing CDA generic type names 2024-04-12 22:14:31 +10:00
Grahame Grieve 30a532f23b create R4 clone of tx tests 2024-04-12 22:12:20 +10:00
Grahame Grieve 4ceac5012b Look up support in Tx Tests 2024-04-11 08:29:34 +10:00
Grahame Grieve df93da2735 update tests to depend on snapshot 2024-04-10 08:19:15 +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
dotasek 81f26a80e2 Fix destination for diff output of TerminologyServiceTests 2024-04-05 09:59:04 -04:00
dotasek.dev cc555ba419 Merge branch 'master' into do-20240319-tx-test-reuse 2024-04-04 12:50:27 -04:00
dotasek.dev 2500f26290 Fix compilation 2024-04-04 09:05:53 -04: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
dotasek 7a8ac05075 Merge remote-tracking branch 'origin/master' into do-20240319-tx-test-reuse 2024-04-03 14:07:03 -04:00
dotasek e356bd7017 Merge remote-tracking branch 'origin/master' into do-20240319-tx-test-reuse 2024-04-03 10:17:10 -04:00
Grahame Grieve 69fa06adfd Fix NPE validating some profiles 2024-04-03 20:14:49 +11:00
Grahame Grieve 808d4619d6 various improvements to structure map validation 2024-04-03 20:14:27 +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 2c6f1b6a59 start moving file access to all go through ManagedFileAccess 2024-04-03 20:11:16 +11:00
Grahame Grieve 211e4efb44 validate fixed/pattern values in derived profiles 2024-03-26 08:43:35 +11:00