Skip to content
Use the search to find information about InterSystems products and solutions, career opportunities, and more.

Advisory: FHIRServer XMLtoJSON Utility Method Strips Trailing Zeros after Decimal Point

This problem affects the following products:

• HealthShare Health Connect and InterSystems IRIS for Health 2020.1, 2020.1.1, 2020.2, 2020.3, 2021.1, 2021.2, 2022.1

When using HS.FHIRServer.Util.XMLToJSON::XMLToJSON() to convert XML streams to JSON for FHIR, an incorrectly implemented call results in trailing zeros after a decimal point to be stripped from numeric values. For example, a Lab result value of 2.100 in XML would result in a corresponding value of 2.1 in JSON.

This represents a clinical risk because precision of measurements such as lab result values is clinically significant and this changes the potential interpretation of the data.

The FHIR specification requires that systems respect and maintain precision on numeric values.

To resolve this issue, please request an adhoc patch for IF-2698 from the Worldwide Response Center (WRC).