Fix for https://github.com/jamesagnew/hapi-fhir/issues/42