FHIR Resource Validation DSL Updates
March 12, 2026
Version 1.1.0 of Inferno Core enhances the FHIR resource validation DSL and its underlying implementation in two ways:
- When validated resources include contained resources, Inferno will apply the defined message filters to profile conformance checks on the contained resources and remove profile conformance errors when all errors related to the target profile have been filtered.
- The
resource_is_valid?DSL method now includes an option to expose the details of the response from the HL7 FHIR Validator to the Inferno test logic.
As a part of this update, the internal implementation of Inferno’s interaction with the HL7 FHIR Validator was updated and refactored. All updates to public methods are backwards compatible. However, the Inferno team is aware that some published Inferno test kits previously used private methods to implement features that are now part of the DSL, specifically running profile validation without displaying the detailed messages to testers. All of the published Inferno test kits that used the internal methods have been updated to use the DSL methods and any community test kits that follow this published pattern must make the same update before using Inferno Core version 1.1.0. See this pull request for an example of the incorrect pattern that was published and the update needed to achieve the same effect using the DSL.
Return to News