Commit Graph

2333 Commits

Author SHA1 Message Date
dotasek bc0303535a
Fix for cache init on existing directories (#1743)
* Add tests+fix for cache init on existing directories

* Clear the cache if it is the wrong version

* Link to FHIR spec docs for .index.json
2024-09-11 12:05:17 -04:00
markiantorno 2c8122a42e Updating version to: 6.3.25-SNAPSHOT and incrementing test cases dependency. 2024-09-09 19:09:24 +00:00
markiantorno 813f8200a2 Release: v6.3.24
## Validator Changes

* Fix expression for con-3 properly (fix validation problem on some condition resources)
* Fix FHIRPath bug using wrong type on simple elements when checking FHIRPath types
* FHIRPath: Allow _ in constant names (per FHIRPath spec)
* Fix value set rendering creating wrong references
* Fix bug processing value set includes / excludes that are just value sets (no system value)
* Alter processing of unknown code systems per discussion at ,https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Don't.20error.20when.20you.20can't.20find.20code.20system and implement unknown-codesystems-cause-errors
* Improve message for when elements are out of order in profile differentials

## Other code changes

* fix problem where profile rendering had spurious 'slices for' nodes everywhere
* Update SQL-On-FHIR implementation for latest cases, and clone test cases to general test care repository
* Fix problem generating value set spreadsheets
* fix concurrent modification error processing language translations
* Check for null fetcher processing ConceptMaps (#1728)
***NO_CI***
2024-09-09 18:23:37 +00:00
Grahame Grieve ffe0ab6414
2024 09 gg vs sql (#1738)
* Fix bug processing value set includes / excludes that are just value sets (no system value)

* fix value set rendering creating wrong references

* Update SQL-On-FHIR implementation for latest cases, and clone test cases to general test care repository

* Fix expression for con-3 properly (fix validation problem on some condition resources)

* FHIRPath: Allow _ in constant names (per FHIRPath spec)

* Fix FHIRPath bug using wrong type on simple elements when checking FHIRPath types

* release notes

* fix sql-on-fhir tests

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-09-09 12:27:08 -04:00
Grahame Grieve 7fc34e509a alter processing of unknown code systems per discussion at ,https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Don't.20error.20when.20you.20can't.20find.20code.20system and implement unknown-codesystems-cause-errors 2024-09-06 22:18:01 +08:00
Grahame Grieve 515bead90d compile fix 2024-09-04 21:59:01 +08:00
Grahame Grieve 96485e6175 updates 2024-09-03 21:27:41 +08:00
markiantorno 19c8b17575 Updating version to: 6.3.24-SNAPSHOT and incrementing test cases dependency. 2024-08-28 18:45:30 +00:00
markiantorno 2721ebb8c6 Release: v6.3.23
## Validator Changes

* no changes

## Other code changes

* Set fhir-test-cases to release 1.5.20
***NO_CI***
2024-08-28 17:59:21 +00:00
markiantorno 1e5cb4da49 Updating version to: 6.3.23-SNAPSHOT and incrementing test cases dependency. 2024-08-27 21:23:55 +00:00
markiantorno 0bdba83faf Release: v6.3.22
## Validator Changes

* no changes

## Other code changes

* BugFix: Restore loadFromFolder method in FilesystemPackageCacheManager
***NO_CI***
2024-08-27 20:30:39 +00:00
dotasek f783d07c6c Restore deleted method 2024-08-27 14:09:28 -04:00
markiantorno c172df802d Updating version to: 6.3.22-SNAPSHOT and incrementing test cases dependency. 2024-08-27 17:54:17 +00:00
markiantorno c92ee550c0 Release: v6.3.21
## Validator Changes

* Security Fix: Move all instantiation of transformerFactory to XMLUtils and set ACCESS_EXTERNAL flags automatically (slightly improvement to output message, but closes possible attack vector)
* Handle 308 redirects when fetching packages
* Fix NPE in ValueSetValidator
* Fix for NPE in IGLoader
* fix version conversion problem for ConceptMap (4<->5): relationship comment getting lost for noMap entries
* Add check for multiple WG extensions (HL7 context)

## Other code changes

* Suppress spurious logging statement
* Add Australian CDA name prefix & uri to mapping transform code
* Add new messages for tx.fhir.org
* Remove narrative from snapshot tests
* Improve complex extension rendering when rendering by profile
* Rewrite processing of map statements when generating snapshots to fix known bugs
* Updates to Capability Statement rendering (and minor Operation Definition rendering improvement)
* Fix wrong reference to CDA classes for unscoped class names
* fix rendering issue for R4 relationship codes in ConceptMap
* rework decimal lowBoundary() and highBoundary() after discussion on Zulip, and add extensive testing
* Fix existing test case for fixed up boundary handling in FHIRPath
* Add CodeSystem fetching for selected code systems for VSAC import
* Drop to saxon 11.6 for now
* fix issue with json unicode whitespace enscaping
* get Java generator running again (though no code regenerated)
* don't escape unicode whitespace in json files
* Fix NPE in questionnaire renderer
* Hack workaround for R4 issue with ProcessPriority
* Rewrite concurrency management for file system package cache
***NO_CI***
2024-08-27 16:42:13 +00:00
dotasek 18ff00fcc3
Package Cache Concurrency (#1715)
* WIP on do-20240722-thread-safety

* Try lock downgrading for better performance

* Refactor FilesystemPackageCacheLockManager

* Tidy up spacing.

* Refactor initCacheFolder. Change read lock to stop asking for a write lock

* Clean up version in addPackageToCache

Since we run checkValidVersionString, version will never be null, and can be final. Also, everything else can be final.

* Make an even crash-ier test for the FilesystemPackageManager

* Move read lock starting point to beginning of addPackageToCache

* Code cleanup

* More code cleanup + enhanced test + more locks

* More aggressive testing + bug fixes and lock file creation

* Basic checks and creation for lockfile

* More testing + smarter check for lock file

* Some renaming and code cleanup

* Some more general tests

* Check whole cache write lock (instantiating)

* Fix references to local files

* A little less repetition than that...

* Fix unclosed channel causing windows failure

* Fix file sync issues when writing .index.json files + others

* Add TRUNCATE_EXISTING and WRITE open options (fix overwrite behavior)

* Revert "Add TRUNCATE_EXISTING and WRITE open options (fix overwrite behavior)"

This reverts commit cfed736cd6.

* Revert "Fix file sync issues when writing .index.json files + others"

This reverts commit 4daf7feb93.

* Some additional test coverage, since I already wrote it.

* Don't build indexes implicitly during reads.

* Woops. Forgot that a directory can disappear via deletion

* Remove larger package

* Clean up code + remove System.out chatter

* Remove long running test (is tested elsewhere) + clean up code
2024-08-27 11:29:41 -04:00
Grahame Grieve 56091f652a
Merge pull request #1722 from hapifhir/do-20240822-redirect-308
Handle 308 redirects
2024-08-27 08:01:39 +08: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 be52ad2e96
Merge pull request #1721 from hapifhir/2024-08-gg-misc
2024 08 gg misc
2024-08-27 07:58:48 +08:00
Grahame Grieve 829e1599a0 new messages for tx.fhir.org 2024-08-26 22:49:36 +08:00
Grahame Grieve 96090efdf4 suppress spurious logging statement 2024-08-23 21:51:16 +08:00
dotasek cf1a58e76c Add 307 as well 2024-08-22 17:24:17 -04:00
dotasek 62758b57c5 Smarter test. 2024-08-22 17:09:03 -04:00
dotasek 59f5eeb3c4 Clean up 2024-08-22 15:51:31 -04:00
dotasek 8094d72314 Improved basic SimpleHttpClientTest and add one for redirects 2024-08-22 15:42:18 -04:00
Grahame Grieve ec23f52c40 Fix test case for fixed up boundary handling in FHIRPath 2024-08-22 08:07:45 +08:00
Grahame Grieve 00ad185882 rework decimal lowBoundary() and highBoundary() after discussion on Zulip, and add extensive testing 2024-08-19 07:08:59 +08:00
Vassil Peytchev c60b2bfe1d fixes on capability statement rendering 2024-08-16 16:53:51 -05:00
Vassil Peytchev eb1b18c853 Merge branch 'master' of github.com:vassilpeytchev/org.hl7.fhir.core into cs-changes 2024-08-16 14:05:20 -05:00
Vassil Peytchev 7dac6306a7
Merge branch 'hapifhir:master' into master 2024-08-16 13:53:35 -05: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 3ee9533121 fix issue with json unicode whitespace enscaping 2024-08-16 11:59:09 +08:00
Grahame Grieve 2b54f1cf1a don't escape unicode whitespace in json files 2024-08-16 06:47:25 +08:00
Grahame Grieve 5bbb21aad5 Add check for multiple WG extensions 2024-08-16 06:46:41 +08:00
Vassil Peytchev 2bc9bf9a60 Merge branch 'master' of github.com:vassilpeytchev/org.hl7.fhir.core into cs-changes 2024-08-15 14:33:26 -05:00
Vassil Peytchev 4275261aff Update version 2024-08-15 14:32:15 -05:00
Vassil Peytchev c26ca1f427
Merge branch 'hapifhir:master' into master 2024-08-15 13:58:34 -05:00
markiantorno fe2a8e6d11 Updating version to: 6.3.21-SNAPSHOT and incrementing test cases dependency. 2024-08-13 17:31:22 +00:00
markiantorno 1800948c7a Release: v6.3.20
## Validator Changes

* Improved handling of display validation for various languages
* fix xml:space message after discussion on Zulip

## Other code changes

* ValueSet rendering improvements
* Add isUnknownLocalReferencesNotLinks to RenderingContext
* Fix up conceptMap rendering (remove spurious summary table)
* Add R6 ballot 2 to FHIRVersion enum in R5
* rendering fixes for implementers
* improve rendering of bindings with no value sets
***NO_CI***
2024-08-13 16:46:00 +00:00
Grahame Grieve d11cbded2b improved handling of display validation for various languages 2024-08-11 22:49:51 +08:00
Vassil Peytchev 448edf45b0 Merge branch 'master' into cs-changes 2024-08-08 11:52:32 -05:00
Vassil Peytchev a5d2e7787d
Merge branch 'hapifhir:master' into master 2024-08-08 10:56:11 -05:00
Grahame Grieve 255a225e51
Merge pull request #1710 from hapifhir/2024-08-gg-no-binding-vs
2024 08 gg no binding vs
2024-08-08 09:16:06 +08:00
Grahame Grieve 7f25139a05 fix url encoding method 2024-08-08 08:43:20 +08:00
Grahame Grieve cb3319a83f fix xml:space message 2024-08-08 07:41:19 +08:00
Grahame Grieve 4743a0468a improve rendering of bindings with no value sets 2024-08-08 07:41:06 +08:00
Vassil Peytchev 739e0fdbbf Getting Cory's changes 2024-08-06 15:52:34 -05:00
Vassil Peytchev 77eeeac076
Merge branch 'hapifhir:master' into master 2024-08-04 10:57:17 -05:00
markiantorno e6e4efa540 Updating version to: 6.3.20-SNAPSHOT and incrementing test cases dependency. 2024-08-04 15:24:42 +00:00
markiantorno aac96cf897 Release: v6.3.19
## Validator Changes

* Improve performance of supplement processing
* Add support for validating xml:space
* Fix NPE validating maps
* Fix duplicate removal code that caused missed WARNING messages (#1698)
* Fix interaction between terminology cache and validation location  (#1700)
* Better concept map validation
* Improved base64 parsing error
* Add support for unknown code system version validating concept maps
* Fix bug using wrong profile when profiling recursive properties

## Other code changes

* Return null for all toCode enum params that are null
* fix bugs adding publishing WG in element mode
* Fix equality method that caused missed WARNING messages
* fix rendering issues
  * rendering fixes for R6 build
  * don't throw error for wrong rendering mode
  * Document rendering fixes - subject and section
  * more work on forcing valid html generation
  * more hyperlink validation improvements
  * further fixes to link validation
  * fix list inside paragraph
  * fix actor capabilities in wrong place
  * Support missing datatypes
  * Fill out missing anchors
  * Fix wrong handling of contained resources)
  * #1678 - add div to children when exploring Narrative
***NO_CI***
2024-08-04 14:35:44 +00:00
Grahame Grieve af5eaafd34 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-08-03 23:38:47 +08:00