Commit Graph

3417 Commits

Author SHA1 Message Date
Grahame Grieve f5af20acad work around THO 6.0.0 problem (hack, to be reversed later) 2024-07-16 21:47:03 +08: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 37006946cd Fix for R2B Resource.id cardinality problem 2024-07-16 06:15:57 +08:00
Grahame Grieve 2a37fb9351 Fix for validator using wrong property for list determination when parsing json 2024-07-16 06:15:32 +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 a2e6b001b3 more work on transifex support 2024-07-12 05:11:43 +08:00
Grahame Grieve d8f7b98573 further revisions to rendering framework for id uniqueness, main spec rendering, and various reported issues 2024-07-12 05:09:21 +08:00
Grahame Grieve dd02db3aae remove Questionnaire.item.linkId from translatable content 2024-07-12 05:07:03 +08:00
oliveregger ca7a2ba4e4 add testcase for #1583 2024-07-08 23:20:32 +02:00
oliveregger 66e35e1af6 #1583 do not serialize choice group 2024-07-08 23:11:30 +02: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
Grahame Grieve ea141b1ba9 fix bug producing broken links 2024-07-05 17:42:05 +08:00
markiantorno 59d0334e0e Updating version to: 6.3.15-SNAPSHOT and incrementing test cases dependency. 2024-07-04 03:22:56 +00:00
markiantorno 50ce6bb6ac Release: v6.3.14
## Validator Changes

* Add support for ND-JSON. Note that the validator is not expected to perform well on large ND-JSON files (or any other file type)
* Significant change: the validator was not checking for the end of the input when parsing a JSON resource finished. It will now start giving errors when JSON continues once the object is complete
* Add support for the create object syntax in FML when validating FML
* Improved error message when supplement url used instead of code system URL

## WHO Translation Project

* Add complete dutch translations (Thanks Alexander Henket)

## Other code changes

* Fix various rendering problems leading to non-unique html anchors
* Fix for unrendered data types
***NO_CI***
2024-07-04 02:33:38 +00:00
Grahame Grieve 4a729529e8
Merge pull request #1668 from ahdis/oe_fp_1655
date adaption for dateOp #1655
2024-07-04 04:00:32 +08:00
Grahame Grieve 62bf3e1bc0 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-07-02 06:44:39 +09:30
Grahame Grieve 8ba3d0e3c5 improved error message when supplement url used instead of code system URL 2024-07-01 06:29:09 +09:30
Grahame Grieve a209c13c1a Add support for NDJSON format, and fix bug where JSON parser was not checking for the end of content 2024-07-01 06:28:36 +09:30
Grahame Grieve 437687f5cd fix various rendering problems leading to non-unique html anchors 2024-07-01 06:27:51 +09:30
Grahame Grieve 8690c77d2b
Merge branch 'master' into 2024-06-gg-render-bug-2 2024-06-28 19:53:28 +10:00
Grahame Grieve 185427a975 fix for unrendered data types 2024-06-28 18:15:49 +10:00
markiantorno 70ed025741 Updating version to: 6.3.14-SNAPSHOT and incrementing test cases dependency. 2024-06-28 01:14:27 +00:00
markiantorno b3628c7ccd Release: v6.3.13
## Validator Changes

* no changes

## Other code changes

