Class NearLocationHandler

    • Constructor Detail

      • NearLocationHandler

        public NearLocationHandler()
    • Method Detail

      • createBoundingBox

        public BoundingBox createBoundingBox​(double latitude,
                                             double longitude,
                                             double distance,
                                             java.lang.String unit)
                                      throws FHIRSearchException
        build a bounding box given a latitude, longitude and distance.
        WGS84 format [latitude]|[longitude]|[distance]|[units]
        Parameters:
        latitude -
        longitude -
        distance -
        unit -
        Returns:
        Throws:
        FHIRSearchException
      • generateLocationPositionsFromParameters

        public java.util.List<Bounding> generateLocationPositionsFromParameters​(java.util.List<QueryParameter> queryParameters)
                                                                         throws FHIRSearchException
        generates location positions for processing from parameters.
        Parameters:
        queryParameters -
        Returns:
        Throws:
        FHIRSearchException
      • createBoundingRadius

        public Bounding createBoundingRadius​(double latitude,
                                             double longitude,
                                             double distance,
                                             java.lang.String unit)
                                      throws FHIRSearchException
        create bounding radius.
        Parameters:
        latitude -
        longitude -
        distance -
        unit -
        Returns:
        Throws:
        FHIRSearchException
      • setBounding

        public void setBounding​(boolean boundingRadius)
        overrides the bounding functionality.
        Parameters:
        boundingRadius -