@prefix fhir: . @prefix rdf: . @prefix rdfs: . @prefix sct: . @prefix xsd: . rdf:type fhir:Communication; fhir:Communication.payload [ fhir:Communication.payload.contentString [ fhir:value "

Welcome to a new major release of HAPI FHIR! Since there are many breaking changes, we are making this a major release.

\n

Breaking Changes

\n
    \n
  • Support for Java 8 has been dropped. A minimum of Java 11 is now required for HAPI FHIR. Java 17 is also supported.
  • \n
  • Database indexes have been completely reworked for Search Index tables. This should result in significantly faster searches in most use cases.
  • \n
  • A new batch operation framework for executing long running background jobs has been created. This new framework is called 'Batch2', and will eventually replace Spring Batch. This framework is intended to be much more resilient to failures as well as much more paralellized than Spring Batch job.
  • \n
\n

Security Changes

\n
    \n
  • Previously, it was possible to update a resource with wrong tenantID. This issue has been fixed.
  • \n
  • User was permitted to bulk export all groups/patients when they were unauthorized. This issue has been fixed.
  • \n
  • The Spring Framework library was upgraded to version 5.3.18 in order to avoid depending on a version known to be vulnerable to CVE-2022-22965, known as Spring4Shell. HAPI FHIR is not believed to be vulnerable to this issue, but the library has been bumped as a precaution.
  • \n
\n

General Client/Server/Parser Changes

\n
    \n
  • Added search parameter modifier :nickname that can be used with 'name' or 'given' search parameters.
  • \n
  • Added a new pointcut: STORAGE_PRESTORAGE_CLIENT_ASSIGNED_ID which is invoked when a user attempts to create a resource with a client-assigned ID.
  • \n
  • The XML and JSON Parsers are now encoding narratives of contained resources. Narratives were skipped before for contained resources.
  • \n
  • Include property regex operation was not working when expanding ValueSet. This is now fixed
  • \n
  • When performing a search with a _revinclude. the results sometimes incorrectly included resources that were reverse included by other search parameters with the same name. Thanks to GitHub user @vivektk84 for reporting and to Jean-Francois Briere for proposing a fix.
  • \n
  • The HAPI FHIR server GraphQL endpoints now support GraphQL introspection, making them much easier to use with GraphQL-capable IDEs.
  • \n
  • Support has been added to the JPA server for token :not-in queries.
  • \n
  • SearchNarrowingInterceptor can now be used to automatically narrow searches to include a code:in or code:not-in expression, for mandating that results must be in a specified list of codes.
  • \n
  • Support has now (finally!) been added for the FHIR Bulk Import ($import) operation.
  • \n
  • A consent service implementation that enforces search narrowing rules specified by the SearchNarrowingInterceptor has been added.
  • \n
  • GET resource with _total=accurate and _summary=count if consent service enabled should throw an InvalidRequestException. This issue has been fixed.
  • \n
  • Reindexing jobs were not respecting the passed in date range in SearchParams. We now take date these date ranges into account when running re-indexing jobs.
  • \n
  • The server now supports date searches with the NOT_EQUALS (ne) prefix.
  • \n
  • Previously the Fhir parser would only set the resource type on the resource ID for resources which implemented IDomainResource. This caused a few resource types to be missed. This has been corrected, and resource type is now set on the id element for all IBaseResource instances instead.
  • \n
\n

CLI Tool changes:

\n
    \n
  • Previously there was no way to recreate freetext indexes for terminology entities. A new CLI operation, reindex-terminology now exists for this purpose.
  • \n
\n

JPA Server General Changes

\n
    \n
  • _include now supports canonicals as well as standard references.
  • \n
  • The resource JSON can now be stored and retrieved in the Lucene/Elasticsearch index. This enables some queries to provide results without using the database. This is enabled via JpaStorageSettings.setStoreResourceInLuceneIndex()
  • \n
  • An occasional concurrency failure in AuthorizationInterceptor has been resolved. Thanks to Martin Visser for reporting and providing a reproducible test case!
  • \n
  • When cross-partition reference Mode is used, the rest-hook subscriptions on a partition enabled server would cause a NPE. This has been resolved.
  • \n
  • Group Bulk Export (e.g. Group/123/$export) now additionally supports Organization and Practitioner as valid _type parameters. This works internally by querying using a _has parameter
  • \n
\n

JPA Server Performance Changes

\n
    \n
  • When deleting a large ValueSet operation was timing out. This issue has been fixed.
  • \n
  • Performance for JPA Server ValueSet expansion has been significantly optimized in order to minimize database lookups, especially with large expansions.
  • \n
  • When using JPA persistence with Hibernate Search (Lucene or Elasticsearch), simple FHIR queries that can be satisfied completely by Hibernate Search no longer query the database.
  • \n
  • Added a new setting to BinaryStorageInterceptor which allows you to disable binary de-externalization during resource reads.
  • \n
\n

Database-specific Changes

\n
    \n
  • When searching for date search parameters on Postgres, ordinals could sometimes be represented as strings, causing a search failure. This has been corrected.
  • \n
  • A regression in HAPI FHIR 5.5.0 meant that very large transactions where the bundle contained over 1000 distinct client-assigned resource IDs could fail on MSSQL and Oracle due to SQL parameter count limitations.
  • \n
\n

Terminology Server and Validation Changes

\n
    \n
  • ValueSet pre-expansion was failing when number of concepts was larger than configured BooleanQuery.maxClauseCount value (default is 1024). This is now fixed.
  • \n
  • A regression in HAPI FHIR 5.7.0 meant that when UnknownCodeSystemWarningValidationSupport was configured for WARNING behaviour, validating a field with an implicit code system could incorrectly result in an error.
  • \n
  • We now Provide a Remote Terminology Service implementation for the $translate operation.
  • \n
  • The JPA server terminology service can now process IS-A filters in ValueSet expansion on servers with Hibernate Search disabled.
  • \n
  • HAPI-FHIR no longer performs Repository Validation on resources that are implicitly created, e.g. placeholder resources.
  • \n
\n" ]; fhir:index 0 ]; fhir:Communication.sender [ fhir:Reference.display [ fhir:value "James Agnew" ]; fhir:Reference.reference [ fhir:value "https://smilecdr.com/about_us/#james" ] ]; fhir:Communication.sent [ fhir:value "2022-05-19T08:00:00-05:00"^^xsd:dateTime ]; fhir:Communication.status [ fhir:value "completed" ]; fhir:DomainResource.text [ fhir:Narrative.div "

Welcome to a new major release of HAPI FHIR! Since there are many breaking changes, we are making this a major release.

\n

Breaking Changes

\n
    \n
  • Support for Java 8 has been dropped. A minimum of Java 11 is now required for HAPI FHIR. Java 17 is also supported.
  • \n
  • Database indexes have been completely reworked for Search Index tables. This should result in significantly faster searches in most use cases.
  • \n
  • A new batch operation framework for executing long running background jobs has been created. This new framework is called 'Batch2', and will eventually replace Spring Batch. This framework is intended to be much more resilient to failures as well as much more paralellized than Spring Batch job.
  • \n
\n

Security Changes

\n
    \n
  • Previously, it was possible to update a resource with wrong tenantID. This issue has been fixed.
  • \n
  • User was permitted to bulk export all groups/patients when they were unauthorized. This issue has been fixed.
  • \n
  • The Spring Framework library was upgraded to version 5.3.18 in order to avoid depending on a version known to be vulnerable to CVE-2022-22965, known as Spring4Shell. HAPI FHIR is not believed to be vulnerable to this issue, but the library has been bumped as a precaution.
  • \n
\n

General Client/Server/Parser Changes

\n
    \n
  • Added search parameter modifier :nickname that can be used with 'name' or 'given' search parameters.
  • \n
  • Added a new pointcut: STORAGE_PRESTORAGE_CLIENT_ASSIGNED_ID which is invoked when a user attempts to create a resource with a client-assigned ID.
  • \n
  • The XML and JSON Parsers are now encoding narratives of contained resources. Narratives were skipped before for contained resources.
  • \n
  • Include property regex operation was not working when expanding ValueSet. This is now fixed
  • \n
  • When performing a search with a _revinclude. the results sometimes incorrectly included resources that were reverse included by other search parameters with the same name. Thanks to GitHub user @vivektk84 for reporting and to Jean-Francois Briere for proposing a fix.
  • \n
  • The HAPI FHIR server GraphQL endpoints now support GraphQL introspection, making them much easier to use with GraphQL-capable IDEs.
  • \n
  • Support has been added to the JPA server for token :not-in queries.
  • \n
  • SearchNarrowingInterceptor can now be used to automatically narrow searches to include a code:in or code:not-in expression, for mandating that results must be in a specified list of codes.
  • \n
  • Support has now (finally!) been added for the FHIR Bulk Import ($import) operation.
  • \n
  • A consent service implementation that enforces search narrowing rules specified by the SearchNarrowingInterceptor has been added.
  • \n
  • GET resource with _total=accurate and _summary=count if consent service enabled should throw an InvalidRequestException. This issue has been fixed.
  • \n
  • Reindexing jobs were not respecting the passed in date range in SearchParams. We now take date these date ranges into account when running re-indexing jobs.
  • \n
  • The server now supports date searches with the NOT_EQUALS (ne) prefix.
  • \n
  • Previously the Fhir parser would only set the resource type on the resource ID for resources which implemented IDomainResource. This caused a few resource types to be missed. This has been corrected, and resource type is now set on the id element for all IBaseResource instances instead.
  • \n
\n

CLI Tool changes:

\n
    \n
  • Previously there was no way to recreate freetext indexes for terminology entities. A new CLI operation, reindex-terminology now exists for this purpose.
  • \n
\n

JPA Server General Changes

\n
    \n
  • _include now supports canonicals as well as standard references.
  • \n
  • The resource JSON can now be stored and retrieved in the Lucene/Elasticsearch index. This enables some queries to provide results without using the database. This is enabled via JpaStorageSettings.setStoreResourceInLuceneIndex()
  • \n
  • An occasional concurrency failure in AuthorizationInterceptor has been resolved. Thanks to Martin Visser for reporting and providing a reproducible test case!
  • \n
  • When cross-partition reference Mode is used, the rest-hook subscriptions on a partition enabled server would cause a NPE. This has been resolved.
  • \n
  • Group Bulk Export (e.g. Group/123/$export) now additionally supports Organization and Practitioner as valid _type parameters. This works internally by querying using a _has parameter
  • \n
\n

JPA Server Performance Changes

\n
    \n
  • When deleting a large ValueSet operation was timing out. This issue has been fixed.
  • \n
  • Performance for JPA Server ValueSet expansion has been significantly optimized in order to minimize database lookups, especially with large expansions.
  • \n
  • When using JPA persistence with Hibernate Search (Lucene or Elasticsearch), simple FHIR queries that can be satisfied completely by Hibernate Search no longer query the database.
  • \n
  • Added a new setting to BinaryStorageInterceptor which allows you to disable binary de-externalization during resource reads.
  • \n
\n

Database-specific Changes

\n
    \n
  • When searching for date search parameters on Postgres, ordinals could sometimes be represented as strings, causing a search failure. This has been corrected.
  • \n
  • A regression in HAPI FHIR 5.5.0 meant that very large transactions where the bundle contained over 1000 distinct client-assigned resource IDs could fail on MSSQL and Oracle due to SQL parameter count limitations.
  • \n
\n

Terminology Server and Validation Changes

\n
    \n
  • ValueSet pre-expansion was failing when number of concepts was larger than configured BooleanQuery.maxClauseCount value (default is 1024). This is now fixed.
  • \n
  • A regression in HAPI FHIR 5.7.0 meant that when UnknownCodeSystemWarningValidationSupport was configured for WARNING behaviour, validating a field with an implicit code system could incorrectly result in an error.
  • \n
  • We now Provide a Remote Terminology Service implementation for the $translate operation.
  • \n
  • The JPA server terminology service can now process IS-A filters in ValueSet expansion on servers with Hibernate Search disabled.
  • \n
  • HAPI-FHIR no longer performs Repository Validation on resources that are implicitly created, e.g. placeholder resources.
  • \n
\n
"; fhir:Narrative.status [ fhir:value "generated" ] ]; fhir:Resource.id [ fhir:value "20220519_hapi_fhir_6_0_0" ]; fhir:Resource.language [ fhir:value "en" ]; fhir:Resource.meta [ fhir:Meta.tag [ fhir:Coding.code [ fhir:value "Release" ]; fhir:Coding.system [ fhir:value "https://smilecdr.com/hapi-fhir/blog/tag"^^xsd:anyURI ]; fhir:index 0 ]; fhir:Meta.versionId [ fhir:value "1" ] ]; fhir:nodeRole fhir:treeRoot .