Class Dstu3DistanceHelper

java.lang.Object
ca.uhn.fhir.jpa.searchparam.util.Dstu3DistanceHelper

public class Dstu3DistanceHelper extends Object
In DSTU3, the near-distance search parameter is separate from near. In this utility method, we search for near-distance search parameters and if we find any, remove them from the list of search parameters and store it in a dedicated field in SearchParameterMap. This is so that when the "near" search parameter is processed, we have access to this near-distance value. This requires at most one near-distance parameter. If more are found, we throw an IllegalArgumentException.