Commit Graph

2393 Commits

Author SHA1 Message Date
Grahame Grieve bfed8a15d5
Merge pull request #1744 from hapifhir/2024-09-gg-logical-json
2024 09 gg logical json
2024-09-12 14:07:06 +08:00
Grahame Grieve 07f1981a8c Fix for NPE processing packages 2024-09-12 11:56:04 +08:00
dotasek 42ffbaf5a4 WIP master merges + smarter lockfile tests 2024-09-11 18:05:23 -04:00
markiantorno 4af3deff26 Updating version to: 6.3.26-SNAPSHOT and incrementing test cases dependency. 2024-09-11 18:28:22 +00:00
markiantorno f09bc48f7d Release: v6.3.25
## Validator Changes

* no changes

## Other code changes

* Fix logic for cache clearing on package cache initialization
***NO_CI***
2024-09-11 17:40:08 +00:00
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
dotasek f7cf74423c WIP2 More tests on file lock 2024-09-10 17:07:27 -04:00
Lloyd McKenzie 729c2da4c0 Fixed elide spelling 2024-09-10 08:23:26 -06:00
Lloyd McKenzie fff805e5b7 Made changes as recommended by Grahame and Elliot 2024-09-10 08:07:01 -06:00
dotasek e001d781b9 WIP tests for lock file cleanup 2024-09-09 17:03:56 -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
Lloyd McKenzie 966798cc2f Missed commits 2024-09-04 22:25:07 -06: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
Grahame Grieve 2f1f59d5f9 rendering fixes for R6 build 2024-08-03 19:32:46 +08:00
Grahame Grieve b248eb7d67 Add support for validating xml:space 2024-08-03 19:31:55 +08:00
caspears 2d5049c938 CapabilityStatement Message and Document rendering 2024-08-01 23:05:49 -07:00
Vassil Peytchev 0ce8a38650 Merge branch 'master' of github.com:hapifhir/org.hl7.fhir.core 2024-08-01 15:09:06 -05:00
Vassil Peytchev f5a9e2b242 Updating to the current version 2024-08-01 14:13:02 -05:00
dotasek 673950f9d5
Fix duplicate removal code that caused missed WARNING messages (#1698)
* Fix equality method that caused missed WARNING messages

* Fix logic so that messages get replaced with higher severity if found

* Fix test
2024-07-30 11:52:20 -04:00
Grahame Grieve 5f2f1972d2 fix NPE validating maps 2024-07-30 15:43:56 +08:00
Grahame Grieve 94fac777aa better concept map validation 2024-07-28 20:04:41 +08:00
Grahame Grieve 71e8a8294a more work on forcing valid html generation 2024-07-28 20:04:18 +08:00
Grahame Grieve 5d65102937 more hyperlink validation improvements 2024-07-26 15:17:42 +08:00
Grahame Grieve 1ee96366a4 further fixes to link validation 2024-07-25 17:01:16 +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
markiantorno 0b10290f0f Updating version to: 6.3.19-SNAPSHOT and incrementing test cases dependency. 2024-07-17 06:14:05 +00:00
markiantorno 5c3953cfdb Release: v6.3.18
## Validator Changes

* No Changes

## Other code changes

* Naming System fix for THO
* Fix issue with rendering OperationOutcomes that don't have 'detail'
* Fix problem with value set anchor generation when rendering
***NO_CI***
2024-07-17 05:22:26 +00:00
Grahame Grieve 7328ad63b9 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-17 14:15:54 +09:30
Grahame Grieve 980f88ea49 fix problem with value set anchor generation when rendering 2024-07-17 13:27:51 +09:30
markiantorno 0722d728ae Updating version to: 6.3.18-SNAPSHOT and incrementing test cases dependency. 2024-07-16 18:20:14 +00:00
markiantorno cf2b25eb29 Release: v6.3.17
## Validator Changes

* work around THO 6.0.0 problem (hack, to be reversed later)
* Improve MeasureReport validation for checking subject count
* Fix for R2B Resource.id cardinality problem
* Fix for validator using wrong property for list determination when parsing json

## Other code changes

* no changes
***NO_CI***
2024-07-16 17:32:26 +00:00
Grahame Grieve 9272b6eff3
2024 07 gg measure validation (#1687)
* Fix for validator using wrong property for list determination when parsing json

* Fix for R2B Resource.id cardinality problem

* Improve MeasureReport validation for checking subject count

* work around THO 6.0.0 problem (hack, to be reversed later)

* release notes

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-07-16 11:43:36 -04:00
Grahame Grieve 14652e6e25 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-16 19:27:11 +08:00
Grahame Grieve 512f70aa18 Improve MeasureReport validation for checking subject count 2024-07-16 06:16:47 +08:00
markiantorno a09c712c87 Updating version to: 6.3.17-SNAPSHOT and incrementing test cases dependency. 2024-07-12 12:35:11 +00:00
markiantorno 26c6878c76 Release: v6.3.16
## Validator Changes

* Add clearer message for errors around unable to validate because unknown code system
* Fix problem with fhirVersion cardinality validating IG resources

## WHO I18n Project

* Remove Questionnaire.item.linkId from translatable content

## Other code changes

* Further revisions to rendering framework for id uniqueness, main spec rendering, and various reported issues
* Improve doco for R4/R4B renderers
* Introduce backwards compatible constructor in ValidationEngineBuilder and fix useEcosystem
* Use v2 of PublishCodeCoverageResults (#1665)
* #1583 do not serialize choice group + add testcase
***NO_CI***
2024-07-12 11:48:05 +00:00
Grahame Grieve f0e14a60f7 fix code 2024-07-12 06:47:14 +08:00
Grahame Grieve 2258993861 missed file 2024-07-12 05:11:50 +08:00
Grahame Grieve a2e6b001b3 more work on transifex support 2024-07-12 05:11:43 +08:00
Grahame Grieve f2833d5bd8 fix problem with fhirVersion cardinality validating IG resources 2024-07-12 05:10:16 +08:00
Grahame Grieve c0ec8fe0ad more transifex testing 2024-07-11 12:28:17 +08:00
Grahame Grieve d804d817a8 more 2024-07-11 11:37:23 +08:00
Grahame Grieve f305964d63 more transifex 2024-07-11 11:34:53 +08:00
Grahame Grieve 9c95f89332 more transifex debugging 2024-07-11 11:28:16 +08:00
Grahame Grieve 8d5a34bd7e more transifex debugging 2024-07-11 10:59:44 +08:00
Grahame Grieve e9d63ef034 more transifex debugging 2024-07-11 10:56:14 +08:00
Grahame Grieve 536859a0f9 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-11 10:46:11 +08:00
Grahame Grieve 7ec1fd56b8 transifex updates 2024-07-11 10:46:02 +08:00
Grahame Grieve 53ab71f118
Merge pull request #1640 from hapifhir/do-20240122-base-engine
Maintain a map of pre-built ValidationEngine instances
2024-07-11 07:22:21 +08:00
dotasek aa32c57d03
Fix test breakages - July 9 2024 (#1681)
* Bump version to pass test

* Bump test cases
2024-07-09 12:45:40 -04:00
markiantorno 115074ee60 Updating version to: 6.3.16-SNAPSHOT and incrementing test cases dependency. 2024-07-05 12:51:24 +00:00
markiantorno 409b0df34d Release: v6.3.15
## Validator Changes

* no changes

## Other code changes

* Fix broken link to definitions in profiles
***NO_CI***
2024-07-05 12:03:07 +00:00
dotasek b25c940146 Merge remote-tracking branch 'origin/master' into do-20240122-base-engine 2024-07-04 11:19:21 -04:00