Commit Graph

2180 Commits

Author SHA1 Message Date
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
Grahame Grieve 275d83a4c7 work around bug in template OO 2022-11-25 22:36:14 -03:00
Grahame Grieve 962f3f09ea prepare for changing the way the IG publisher generates narrative 2022-11-24 18:02:21 -03:00
Grahame Grieve 80f275ff18 upgrade to new JSON parser 2022-11-24 17:57:46 -03:00
Oliver Egger b3cc460ccd fix nullpointer exceptions 2022-11-22 16:19:16 +01:00
markiantorno 01d212afac Updating version to: 5.6.81-SNAPSHOT and incrementing test cases dependency. 2022-11-22 14:28:51 +00:00
markiantorno 3ab720a6af Release: v5.6.80
## Validator Changes

* Improved Loading speed (20% reduction)
* Fix issue handling path on content references on deeply nested content

## Other code changes

* Fix rendering issue when reference.reference missing
* Add rule date to validation messages so new rules can be highlighted
***NO_CI***
2022-11-22 14:05:59 +00:00
Grahame Grieve 6bdf3389bb fix bug missing R5 definitions in publisher 2022-11-22 06:38:01 -03:00
Grahame Grieve 74b1b7f201 fix rendering issue when reference.reference missing 2022-11-22 05:58:17 -03:00
Grahame Grieve 24331956f1 Add rule date to validation messages so new rules can be highlighted 2022-11-22 05:58:02 -03:00
Grahame Grieve 8136b00c86 work on loading speed for validator 2022-11-21 18:46:47 -03:00
Grahame Grieve 68360cb110 Fix issue handling path on content references on deeply nested content 2022-11-21 18:45:33 -03:00
markiantorno cc842bc114 Updating version to: 5.6.80-SNAPSHOT and incrementing test cases dependency. 2022-11-20 19:32:31 +00:00
markiantorno ee7ba71b29 Release: v5.6.79
## Validator Changes

* no changes

## Other code changes

* fix references to LOINC codes in generated narrative
***NO_CI***
2022-11-20 18:59:55 +00:00
Grahame Grieve bce3f5464f Merge remote-tracking branch 'origin/master' 2022-11-20 12:57:48 -03:00
Grahame Grieve 5cda3573be fix for non-breaking space usage 2022-11-20 12:27:41 -03:00
Grahame Grieve 8e3833f58a Fix broken LOINC link 2022-11-19 03:39:35 -03:00
markiantorno d7d93b486b Updating version to: 5.6.79-SNAPSHOT and incrementing test cases dependency. 2022-11-17 21:34:46 +00:00
markiantorno 14a8c388fd Release: v5.6.78
## Validator Changes

* Validate HTML entities in XHTML in resources

## Other code changes

* Stop producing XHTML entities in resources when rendering
***NO_CI***
2022-11-17 21:15:59 +00:00
Grahame Grieve b4d21b8263
Merge pull request #994 from hapifhir/gg-202211-xhtml-entities
Gg 202211 xhtml entities
2022-11-17 16:57:04 -03:00
Grahame Grieve 4fa05d8297 fix bug producing html entities in XHTML in resources when rendering 2022-11-17 15:21:39 -03:00
Grahame Grieve 28d107b4ae Validate XHTML entities in XML 2022-11-17 15:21:17 -03:00
dotasek 82972d5216
Add https-proxy param + fix proxy authorization header (#888)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-11-17 11:27:21 -05:00
markiantorno bb8775bfdb Updating version to: 5.6.78-SNAPSHOT and incrementing test cases dependency. 2022-11-16 22:55:59 +00:00