Commit Graph

2220 Commits

Author SHA1 Message Date
Grahame Grieve 34c8c262bc more i18n development 2024-05-25 03:57:56 -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
Grahame Grieve e16cf9685c Auto stash before merge of "master" and "origin/master" 2024-05-24 18:35:56 -05:00
Alexander Henket 0369abc485
Update rendering-phrases-nl.po
Most strings translated to Dutch, unchecked.
2024-05-24 14:12:00 -05:00
Grahame Grieve 8d55b787ab update translation source files for POEdit support 2024-05-24 10:35:18 -05:00
Grahame Grieve 09d1c4d31f Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-23 01:08:53 -05:00
Grahame Grieve 396a94cf1f fix typos around CODESYSTEM_CONTENT_COMPLETE 2024-05-23 01:08:46 -05:00
dotasek f1fdd51342 Add utility to infer locale from region code 2024-05-22 18:21:07 -04: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
Grahame Grieve ad2544fc2a fix value set summary line display 2024-05-21 10:09:18 -05:00
Grahame Grieve e1e9ffbf10 update the source of truth translation files 2024-05-20 16:57:26 -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 a86fe5a2d2 FIx up issues with calling translation on the wrong set of properties (#1592) 2024-05-20 04:38:17 -05:00
Grahame Grieve bf4b029b4b compile fixes 2024-05-19 10:45:04 -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 f15f9f394e Refactor system specific checking of value set filters 2024-05-18 07:36:30 -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 bdb6022e2d fix token access 2024-05-18 03:38:52 -05:00
Grahame Grieve 6ba9a11c51 Validate Additional Bindings (provisional - usage context is todo) 2024-05-18 03:24:54 -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 5ae44c23d5 fix up LOINC validation for value set filters 2024-05-12 22:28:15 +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 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
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
dotasek e05660a76c Merge remote-tracking branch 'origin/master' into do-20240506-cr-shims 2024-05-08 09:29:03 -04:00
Grahame Grieve 698ba562ab update test case version 2024-05-08 12:06:47 +10: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
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 2833d1da62 fix typo in OID message 2024-04-25 22:01:15 +10:00
Grahame Grieve 316161e3a7 i18n for rendering phrases (step 1) #1592 2024-04-25 22:01:04 +10:00
dotasek 315d115cc7
Refactor + add rendering phrases + sort output (#1607) 2024-04-24 14:01:30 -04:00
dotasek.dev dab6150e9a Merge remote-tracking branch 'origin/master' into do-20240327-language-translation-coverage 2024-04-23 11:46:52 -04: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
dotasek.dev b522c1e4d2 Allow creation of i18n coverage csv 2024-04-22 15:45:08 -04:00
dotasek.dev aff1c0d6f6 Merge branch 'master' into do-20240327-language-translation-coverage 2024-04-22 09:30:27 -04:00
Grahame Grieve 2625952ce2 more work on WHO language support ($1592) 2024-04-22 11:17:45 +10:00
Grahame Grieve 74e5f1d493 Don't enforce ids on elements when processing CDA 2024-04-20 23:37:07 +10:00
Grahame Grieve 1c797d64d9 allow validation message to have count 2024-04-20 23:36:25 +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 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 0d7c837b85
Merge branch 'master' into 2024-04-gg-lookup 2024-04-16 16:15:37 +10:00
Márk Czotter 59a749a842
build(utilities): 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.

Fixes #1561
2024-04-15 20:24:03 -04:00
Brian Postlethwaite 7b7af6087e base components of implementing the defineVariable fhirpath function 2024-04-12 14:13:53 +10:00
Grahame Grieve 8ce99140aa More i18n work (#1592) 2024-04-10 08:18:58 +10:00
Grahame Grieve a111989bb4 i18n work in rendering context (WIP) (#1592) 2024-04-09 05:20:41 +10: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 003abc13d1
Merge pull request #1577 from hapifhir/do-20240319-languages-dat
Loader for rfc5646 languages file
2024-04-04 08:23:24 +11:00
Grahame Grieve 364a2aeec4 not-pretty xhtml gets line breaks before block tags to keep line length down (work around a jekyll issue) 2024-04-03 20:14:05 +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 dfcd5ed161 rebuild po files to get plurals correct 2024-03-28 17:44:53 +11:00
dotasek.dev 56896ba5d1 Add coverage test to output missing translations + summary 2024-03-27 17:28:10 -04:00
Grahame Grieve 6ca39e14db fix broken link in xver IG for R2 2024-03-27 21:14:26 +11:00
Grahame Grieve c237a401c1 move master source for translations to .po files for ease of maintenance 2024-03-27 20:51:54 +11:00
Grahame Grieve 211e4efb44 validate fixed/pattern values in derived profiles 2024-03-26 08:43:35 +11:00
Grahame Grieve 3d57cec0f1 fix validation of concept maps containing SCT 2024-03-26 06:27:42 +11:00
Grahame Grieve a95b867054 more rendering i18n work 2024-03-26 06:27:25 +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 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
dotasek 0d702ae567 Explicit charset 2024-03-20 14:07:27 -04:00
dotasek 90947c9f15 Add options for partial loading 2024-03-20 13:39:12 -04:00
dotasek.dev 77203326db Refactor 2024-03-20 11:37:54 -04:00
dotasek.dev d331c3a3e3 Increase test coverage. 2024-03-20 10:34:48 -04:00
dotasek.dev 65ecbea430 Merge remote-tracking branch 'origin/master' into do-20240319-languages-dat 2024-03-20 10:34:17 -04: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 61b018d033 fix grammar in validation messages 2024-03-20 21:00:33 +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
dotasek.dev 38e9aea8ac Basic lang file loading test and initial implementation 2024-03-19 17:50:20 -04: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 e39bbba7ef More valueset validation improvements after real world testing 2024-03-14 16:48:39 +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 27bf474d7e
Merge pull request #1572 from hapifhir/2024-03-gg-tx-improvements
2024 03 gg tx improvements
2024-03-11 06:10:45 +11:00
Grahame Grieve 9e8a010c13 ValueSetValidation improvements 2024-03-11 00:19:16 +11:00
Grahame Grieve 33a1814d4e CodeSystem validation - properties and designations 2024-03-08 22:32:55 +11:00
Grahame Grieve 045718d582 Fix narrative generator generating duplicate anchors (prefix 'hc') 2024-03-08 22:31:25 +11:00