Skip to content

v6.1.0

Latest

Choose a tag to compare

@ohr ohr released this 27 Nov 15:28
· 3 commits to master since this release

See https://github.com/oehf/ipf/milestone/45?closed=1 for all fixed issues

IPF 6.1.0 is a compatible release on top of IPF 6.0. See the 6.1 Migration Guide for details.

Highlights

  • Simplified HL7v3 models (#530): simplified models, transformers and Camel type converters for Patient Identity Feed HL7v3 [ITI-44], PIX Update Notification HL7v3 [ITI-46], PDQv3 [ITI-47] and XCPD [ITI-55], in addition to the existing ones for PIXv3 Query [ITI-45]. Converting an ITI-44 request into PatientRecordRequest yields the subclass that matches the message type (record added, revised or duplicates resolved). Hl7v3MessageUtils creates prepopulated responses and acknowledgements. See HL7v3 message types.
  • Safer wiring of FHIR consumer endpoints (#531): default resource providers are created once per FHIR servlet instead of once per JVM, and connecting and disconnecting consumers is thread-safe. The FhirRegistry can be injected (IpfFhirServlet, endpoint parameter fhirRegistry). The FHIR Spring Boot starter uses this, so it no longer depends on JVM-wide state.
  • XDS follows ITI CP Ballot #67 (#532): SubmissionSet supports the referenceIdList attribute (CP-ITI-817), which the validator accepts only for XDR and XDM. FindDocumentsExclude follows the final text of CP-ITI-1323.

Other changes and fixes

  • HL7v2 trace context propagation is opt-in again (#529): MLLP producers append the nonstandard ZTR segment only with propagateTraceContext=true. MLLP consumers remove the segment after reading the trace context and before validation, as in IPF 5 (removeTraceContext=false keeps it).
  • Security fixes (#533): regular expressions prone to excessive backtracking were fixed in syslog structured data parsing in the audit receiver, in XmlUtils.rootElementName() and in XDS stored query list validation. Guava, OpenTelemetry and snappy-java were upgraded to address Dependabot alerts.
  • The JAXB-based Camel type converters for HL7v3 and SVS models reject XML containing a DOCTYPE declaration (#530, following #516).
  • Reading XML schemas from nested JARs (e.g. Spring Boot fat JARs) works again (#528). Thanks to @qligier for the PR.
  • Empty mapping files (XML, YAML) without mapping elements are accepted.
  • The Spring Boot starters contain their configuration metadata (META-INF/spring-configuration-metadata.json) again.

Breaking changes

  • FindDocumentsExclude no longer supports $XDSDocumentEntryReferenceIdList and $XDSDocumentEntryReferenceIdListExclude, because the final CP-ITI-1323 doesn't define them for this query. IPF 5.3 implemented this query as a preview of the CP. FindDocumentsExcludeQuery.getReferenceIds()/getExcludedReferenceIds() (and their setters) and QueryParameter.DOC_ENTRY_REFERENCE_IDS_EXCLUDE are removed. A query that combines a parameter with its excluding counterpart is now rejected with XDSRegistryError instead of XDSStoredQueryParamNumber (#532).
  • FHIR servlet names must be unique: registering a second servlet with the same name at the same registry fails (#531).

Deprecations

  • FhirTransactionConfiguration constructors that take resource provider instances, BatchTransactionResourceProvider.getInstance() and FhirComponent.connect()/disconnect() are deprecated. Pass a resource provider factory instead, e.g. () -> List.of(new MyResourceProvider()) (#531).
  • XmlUtils.renderJaxb() and XmlUtils.serialize() are deprecated in favor of XmlUtils.marshal() (#530).

Dependency updates

Camel 4.22.3 (LTS), Spring Boot 4.1.3, HAPI FHIR 9.0.0, Jackson 3.1.8, Micrometer Tracing 1.7.3, Tomcat 11.0.27, HttpClient 5.6.5, Guava 33.8.0, OpenTelemetry 1.68.0, snappy-java 1.1.10.12, ipf-gazelle 3.6.0

Full Changelog: ipf-6.0.0...ipf-6.1.0