209 Commits

Author SHA1 Message Date
Brian Postlethwaite
01af08030f #1794
Update the implementation of the `toString` fhirpath function to: (pending FHIR-48737)
* not return the text 'null' when no primitive value exists (when extension only)
* throw an error if more than 1 item is to be returned (doesn't support collections)
* return an empty set when no primitive values exist (when extension only)
2024-10-31 10:04:57 +11:00
dotasek
f0a25dabe3 Move XXE safe SAXParserFactory and XMLReader instantiation to XMLUtil 2024-10-17 15:46:05 -04:00
dotasek
2d80a09deb Merge remote-tracking branch 'origin/master' into do-20241009-documentbuilderfactory-refactor 2024-10-16 11:59:24 -04:00
Grahame Grieve
c7ccbb0110 more work on http client 2024-10-10 19:29:58 +08:00
Grahame Grieve
b9299fa9e2 fix typo 2024-10-09 23:14:11 +08:00
Grahame Grieve
cacce9b05e fix up processing of server responses 2024-10-09 23:10:09 +08:00
dotasek
7ede053a5f Move new documentbuilderfactory calls to XMLUtils 2024-10-09 09:26:41 -04:00
Grahame Grieve
004d367340 fix tests 2024-09-24 22:27:50 -04:00
Grahame Grieve
a1f014730e Add response time to tx log 2024-09-24 20:25:02 -04:00
Grahame Grieve
edd5b7a560
Merge pull request #1717 from hapifhir/do-20240816-xslt-external
Move all instantiation of transformerFactory to XMLUtils and set ACCESS_EXTERNAL flags automatically
2024-08-27 08:00:51 +08:00
Grahame Grieve
9aef2793ce
Merge pull request #1719 from robeastwood-agency/202408-re-cda-au-namespace
Add Australian CDA name prefix & uri
2024-08-27 07:59:36 +08:00
Grahame Grieve
10d4ac0aad clone FHIRPath changes to R4/R4B 2024-08-23 21:49:46 +08:00
Rob Eastwood
326e1284eb
Add Australian CDA name prefix & uri
Fixes #1613
2024-08-18 08:44:28 +10:00
dotasek
60470b1a28 Move all instantiation of transformerFactory to XMLUtils
and set ACCESS_EXTERNAL flags automatically
2024-08-16 10:34:50 -04:00
Grahame Grieve
714b0a0fd4 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-25 17:30:17 +08:00
Grahame Grieve
7ba860c4ed fix rendering issues (list inside paragraph, actor capabilities in wrong place, missing datatypes, missing anchors, wrong handling of contained resources) 2024-07-25 17:00:42 +08:00
dotasek
1f9c999770 Return null for all toCode enum params that are Enum.NULL (r4b) 2024-07-19 12:14:03 -04:00
Grahame Grieve
652bec9743 #1678 - add div to children when exploring Narrative 2024-07-18 20:23:50 +08: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
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