Skip to content

Releases: hapifhir/org.hl7.fhir.core

6.5.16

17 Mar 06:25
Compare
Choose a tag to compare

Validator Changes

  • Better detect CodeSystem supplement misuse
  • Add message id to some messages for policy advisor framework
  • Update MeasureReport validation for changes in R5
  • produce TestReport from TxTester
  • Add more logging for PolicyAdvisor framework
  • handle version specific references in targets when generating snapshots

Other code changes

  • Fix copy of BaseWorkerContext.libraries into itself when cloning WorkerContexts
  • Refactor validator settings handling
  • Change validation tests to use fixed version of extensions and tho
  • render CodeSystem.property valueset extension
  • Dont wrongly set experimental when updating CodeSystem and ValueSet status
  • Finish implementation of custom resource code generation and test it
  • Rework base R5 parser framework for registering custom resource parsers
  • Move location of base accepted package versions
  • Fix locale in test factory (boo for Excel date handling)

6.5.15

10 Mar 02:18
Compare
Choose a tag to compare

Validator Changes

  • no changes

Other code changes

  • Fix typo for complies with + rendering whitespace corrections
  • Add generated code for tools IG (+ generator)

6.5.14

07 Mar 20:47
Compare
Choose a tag to compare

Validator Changes

  • Add support for Australian icd-10 sid
  • Dont add supplements to tx-resources more than once
  • IG validation - check package currency
  • SD check element optionality for R6 table
  • Fix snapshot preprocessing end of element detection

Other code changes

  • Fix bug where designations lost importing value sets
  • Fix broken link in bundle rendering when relative references used
  • More improvements to extension version conversion algorithm
  • Binary syntax highlighting improvements

6.5.13

04 Mar 00:48
Compare
Choose a tag to compare

Validator Changes

  • Workaround for xml, json, ttl in mime types after tx.fhir.org correction - see note below
  • Fix bug where version variants were being ignored if their resource.id were the same

Other code changes

  • Use Turtle shorthand syntax for booleans, integers, and decimals
  • Suppress some unwanted debug output
  • Fix code lookup issue in kindling
  • Add Group Compartment for R6
  • More work on version conversion
  • Fix bug where modifierExtension types were being rendered differently
  • Add candidate HCPCS importer

Workaround

This validator corrects for a fix made in tx.fhir.org where xml, json, and ttl
are no longer erroneously considered to be valid mime type codes. These are considered
correct codes in the specification for versions R2-R5, but theyre not. This
is corrected in R6 - see FHIR-48679 (Issue with invalid MIME types).
As tx.fhir.org is now correctly saying they are not valid mime types,
this release of the validator contains special logic to treat them as
valid mime types for R2-R5.
This means that if you are validating either CapabilityStatements or TestScripts,
this validator is somewhat of a manatory upgrade, though you have another choice:
use the policy advisor framework to turn off validation of the relevant elements.
Note the policy regarding FHIR Validator upgrades can be found here:
https://confluence.hl7.org/spaces/FHIR/pages/35718580/Using+the+FHIR+Validator#UsingtheFHIRValidator-LimitationsofUse:

older versions of the validator may suddenly stop working due to forced upgrades to the various system and network infrastructure components that the validator depends on (typically due to security notifications).
For further discussion, see chat.fhir.org.

6.5.12

27 Feb 21:56
Compare
Choose a tag to compare

