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.
* 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>
## 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***
## 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***
## 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***
* 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>
## 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***
## 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***
## Validator Changes
* Validate HTML entities in XHTML in resources
## Other code changes
* Stop producing XHTML entities in resources when rendering
***NO_CI***
## Validator Changes
* Minor fix to jurisdiction output (+ handle case where JVM has no locale)
* Add support for extensions parameter
* Make all error messages include version of underlying resource if available
* Accept display for code from ValueSet CLD if no code system available
* Various minor improvements to error messages
## Other code changes
* Minor clean up in test cases
* Fix up i18n support to handle pluralization properly
* Refactor resource narrative generation rules (GenerationRules.X)
* Display resource type in generated narrative
* Add support for generating R4 and R4B packages
* Add support for generating XVer packages
***NO_CI***
* WIP remove excluded tests + disable breaking test
* Fix failing test, document test cases.
* Code cleanup
The following are cherry picked from GG branch:
* Fix problem with value set validator hiding errors
* Fix issue rendering resource by name
* fix error location
Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
## Validator Changes
* Add support for R4B to validator (parts were missing)
* Fix bugs in Logical Model snapshot generation and validation (both instances and logical models themselves)
* Check min/max value for decimal values
## Other code changes
* Fix broken links rendering questionnaires
* Fix issue with converting ActivityDefinition.kind between R5 and R4/R4B/R3 (+ update R5 code)
* Fixes to terminology cache management for test cases
* Process relative links in markdown in code descriptions when rendering value sets
* Fix issue with contained resource not always rendering consistently
* Fix bug where Element Model paths are not populated after preforming a transform
* Fix NPE rendering invalid bundles
* refactor Paramters.getParameter helper methods
* Rendering improvements for logical models
***NO_CI***
## Validator Changes
* Fix problem determining implicit code system when code system only known to tx.fhir.org
## Other code changes
* Fix bugs generating CDSHooks snapshots
* Fix for NPE rendering Patient Photo
* Fix problem generating snapshots for specializations where inherited types have properties
* Work on i18n framework
***NO_CI***
## Validator Changes
* Improve error message for extensions without values
## Other code changes
* Add support for Requirements Resource (rendering + caching)
* Tidy up support for ActorDefinition
* Generate better summary for references
* Clean up bug checking data types in ContextUtilities
* Remove Validator dependency on GSON
* Upgrade validator to produce PSVI for tools to make use of
***NO_CI***
## Validator Changes
* Further support for validating CDSHooks content
## Other code changes
* Render period on Identifiers
* Render Tooling IG extensions in Profile table
* Fix NPE building CCDA IG
***NO_CI***
## Validator Changes
* Improved Errors for bad resource ids
* R5 ballot: Hack around discovered issues in the ballot
* Enforce value set & code system versioning when validating codes
* Enable bulk -snapshot and -convert on multiple/wildcard -source
* Fix bug revalidating profiled abstract types
## Other code changes
* Rework validator test cases to not have inter-test dependencies (+ fix up to allow contexts to be cloned)
* add First draft of xliff production
* Add ActorDefinition conversions R5 -> R4, R4B, R3
* Add support for validating logical model json files (not surfaced in CLI yet)
* Updates for changes to extension URLs in Tools IG
* Fix map rendering in value sets
* Fix broken link in R4 DeviceUseStatement
***NO_CI***
## Validator Changes
* Fix typos in error messages
## Other code changes
* Fix NPE in xig generation
* Fix bug in validator test framework (packages not being loaded properly)
* Remove references to terminology files no longer found in source specification
* Package generation enhancements for R4/R4B
* Support for CDS Hooks validation (not surfaced outside test cases yet)
***NO_CI***
## Validator Changes
* Fix R5 error around cnl-1
* Add markdown validation
* add support for http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies
* fix bugs in FHIRPath handling of polymorphism
* fix validation of Coding when system is unknown (align with CodeableConcept handling)
* Fix bug where extranous text in XML was reported in the wrong location
## Other code changes
* Fix links in bundle rendering
* Improvements to rendering for IG publisher (additional bindings)
* Bump jackson-databind dependency
* fix bugs in graphql generation
* populate StructureMap xhtml when loading from mapping language
* align markdown processing with FHIR-38714
***NO_CI***
## Validator Changes
* Warning in Validator CLI when character encoding is not UTF-8
* Don't validate contained resources against Shareable* profiles, and also check ShareableMeasure
## Other code changes
* Remove CapabilityStatement2 from canonical resources
***NO_CI***
* Redo pull pipeline to check for alternate file encodings
* Fix jdkVersion references in pull-request-pipeline
* Failing test for Cp1252 encoded Java environments
* Fix file encoding mistake
* Add fix + refactor test
* Backport ParserBase changes and tests to previous versions
* And I mean it, this time
* Update tx cache resources
Co-authored-by: dotasek <david.otasek@smilecdr.com>
## Validator Changes
* Validator support for -forPublication parameter
## Other code changes
* Improved ConceptMap rendering
* Internal reorganization of extensions
* Fix NPE rendering terminology resources
* Fix bad HTML rendering SearchParameter
* Allow rendering additional information in a comparison
* bug fixes from loading all published packages ever
***NO_CI***
## Validator Changes
* Support for R5 terminology
## Other code changes
* fix error with R5 IG constraint
* fix error with double escaping rendering code system markdown
* Suppress display when generating narrative for code systems if display matches code
* Fix bug in RDF generation in R4B
* fix bug in html parser - misses end of comments when end is --->
***NO_CI***
## Validator Changes
* no changes
## Other code changes
* Fix NPE ValueSetRenderer
* More fixes in StructureDefinition validation type characteristic
* Fix typo in ImplementationGuideDefinitionParameterComponent `Value`
***NO_CI***
## Validator Changes
* More fixing for Type Characteristics
## Other code changes
* Fix rendering of concept map code references
* Fix version conversion problem for MessageHeader.event
***NO_CI***
## Validator Changes
* no changes
## Other code changes
* Improved HTML compliance (img.alt)
* Improved example generation
* Improved handling of illegal parameters in ImplementationGuideDefinition
***NO_CI***
## Validator Changes
* More fixes to type characteristics
* Validator would hang on some specific xml inputs - no more
## Other code changes
* General: This release contains java code for the as yet unreleased R5 ballot (it's a precondition for releasing it)
* Snapshot Generator handle bindings on CodeableReferences
* Renderer: Don't always render OperationDefinition header
***NO_CI***
## Validator Changes
* Allow binding as a type characteristic for Extension
## Other code changes
* OID support refactoring
* Remove Contributor Datatype from R5
* R5 Build efficiency fixes
***NO_CI***
## Validator Changes
* fix erroneous type characteristics error in StructureDefinition.differentials
## Other code changes
* ValuesetExpansion: Pay attention to inactive property, and activeOnly parameter
* fix broken paths rendering extensions
* Process markdown in code definitions when rendering ValueSets
* Fix duplicate ids in generated questionnaires
* Add types to wildcard list
***NO_CI***