You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The FHIR data type of Bundle.total is unsignedInt with a specified range of 0..2,147,483,647. For that reason I convert the perfectly fine history count, which is a 64-bit long, into an 32-bit integer via blaze.fhir.spec.type/->UnsignedInt while generating the Bundle resource. If the history count is over 2,147,483,647, the integer conversion will overflow the value and possibly return a negative one.
We will just ignore there FHIR spec here and output the correct long value.
The text was updated successfully, but these errors were encountered:
The FHIR data type of
Bundle.total
isunsignedInt
with a specified range of 0..2,147,483,647. For that reason I convert the perfectly fine history count, which is a 64-bit long, into an 32-bit integer viablaze.fhir.spec.type/->UnsignedInt
while generating the Bundle resource. If the history count is over 2,147,483,647, the integer conversion will overflow the value and possibly return a negative one.We will just ignore there FHIR spec here and output the correct long value.
The text was updated successfully, but these errors were encountered: