Commit Graph

191 Commits

Author SHA1 Message Date
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
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 b766cffdb1 v2 tests, support discriminator by position, and don't check type characteristics for unknown types 2024-05-26 07:56:16 -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
Grahame Grieve 4911f4fef8 updates for ManagedWebAccess 2024-05-18 14:58:33 +10:00
Grahame Grieve a510a6d1aa introduce ManagedWebAccess 2024-05-16 13:34:50 +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 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 0664e5601d Remove the alias/aliasAs custom functions from R4/r4b (use standard defineVariable now) 2024-04-17 10:38:25 +10:00
Grahame Grieve f9a11d97f7 more removing Path.toFile() 2024-04-16 19:37:42 +10:00
Grahame Grieve 2c6f1b6a59 start moving file access to all go through ManagedFileAccess 2024-04-03 20:11:16 +11:00
Grahame Grieve 02b6e80b6d refactor language handling in R5 renderers 2024-03-22 22:49:31 +11:00
Grahame Grieve ca19aa7e35 split between R4B and R5 test cases 2024-02-25 22:54:14 +11:00
Grahame Grieve e8f4bde1eb Fix formatting of error messages from terminology server 2024-01-30 19:03:54 +11:00
dotasek.dev 869166b0b3 Fix resolveOperationUri using slash instead of dollar sign 2024-01-26 11:13:44 -05:00
Grahame Grieve 1895698c24 fix NPEs in http logging 2024-01-17 20:47:32 +11:00
Grahame Grieve 56fc442db4 revise BOM handling for stringToX routines 2024-01-15 17:29:42 +11:00
Grahame Grieve 449821a4b4 update tests to handle missing value sets properly 2024-01-15 15:04:47 +11:00
Grahame Grieve 5b0f154620 tidy up fixmes 2024-01-12 10:10:18 +11:00
Grahame Grieve ee3400be7d fix unicode processing mistakes 2024-01-10 11:18:23 +11:00
Grahame Grieve 7c6d5fa688 extended unicode support 2024-01-10 08:00:32 +11:00
Grahame Grieve 108c6f0847 Fix for FHIRPath split() issue 2024-01-02 22:36:00 +11:00
Grahame Grieve d429f48760 major upgrade to validation - use terminology server to perform more logic, and standardise interface based on agreements with Vocab & Ontoserver 2023-12-30 23:02:19 +11:00
Grahame Grieve bb020dd739 clean up handling of xml_name 2023-12-15 02:44:07 -05:00
dotasek 0afea8dc1d
CLI Task to preload package cache (#1508)
* WIP start building preload task

* Slightly refactor exceptions

* sleep between each query

* WIP - FilesystemPackageCacheManager refactor

* Finish refactor

* Customize PackageVisitor

* Remove unused code

* Remove unused code 2

* Add debug logging for failing test

* Point withCacheFolder if to correct param

* Remove console chatter

* Rename to FilesystemPackageCacheManager.Builder

* Move logic to PackageCacheDownloader for re-use in other projects

* Fix spacing
2023-12-13 11:27:15 -05:00
Grahame Grieve 18c4419b9e refactor FHIRPath package 2023-12-01 15:13:33 +11:00
Grahame Grieve 516ec50afa Fix problem with profiled resources being called examples in IG publisher 2023-12-01 10:37:46 +11:00
Grahame Grieve 82f0fc953a remove orphan R4B test 2023-11-24 12:06:29 +11:00
Grahame Grieve 36361eaa1d refactor timeout control on client 2023-11-24 12:06:18 +11:00
Grahame Grieve 6aaff35495 fhirpath iif() test case fixes 2023-11-22 07:52:47 +11:00
Grahame Grieve 618930e5bf Planning ahead: Add fhirVersion to R5 Base and IWorkerContext methods, and move IContextResourceLoader, ValidationResult and CodingValidationRequest out of IWorkerContext to their own clasess 2023-11-14 06:38:40 +11:00
Grahame Grieve 809b2f68ea Fix broken links in code system rendering of parents 2023-10-31 16:57:25 +11:00
Grahame Grieve e431770caf
2023 10 gg code gen (#1469)
* Revise FHIRPath API so hosts can evaluate expressions in custom functions

* Implement slice() function in validator

* more improvements to profile generation

* Fix issue where .resolve() in FHIRPath didn't work with URL values (and fix typo in i18n system)

* release notes

* Fix test ignore/exclude issues, bump test cases

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-10-24 15:26:24 -04:00
Grahame Grieve d6ef09dd77 remove R4B CDA tests 2023-10-13 11:00:03 +11:00
Grahame Grieve c83b232f7c Fix URL of concept map extension 2023-10-10 15:42:36 +11:00
Grahame Grieve d08039a3a7 fix issue in extension processing 2023-10-09 21:09:39 +11:00
Grahame Grieve f860af857d Fix conversion issue associated with ConceptMap.element.target.equivalence in versions previous to R5 (use proper extension URL, and move extension so it can be a modifier. And fix for modifierExtension handling) 2023-10-09 17:41:26 +11:00
Grahame Grieve e18ba8a2e1 fix up removeChild in R4/R4B/R5 2023-09-27 09:52:34 +10:00
Grahame Grieve e7010d7af0 Add support for .index.db 2023-09-15 22:01:12 -07:00
dotasek 82813a88d2 Fix system path for FileSystemPackageCacheManager 2023-09-05 15:35:21 -04:00
Grahame Grieve a78aa25c14 #1415 review system.out.println() statements 2023-08-29 19:21:45 +02:00
Grahame Grieve ac33590b96 #1412 - fix out of memory issues 2023-08-29 17:34:03 +02:00
Grahame Grieve 7eaa723ec9 rewrite the way language works in value sets 2023-08-25 13:09:36 +02:00
Grahame Grieve 390e25ddae more test fixes 2023-08-19 22:46:23 +10:00
Grahame Grieve 1d4eefa62b Rename implySystem to inferSystem per TI decision 2023-08-13 19:55:52 +10:00