Validator Changes

  • Rework -re-package to actually work
  • Fix bug where reslicing not being processed properly when parent profile already sliced the element
  • Improve tx test result message
  • Prohibit ., $ and | in SearchParameter.code.
  • Rename http.disabled + refactor proxy setting (#1916)

Other code changes

  • Fix up ResourceWrapperR4 to work properly, and test it
  • Add _datatype slice when converting extensions to R4
  • Fix consistency problem in name presentation generating slices
  • Fix profiles & tags being omitted rendering resources
  • Clean up confusing message in slice processing
  • Update test cases for Java 21 changes to date formats
  • Regenerate PO files

6.5.11

24 Feb 21:10
Compare
Choose a tag to compare

Validator Changes

  • no changes

Other code changes

  • More work around related IGs
  • Add support for peer dependencies in NPM packages
  • Update language translation files
  • Fix default-valueset-version test cases
  • Remove spurious logging code

6.5.10

22 Feb 12:20
Compare
Choose a tag to compare

Validator Changes

  • Fix detection of HL7 core vs affiliate specifications
  • Fix bug failing to compare large valuesets correctly when generating snapshots
  • Add ReferenceDestinationType to IPolicyAdvisor.policyForReference (breaking change)

Other code changes

  • Fix bug processing languages when processing value set from server
  • Bump owasp dependency check version
  • Rework how other version packages are generated, and recast extensions for older versions
  • Improve Binary rendering
  • Add support for R6 MolecularDefinition
  • Fix bug rendering test plans
  • Support R5 natively in txtests
  • fix illegal URL on compositional SCT codes
  • Add subscription Conversion R4 - R5
  • Support for CDS-hooks extension type when writing json

6.5.9

17 Feb 03:10
Compare
Choose a tag to compare

Validator Changes

  • Pass context locale through to terminology server
  • Fix error validating valid internal codes in supplements
  • Delay text check on coded entries for performance and integrity reasons
  • Properly Process all-slice element definitions when generating snapshots
  • Add warnings about IG status for HL7 IGs
  • Fix NPE validating code systems

Other code changes

  • Refactor Utilities & TextFile classes
  • Fixes for thread & synchronicity issues in snapshot generation
  • Only use one method for detecting snapshot generation
  • Fix referenced parameters object in copy
  • Support non-FHIR logical models in element model parsing and composing
  • Render displayLanguage when rendering value set expansion
  • Hack around broken link in R4 ServiceRequest definition when rendering
  • Add support for advisors in test cases and fix ecosystem use in testcases
  • rebuild tx cache after release of new extensions pack
  • Add test case for R4 rendering
  • Support for openEHR WebTemplates (loading, rendering, very draft)
  • Update operation renderer to support allowedType
  • Fixing tests for slicing pro-processing

6.5.8

09 Feb 20:10
Compare
Choose a tag to compare

Announcement

This release marks the beginning of a process of refactoring the HAPI core code.
We are trimming and refactoring the core model code to reduce dependencies. As part
of this, we will be culling all the old unmaintained code in the older versions. In
addition, we will be moving all the terminology, rendering, view definition, and
validation related code to a new partner package for R4, R4B, and R5.
This change is planned for July 2025. This release starts the process of marking the
code with annotations to indicate its proposed fate:

  • @deprecated classes will be deleted in July 2025 unless users raise issues with that
  • @MarkedToMoveToAdjunctPackage is code that will move the other package
  • Code with no annotations will not move or be deleted

Validator Changes

  • Add HL7 CodeSystem display and definition checks
  • Add Matchetype validator
  • Add http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version to snapshot generation
  • Optimize the JSON parsing in NpmPackageIndexBuilder.seeFile (#1898) (faster loading)
  • Fix stack crash when structure definitions are circular
  • Fix error reporting duplicate contained IDs when contained resources are sliced by a profile
  • Allow cardinality changes in obligation profiles (but not recommended)
  • Fix bug with wrongly processing -ips#(v) parameter
  • Add underscore to regex to be able to use underscore in Bundle URLs

Other code changes

  • Refactor FileUtilities and other Utilities classes
  • fix element order in Element.forceElement()
  • fix NPE in patient renderer
  • Resource Factory updates for loading generated resources in IG publisher
  • Fix intermittent thread issue in Date rendering

6.5.7

30 Jan 17:42
Compare
Choose a tag to compare

Validator Changes

  • Add check for duplicate ids on contained resources
  • fix bug looking up code system
  • fix bug for cross-version extension containing escaped [x]
  • Look for cs on other server in missed location
  • fix bug accessing code system from other terminology server if no version specified
  • upgrade tx tests to make optionality dependent on mode
  • upgrade tx-task in validator to handle more repackaging functionality (and fix bugs)
  • Add matchetype pattern validation
  • validate displaylanguage when validating codes
  • policyAdvisor for CodeSystem and Valueset validation

Other code changes

  • Possible fix for an NPE reported bu a user with no context
  • Use BCP 47 language tag instead of Java Locale toString
  • fix bug parsing script tag in xhtml - handling < characters