Commit Graph

2203 Commits

Author SHA1 Message Date
Grahame Grieve 615ed8d63f
Update R4 FHIRPath implementation from R5, and get all tests passing (#1063)
* Update R4 FHIRPath implementation from R5, and get all tests passing

* test NPE in markdown processing

* go-publish support

* Start implementing loading structure maps with validation

* release notes

* more work on FTP

* Fix breaking test.

* Add fhir-test-cases to r4 pom to fix breaking test

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 23:08:40 -05:00
Grahame Grieve a06803d936 Start implementing loading structure maps with validation 2023-01-14 08:45:13 +11:00
Grahame Grieve 90f7214195 test NPE in markdown processing 2023-01-10 11:34:41 +11:00
Grahame Grieve 8902898428 better tracking and reporting of snapshot generation issues 2023-01-09 08:03:24 +11:00
markiantorno b6cec730b5 Updating version to: 5.6.90-SNAPSHOT and incrementing test cases dependency. 2023-01-06 02:08:34 +00:00
markiantorno a6745a9016 Release: v5.6.89
## Validator Changes

* Add support for fhir_comments in R2/R2B
* Add validator checking around versions in extension URLs
* Fix bug generating cross-version extensions

## Other code changes

* Fix minor NPEs running IG publisher
* Add new PE module (PEDefinition/PEInstance)
* Add support for liquid filters (resolve FHIRPath conflict)
* Fix up round-tripping of XPath constraints R4/R5
* Refactor R5 ProfileUtilities (and move rendering to rendering package)
* Fix appending text when generating snapshots
***NO_CI***
2023-01-06 01:51:20 +00:00
Grahame Grieve c828ce9eb7 fix URL TO URI 2023-01-06 10:41:21 +11:00
Grahame Grieve 45cf907204 kindling compile fixes 2023-01-05 08:43:30 +11:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b014401dd4 refactor profile rendering (more to StructureDefinitionRenderer) 2023-01-01 11:12:44 +11:00
Grahame Grieve aacefd6581 Merge remote-tracking branch 'origin/master' 2022-12-31 11:06:47 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Grahame Grieve c1262d50c5 fix up cardinality issues 2022-12-30 07:20:06 +13:00
dotasek 1380c5e52d Fix test breakage caused by capitalization 2022-12-29 13:17:47 -05:00
Grahame Grieve be9c36e037 more PE work 2022-12-29 21:37:44 +13:00
Grahame Grieve 5e67c5a57e more work 2022-12-29 17:16:40 +13:00
Grahame Grieve 44ecfbf53d more PE work 2022-12-29 10:18:47 +13:00
Grahame Grieve d532af808b more work on PE definitions 2022-12-28 16:11:45 +13:00
Grahame Grieve 50bc157ab9 more work on PE 2022-12-28 08:38:27 +13:00
Grahame Grieve 44b25be2a5 warning 2022-12-26 13:51:54 +13:00
Grahame Grieve abf8dca07b more doco 2022-12-26 13:51:16 +13:00
Grahame Grieve 9959183017 more work on PEDefinition 2022-12-26 13:28:22 +13:00
Grahame Grieve 900f471dda upgrade test case dependency 2022-12-24 08:42:02 +13:00
Grahame Grieve f87394b46e start implementing ProfiledElement 2022-12-24 07:30:09 +13:00
Grahame Grieve 0827dc32f1 Merge remote-tracking branch 'origin/master' 2022-12-24 07:29:17 +13:00
Grahame Grieve a24d34a471 Merge remote-tracking branch 'origin/master' 2022-12-24 06:53:43 +13:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
dotasek b404c89aa9
Profile Utilities Refactor 2 (#1047)
* Add test util for diff

* Start moving pathprocessor params into dedicated object

* Move diff to Params

* Move base and diff Limits to params

* Rename to newBaseCursor and newBaseLimit

* More renames

* Move url and webUrl to params

* Move profileName to params

* Add contextPathSource to params, adjust indent for processPaths calls

* Move contextPathTarget to params

* Code cleanup, unused variables + move trimDifferential to params

* Create PathSlicingParams

* Shuffle param order

* Move redirector to params

* Move sourceStructureDefinition to params

* Move derived to params

* Move debug statements to dedicated methods

* split processSimplePath

* split processPathWithSlicedBase

* Start splitting ProfilePathProcessor

* Move all params into ProfilePathProcessor

* Move all profile utility related classes to own package

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-23 09:27:42 -05:00
Grahame Grieve fd77fd16d0 round trip constraint xpath after R5 changes 2022-12-23 15:14:25 +13:00
Grahame Grieve 2f0a45046e liquid fixes to FHIRPath 2022-12-20 23:09:44 +13:00
Grahame Grieve e2dff7d118 change name 2022-12-20 08:48:55 +13:00
Grahame Grieve 96810c984b revise draft 2022-12-20 08:47:30 +13:00
Grahame Grieve b6d35314f6 fix bug in cross version extension generation 2022-12-19 22:51:04 +13:00
Grahame Grieve d8dacd260f Candidate service for working with profiles in applications 2022-12-19 17:20:31 +13:00
Grahame Grieve 4028d9930b
Merge pull request #1041 from alexey-tschudnowsky/ISSUE_1040_Profile_Compare_NullPointerException
fixes #1040 (NullPointerException while comparing profiles)
2022-12-17 08:09:12 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
Grahame Grieve 85931f9ff2 commit version-base 2022-12-17 05:56:37 +11:00
Alexey Tschudnowsky 84508415ef fixes #1040 2022-12-16 16:46:49 +01:00
markiantorno aaa5c9d6a4 Updating version to: 5.6.89-SNAPSHOT and incrementing test cases dependency. 2022-12-16 01:40:27 +00:00
markiantorno a3a1e79674 Release: v5.6.88
## Validator Changes

* Remove use of .fhir/package-client cache (only use the main .fhir/package now)

## Other code changes

* Hack work around for broken template input for R5 OperationOutcome
* Fix up problems with test case consistency in R5 test cases
* Add R5-snapshot3 version enum to R4 version list
***NO_CI***
2022-12-16 01:19:52 +00:00
Grahame Grieve bd85546820 reintroduce hack for invalid template OO json 2022-12-16 11:27:48 +11:00
Grahame Grieve 64cc3771a6 fix tests to get versions consistent 2022-12-16 08:49:14 +11:00
Grahame Grieve 415d8acc12 Add R5 snapshot3 to R4 versions enum 2022-12-16 08:48:24 +11:00
markiantorno ba67d790b8 Updating version to: 5.6.88-SNAPSHOT and incrementing test cases dependency. 2022-12-14 03:25:16 +00:00
markiantorno 6d8cd59f1e Release: v5.6.87
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
* Upgrade code to latest R5 release (Snapshot 3)
* Fix bug with version patching loading package for the first time + fix bug determining spec reference
* Add Ids to profile spreadsheets
***NO_CI***
2022-12-14 02:48:33 +00:00
Grahame Grieve 659457bb65
Merge branch 'master' into gg-202212-r5-update 2022-12-14 11:55:31 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve 2a7136021f Allow any for resource enum 2022-12-14 07:05:39 +11:00
Grahame Grieve 38c4785236 reverse SearchParameter.base change 2022-12-14 06:29:21 +11:00
Grahame Grieve 0cf8cbcba5 fix failing tests 2022-12-13 22:17:45 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
markiantorno 0e619971c4 Updating version to: 5.6.87-SNAPSHOT and incrementing test cases dependency. 2022-12-12 20:14:04 +00:00
markiantorno bbf74e6f91 Release: v5.6.86
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
***NO_CI***
2022-12-12 19:56:58 +00:00
markiantorno 915d5e89b7 Updating version to: 5.6.86-SNAPSHOT and incrementing test cases dependency. 2022-12-09 18:40:17 +00:00
markiantorno c01a9444a4 Release: v5.6.85
## Validator Changes

* Change rules around Document and Link Message validation (see [Jira](https://jira.hl7.org/browse/FHIR-39502) and [Zulip](https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Entry.20isn't.20reachable.20by.20traversing.20from.20first.20Bundle.20entry) for details)
* Allow https://example in questionnaire example links

## Other code changes

* Rendering Improvements for deprecated codes Including deprecation reason
* Add Accept header fetching JSON
* Fix version comparison bug
* Fixes for producing profile summary in IGs
* Add contents to .index.json and bump to v2
* Fix stated package & version in alternate versions packages
* Refactor ProfileUtilities.generateSnapshot
* Fix bug in XHTML generation around empty tags
* Fix NPE appending slashes
* Fix rendering timing to not use a specific verb
* Fix R2 - RX ValueSet convertor for Code Systems
***NO_CI***
2022-12-09 18:23:37 +00:00
Grahame Grieve 5f2317a87c Merge remote-tracking branch 'origin/master' 2022-12-09 23:34:24 +11:00
Grahame Grieve dd7ca2182a rendering improvements for deprecated codes 2022-12-09 23:28:58 +11:00
Grahame Grieve f8a0e82785 Add standards status reason 2022-12-09 20:08:51 +11:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 73cd123234
Merge pull request #1028 from hapifhir/gg-202212-xlsx-csv
Gg 202212 xlsx csv
2022-12-07 06:11:32 +11:00
Grahame Grieve 3ee52938d6 updates for all-profiles csv and xlsx 2022-12-06 16:21:33 +11:00
dotasek a67ca99786
Profile Utilities refactor (#1027)
* Refactor 1 rename and starter comments

* Refactor 2 more renaming make method for match

* Make final what can be final

* Wrap root call to processPaths

* WIP Create ProfilePathProcessor

* Redo method scoop, move internal classes

* Use profileUtilities instance

* Finish scoop. Tests pass.

* Finish scoop for real this time.

* Encapsulate cursors

* Delete unused params

* Split path processing into two branches

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-05 17:32:16 -05:00
Grahame Grieve a0c28f3326 Round trip XHTML faithfully wrt empty elements 2022-12-05 13:41:31 +11:00
Grahame Grieve cacf27428e Fix rendering of Timing to not have specific verb 2022-12-05 13:41:01 +11:00
Grahame Grieve 54875fd17e fix broken link to base spec 2022-12-05 13:40:17 +11:00
markiantorno 7966deb05c Updating version to: 5.6.85-SNAPSHOT and incrementing test cases dependency. 2022-12-01 05:52:06 +00:00
markiantorno b0d3dae149 Release: v5.6.84
## Validator Changes

* Perform canonical resolution using package dependencies even for version specific references (workaround for VSAC bad behaviour)

## Other code changes

* Fix conversion between R3 andR4/R5 for Immunization.notGiven
* Fix parameter handling for tx server responses
* Add cast support for more types in FML implementation
* Fixes to GQL Schema generation
***NO_CI***
2022-12-01 05:35:31 +00:00
Grahame Grieve 8b5cb283af suppress logging 2022-12-01 08:26:07 +11:00
Grahame Grieve d24cc6c5ee Merge remote-tracking branch 'origin/master' 2022-12-01 08:22:19 +11:00
Grahame Grieve 8d6f2ff57d
Merge pull request #1020 from ahdis/oe_r5_structuremap_cast
FHIR Mapping Language: cast support for more types #1019
2022-12-01 08:18:27 +11:00
Grahame Grieve fedfa88ffb refactor resource reference resolution to use package dependencies whereever possible 2022-12-01 08:16:00 +11:00
Grahame Grieve d79ac9ba66 Merge remote-tracking branch 'origin/master' 2022-11-30 16:34:51 +11:00
Michael Lawley 518e5559c7 fix for #1022 2022-11-30 10:20:57 +10:00
Grahame Grieve 8f9261febf #1022 - fix expected type for Code Validation parameters 2022-11-30 11:04:47 +11:00
markiantorno 19e957ef53 Updating version to: 5.6.84-SNAPSHOT and incrementing test cases dependency. 2022-11-29 23:46:32 +00:00
markiantorno b939b33040 Release: v5.6.83
## Validator Changes

* no changes

## Other code changes

* Update FHIR test cases to released version
***NO_CI***
2022-11-29 23:29:15 +00:00
Grahame Grieve aaa53cdfb0 #1005 - fix graphql processing issue 2022-11-30 08:32:25 +11:00
Grahame Grieve 5225640e50
Merge pull request #1018 from hapifhir/ja_20221129_graphql_type_cleanup
Correct GraphQL Schema Validation Errors
2022-11-30 08:18:35 +11:00
Oliver Egger 2d8885d4e3 FHIR Mapping Language: cast support for more types #1019 2022-11-29 22:15:02 +01:00
James Agnew 2744b5eeed Fixes to schema generator 2022-11-29 14:42:47 -05:00
dotasek 8f1f961315
Revert "BugFix: Accepts null base in all implementations of FHIRPathEngines.evaluate(Base base, String path) to match all other evaluate methods. (#1015)" (#1017)
This reverts commit ba828cbb0e.
2022-11-29 14:39:59 -05:00
Vitor Pamplona ba828cbb0e
BugFix: Accepts null base in all implementations of FHIRPathEngines.evaluate(Base base, String path) to match all other evaluate methods. (#1015) 2022-11-29 14:35:39 -05:00
markiantorno ab00f53ee7 Updating version to: 5.6.83-SNAPSHOT and incrementing test cases dependency. 2022-11-29 18:22:35 +00:00
markiantorno b11bf21f9b Release: v5.6.82
## Validator Changes

* no changes

## Other code changes

* Fix Turtle generation
***NO_CI***
2022-11-29 18:05:15 +00:00
Grahame Grieve 1048a483a2
Fix turtle generation (#1014)
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2022-11-29 11:29:04 -05:00
Grahame Grieve adfd0d26e6 Fix turtle generation 2022-11-30 01:40:07 +11:00
James Agnew 82bd4e5c25 Work on cleanup 2022-11-29 07:54:58 -05:00
markiantorno 63f905d184 Updating version to: 5.6.82-SNAPSHOT and incrementing test cases dependency. 2022-11-28 18:44:16 +00:00
markiantorno 2715d811dc Release: v5.6.81
## Validator Changes

* Avoid repeated R5 Extension loading in ValidatorService
* Fix problems validating logical models
* Fix `-locale` parameter functionality
* Add Spanish internationalization phrases

## Other code changes

* ProfileUtilities: Provide Standards Status in tree view
* JSONParser: numerous r4b/r5 speed improvements and fixes
* FHIRPathEngine: Catch exceptions resolving references in r5
* Handle null source and target in ConceptMap conversions
* Provide consistent rendering of comments in examples in IGs
* Preparations for changes to IG Publisher narrative generation
* Fix for Identifier.use conversion in dstu3
***NO_CI***
2022-11-28 18:23:09 +00:00
Grahame Grieve 1b07d221ea Merge remote-tracking branch 'origin/master' 2022-11-28 12:28:07 -03:00
Grahame Grieve a49a82aab5 capture exception chasing references 2022-11-28 12:27:41 -03:00
Grahame Grieve 9405d0b715 Fix problems validating logical models 2022-11-28 12:27:26 -03:00
Grahame Grieve 35774955ae Produce Standards Status in tree view 2022-11-28 12:26:58 -03:00
Grahame Grieve 65863d88d1
Merge pull request #1012 from hapifhir/gg-202211-json-comments
Consistency around rendering comments in examples in IGs
2022-11-27 05:33:35 -03:00
Grahame Grieve 49f798de48 Consistency around rendering comments in examples in IGs 2022-11-26 22:24:17 -03:00
Grahame Grieve 83b2921c2e
Merge pull request #1011 from hapifhir/gg-202211-json5
update JSON parser used by validator to JSON5 parser
2022-11-26 19:22:05 -03:00
Grahame Grieve 53fb08ab19 update JSON parser used by validator to JSON5 parser 2022-11-26 18:24:29 -03:00
Grahame Grieve e189ae2b76
Merge pull request #1001 from ahdis/oe_np_with_structuremaps
fix np and index out of bound exception
2022-11-26 01:00:34 -03:00
Grahame Grieve 21bd9bf7e9 improve parsing speed for json resources 2022-11-25 22:36:51 -03:00
Grahame Grieve 8f1e6f2c59 Improve parsing speed for Json resources 2022-11-25 22:36:38 -03:00