## Major change:
* New R5 release - rebuild R5 implementation, update a lot of related code
## Validator Changes
* Load separate R5 extensions package
* Load FML directly, and validate mapping as much as possible
## Other code changes
* Fix bugs in Java R5 code generator
* Add more control at the code level over how to handle unknown profiles when generating snapshots
* Rework ConceptMap for major R5 changes
* Fix bug in CommaGeneratedStringBuilder (calling toString() multiple times duplicated content)
* handle case [reference].where(resolve() is X) when analysing types+elements in FHIRPath statements
***NO_CI***
## Validator Changes
* Fix validation for query references with empty parameter values
* Fix validation for conditional references
## Other code changes
* Fix resource rendering for conditional references
* Fix bug caused by changing DiagnosticReport.conclusion to markdown
* Track target types on references in FHIRPath
* Minor type checking fixes for FHIRPath
* Fix bugs in FHIRPath type checking discovered during R5 preparation
* Add standardsStatus support to core model
* Update okhttp library
* Allow HTTPS for terminology server URL
* Update table generator to suppress external links in base row and column
***NO_CI***
## Validator Changes
* Fix bug checking canonical URLs in bundles with dashes in them
* Fix extension messages (modifier and normal messages reversed)
* Change how error location paths are reported in bundles for easier resolution (no counting!)
* fix bugs checking whether binding is allowed in corner cases
## Other code changes
* Rendering Improvements: Additional Bindings, Search Parameters, Operation Definitions
* FHIRPath implementations for comparable(), highBoundary(), lowBoundary()
* Fix list of canonical resources from VersionUtilities
* Fix bug parsing html entities in XHTML parser
* Rename extension to http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile
***NO_CI***
* fix type of issue source extension
* update extension extractor
* FHIRPath changes for as - case and singleton issues
* minor fixes for extension rendering
* Update test cases version
---------
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
## Validator Changes
* Fix for NPE rendering resources
* Consider CanonicalResource to be a CanonicalResource when validating profile references
* Work around error in R5 sdf-29 invariant
## Other code changes
* XHTML processing: Cater for "." in XML element and attribute names
* Handle R3 encoding of primitive values when validating profiles
* Improve error messaging when validating StructureDefinition
* Temporary Support for MedicationStatement in R5
* Work around for Identifier.use = ? in THO R5 package (old error)
* Rework Package API to allow for authentication on package servers
* Structure mapping now finds source Structure Definition by URI and sets ParserBase logical property appropriately.
* DOn't convert ig-r4 when converting package versions
***NO_CI***
## Validator Changes
* update FHIRPath implementation for corrections to 'as' (R5 only in validator)
* Critical Security fix: enforce correct paths when unpacking archives (SecurityAdvisory-1082, CVE TBA)
## Other code changes
* Update to latest FHIRPath for older versions
* Add new ElementModel based parser for StructureMaps
* go-publish related changes
* FTP Client upload and logging improvements
* Refactor base64 handling for Android compatibility
## Security Note
The validator unzips archive files to the local file system when
it is scanning zip files it has been asked to validate, and when it is
installing packages. These processes are now resistant to the zip-slip
vulnerability.
***NO_CI***
* Update cache and comparison downloads to use https
* Zip Slip tests and fix
* Zip Slip tests 2 and fix
* Add missing tempDir child in ScannerTest
* Add win format zip test
* Add tests to r4b
* Add tests and fixes for slips in tgz processing
* Update fhir-test-cases version
## Validator Changes
* Better tracking and reporting of snapshot generation issues
* Update FHIRPath implementation to R4 with all corrections and extensions from R5 implemnetation
## Other code changes
* Inclusion of SAXON dependency for processing XSLT
* Error message spacing correction
* Basic FTPClient implementation
* test NPE in markdown processing
* go-publish support
* Start implementing loading structure maps with validation
***NO_CI***
## 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***
* 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***
## 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***
## 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***
## 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***
## Validator Changes
* Improve support for example code systems in example mode
## Other code changes
* Render Comments as span titles in ProfileDrivenRenderer
* Fix type analysis in FHIRPath for abstract types
* Terminology utilitty improvements for fhir-types code system
* Lighten invariant background colour
* Fixes to DateTimeType for setFieldValue() method
***NO_CI***
## Validator Changes
* no changes
## Other code changes
* Return lists for FHIRPath constants in r4
* FHIR-25206 handle deprecated concepts properly when expanding value sets
* Fix SHEX generation issue
* Fix ConceptMap rendering column title
* Fix problem rendering ConceptMaps in value sets
* Fix NPE issue rendering resources without ids
* Improvements to SearchParameterRenderer
* Add Reference.resource to output of copy()
* Migration of r5 changes to r4b
* Bundle rendering improvements
* Fix loading canonical resources so that duplicates with different versions is OK
* Fix generation of profiles on Resource.id
***NO_CI***
The current code for DocumentReference30_40 does not transfer the Author(s) of the DocumentReference while converting. This change adds transferring of the Author(s).
## Validator Changes
* Fix for errors in FHIRPath evaluation (see https://chat.fhir.org/#narrow/stream/179266-fhirpath/topic/String.20functions)
## Other code changes
* R4B BackboneType fixes
* Add R4B to R5 interconversion code
* Improvements to Rendering Documents
* Add uuid to primitive types list
***NO_CI***
## Validator Changes
* Add support for OID 1.3.160 (very short OIDs are special)
* Fix evaluation of ValueSets that have only one value set import
## Other code changes
* Rework precision checking in datetime
* Update version conversion to not drop modifierExtensions
* Fix DocumentRendering to generate Composition Narrative if not present
* Restore Search Parameters (missing due to R5 draft generation issues)
* Don't access getBinaries directly in XVerExtensionManager
***NO_CI***
## Validator Changes
* no changes
## Other code changes
* Update R5 for revised ConceptMap in R5 cibuild, and release new core library for R5 build process
***NO_CI***
## Validator Changes
* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)
## Other code changes
* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
## Validator Changes
* Improved logging when discriminator doesn't match doing slicing
* Use correct IPS branch when validating
* Load R5 extensions when validating (draft)
* Make it possible to run tests cases directly from validator (see command line help)
## Other code changes
* Regenerate R4B code for final R4B release
* Reduce text logging when running tests
* Minor test case fixes
* Fix fetching package by canonical to use pkgcanonical instead of canonical
* Fix broken link rendering code system references
* improvements to profile validation
***NO_CI***
## Validator Changes
* Clean up the -extension parameter - make implementation conistent with documentation
* Stop auto-converting parameters to strings for string functions e.g. .length() in the FHIRPath engine
* Add parameter -implicit-fhirpath-string-conversions for old FHIRPath string conversion functionality
## Other code changes
* Fix NPE counting descendents when validating
* Fix bug processing invalid HTTP response
***NO_CI***
## Validator Changes
* Significant improvement in performance of validation (10-100 fold for simple resources)
* Add output tracker to trask progress of validation (Validate %R against %P..........20..........40..........60..........80.........|)
* Alter per-1 to handle different precision on start/end
* Add support for a -jurisdiction parameter, preparing for jurisdictionally specific constraints in profiles
* Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory
* Add warnings when potential matches are found when performing reference resolution in bundles
## Other code changes
* extend FHIRPath to support lowBoundary(), highBoundary() and precision()
* Fix for inefficiency in StructureMap engine
* Update version of PubPack used by the IGPublisher
* Handle scope on TestScript R4 <-> r5 conversion
* Fix bug converting extension context = Resource (R4 <-> R5 conversion)
* Update VSAC importer for changes to VSAC FHIR authorization
* Fix broken links in profile comparison due to cross version issues
***NO_CI***
## Validator Changes
* Trim unknown resource types when pre-adopting cross version extensions with type=Reference
## Other code changes
* Package Client: Get Packages by Dependency
* Snapshot Generator (R4b/R5): Fix generation of complex extension snapshot + improve rendering
* New tests for StructureMap execution
***NO_CI***
## Validator Changes
* fix problem with non-new data types on xver extensions
* enable -extension parameter for validator
## Other code changes
* Fix bug when converting resolved clinical status for allergy intolerance
***NO_CI***
## Validator Changes
* Fix invalid FHIR version bug when loading IGs with explicit FHIR version
## Other code changes
* Fix reverse references in GraphQL searches
* Regenerate R4B code for candidate final release (not quite final yet)
* Various minor fixes for bugs found doing R4B finalization (wildcard types, version difference comparisons)
***NO_CI***
* Fix exception R5 to R4 of StructureMap #771
* Fix typo
* Enhance conversion from r5 to r4 + add failing test for r4 to r5
* WIP Convert R4 variable to R5 parameter and try to get correct dataType
* Clean up rough-work test
* Move static methods to FHIRPathConstant class
Co-authored-by: dotasek <david.otasek@smilecdr.com>
## Validator Changes
* Handle reslicing within the same profile
* Fix up wrong handling of context on exists() in FHIRPath
* Add hints to profiles around behavior of pattern on repeating elements
* Ignore all tooling extensions when validating
* support specifying an alternative version when loading source using -ig parameter
* Don't validate Bundle.entry.fullUrl as a reference to some other content
## Other code changes
* Improved output for unit test comparisons
* Fix conversion issues around Base64Binary
* Fix for R4/R5 DataRequirements conversion for DeviceUsage
* Add AdditionalBindings Rendering (draft)
* Display all designations when rendering ValueSets
* Fix bug where expansions have empty objects some times
* Fix R4B Snapshot generation
* Enable Linking to fragment CodeSystems
***NO_CI***
## Validator Changes
* Add further clarification to Value set imports warning message
## Other code changes
* Consistent use of string values for primitive type conversions
* Fix problem with generated NPM Packages
* Fix URls when processing markdown while generating snapshots
* Default output to console, with additional output available via -debug option in CLI.
* Bump jackson-databind version to fix security vulnerability.
***NO_CI***
## Validator Changes
* no changes
* Add messageid to OperationOutcome from Validation
* Add support for new rules around value set interpretation with multiple imported value sets (https://jira.hl7.org/browse/FHIR-25179)
## Other code changes
* Fix for FHIRPathEngine.funcReplaceMatches() incorrectly returning Boolean in DSTU2 & DSTU3
* Fix NPE Processing missing markdown in definitions when generating snapshots
* add support for .matchesFull() and fix .matches() in FHIRPath
* Fix core package identification when loading new R5 core packages
***NO_CI***