* Rendering fixes
***NO_CI***
2024-06-28 00:27:59 +00:00
Grahame Grieve 6a66f37898
fix rendering bugs (#1671)
* fix rendering bugs

* release notes

---------

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2024-06-27 19:06:42 -04:00
Grahame Grieve 8bf07711f1 fix rendering bugs 2024-06-28 08:06:25 +10:00
oliveregger ea103178ea fix missing quote 2024-06-27 11:25:06 +02:00
Oliver Egger b7f81ccb55
Merge branch 'master' into oe_fp_1655 2024-06-27 11:11:34 +02:00
markiantorno 0736de9c2d Updating version to: 6.3.13-SNAPSHOT and incrementing test cases dependency. 2024-06-27 00:47:09 +00:00
markiantorno f14f2a42ad Release: v6.3.12
## Validator Changes

* Change how count is calculated when expanding value sets
* Fix value set expansion bugs
* Fix for fhirpath issue on command line (#1650)
* Add IG dependency validator
* work around bad r4 extension definitions
* don't reload different sub-version of extensions pack

## Other code changes

* Rework rendering library from ground up
  * Merge Fix: Fix split logic of canonical into url and version in several places (#1663)
  * Suppress spurious message when code system is unknown
  * don't raise needless and wrong exceptions about extension definitions when rendering
  * fix duplicate link creation
  * Stop recursive rendering crash
  * Obligation rendering improvements
* Handle extra profiles on resources in an IG when converting between versions
* Fixed issue with actor title not rendering in obligations
* Test and adaption for dateOp #1655
* Use assertj instead of hamcrest (#1662)
* More transifex work
* Add support for local packages during testing
***NO_CI***
2024-06-27 00:00:09 +00:00
Grahame Grieve 9d0d095aa3 fix for dateOp 2024-06-27 08:08:13 +10:00
Grahame Grieve d0be81d99c compile fix 2024-06-27 07:25:52 +10:00
Grahame Grieve 749b073de1 Obligation rendering improvements 2024-06-27 07:03:54 +10:00
Grahame Grieve d441fa58aa release notes + render attachments 2024-06-27 06:25:01 +10:00
Grahame Grieve 94937c9d30 Stop recursive rendering crash 2024-06-26 19:32:40 +10:00
Grahame Grieve b5539db606 try fixing narrative generation tests 2024-06-26 18:09:46 +10:00
Grahame Grieve eb0c4d8d93 fix date operations problem 2024-06-26 07:19:47 +10:00
dotasek c222582b22 Fix FHIRPath Date opPlus/Minus failures 2024-06-25 16:24:35 -04:00
oliveregger b70062f326 date adaption for dateOp #1655 2024-06-25 20:46:07 +02:00
dotasek b5cb29cc1b Remove DebugUtilities references 2024-06-25 12:30:46 -04:00
Grahame Grieve 36de9ff5fa
Merge pull request #1652 from hapifhir/FixObligationActorRendering
Fixed issue with actor title not rendering
2024-06-25 23:15:15 +10:00
Grahame Grieve 6830785c47
Merge pull request #1656 from ahdis/oe_fp_1655
Test and adaption for dateOp #1655
2024-06-25 23:14:02 +10:00
Grahame Grieve 9208f4848f
Merge pull request #1657 from hapifhir/2024-06-gg-vs-fixes
2024 06 gg vs fixes
2024-06-25 23:13:44 +10:00
Grahame Grieve 170bcf19e6 reconcile rendering changes 2024-06-25 21:22:33 +10: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
Grahame Grieve d23052f329 changes after testing complete 2024-06-20 09:57:25 +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 2612fa1e63 Change how count is calculated when expanding value sets 2024-06-18 19:44:22 +10:00
Grahame Grieve 31a7793c49 testing fixes 2024-06-18 17:16:44 +10:00
oliveregger a63792d2b2 Test and adaption for dateOp #1655 2024-06-18 00:03:23 +02:00
Grahame Grieve e91d8152b2 All compiles for the first time 2024-06-17 22:53:29 +10:00
Grahame Grieve b1a3141214 more WIP on rendering refactor 2024-06-17 22:40:52 +10:00
Grahame Grieve ef2531367e more WIP 2024-06-15 23:45:56 +10:00
Grahame Grieve e4abcd1be3 fix value set expansion bugs 2024-06-14 21:56:23 +10:00
Grahame Grieve 2f5ef0b216 more WIP on rendering rewrite 2024-06-14 17:15:56 +10:00
Lloyd McKenzie 6a4e2e7b9d Fixed issue with actor title not rendering 2024-06-13 19:44:43 -05:00
Grahame Grieve a9f0b70e30 work around bad r4 extension definitions 2024-06-13 12:13:32 +10:00
Grahame Grieve 2f2c7be2ed don't raise needless and wrong exceptions about extension definitions when rendering 2024-06-13 12:12:42 +10:00
Grahame Grieve ebedced511 don't reload different sub-version of extensions pack 2024-06-13 12:12:13 +10:00
Grahame Grieve 506dad8752 WIP: rewrite of rendering framework 2024-06-13 07:38:22 +10:00
Grahame Grieve f43dcd904f fix duplicate link creation 2024-06-13 07:36:29 +10:00
Grahame Grieve 4a73b746bd update ResourceElement + tests 2024-06-11 21:35:11 +10:00
Grahame Grieve 093758429a First draft of ResourceElement - rewrite rendering layer 2024-06-09 18:17:51 +10:00
markiantorno 03ea625a7c Updating version to: 6.3.12-SNAPSHOT and incrementing test cases dependency. 2024-06-07 03:25:47 +00:00
markiantorno 6ba8b38fc5 Release: v6.3.11
## Validator Changes

* Find value sets on tx server if not tx.fhir.org
* Do not send Content-Type header with GET requests for tx servers
* Fix npe validating code system
* Support discriminator by position
* Don't check type characteristics for unknown types

## WHO I18n Project

* Fix typos in phrases, and fix up handling of apostrophes in messages without parameters
* Test and fix for single quote escapes in I18n
* Create and test transifex configuration

## Rendering Changes

* Fix contact rendering to work properly
* Fix issue resolving contained resource rendering DiagnosticReports etc
* Handle case where Contact.value has extensions instead of a string value
* Render Parameterised types
* Fix bug with LOINC Code row showing wrongly in Profile Details view
* Partial implementation of type parameters
* Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering
* Corrected ObligationsRenderer to handle multiple actors and multiple codes.  Also got obligations with elements to render properly (which means knowing whether you're on a table page or definitions page, what tab you're on, and whether the element for the obligation is in-scope for that tab (so you know whether to hyperlink or not).  Had to make links on the tables point to definitions because table anchors are not unique.

## Other code changes

* split out Base.canHavePrimitiveValue() from Base.hasPrimitiveValue()
* Refactor how observation profiles are registered in order to generalise management of extra profiles
  * Use validation policy to implement Observation profile rules
  * Rework validation policy management in standalone validator
* Try deploying javadoc with SNAPSHOT
* Add utility to unpack the spec.internals file
* v2 in FHIR tests
* Fix bug loading language pack NPMs
***NO_CI***
2024-06-07 02:33:16 +00:00
dotasek 93037baa9b Go back to SNAPSHOT
***NO_CI***
2024-06-06 21:58:57 -04:00
markiantorno d36d030076 Release: v6.3.11
## Validator Changes

* Find value sets on tx server if not tx.fhir.org
* Do not send Content-Type header with GET requests for tx servers
* Fix npe validating code system
* Support discriminator by position
* Don't check type characteristics for unknown types

## WHO I18n Project

* Fix typos in phrases, and fix up handling of apostrophes in messages without parameters
* Test and fix for single quote escapes in I18n
* Create and test transifex configuration

## Rendering Changes

* Fix contact rendering to work properly
* Fix issue resolving contained resource rendering DiagnosticReports etc
* Handle case where Contact.value has extensions instead of a string value
* Render Parameterised types
* Fix bug with LOINC Code row showing wrongly in Profile Details view
* Partial implementation of type parameters
* Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering
* Corrected ObligationsRenderer to handle multiple actors and multiple codes.  Also got obligations with elements to render properly (which means knowing whether you're on a table page or definitions page, what tab you're on, and whether the element for the obligation is in-scope for that tab (so you know whether to hyperlink or not).  Had to make links on the tables point to definitions because table anchors are not unique.

## Other code changes

* split out Base.canHavePrimitiveValue() from Base.hasPrimitiveValue()
* Refactor how observation profiles are registered in order to generalise management of extra profiles
  * Use validation policy to implement Observation profile rules
  * Rework validation policy management in standalone validator
* Try deploying javadoc with SNAPSHOT
* Add utility to unpack the spec.internals file
* v2 in FHIR tests
* Fix bug loading language pack NPMs
***NO_CI***
2024-06-06 22:46:44 +00:00
Lloyd McKenzie ca97ce2aaa Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core into FixObligationRendering 2024-06-06 09:05:44 -06:00
Grahame Grieve 765b4da292 find value sets on tx server if not tx.fhir.org 2024-06-06 19:41:18 +10:00
Grahame Grieve f4cc60c0e6 split out canHavePrimitiveValue() and hasPrimitiveValue() 2024-06-06 09:09:58 +10:00
Grahame Grieve 95ec2b00a4 add java doc 2024-06-02 21:18:58 +10:00
Grahame Grieve c4585c995f proposed fix for hasPrimitiveValue() 2024-06-02 21:11:21 +10:00
Grahame Grieve 1e940dc489 fix contact rendering to work properly 2024-06-01 23:43:28 +10:00
Grahame Grieve 7512347c40 fix issue resolving contained resource 2024-06-01 23:39:49 +10:00
Grahame Grieve 674f834f8d Handle case where Contact.value has extensions instead of a string value 2024-06-01 22:57:13 +10:00
Grahame Grieve e51534030e Render Parameterised types, and fix bug with LOINC Code row showing wrongly in Profile Details view 2024-06-01 22:56:42 +10:00
Grahame Grieve 398b46e32d Do not send Content-Type header with GET requests 2024-06-01 22:55:35 +10:00
Grahame Grieve 2f38cb544c Refactor how observation profiles are registered in order to generalise management of extra profiles 2024-06-01 22:54:17 +10:00
Grahame Grieve 04e95f4e05 Partial implementation of type parameters 2024-06-01 22:51:55 +10:00
Grahame Grieve df711c0762 try again 2024-05-31 09:59:00 +10:00
Grahame Grieve 3dfbba0ec9 proposed control over vital signs check 2024-05-31 06:43:24 +10:00
Grahame Grieve 80159656c0 more language updates 2024-05-30 17:07:05 +10:00
Lloyd McKenzie f808aaf558 Fixed rendering of actor-specific obligations, added elementIds to obligation narrative rendering 2024-05-29 12:09:00 -06:00
Grahame Grieve 1087016941 fix npe rendering code system 2024-05-27 23:55:22 +10:00
Grahame Grieve d279468008 Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core 2024-05-27 23:00:42 +10: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
Lloyd McKenzie a390c9a128 Corrected ObligationsRenderer to handle multiple actors and multiple codes. Also got obligations with elements to render properly (which means knowing whether you're on a table page or definitions page, what tab you're on, and whether the element for the obligation is in-scope for that tab (so you know whether to hyperlink or not). Had to make links on the tables point to definitions because table anchors are not unique. 2024-05-26 06:37:12 -05:00
markiantorno a32e28e4e3 Updating version to: 6.3.11-SNAPSHOT and incrementing test cases dependency. 2024-05-25 23:37:56 +00:00
markiantorno d8781b8b76 Release: v6.3.10
## Validator Changes

* Fix issue validating codes with + in them
* Fix (well, hack) R4 vital signs issue with component units

## WHO I18n Project

* QA on i18n constants - remove spurious entries, add anything missing
* Remove test case for i18n coverage
* Generate properties translation files without blank entries
* Add transifex configuration
* Fix up .po file generation so that POEdit is supported, and remove duplicate constants (#1592)
* Most strings translated to Dutch, unchecked.
* Add utility to infer locale from region code

## Other code changes

* Remove Accept-Charset header
* Fix typos around CODESYSTEM_CONTENT_COMPLETE
***NO_CI***
2024-05-25 22:53:24 +00:00
Grahame Grieve 56b0ad11f3 Fix R4 vital signs issue with component units 2024-05-25 15:11:27 -05:00
Grahame Grieve 4037e5dc4f QA on i18n constants - remove spurious entries, add anything missing 2024-05-25 08:05:25 -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
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
Vassil Peytchev ef984e26a9
Merge branch 'hapifhir:master' into master 2024-05-21 18:36:09 -05:00
Grahame Grieve d9c1c74924 Fix NPEs in Liquid renderer 2024-05-21 16:55:17 -05:00